arXiv:2610.38314cs.AIOct 2026

Manuscript Offprint

arXiv:2610.38314

CHORD: Cross-Model Hallucination Detection via Relational Graph Discrimination

Yongxin Deng, Zhen Fang, Guansong Pang, Sharon Li, Ling Chen

Yongxin Deng

University of Technology Sydney

Sydney, Australia

yongxin.deng@student.uts.edu.au

Zhen Fang*

University of Technology Sydney

Sydney, Australia

zhen.fang@uts.edu.au

Guansong Pang

Singapore Management

University

Singapore

gspang@smu.edu.sg

Sharon Li

University of

Wisconsin–Madison

Madison, WI, USA

sharonli@cs.wisc.edu

Ling Chen*

University of

Technology Sydney

Sydney, Australia

ling.chen@uts.edu.au

Abstract

Hallucination detection is critical for deploying large language models (LLMs) in real-world applications. Due to strong empirical performance, internal representation-based methods have emerged as the prevailing direction for detecting hallucinations, yet they remain largely model-specific and often fail to generalize to unseen LLMs. In this paper, we study an important yet underexplored problem, termed cross-model hallucination detection (CMHD), which aims to train hallucination detectors on source LLMs while ensuring performance on unseen target LLMs. The core challenge of CMHD lies in cross-model representation heterogeneity: hidden states from different LLMs exhibit severe semantic inconsistency, which limits the transferability of classical representation-based detectors. Through analysis and empirical validation, we show that relational structures over layers, tokens, and features capture transferable detection signals despite semantic inconsistency. Based on this observation, we propose cross-model hallucination detection via heterogeneity-oriented relational discrimination (CHORD), a relational graph discrimination framework that represents hidden states as joint relational graphs over layers, tokens, and features. It feeds these graphs into relation-aware attention to obtain structure-aware features, and uses meta-learning to shape these features toward transferable detection signals. Extensive experiments show that CHORD outperforms representative detection methods in cross-model generalization.

1 Introduction

Large language models (LLMs) may suffer from hallucinations, generating outputs that are fluent and plausible yet factually incorrect or unsupported by verifiable evidence. Such behavior poses a major challenge to LLMs' safe adoption, particularly in safety-critical domains such as education, healthcare, and finance [1–3]. Hallucination detection has therefore attracted growing attention in recent research. Existing detection methods can be broadly divided into two categories: training-free methods [4, 5] and training-based methods [6, 7]. Among them, training-based methods, which mainly leverage internal representations through lightweight classifiers, have emerged as an important and promising research direction, largely driven by their strong in-domain performance [8–10].

*Corresponding authors: Zhen Fang and Ling Chen.

Accepted as a Spotlight paper at the 40th Conference on Neural Information Processing Systems (NeurIPS 2026). © 2026 The Authors.

Figure

Figure 1: Overview of CHORD. CHORD maps hidden states into a shared space, constructs a layer-token-block graph, and uses relation-aware attention with graph pooling for hallucination prediction. Feature-Critic meta-learning encourages the detector to learn transferable signals.

Despite their empirical success, training-based methods still suffer from a critical limitation: the learned detectors are highly model-specific. In particular, detectors trained on one LLM typically fail to generalize to an unseen model, even when the model performs similar tasks (see Appendix A.1). Such limited cross-model generalization substantially reduces the practical utility of training-based hallucination detection, as detectors learned on one model often fail on another, requiring retraining or redesign for each new model. Beyond hampering scalability, this also incurs substantial additional costs in supervision, computation, and deployment. These limitations naturally lead to a central question: how can we build a detector that generalizes well across models, even to unseen ones?

To tackle the cross-model generalization issue in hallucination detection, we study a more realistic yet challenging setting, termed cross-model hallucination detection (CMHD), which seeks to learn a hallucination detector from multiple source models that generalizes well to unseen target models. The core difficulty of CMHD lies in the pronounced heterogeneity across models. Different LLMs may vary in several respects, including architecture family, parameter scale, and training procedure, and these differences can further induce different generation behaviors. At the representation level, such heterogeneity typically manifests as severe cross-model semantic inconsistency, which fundamentally limits the transferability and generalization of detectors learned from source models to target models.

To enable cross-model generalization, we seek stable, transferable detection signals across heterogeneous semantic representations, reducing reliance on model-specific semantics. Inspired by Binkowski et al. [11] demonstrating that token-level relational structures aid hallucination detection without relying on individual semantic representations, we construct relation-weighted token graphs from hidden representations, evaluating them through cross-model structural alignment and predictive transfer. In Figures 2 and 3, token-level relational features exhibit non-trivial cross-model structural alignment, and their source-to-target AUROC is comparable to representative training-free methods across models. These results suggest relational structures provide a promising transferable signal for CMHD. Building on this observation and evidence that LLMs encode hierarchical semantics across layers and rich interactions within feature dimensions [12, 13], we broaden the relational view to cross-layer token relations, within-token feature relations, and joint relations over layers, tokens, and features. We summarize each graph with permutation-invariant pooling to reduce sensitivity to node ordering. Analysis in Section 3 shows that the resulting joint relational structures achieve favorable cross-model stability and the highest cross-model AUROC among relational features.

Relational features are more transferable than raw hidden states

a. Local neighborhood alignment

Figure

b. Cross-model hallucination detection

Figure 2: Cross-model alignment and hallucination detection transfer. Raw hidden states show weak local neighborhood agreement and near-chance transfer, while relational constructions improve both mutual kNN overlap and source-to-target AUROC. Experimental details are offered in Appendix A.8.

Empirical observations suggest that joint relations over layers, tokens, and feature blocks carry information that is transferable across LLMs and discriminative for hallucination detection. Notably, even a construction with fixed handcrafted edges yields useful cross-model signals, suggesting the promise of the relational perspective. This motivates us to move beyond fixed relations and learn more effective relational structures for cross-model hallucination detection. Based on this motivation, we propose cross-model hallucination detection via heterogeneity-oriented relational discrimination (CHORD), a relational graph discrimination framework for cross-model hallucination detection. CHORD represents hidden states as fully connected joint relational graphs over layers, tokens, and feature blocks, where nodes encode layer-token-feature information and learnable edges capture their relational dependencies. It feeds these graphs into relation-aware attention to obtain structure-aware features for distinguishing truthful and hallucinated responses. To improve transfer to unseen LLMs, CHORD is trained with a meta-learning strategy [14] that holds out one source model as a pseudo target model, encouraging the detector to learn transferable detection signals across models.

We conduct extensive experiments in a broad, challenging cross-family transfer setting on eight LLMs from three model families and multiple scales, i.e., Llama-3.2-3B/3.1-8B/3.3-70B [15], Ministral-3-8B/14B [16], Qwen3-8B/14B [17] and Qwen3.5-35B-A3B [18], and seven benchmarks, i.e., TruthfulQA [19], HaluEval [20], TriviaQA [21], CoQA [22], GSM8K [23], MBPP [24], and xLAM [25], spanning factual and conversational question answering, mathematical reasoning, coding, and agent tasks. Section 5 shows CHORD consistently improves cross-model generalization and outperforms representative baselines, verifying the effectiveness of relational graph discrimination for hallucination detection across unseen LLMs. Our main contributions are summarized below:

  • We formulate and study cross-model hallucination detection (CMHD), a practical setting where hallucination detectors are trained on source LLMs and evaluated on unseen target LLMs.

  • Analysis suggests relational structures over layers, tokens, and feature blocks serve as promising hallucination signals for CMHD, exhibiting favorable cross-model alignment and detection transfer.

  • We propose CHORD, a relational graph discrimination framework with relation-aware attention and meta-learning, and demonstrate its effectiveness across model families, scales, and task types.

References (42)