atlas

Research map / Large language models / Retrieval and knowledge

MKGL: Mastery of a Three-Word Language

NeurIPS 2024 · 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.

Introduces KG Language (KGL), a three-word entity-relation-entity sentence format, and MKGL, which fine-tunes Llama-2-7b with LoRA-based context and score retrievers to create KGL token embeddings for KG completion, reporting gains over embedding and LLM baselines on FB15k-237 and WN18RR.

Problem

LLMs struggle to handle KG entities and relations, which are atomic identifiers absent from their vocabulary, so scaling LLM-based KG completion to large entity sets (thousands of candidates) remains inefficient and limited to simple tasks like triplet classification.

Approach

Treat KG facts as a constrained three-word language (KGL) and create new LLM token embeddings for KG entities and relations by aggregating their textual token embeddings and KG neighborhood via LoRA-style down/up-scaled PNA encoders, plus a score retriever that outputs one-shot probabilities over all candidate entities.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MKGL instead of KICGPTKG completion · FB15k-237MRR: .412 -> .415Helped
Use MKGL instead of KICGPTKG completion · WN18RRMRR: .549 -> .552Helped
Use MKGL instead of RED-GNNinductive KG completion · FB15k-237-ind-v1MRR: .369 -> .475Helped
Use MKGL instead of RED-GNNinductive KG completion · WN18RR-ind-v1MRR: .701 -> .746Helped
Add text retrieval to the score retriever (ablation)MKGL · FB15k-237MRR: .382 -> .415Helped
Add text retrieval to the score retriever (ablation)MKGL · WN18RRMRR: .541 -> .552Helped
Add the score retriever (ablation)MKGL with context retriever · FB15k-237MRR: .365 -> .415Helped
Add the score retriever (ablation)MKGL with context retriever · WN18RRMRR: .512 -> .552Helped
Use text retrieval rather than learnable embeddings for context (ablation)MKGL with context KG retrieval · FB15k-237MRR: .359 -> .415Helped
Use text retrieval rather than learnable embeddings for context (ablation)MKGL with context KG retrieval · WN18RRMRR: .492 -> .552Helped
Add context KG retrieval while using learnable context embeddings (ablation)MKGL · FB15k-237MRR: .335 -> .359Helped
Add context KG retrieval while using learnable context embeddings (ablation)MKGL · WN18RRMRR: .466 -> .492Helped

Surprising findings

Limitations

Experimental setup

Datasets: FB15k-237 WN18RR FB15k-237-ind WN18RR-ind

Benchmarks: FB15k-237 WN18RR FB15k-237-ind WN18RR-ind

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

Baselines: TransE RotatE TuckER CompGCN DAN CoKE KG-BERT StAR KGLM FTL-LM DET KG-Llama-7b

Builds on: LoRA principal neighborhood aggregation KICGPT CoKE

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