Uncovering Ontology Knowledge in Large Language Models
Ontological knowledge, which structurally represents concepts and their interrelations, is crucial for artificial intelligence to effectively mimic human cognition and reasoning. Despite prior work indicating that Large Language Models (LLMs) encode substantial ontological knowledge, the mechanisms through which these models learn and utilize such knowledge remain poorly understood. This gap in knowledge representation and interpretability is critical, as it hampers our ability to enhance and control these models. Sparse Autoencoders (SAEs) have emerged as a promising approach to demystify the internal representations within LLMs, offering new avenues for model interpretability. In this work, we harness SAEs to decompose and interpret the complex activation patterns within LLMs, focusing specifically on the encoding of ontological knowledge. Through a series of systematic experiments, we identify and manipulate key features related to ontological relationships, demonstrating the models’ sensitivity to interventions on these features. Our findings not only shed light on the black-box nature of LLMs but also pave the way for developing models with enhanced reasoning capabilities and human-like interactions. This research contributes to the broader endeavor of creating AI systems that can effectively process and reason with structured knowledge, thus expanding their applicability in diverse cognitive tasks.
Authors
- Tong Zhou (ORCID: https://orcid.org/0000-0002-0159-7414)
- Jun Zhao (ORCID: https://orcid.org/0000-0002-3004-7091)
- Xiang Qin (ORCID: https://orcid.org/0000-0002-1998-595X)
- Kang Liu (ORCID: https://orcid.org/0000-0001-7531-0909)
- Yubo Chen (ORCID: https://orcid.org/0000-0002-9862-4094)
Publication Details
- Journal
- Data Intelligence
- Published
- 2025-09-30
- DOI
- https://doi.org/10.3724/2096-7004.di.2025.0079
- Primary Topic
- Semantic Web and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Youth Innovation Promotion Association of the Chinese Academy of Sciences
- Beijing Nova Program
- Youth Innovation Promotion Association