A graph monitor transfers hallucination detection across language models
In plain words
Language models sometimes make claims unsupported by the information they were given. Their attention maps can help flag these hallucinations, but a monitor trained for one model may not work on another because attention heads and layers do not line up.
The paper introduces LEMON, a graph-based monitor that treats tokens as connected nodes and accounts for these coordinate changes. It can score text as it is generated. On held-out models in retrieval-grounded tasks, it ranked hallucinated tokens better than a baseline using token probabilities.
The research
Can attention-based monitors still detect hallucinations when a new language model places useful attention patterns in different layer and head positions, and supplies no labeled examples for training?
Existing internal-signal monitors often need target-specific labels, while matching coordinates across models is unreliable.
LEMON turns attention maps into symmetry-aware token graphs, letting a monitor trained on other models score hallucinations on an unseen model.
The authors trained on five language models and tested on the sixth. On RAGTruth, which labels hallucinated tokens in retrieval-grounded answers, ROC-AUC (0–100) measures how well scores rank hallucinated tokens above other tokens.
LEMON averaged 69.4 points across six models and three tasks, versus 59.8 for token-probability scoring.
Because each test model supplied no training labels, the higher mean supports transfer in this setting; it does not mean every model-task score improved.
The numeric comparison is for retrieval-grounded hallucination detection on six held-out models and three RAGTruth tasks.
The paper’s broader evaluation covers open-weight, instruction-tuned decoder-only models and hallucination and jailbreak monitoring; it does not establish performance on other behaviors or multimodal models.
Analysis
Deep
- Original paper authors
- Guy Bar-Shalom, Mor Geva, Fabrizio Frasca, Haggai Maron
- Submitted to arXiv
- License
- CC BY 4.0