atlas

Research map / Large language models / Language, safety and interpretability

End-to-End Ontology Learning with Large Language Models

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: Multilingual LLM data and culture · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes OLLM, which finetunes Mistral 7B with a frequency-based masked loss to generate taxonomic subgraphs end-to-end for building ontologies, plus new graph similarity metrics, evaluated on Wikipedia categories and arXiv.

Problem

Ontology learning is usually decomposed into isolated subtasks (concept discovery, relation extraction), which ignores their interactions and does not measure final ontology quality; existing ontology comparison metrics rely on literal text matching.

Approach

Model entire relevant subgraphs of the target ontology as linearised root-to-concept paths with an LLM, trained with a regulariser that randomly masks loss on frequent relations so the model does not overfit high-level concepts; sum generated subgraphs and prune to get the ontology; evaluate with embedding-based Fuzzy, Continuous and Graph F1 plus a motif distance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use end-to-end subgraph modeling with masked-loss fine-tuning instead of the strongest baselineOLLM · WikipediaFuzzy F1: 0.888 -> 0.915Helped
Use end-to-end subgraph modeling with masked-loss fine-tuning instead of the strongest baselineOLLM · WikipediaContinuous F1: 0.477 -> 0.500Helped
Use end-to-end subgraph modeling with masked-loss fine-tuning instead of the strongest baselineOLLM · WikipediaGraph F1: 0.639 -> 0.644Helped
Use end-to-end subgraph modeling with masked-loss fine-tuning instead of the strongest baselineOLLM · arXivFuzzy F1: 0.460 -> 0.570Helped
Use end-to-end subgraph modeling with masked-loss fine-tuning instead of the strongest baselineOLLM · arXivContinuous F1: 0.290 -> 0.357Helped
Use end-to-end subgraph modeling with masked-loss fine-tuning instead of the strongest baselineOLLM · arXivGraph F1: 0.553 -> 0.633Helped
Add chain-of-thought prompting to Zero-shot (ablation)Zero-shot prompting · WikipediaContinuous F1: 0.455 -> 0.449No clear effect
Add chain-of-thought prompting to Zero-shot (ablation)Zero-shot prompting · WikipediaFuzzy F1: 0.871 -> 0.873No clear effect
Replace end-to-end subgraph modeling with concept discovery and fine-tuned BERT link prediction (ablation)Zero-shot end-to-end modeling · WikipediaFuzzy F1: 0.871 -> 0.841Hurt
Replace end-to-end subgraph modeling with concept discovery and fine-tuned BERT link prediction (ablation)Zero-shot end-to-end modeling · WikipediaMotif Distance: 0.341 -> 0.092Helped

Surprising findings

Limitations

Experimental setup

Datasets: Wikipedia categories arXiv taxonomy

Benchmarks: Wikipedia categories ontology arXiv taxonomy

Metrics: Literal F1 Fuzzy F1 Continuous F1 Graph F1 Motif distance

Baselines: Memorisation Hearst REBEL Zero-shot prompting One-shot prompting Three-shot prompting Finetune LLMs4OL

Builds on: Hearst patterns REBEL LLMs4OL LoRA spmi

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy