atlas

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

Language Models as Hierarchy Encoders

NeurIPS 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 2 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.

Re-trains sentence-transformer encoder LMs as Hierarchy Transformers (HiTs) by mapping their output embeddings into a Poincaré ball with a dimension-adaptive curvature and training with hyperbolic clustering and centripetal losses.

Problem

Pre-trained transformer encoder LMs poorly encode explicit hierarchical (subsumption) structure, and they do not infer transitive or unseen subsumptions; static hyperbolic embeddings lack inductive prediction ability.

Approach

Place the output embedding space of an encoder LM inside a Poincaré ball of radius sqrt(d) (curvature 1/d) that circumscribes the tanh hyper-cube, then re-train the LM with a hyperbolic triplet clustering loss plus a centripetal norm loss, adding no new learnable parameters.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply HiT hierarchy re-training instead of standard fine-tuningall-MiniLM-L12-v2 · WordNet Mixed-hop Prediction, random negativesF-score: 0.627 -> 0.885Helped
Apply HiT hierarchy re-training instead of standard fine-tuningall-MiniLM-L12-v2 · WordNet Mixed-hop Prediction, hard negativesF-score: 0.644 -> 0.871Helped
Apply HiT hierarchy re-training instead of standard fine-tuningall-MiniLM-L12-v2 · WordNet to Schema.org Transfer, random negativesF-score: 0.411 -> 0.553Helped
Apply HiT hierarchy re-training instead of standard fine-tuningall-MiniLM-L12-v2 · WordNet to FoodOn Transfer, random negativesF-score: 0.407 -> 0.554Helped
Apply HiT hierarchy re-training instead of standard fine-tuningall-MiniLM-L12-v2 · WordNet to DOID Transfer, random negativesF-score: 0.603 -> 0.704Helped
Train with hard rather than random negativesall-MiniLM-L12-v2 + HiT · WordNet Mixed-hop PredictionF-score: 0.885 -> 0.871Mixed
Use α=3.0 instead of α=5.0 (ablation)all-MiniLM-L12-v2 + HiT · WordNet Mixed-hop PredictionF-score: 0.885 -> 0.865Hurt
Use α=1.0 instead of α=5.0 (ablation)all-MiniLM-L12-v2 + HiT · WordNet Mixed-hop PredictionF-score: 0.885 -> 0.867Hurt
Use β=0.5 instead of β=0.1 (ablation)all-MiniLM-L12-v2 + HiT · WordNet Mixed-hop PredictionF-score: 0.885 -> 0.899Helped
Use triplet contrastive loss rather than standard contrastive or softmax contrastive loss (ablation)HiT · Hierarchy re-trainingconvergence and effectivenessHelped
Train on SNOMED rather than WordNet for transfer to DOIDall-MiniLM-L12-v2 + HiT · DOID Transfer Mixed-hop PredictionF-score: 0.704 -> 0.850Helped

Surprising findings

Limitations

Experimental setup

Datasets: WordNet (noun) Schema.org FoodOn DOID SNOMED CT

Benchmarks: WordNet Multi-hop Inference WordNet Mixed-hop Prediction Transfer Mixed-hop Prediction (Schema.org, FoodOn, DOID) SNOMED CT Mixed-hop Prediction

Metrics: precision recall F-score

Baselines: NaivePrior all-MiniLM-L6-v2 all-MiniLM-L12-v2 all-mpnet-base-v2 BERTSubs-style fine-tuning PoincaréEmbed HyperbolicCone PoincaréGloVe

Builds on: Poincaré embeddings hyperbolic entailment cones sentence transformers BERTSubs Geoopt

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