atlas

Research map / Large language models / Retrieval and knowledge

K-ON: Stacking Knowledge on the Head Layer of Large Language Model

AAAI 2025 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 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.

Proposes K-ON, which adds K LoRA-adapted head layers to Llama-2-chat-7B so that entities are scored in one step via entity-level contrastive loss, plus head trajectory tuning to keep the original LLM head's token distributions.

Problem

Knowledge graph completion with LLMs suffers from a granularity mismatch: entities need multiple tokens, so token-level next-token prediction cannot score entities directly or support entity-level contrastive learning efficiently.

Approach

Attach K multi-step head layers (head MLPs, a small causal conditional Transformer, and per-step LoRA score layers) to the LLM so all candidate entities get joint probabilities from K parallel token predictions, trained with an entity-level contrastive loss and a KL-based head trajectory tuning objective that aligns with the original LLM head.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use K-ON instead of the strongest listed baselineKG completion · DB15KMRR: 33.45 -> 38.10Helped
Remove token distribution tuning loss (ablation)K-ON · DB15KMRR: 38.10 -> 37.48Hurt
Remove supervised fine-tuning loss (ablation)K-ON · DB15KMRR: 38.10 -> 37.31Hurt
Add entity-level contrastive loss (ablation)K-ON · DB15KMRR: 14.09 -> 38.10Helped
Remove conditional attention (ablation)K-ON · DB15KMRR: 38.10 -> 37.20Hurt
Share the Head MLP across steps (ablation)K-ON · DB15KMRR: 38.10 -> 28.01Hurt
Share the Score Layer across steps (ablation)K-ON · DB15KMRR: 38.10 -> 37.54Hurt
Replace learnable weights with constant weights for addition (ablation)K-ON entity probability aggregation · DB15KMRR: 38.10 -> 37.11Hurt
Replace addition with multiplication using learnable weights (ablation)K-ON entity probability aggregation · DB15KMRR: 38.10 -> 23.24Hurt
Replace addition with multiplication using constant weights (ablation)K-ON entity probability aggregation · DB15KMRR: 38.10 -> 23.61Hurt
Increase the number of negative entitiesK-ON · DB15K and MKGWperformanceMixed
Increase the number of K-ON head layersK-ON · DB15K and MKGWMRRNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: DB15K MKGW

Benchmarks: DB15K MKGW

Metrics: MRR Hits@1 Hits@3 Hits@10

Baselines: TransE DistMult RotatE IKRL TransAE KG-Bert MMKRL OTKGE MMRNS KGLM QEB VISTA

Builds on: Medusa MultiToken Llama 2 LoRA KG-Llama

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