HyperEdit: Mitigating Hallucinations of Large Language Models via Hyperbolic Representation Editing

Large language models (LLMs) often generate hallucinations, undermining the reliability of their outputs. While prior work improves truthfulness by contrastive decoding or representation editing, these approaches overlook the hierarchical relationship between truthful and untruthful content, thereby constraining the LLM's knowledge potential. In this paper, we propose HyperEdit, a novel inference-time intervention method that encodes truthful and untruthful content as an entailment hierarchy and performs representation editing in the hyperbolic space to activate the truthfulness of LLMs. Specifically, we employ an auto-encoder to project the representations of LLMs into a hyperbolic space where truthful samples lie closer to the origin and untruthful ones farther away. This results in a truthfulness-aware hyperbolic space, where proximity to the origin indicates higher truthfulness, defining a natural editing direction. During inference, we edit the LLM's internal representations along this hyperbolic direction to elicit more truthful outputs. Experimental results on TruthfulQA and three additional benchmarks demonstrate that HyperEdit consistently enhances truthfulness across various advanced LLMs.

Link
https://www.semanticscholar.org/paper/2665b59963e2ad5c2b0797c60d755685b25c88fd
Found by
Semantic Scholar
Authors
Tongxu Lin, Junping Du, Zhe Xue, Meiyu Liang, Runqing Tang
Categories
benchmark
Published
2026-08-08
Last seen by the radar
2026-08-08
Citations
0
Influential citations
0
Radar score
38.54 / 100 (how it is scored)
Why it scored so
Matched: benchmark; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3770855.3818153
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar