English

Probing for Knowledge Attribution in Large Language Models

Computation and Language 2026-05-28 v2 Artificial Intelligence

Abstract

Large language model (LLM) hallucinations, meaning fluent but factually incorrect generations, fall into two types: faithfulness violations, where the model misuses provided context, and factuality violations, where answers reflect errors in internal knowledge. Proper mitigation depends on knowing which source drives each answer. We study contributive attribution, i.e. the classification of the dominant knowledge source behind each output, and show that a simple linear probe trained on hidden representations can reliably identify it. We introduce AttriWiki, a self-supervised pipeline that automatically generates labelled training data by prompting models to recall withheld entities from memory or read them from context without relying on knowledge conflicts. Probes trained on AttriWiki achieve up to 0.96 Macro-F1F_1 on Llama-3.1-8B, Mistral-7B, and Qwen-7B, transfer to SQuAD and WebQuestions with 0.94-0.99 Macro-F1F_1, and generalise zero-shot to Tighidet et al. (2024)'s benchmark, outperforming their probe on conflicting settings without retraining. Furthermore, attribution mismatches raise error rates by up to 70%, though correct attribution does not guarantee correct answers, pointing to the need for broader detection frameworks.

Keywords

Cite

@article{arxiv.2602.22787,
  title  = {Probing for Knowledge Attribution in Large Language Models},
  author = {Ivo Brink and Alexander Boer and Dennis Ulmer},
  journal= {arXiv preprint arXiv:2602.22787},
  year   = {2026}
}
R2 v1 2026-07-01T10:53:34.013Z