Abstract
The rapid advancement of Large Language Models (LLMs) has sparked a debate over the continued necessity of manually curated taxonomies—hierarchical structures that organize concepts via "Is-A" relationships. This paper introduces TaxoGlimpse, a benchmark designed to evaluate the taxonomic capabilities of 18 state-of-the-art LLMs across ten representative taxonomies in eight domains. While LLMs demonstrate strong performance in general-purpose categorization, they exhibit a significant "root-to-leaf" decline in accuracy and struggle with specialized, long-tail knowledge. We conclude that while LLMs can augment taxonomic maintenance, they are not yet a complete replacement for structured expert knowledge, particularly in specialized fields.
Introduction
Taxonomies serve as the foundational backbone for knowledge graphs, search engines, and recommendation systems. By defining hierarchical relationships—such as "a Pencil is a type of Stationery"—they provide the structured logic required for complex data retrieval. However, the "meta-knowledge" encoded within the weights of LLMs like GPT-4 and Llama-3 suggests a potential shift: could these models render traditional, human-curated hierarchies obsolete?
The challenge in answering this question lies in the lack of a systematic evaluation framework. Previous assessments often focused on narrow domains or lacked the depth to test a model's understanding of specific, "leaf-level" entities. This study addresses this gap by introducing TaxoGlimpse, a rigorous benchmark that probes the limits of LLM taxonomic knowledge across varying depths and domains.
The TaxoGlimpse Benchmark
To evaluate whether LLMs can replace taxonomies, the researchers developed TaxoGlimpse. The benchmark evaluates 18 models using two primary formats:
- True/False Probing: Asking the model to verify a relationship (e.g., "Is [Child] a type of [Parent]?").
- Multiple Choice Questions (MCQ): Requiring the model to select the most appropriate supertype for a given entity from a list of candidates.
A critical feature of TaxoGlimpse is the inclusion of "hard negatives." Rather than providing obvious distractors (e.g., asking if a "Dog" is a "Fruit"), the benchmark uses closely related "sibling" or "uncle" categories. This forces the model to demonstrate a nuanced understanding of the hierarchy rather than relying on simple semantic similarity.
Experimental Setup and Datasets
The study spans 10 taxonomies across 8 diverse domains, categorized into "common" and "specialized" knowledge:
- Common/Shopping Domains: eBay, Amazon, and Google Product Categories.
- General Knowledge: Schema.org.
- Specialized/Academic Domains: ACM Computing Classification System (Computer Science), GeoNames (Geography), Glottolog (Linguistics), ICD-10-CM (Health), OAE (Medical), and NCBI (Biology).
By testing across these sectors, the researchers could measure how well LLMs handle "long-tail" information—specialized data that is less frequent in general training corpora.
Key Insights
The Root-to-Leaf Decline
One of the most consistent findings across all tested models is the "Root-to-Leaf" decline. LLMs are generally adept at identifying high-level categories near the "root" of the taxonomic tree. However, as the hierarchy deepens toward specific "leaf" nodes, accuracy drops sharply. This suggests that while LLMs understand broad conceptual umbrellas, they lack the granular detail found in expert-curated systems.
The Specialization Gap
There is a stark contrast between a model's performance in common domains versus specialized ones. For instance, GPT-4 achieved an impressive 85.7% accuracy on the Google Shopping taxonomy but fell to 62.6% on the Glottolog linguistics taxonomy. This performance gap highlights the "long-tail" problem: LLMs are highly capable in areas with high data density (like e-commerce) but falter in academic or technical fields where data is sparse.
Limits of Scale and Prompting
Interestingly, the study found that simply increasing model size (e.g., moving from Llama-7B to 70B) does not linearly improve taxonomic accuracy. Furthermore, advanced prompting strategies like Chain-of-Thought (CoT) provided minimal benefits. This indicates that the bottleneck is not the model's reasoning ability, but rather the absence of specific taxonomic knowledge within its internal parameters. Conversely, domain-specific instruction tuning (such as the LLMs4OL model) showed significant promise, suggesting that targeted training is more effective than general scaling.
Practical Implications: The Amazon Case Study
To test the real-world utility of these findings, the authors conducted a case study on the Amazon taxonomy. They explored a hybrid approach: maintaining the top three levels of the hierarchy through traditional means while allowing an LLM to manage the complex, deeper levels (level 4 and below). This strategy resulted in a 59% reduction in maintenance costs while maintaining precision and recall levels above 70%.
Conclusion: A Neural-Symbolic Future
The research suggests that LLMs are not yet ready to fully replace taxonomies, especially in specialized fields. Instead, the authors propose a "Neural-Symbolic" vision:
- Common Domains: For general web search or basic shopping applications, LLMs may soon be sufficient to replace traditional structures.
- Specialized Domains: A hybrid model is recommended. Traditional, symbolic tree structures should be preserved for "leaf-level" expert knowledge, while the "root" levels can be effectively managed by the weights of an LLM.
By combining the reliability of structured data with the flexibility of generative AI, organizations can create more robust and cost-effective knowledge management systems.
Summary updated