# Can LLMs Faithfully Solve Ontology Engineering Tasks? A Mechanistic Interpretability Study

DevFeed: [Can LLMs Faithfully Solve Ontology Engineering Tasks? A Mechanistic Interpretability Study](<https://devfeed.tech/articles/can-llms-faithfully-solve-ontology-engineering-tasks-a-mechanistic-interpretability-study-108059.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38326>)

Author: Bohui Zhang, Albert Mero\\~no-Pe\\~nuela, Elena Simperl

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [knowledge-engineering](<https://devfeed.tech/topics/knowledge-engineering.md>), [causality](<https://devfeed.tech/topics/causality.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [interpretability](<https://devfeed.tech/tags/interpretability.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llms](<https://devfeed.tech/tags/llms.md>), [mechanistic-interpretability](<https://devfeed.tech/tags/mechanistic-interpretability.md>), [ontology](<https://devfeed.tech/tags/ontology.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

## AI overview

MIOE evaluates whether internal interventions can change LLM answers to entity typing and subsumption prediction tasks while preserving class-specific auxiliary information. Across Qwen3-8B and Qwen3-4B, distributed subspace methods perform strongest and generalize across prompt settings, but their effects remain only partly separated from auxiliary information. Multi-task objectives and contiguous layer-window interventions improve that balance, with results varying substantially across ontology classes. The findings indicate that ontological predictions are mechanistically accessible, though the methods do not yet isolate a cleanly disentangled causal mechanism.

## Source excerpt

arXiv:2610.38326v1 Announce Type: new Abstract: Ontological knowledge underpins large language model (LLM) performance on knowledge-intensive tasks. However, existing evaluations of LLMs' ontological understanding largely rely on behavioral correctness, leaving the underlying mechanisms unexplained. Existing mechanistic interpretability work has largely focused on instance-level factual knowledge, leaving ontological knowledge under-explored. To bridge this gap, we introduce MIOE, a causal-abstraction benchmark that evaluates interchange interventions for two ontology engineering tasks: entity typing and subsumption prediction. MIOE tests whether learned internal intervention targets can change an ontology-level target answer while preserving class-specific auxiliary information. Across Qwen3-8B and Qwen3-4B, we evaluate SAE-, DBM-, and DAS-based methods, including multi-task and multi-layer variants. Distributed subspace methods give the strongest results and generalize across prompt settings, but the induced changes remain only partially separated from auxiliary class-specific information. Multi-task objectives and contiguous layer-window interventions improve this balance, while class-level analyses reveal substantial variation across ontology classes. These results suggest that ontological predictions are mechanistically accessible in LLMs, although current methods do not yet isolate a cleanly disentangled causal mechanism for ontological knowledge.