KG-Attention: Knowledge Graph-Guided Attention at Test-Time via Bidirectional Information Aggregation

Songlin Zhai, Guilin Qi, Yuan Meng · 2025

Read KG-Attention: Knowledge Graph-Guided Attention at Test-Time via Bidirectional Information Aggregation by Songlin Zhai, Guilin Qi, Yuan Meng (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-08704.txt.

Description

Songlin Zhai and co-authors plug live knowledge graphs into language models at answer time, without retraining them, in a 2025 paper. Knowledge graphs stay current, but a trained model's built-in facts go stale, and fine-tuning on new facts can damage its general skills. Their framework, KGA, rewires the attention step with two pathways modeled on how brains handle attention. One pulls graph facts into the input, and the other checks each fact against the goal.

The first pathway fuses outside knowledge driven by the prompt itself. The second filters out facts that do not serve the task at hand. The design keeps the model's weights untouched while letting it use fresh, evolving knowledge.

Catalog record

CREATORSonglin Zhai, Guilin Qi, Yuan Meng
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE36 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2507-08704

Browse the full library · About the Tower of Babel