mlsanityData to 14 Oct 2026

KG-HTC: Integrating Knowledge Graphs into LLMs for Effective Zero-shot Hierarchical Text Classification

arXiv 2505.05583 ↗First posted 8 May 2025cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Hierarchical Text Classification (HTC) involves assigning documents to labels organized within a taxonomy. Most previous research on HTC has focused on supervised methods. However, in real-world scenarios, employing supervised HTC can be challenging due to a lack of annotated data. Moreover, HTC often faces issues with large label spaces and long-tail distributions. In this work, we present Knowledge Graphs for zero-shot Hierarchical Text Classification (KG-HTC), which aims to address these challenges of HTC in applications by integrating knowledge graphs with Large Language Models (LLMs) to provide structured semantic context during classification. Our method retrieves relevant subgraphs from knowledge graphs related to the input text using a Retrieval-Augmented Generation (RAG) approach. Our KG-HTC can enhance LLMs to understand label semantics at various hierarchy levels. We evaluate KG-HTC on three open-source HTC datasets: WoS, DBpedia, and Amazon. Our experimental results show that KG-HTC significantly outperforms three baselines in the strict zero-shot setting, particularly achieving substantial improvements at deeper levels of the hierarchy. This evaluation demonstrates the effectiveness of incorporating structured knowledge into LLMs to address HTC's challenges in large label spaces and long-tailed label distributions. Our code is available at: https://github.com/QianboZang/KG-HTC.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 21 of its 37 references that are in the map. First posted on arXiv 8 May 2025.

Builds on

21 of 37 references.

References · 21

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2024Qwen2.5 Technical Reportcited by 4,942
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  9. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
  10. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
  11. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  12. 2024Graph Retrieval-Augmented Generation: A Surveycited by 324
9 more
  1. 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
  2. 2017HDLTex: Hierarchical Deep Learning for Text Classificationcited by 106
  3. 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
  4. 2024GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capabilitycited by 58
  5. 2023KnowGPT: Knowledge Graph based Prompting for Large Language Modelscited by 31
  6. 2024TELEClass: Taxonomy Enrichment and LLM-Enhanced Hierarchical Text Classification with Minimal Supervisioncited by 25
  7. 2021Clean or Annotate: How to Spend a Limited Data Collection Budgetcited by 10
  8. 2021Joint Learning of Hyperbolic Label Embeddings for Hierarchical Multi-label Classificationcited by 8
  9. 2024LIME: Less Is More for MLLM Evaluationcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Domain-Hierarchy Adaptation via Chain of Iterative Reasoning for Few-shot Hierarchical Text Classification
  2. 2026Label-Centric Knowledge Retrieval for Zero-Shot Text Classification
  3. 2023Enhancing Text-based Knowledge Graph Completion with Zero-Shot Large Language Models: A Focus on Semantic Enhancement
  4. 2024TnT-LLM: Text Mining at Scale with Large Language Models
  5. 2023Text-To-KG Alignment: Comparing Current Methods on Classification Tasks
  6. 2025Reasoning for Hierarchical Text Classification: The Case of Patents
  7. 2025KG-CF: Knowledge Graph Completion with Context Filtering under the Guidance of Large Language Models
  8. 2025Heterogeneous LLM Methods for Ontology Learning (Few-Shot Prompting, Ensemble Typing, and Attention-Based Taxonomies)