Language Models as Hierarchy Encoders
Not on the map. Why?
Abstract (arXiv)
Interpreting hierarchical structures latent in language is a key limitation of current language models (LMs). While previous research has implicitly leveraged these hierarchies to enhance LMs, approaches for their explicit encoding are yet to be explored. To address this, we introduce a novel approach to re-train transformer encoder-based LMs as Hierarchy Transformer encoders (HiTs), harnessing the expansive nature of hyperbolic space. Our method situates the output embedding space of pre-trained LMs within a Poincar'e ball with a curvature that adapts to the embedding dimension, followed by training on hyperbolic clustering and centripetal losses. These losses are designed to effectively cluster related entities (input as texts) and organise them hierarchically. We evaluate HiTs against pre-trained LMs, standard fine-tuned LMs, and several hyperbolic embedding baselines, focusing on their capabilities in simulating transitive inference, predicting subsumptions, and transferring knowledge across hierarchies. The results demonstrate that HiTs consistently outperform all baselines in these tasks, underscoring the effectiveness and transferability of our re-trained hierarchy encoders.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Builds on 23 of its 42 references that are in the map. First posted on arXiv 21 Jan 2024.
Builds on
23 of 42 references.
References · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2014Embedding Entities and Relations for Learning and Inference in Knowledge Basescited by 929
- 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 674
- 2018Hyperbolic Neural Networkscited by 393
11 more
- 2020Self-Alignment Pretraining for Biomedical Entity Representationscited by 233
- 2018Riemannian Adaptive Optimization Methodscited by 187
- 2018Hyperbolic Entailment Cones for Learning Hierarchical Embeddingscited by 160
- 2018Poincar'e GloVe: Hyperbolic Word Embeddingscited by 155
- 2020Geoopt: Riemannian Optimization in PyTorchcited by 109
- 2018Embedding Text in Hyperbolic Spacescited by 76
- 2020OWL2Vec*: Embedding of OWL Ontologiescited by 63
- 2021Probing BERT in Hyperbolic Spacescited by 50
- 2022Contextual Semantic Embeddings for Ontology Subsumption Predictioncited by 31
- 2023Language Model Analysis for Ontology Subsumption Inferencecited by 25
- 2023DeepOnto: A Python Package for Ontology Engineering with Deep Learningcited by 20
Built on by
Citing papers per year: 2024: 6; 2025: 12; 2026: 8.
26 papers.
Sort:
By area:
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
- 2024Beyond Single Concept Vector: Modeling Concept Subspace in LLMs with Gaussian Distributioncited by 24
- 2024Ontology Embedding: A Survey of Methods, Applications and Resourcescited by 12
- 2025Taxonomy-Aware Evaluation of Vision-Language Modelscited by 11
- 2024HELM: Hierarchical Encoding for mRNA Language Modelingcited by 9
- 2025From Papers to Panoramas: Building Hierarchies of Scientific Literature at Scalecited by 7
- 2025The LLM Bottleneck: Why Open-Source Vision LLMs Struggle with Hierarchical Visual Recognitioncited by 7
- 2025Hierarchical Mamba Meets Hyperbolic Geometry: A New Paradigm for Structured Language Embeddingscited by 4
- 2025Language Models as Ontology Encoderscited by 4
- 2025Hierarchical Retrieval: The Geometry and a Pretrain-Finetune Recipecited by 4
- 2026Taxonomy-Aware Representation Alignment for Hierarchical Visual Recognition with Large Multimodal Modelscited by 3
14 more
- 2026Latent Structure of Affective Representations in Large Language Modelscited by 3
- 2025Hyperbolic Large Language Modelscited by 2
- 2026Learning Hierarchical Knowledge in Text-Rich Networks with Taxonomy-Informed Representation Learningcited by 1
- 2024DoubleCCA: Improving Foundation Model Group Robustness with Random Sentence Embeddingscited by 0
- 2025Leveraging LLM Agents for Automated Optimization Modeling for SASP Problems: A Graph-RAG based Approachcited by 0
- 2025The Geometry of Meaning: Perfect Spacetime Representations of Hierarchical Structurescited by 0
- 2025Native Hierarchical and Compositional Representations with Subspace Embeddingscited by 0
- 2025HyperHELM: Hyperbolic Hierarchy Encoding for mRNA Language Modelingcited by 0
- 2025Hierarchical Retrieval with Out-Of-Vocabulary Queries: A Case Study on SNOMED CTcited by 0
- 2026Text-Driven Fusion for Infrared and Visible Images: Achieving Image Scene Adaptation on Hyperbolic Spacecited by 0
- 2026Learning Taxonomic Trees with Hierarchical Representation Regularization for Large Multimodal Modelscited by 0
- 2026NeurOWL: An LLM-Based Neural-symbolic Framework for Incomplete OWL Ontology Reasoningcited by 0
- 2026AgentMap: Joint Equivalence and Subsumption Discovery for Ontology Matchingcited by 0
- 2026HCOE: Hyperbolic Clinical Ontology Embeddings from Biomedical Language Modelscited by 0
- 2026HCOE: Hyperbolic Clinical Ontology Embeddings from Biomedical Language Models25 Sep 2026
- 2026AgentMap: Joint Equivalence and Subsumption Discovery for Ontology Matching29 Jul 2026
- 2026NeurOWL: An LLM-Based Neural-symbolic Framework for Incomplete OWL Ontology Reasoning17 Jul 2026
- 2026Learning Taxonomic Trees with Hierarchical Representation Regularization for Large Multimodal Models3 Jul 2026
- 2026Text-Driven Fusion for Infrared and Visible Images: Achieving Image Scene Adaptation on Hyperbolic Space13 Jun 2026
- 2026Latent Structure of Affective Representations in Large Language Models8 Apr 2026
- 2026Learning Hierarchical Knowledge in Text-Rich Networks with Taxonomy-Informed Representation Learning9 Mar 2026
- 2026Taxonomy-Aware Representation Alignment for Hierarchical Visual Recognition with Large Multimodal Models28 Feb 2026
- 2025Hierarchical Retrieval with Out-Of-Vocabulary Queries: A Case Study on SNOMED CT17 Nov 2025
- 2025HyperHELM: Hyperbolic Hierarchy Encoding for mRNA Language Modeling29 Sep 2025
- 2025Hierarchical Retrieval: The Geometry and a Pretrain-Finetune Recipe19 Sep 2025
- 2025Hyperbolic Large Language Models6 Sep 2025
14 more
- 2025Native Hierarchical and Compositional Representations with Subspace Embeddings21 Aug 2025
- 2025Language Models as Ontology Encoders18 Jul 2025
- 2025The LLM Bottleneck: Why Open-Source Vision LLMs Struggle with Hierarchical Visual Recognition30 May 2025
- 2025Hierarchical Mamba Meets Hyperbolic Geometry: A New Paradigm for Structured Language Embeddings25 May 2025
- 2025The Geometry of Meaning: Perfect Spacetime Representations of Hierarchical Structures7 May 2025
- 2025From Papers to Panoramas: Building Hierarchies of Scientific Literature at Scale18 Apr 2025
- 2025Taxonomy-Aware Evaluation of Vision-Language Models7 Apr 2025
- 2025Leveraging LLM Agents for Automated Optimization Modeling for SASP Problems: A Graph-RAG based Approach30 Jan 2025
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspective18 Dec 2024
- 2024DoubleCCA: Improving Foundation Model Group Robustness with Random Sentence Embeddings25 Nov 2024
- 2024HELM: Hierarchical Encoding for mRNA Language Modeling16 Oct 2024
- 2024Beyond Single Concept Vector: Modeling Concept Subspace in LLMs with Gaussian Distribution30 Sep 2024
- 2024Ontology Embedding: A Survey of Methods, Applications and Resources16 Jun 2024
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Models3 Jun 2024
- 2024The Geometry of Categorical and Hierarchical Concepts in Large Language Modelscited by 151
- 2024Beyond Single Concept Vector: Modeling Concept Subspace in LLMs with Gaussian Distributioncited by 24
- 2024Ontology Embedding: A Survey of Methods, Applications and Resourcescited by 12
- 2024HELM: Hierarchical Encoding for mRNA Language Modelingcited by 9
- 2025From Papers to Panoramas: Building Hierarchies of Scientific Literature at Scalecited by 7
- 2025The LLM Bottleneck: Why Open-Source Vision LLMs Struggle with Hierarchical Visual Recognitioncited by 7
- 2025Language Models as Ontology Encoderscited by 4
- 2025Hierarchical Retrieval: The Geometry and a Pretrain-Finetune Recipecited by 4
- 2026Latent Structure of Affective Representations in Large Language Modelscited by 3
- 2025Hyperbolic Large Language Modelscited by 2
- 2026Learning Hierarchical Knowledge in Text-Rich Networks with Taxonomy-Informed Representation Learningcited by 1
- 2024DoubleCCA: Improving Foundation Model Group Robustness with Random Sentence Embeddingscited by 0
12 most cited of 19 All 19 (JSON)
- 2026HCOE: Hyperbolic Clinical Ontology Embeddings from Biomedical Language Models25 Sep 2026
- 2026AgentMap: Joint Equivalence and Subsumption Discovery for Ontology Matching29 Jul 2026
- 2026Text-Driven Fusion for Infrared and Visible Images: Achieving Image Scene Adaptation on Hyperbolic Space13 Jun 2026
- 2026Latent Structure of Affective Representations in Large Language Models8 Apr 2026
- 2026Learning Hierarchical Knowledge in Text-Rich Networks with Taxonomy-Informed Representation Learning9 Mar 2026
- 2025Hierarchical Retrieval with Out-Of-Vocabulary Queries: A Case Study on SNOMED CT17 Nov 2025
- 2025HyperHELM: Hyperbolic Hierarchy Encoding for mRNA Language Modeling29 Sep 2025
- 2025Hierarchical Retrieval: The Geometry and a Pretrain-Finetune Recipe19 Sep 2025
- 2025Hyperbolic Large Language Models6 Sep 2025
- 2025Native Hierarchical and Compositional Representations with Subspace Embeddings21 Aug 2025
- 2025Language Models as Ontology Encoders18 Jul 2025
- 2025The LLM Bottleneck: Why Open-Source Vision LLMs Struggle with Hierarchical Visual Recognition30 May 2025
12 newest of 19 All 19 (JSON)