CHORD:通过关系图判别实现跨模型幻觉检测

arXiv cs.AI 论文

摘要

CHORD提出了一种跨模型幻觉检测(CMHD)框架,将LLM隐藏状态表示为层级-词元-特征关系图,通过关系感知注意力与元学习获得可迁移到未见目标模型的检测信号,在跨模型泛化上优于现有检测方法。

arXiv:2610.38314v1 Announce Type: new 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. Code is available at https://github.com/MiracleworkerD/CHORD.
查看原文
查看缓存全文

缓存时间: 2026/10/31 09:15

# Chord: Cross-Model Hallucination Detection via Relational Graph Discrimination
Source: [https://arxiv.org/html/2610.38314](https://arxiv.org/html/2610.38314)
Yongxin DengAffiliation:University of Technology SydneyAffiliation:Sydney, AustraliaEmail:[yongxin\.deng@student\.uts\.edu\.au](mailto:)Zhen Fang††thanks:Corresponding authors: Zhen Fang and Ling Chen\.Affiliation:University of Technology SydneyAffiliation:Sydney, AustraliaEmail:[zhen\.fang@uts\.edu\.au](mailto:)Guansong PangAffiliation:Singapore ManagementAffiliation:UniversityAffiliation:SingaporeEmail:[gspang@smu\.edu\.sg](mailto:)Sharon LiAffiliation:University ofAffiliation:Wisconsin–MadisonAffiliation:Madison, WI, USAEmail:[sharonli@cs\.wisc\.edu](mailto:)Ling Chen11footnotemark:1Affiliation:University ofAffiliation:Technology SydneyAffiliation:Sydney, AustraliaEmail:[ling\.chen@uts\.edu\.au](mailto:)

###### 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 proposecross\-modelhallucination detection via heterogeneity\-orientedrelationaldiscrimination\(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 thatChordoutperforms representative detection methods in cross\-model generalization\.[https://github.com/MiracleworkerD/CHORD](https://github.com/MiracleworkerD/CHORD)

## 1Introduction

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](https://arxiv.org/html/2610.38314#bib.bib14),[2](https://arxiv.org/html/2610.38314#bib.bib44),[3](https://arxiv.org/html/2610.38314#bib.bib20)\]\. Hallucination detection has therefore attracted growing attention in recent research\. Existing detection methods can be broadly divided into two categories: training\-free methods\[[4](https://arxiv.org/html/2610.38314#bib.bib33),[5](https://arxiv.org/html/2610.38314#bib.bib11)\]and training\-based methods\[[6](https://arxiv.org/html/2610.38314#bib.bib24),[7](https://arxiv.org/html/2610.38314#bib.bib53)\]\. 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](https://arxiv.org/html/2610.38314#bib.bib16),[9](https://arxiv.org/html/2610.38314#bib.bib45),[10](https://arxiv.org/html/2610.38314#bib.bib58)\]\.

Figure 1:Overview ofChord\.Chordmaps hidden states into a shared space, constructs alayer–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 highlymodel\-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](https://arxiv.org/html/2610.38314#A1.SS1)\)\. 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 pronouncedheterogeneity 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 severecross\-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\]](https://arxiv.org/html/2610.38314#bib.bib4)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](https://arxiv.org/html/2610.38314#S1.F2)and[3](https://arxiv.org/html/2610.38314#S3.F3), 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](https://arxiv.org/html/2610.38314#bib.bib49),[13](https://arxiv.org/html/2610.38314#bib.bib61)\], we broaden the relational view tocross\-layer token relations,within\-token feature relations, andjoint relationsover layers, tokens, and features\. We summarize each graph with permutation\-invariant pooling to reduce sensitivity to node ordering\. Analysis in Section[3](https://arxiv.org/html/2610.38314#S3)shows that the resulting joint relational structures achieve favorable cross\-model stability and the highest cross\-model AUROC among relational features\.

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 proposecross\-modelhallucination detection via heterogeneity\-orientedrelationaldiscrimination\(Chord\), a relational graph discrimination framework for cross\-model hallucination detection\.Chordrepresents 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,Chordis trained with a meta\-learning strategy\[[14](https://arxiv.org/html/2610.38314#bib.bib26)\]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](https://arxiv.org/html/2610.38314#bib.bib13)\], Ministral\-3\-8B/14B\[[16](https://arxiv.org/html/2610.38314#bib.bib32)\], Qwen3\-8B/14B\[[17](https://arxiv.org/html/2610.38314#bib.bib56)\]and Qwen3\.5\-35B\-A3B\[[18](https://arxiv.org/html/2610.38314#bib.bib60)\], and seven benchmarks, i\.e\., TruthfulQA\[[19](https://arxiv.org/html/2610.38314#bib.bib29)\], HaluEval\[[20](https://arxiv.org/html/2610.38314#bib.bib25)\], TriviaQA\[[21](https://arxiv.org/html/2610.38314#bib.bib19)\], CoQA\[[22](https://arxiv.org/html/2610.38314#bib.bib42)\], GSM8K\[[23](https://arxiv.org/html/2610.38314#bib.bib6)\], MBPP\[[24](https://arxiv.org/html/2610.38314#bib.bib2)\], and xLAM\[[25](https://arxiv.org/html/2610.38314#bib.bib31)\], spanning factual and conversational question answering, mathematical reasoning, coding, and agent tasks\. Section[5](https://arxiv.org/html/2610.38314#S5)showsChordconsistently 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:*

∙\\bulletWe 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\.

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

∙\\bulletWe proposeChord, a relational graph discrimination framework with relation\-aware attention and meta\-learning, and demonstrate its effectiveness across model families, scales, and task types\.

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 mutualkkNN overlap and source\-to\-target AUROC\. Experimental details are offered in Appendix[A\.8](https://arxiv.org/html/2610.38314#A1.SS8)\.
## 2Learning Setups

LLMs and Token Sequences\.Following\[[26](https://arxiv.org/html/2610.38314#bib.bib37),[27](https://arxiv.org/html/2610.38314#bib.bib38),[28](https://arxiv.org/html/2610.38314#bib.bib7)\], we model an LLM as a conditional distributionℙ𝜽​\(⋅\)\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}\(\\cdot\)over token sequences, where𝜽\\boldsymbol\{\\theta\}denotes the model parameters\. Given an input token sequence𝐐=\[x1,…,xk\]\\mathbf\{Q\}=\[x\_\{1\},\\dots,x\_\{k\}\], representing a question optionally concatenated with context, the LLM generates an answer token sequence𝐀=\[xk\+1,…,xk\+l\]\\mathbf\{A\}=\[x\_\{k\+1\},\\dots,x\_\{k\+l\}\]in an autoregressive manner by predicting each token conditioned on the preceding tokens:ℙ𝜽​\(xj∣x1,…,xj−1\),for​j=k\+1,…,k\+l\.\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}\(x\_\{j\}\\mid x\_\{1\},\\dots,x\_\{j\-1\}\),\\text\{for \}j=k\{\+\}1,\\dots,k\{\+\}l\.

This work studies multiple models\. Letℙ𝜽1,…,ℙ𝜽M\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{1\}\},\\ldots,\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{M\}\}denote theMMLLMs available during training\. These training models may vary along several axes, including architecture family, parameter scale, and training procedure, and such variation may induce systematically different generation behaviors\.

Internal Representations\.For theii\-th LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, letLiL\_\{i\}denote its number of layers anddid\_\{i\}its hidden dimension\. Given an input question\-answer pair\(𝐐,𝐀\)\(\\mathbf\{Q\},\\mathbf\{A\}\)withk\+lk\+ltokens, the hidden representation at layerℓ\\ellis defined as𝐇𝜽iℓ​\(𝐐,𝐀\)∈ℝ\(k\+l\)×di\\mathbf\{H\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\\in\\mathbb\{R\}^\{\(k\+l\)\\times d\_\{i\}\}\. For each token positiontt, we denote by𝐡𝜽i,tℓ​\(𝐐,𝐀\)∈ℝdi\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\\in\\mathbb\{R\}^\{d\_\{i\}\}the hidden representation of thett\-th token at layerℓ\\ell\.

Domain and Datasets\.We define the*truthful\-answer domain*as a joint distributionℙQ,T\\mathbb\{P\}\_\{Q,T\}, whereQQis a random variable representing questions andTTis a random variable representing factual answers\. Given a question𝐐∼ℙQ\\mathbf\{Q\}\\sim\\mathbb\{P\}\_\{Q\}, theii\-th modelℙ𝜽i​\(⋅\)\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\(\\cdot\)generates an answer𝐀i∼ℙ𝜽i\(⋅∣𝐐\)\\mathbf\{A\}\_\{i\}\\sim\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\(\\cdot\\mid\\mathbf\{Q\}\)\.𝐀i\\mathbf\{A\}\_\{i\}is then assigned a binary labelyiy\_\{i\}based on its semantic alignment with a reference answer𝐀ref∼ℙT\|Q\(⋅∣𝐐\)\\mathbf\{A\}\_\{\\mathrm\{ref\}\}\\sim\\mathbb\{P\}\_\{T\\mid Q\}\(\\cdot\\mid\\mathbf\{Q\}\)\. Specifically, if𝐀i\\mathbf\{A\}\_\{i\}is semantically aligned with𝐀ref\\mathbf\{A\}\_\{\\mathrm\{ref\}\}or explicitly abstains \(e\.g\., states that it does not know\), it is labeled as truthful \(yi=1y\_\{i\}=1\); if it commits to an answer that is not aligned with𝐀ref\\mathbf\{A\}\_\{\\mathrm\{ref\}\}, it is labeled as hallucinated \(yi=0y\_\{i\}=0\)\. CombiningℙQ,T\\mathbb\{P\}\_\{Q,T\}withℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}yields a dataset

𝒟i=\{\(𝐐1,𝐀i1,yi1\),…,\(𝐐n,𝐀in,yin\)\},∀i∈\{1,…,M\}\.\\mathcal\{D\}\_\{i\}=\\big\\\{\(\\mathbf\{Q\}^\{1\},\\mathbf\{A\}^\{1\}\_\{i\},y\_\{i\}^\{1\}\),\\ldots,\(\\mathbf\{Q\}^\{n\},\\mathbf\{A\}^\{n\}\_\{i\},y^\{n\}\_\{i\}\)\\big\\\},~~\\forall i\\in\\\{1,\.\.\.,M\\\}\.\(1\)
Cross\-Model Hallucination Detection\.The task considered in this work is defined as follows\.

###### Problem 1\(Cross\-Model Hallucination Detection \(CMHD\)\)\.

GivenMMtraining datasets𝒟1,…,𝒟M\\mathcal\{D\}\_\{1\},\.\.\.,\\mathcal\{D\}\_\{M\}constructed from the truthful\-answer domainℙQ,T\\mathbb\{P\}\_\{Q,T\}together withMMsource modelsℙ𝜽1,…,ℙ𝜽M\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{1\}\},\\ldots,\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{M\}\}as introduced in Eq\. \([1](https://arxiv.org/html/2610.38314#S2.E1)\), the goal of cross\-model hallucination detection \(CMHD\) is to learn a detectorDDfromℙ𝜽1,…,ℙ𝜽M\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{1\}\},\\ldots,\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{M\}\}and𝒟1,…,𝒟M\\mathcal\{D\}\_\{1\},\\ldots,\\mathcal\{D\}\_\{M\}\. During testing, given an unseentarget modelℙ𝜽\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}, the detectorDDis expected to generalize toℙ𝜽\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}\. Concretely, for any question𝐐∼ℙQ\\mathbf\{Q\}\\sim\\mathbb\{P\}\_\{Q\}and answer𝐀∼ℙ𝜽\(⋅∣𝐐\)\\mathbf\{A\}\\sim\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}\(\\cdot\\mid\\mathbf\{Q\}\),

D\(𝐐,𝐀,ℙ𝜽\)=1,if𝐀does not contradict𝐓∼ℙT\|Q\(⋅∣𝐐\);otherwise,0\.D\(\\mathbf\{Q\},\\mathbf\{A\},\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}\)=1,~\\text\{if \}\\mathbf\{A\}\\text\{ does not contradict \}\\mathbf\{T\}\\sim\\mathbb\{P\}\_\{T\\mid Q\}\(\\cdot\\mid\\mathbf\{Q\}\);~\\text\{otherwise\},~0\.\(2\)

## 3Analysis of Hallucination Signals: What Transfers Across Models?

In Figure[4](https://arxiv.org/html/2610.38314#A1.F4), the representation\-based detectors often generalize poorly across models\. This failure stems from cross\-model semantic inconsistency, limiting transfer from source models to target models\[[29](https://arxiv.org/html/2610.38314#bib.bib23),[30](https://arxiv.org/html/2610.38314#bib.bib22),[31](https://arxiv.org/html/2610.38314#bib.bib15)\]\(see Appendix[A\.1](https://arxiv.org/html/2610.38314#A1.SS1)\)\. We thereforeseek detection signals that remain stable across heterogeneous representations, thereby reducing the detector’s reliance on model\-specific representations\.

### 3\.1Stable Cross\-Model Signals from Token\-Level Relations

Motivated by the recent work of[Binkowski et al\. \[11\]](https://arxiv.org/html/2610.38314#bib.bib4), which shows thattoken\-level relational structuresprovide highly reliable signals for downstream hallucination detection, we carefully examine whether these token\-level relations can effectively serve as universal cross\-model signals\.

Token\-Level Relation\.Given a question\-answer pair\(𝐐,𝐀\)\(\\mathbf\{Q\},\\mathbf\{A\}\)and theii\-th LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, we obtain the hidden representation𝐡𝜽i,tℓ​\(𝐐,𝐀\)\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)of thett\-th token at layerℓ\\ell\. Motivated by[Wang et al\. \[32\]](https://arxiv.org/html/2610.38314#bib.bib52)and the state\-delta analysis\[[33](https://arxiv.org/html/2610.38314#bib.bib48),[34](https://arxiv.org/html/2610.38314#bib.bib59),[35](https://arxiv.org/html/2610.38314#bib.bib55)\], for two token positionsttandt~\\tilde\{t\}, we design their relation as follows:

Ritok,ℓ​\(t,t~,𝐐,𝐀\)=stok​\(t,t~\)​‖𝐡𝜽i,tℓ​\(𝐐,𝐀\)−𝐡𝜽i,t~ℓ​\(𝐐,𝐀\)‖2,R\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\)=s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\big\\\|\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\-\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\\big\\\|\_\{2\},\(3\)where∥⋅∥2\\\|\\cdot\\\|\_\{2\}denotes theℓ2\\ell\_\{2\}norm, andstok\(t,t~\)=exp\(−\|t−t~\|/τtok\)s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)=\\exp\\left\(\-\{\|t\-\\tilde\{t\}\|\}/\{\\tau\_\{\\mathrm\{tok\}\}\}\\right\)is the position\-based relation weight between thett\-th andt~\\tilde\{t\}\-th tokens\. Hereτtok\>0\\tau\_\{\\mathrm\{tok\}\}\>0controls decay with token\-position distance\.

Remark\.We use this simple, non\-learnable relation as a diagnostic test of whether basic relational information supports cross\-model detection\. Improved transfer under this lightweight construction would imply that relational structure provides meaningful transferable signals for detection\.

Figure 3:Detector score distributions for Llama 8B to Qwen 8B\. Token\-level relations already separate factual and hallucinated examples better than PPL, while stronger relational constructions approach the Semantic Entropy baseline\. Experimental details are provided in Appendix[A\.8](https://arxiv.org/html/2610.38314#A1.SS8)\.Token\-Level Relation Graph and Pooling\.While Eq\. \([3](https://arxiv.org/html/2610.38314#S3.E3)\) captures relations between token pairs, hallucination signals often emerge from the collective structure among multiple tokens\. We therefore aggregate pairwise relations over selected tokens into a compact vector representation that summarizes the relational structure of the question\-answer pair\(𝐐,𝐀\)\(\\mathbf\{Q\},\\mathbf\{A\}\)\. Let𝐓sel=\{t1,…,tr\}\\mathbf\{T\}^\{\\mathrm\{sel\}\}=\\\{t\_\{1\},\\ldots,t\_\{r\}\\\}denote the selected token positions\. We construct a fully connected token\-level graph𝒢itok,ℓ​\(𝐐,𝐀\)\\mathcal\{G\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)without self\-loops, where each node corresponds to a selected token and each edge\(t,t~\)\(t,\\tilde\{t\}\)is weighted by the token\-level relationRitok,ℓ​\(t,t~,𝐐,𝐀\)R\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\)defined in Eq\. \([3](https://arxiv.org/html/2610.38314#S3.E3)\)\. The node feature at positionttis the hidden representation𝐡𝜽i,tℓ​\(𝐐,𝐀\)\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)extracted fromℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\. Following the standard graph message\-passing and readout paradigm\[[36](https://arxiv.org/html/2610.38314#bib.bib12),[37](https://arxiv.org/html/2610.38314#bib.bib21)\], we perform one relation\-weighted aggregation step and mean readout:

𝐳itok,ℓ​\(𝐐,𝐀\)=1r​∑t∈𝐓sel∑t~∈𝐓sel,t~≠tRitok,ℓ​\(t,t~,𝐐,𝐀\)∑t′∈𝐓sel,t′≠tRitok,ℓ​\(t,t′,𝐐,𝐀\)​𝐡𝜽i,t~ℓ​\(𝐐,𝐀\)\.\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\frac\{1\}\{r\}\\sum\_\{t\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\}\}\\sum\_\{\\tilde\{t\}\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\},\\,\\tilde\{t\}\\neq t\}\\frac\{R\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\)\}\{\\sum\_\{t^\{\\prime\}\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\},\\,t^\{\\prime\}\\neq t\}R\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(t,t^\{\\prime\};\\mathbf\{Q\},\\mathbf\{A\}\)\}\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\.\(4\)
The resulting vector𝐳itok,ℓ​\(𝐐,𝐀\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)provides a compact relation\-weighted summary of the selected token representations\. Because the final mean readout is implemented as graph\-level average pooling over all selected token nodes, the summary is permutation\-invariant, providing theoretical support for reducing sensitivity to different node orderings in graphs derived from different LLMs\.

Remark\.To ensure dimension consistency across LLMs, we map hidden representations into a common space before the aggregation in Eq\. \([4](https://arxiv.org/html/2610.38314#S3.E4)\)\. Details are provided in Eq\. \([11](https://arxiv.org/html/2610.38314#S4.E11)\) and Section[4](https://arxiv.org/html/2610.38314#S4)\.

Evaluation for Cross\-Model Stability and Transferability\.We assess the token\-level features𝐳itok,ℓ​\(𝐐,𝐀\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)using two evaluation criteria:cross\-model structural stabilityandpredictive transfer\. 1\) Structural stability is measured by mutualkk\-nearest\-neighbor alignment\[[38](https://arxiv.org/html/2610.38314#bib.bib17),[39](https://arxiv.org/html/2610.38314#bib.bib40),[30](https://arxiv.org/html/2610.38314#bib.bib22),[40](https://arxiv.org/html/2610.38314#bib.bib41)\], which assesses whether the induced relational structure is consistent across LLMs\. 2\) Predictive transfer is measured by cross\-model AUROC, which evaluates whether features from one LLM can predict hallucinations on another\. Both evaluation criteria involve two LLMsℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}andℙ𝜽j\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{j\}\}\.

Following[Huh et al\. \[38\]](https://arxiv.org/html/2610.38314#bib.bib17), we use mutualkk\-nearest\-neighbor \(kkNN\) alignment to assess cross\-model structural stability\. For each pair\(𝐐s,𝐀is\)\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}^\{s\}\_\{i\}\)from dataset𝒟i\\mathcal\{D\}\_\{i\}\(see Eq\. \([1](https://arxiv.org/html/2610.38314#S2.E1)\)\), mutualkkNN alignment is

mNNtok,ℓ​\(i,j\)=1n​k​∑s=1n\|𝒩ki​\(s\)∩𝒩kj​\(s\)\|,where​𝒩ki​\(s\)=Top⁡ks′∈\{1,…,n\}∖\{s\}​simitok,ℓ​\(s,s′\),m\_\{\\mathrm\{NN\}\}^\{\\mathrm\{tok\},\\ell\}\(i,j\)=\\frac\{1\}\{nk\}\\sum\_\{s=1\}^\{n\}\\big\|\\mathcal\{N\}\_\{k\}^\{i\}\(s\)\\cap\\mathcal\{N\}\_\{k\}^\{j\}\(s\)\\big\|,~\\text\{where\}~\\mathcal\{N\}\_\{k\}^\{i\}\(s\)=\\operatorname\{Top\}k\_\{s^\{\\prime\}\\in\\\{1,\\ldots,n\\\}\\setminus\\\{s\\\}\}\\,\\mathrm\{sim\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(s,s^\{\\prime\}\),\(5\)here\|⋅\|\|\\cdot\|counts the number of elements in the intersection𝒩ki​\(s\)∩𝒩kj​\(s\)\\mathcal\{N\}\_\{k\}^\{i\}\(s\)\\cap\\mathcal\{N\}\_\{k\}^\{j\}\(s\), andTop⁡k\\operatorname\{Top\}kreturns the indices of thekklargest similarity scoressimitok,ℓ​\(s,s′\)\\mathrm\{sim\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(s,s^\{\\prime\}\)\. Following[Huh et al\. \[38\]](https://arxiv.org/html/2610.38314#bib.bib17), we use the inner product to compute the similarity score, i\.e\.,simitok,ℓ​\(s,s′\)=⟨𝐳itok,ℓ​\(𝐐s,𝐀is\),𝐳itok,ℓ​\(𝐐s′,𝐀is′\)⟩\\mathrm\{sim\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(s,s^\{\\prime\}\)=\\langle\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{i\}^\{s\}\),\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\}^\{s^\{\\prime\}\},\\mathbf\{A\}\_\{i\}^\{s^\{\\prime\}\}\)\\rangle\.

Cross\-model AUROC is used to assess predictive transfer of hallucination detection\. Specifically, an MLP detector is trained on the source features𝐳itok,ℓ​\(𝐐s,𝐀is\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{i\}^\{s\}\)from𝒟i\\mathcal\{D\}\_\{i\}with labelsyisy\_\{i\}^\{s\}\. The trained detector is then evaluated directly on the target features𝐳jtok,ℓ​\(𝐐s,𝐀js\)\\mathbf\{z\}\_\{j\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)from𝒟j\\mathcal\{D\}\_\{j\}using labelsyjsy\_\{j\}^\{s\}\. A higher AUROC indicates stronger cross\-model transfer of hallucination\-discriminative signals\.

Empirical Observations and Implications\.We evaluate𝐳itok,ℓ​\(𝐐,𝐀\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)on five source\-target LLM pairs and highlight two key observations with their implications\. The observations are shown below\.

\(1\)*Cross\-model stability\.*In Figure[2](https://arxiv.org/html/2610.38314#S1.F2)a, raw hidden representations yield mutualkkNN alignments of0\.030\.03–0\.110\.11, whereas the token\-level relational features increase the alignment to0\.170\.17–0\.300\.30across the five transfer pairs\. This indicates that the relational features preserve a more consistent neighborhood structure across LLMs than raw representations\. To contextualize these values, if the twokkNN sets were randomly and independently selected from then−1n\-1remaining samples, their expected normalized overlap would bek/\(n−1\)k/\(n\-1\)\. In our setup, wherek=10k=10andn=5000n=5000, this random\-overlap baseline is near0\.0020\.002\. The observed token\-level alignments are therefore roughly8585to150150times random neighborhood agreement, indicating non\-trivial cross\-model relational stability\.

\(2\)*Cross\-model transferability\.*In Figure[2](https://arxiv.org/html/2610.38314#S1.F2)b, an MLP detector trained on raw hidden representations from a source LLM and evaluated on a target LLM stays close to chance \(AUROC≈0\.47\\mathrm\{AUROC\}\\approx 0\.47–0\.520\.52\), while the same detector trained on token\-level relational features reaches0\.620\.62–0\.670\.67across all transfer pairs\. We further compare with two training\-free baselines \(see Figure[3](https://arxiv.org/html/2610.38314#S3.F3)\) that are inherently cross\-model: Perplexity \(PPL\)\[[41](https://arxiv.org/html/2610.38314#bib.bib43)\]as a general\-purpose baseline at about0\.630\.63, and Semantic Entropy\[[5](https://arxiv.org/html/2610.38314#bib.bib11)\]as a strong specialized baseline at about0\.750\.75\. The token\-level cross\-model AUROC thus falls short of Semantic Entropy, yet matches PPL despite the simplicity of its construction\.

Implication\.Taken together, these observations suggest that token\-level relational features provide a stable and transferable structural signal for cross\-model hallucination detection, beyond what is captured by raw hidden representations\. However, the remaining gap to Semantic Entropy indicates that token\-level relations capture only part of the transferable structure needed for robust cross\-model generalization\. This motivates the broader relational analysis in Section[3\.2](https://arxiv.org/html/2610.38314#S3.SS2), where we further study cross\-layer relations, within\-token feature relations, and their joint relational structures\.

Table 1:Cross\-model performance \(AUROC\)\. To ensure fair comparison, we use a leave\-one\-family\-out protocol: training\-based methods are trained on models from two source families and evaluated on models from the held\-out target family, while training\-free methods are directly applied to the same targets \(*Appendix[G](https://arxiv.org/html/2610.38314#A7)*\)\. Best results arebold, and second\-best results areunderlined\.
### 3\.2From Token\-Level to Joint Relational Structures

Building on the token\-level relations in Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1), and motivated by findings that LLMs process hierarchical semantics across layers and exhibit rich feature\-level interactions\[[12](https://arxiv.org/html/2610.38314#bib.bib49),[13](https://arxiv.org/html/2610.38314#bib.bib61)\], we study three broader forms of relational structure:cross\-layer token relations,within\-token feature relations, andjoint relationsover layers, tokens, and features\. All three follow Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1)’s pipeline, differing only in graph nodes and edge weights\. We reuse𝐓sel\\mathbf\{T\}^\{\\mathrm\{sel\}\}and select a layer subset𝐋sel\\mathbf\{L\}^\{\\mathrm\{sel\}\}from theLiL\_\{i\}layers ofℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, with\|𝐋sel\|\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|shared across LLMs to keep graph size constant\. Forwithin\-token featureandjoint relations, the representation dimension is partitioned intoBBequal\-size contiguous blocks, withℐb\\mathcal\{I\}\_\{b\}indexing thebb\-th block \(Eq\. \([12](https://arxiv.org/html/2610.38314#S4.E12)\)\); each block serves as a node\[[42](https://arxiv.org/html/2610.38314#bib.bib54),[43](https://arxiv.org/html/2610.38314#bib.bib9)\]\. Details in Appendix[A\.9](https://arxiv.org/html/2610.38314#A1.SS9)\.

Cross\-Layer Token Relations\.For each layerℓ∈𝐋sel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}, we form a layer\-level summary by stacking the hidden representations of all selected tokens at this layer into a matrix:

𝐇𝜽iℓ,sel​\(𝐐,𝐀\)=\[𝐡𝜽i,t1ℓ​\(𝐐,𝐀\),…,𝐡𝜽i,trℓ​\(𝐐,𝐀\)\]⊤∈ℝr×di\.\\mathbf\{H\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\big\[\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\),\\ldots,\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\\big\]^\{\\top\}\\in\\mathbb\{R\}^\{r\\times d\_\{i\}\}\.\(6\)Then, we define the node for layerℓ\\ellasvec⁡\(𝐇𝜽iℓ,sel\)∈ℝr​di\\mathrm\{vec\}\(\\mathbf\{H\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\)\\in\\mathbb\{R\}^\{rd\_\{i\}\}, withvec⁡\(⋅\)\\mathrm\{vec\}\(\\cdot\)flattening a matrix into a vector by stacking its rows\. To define edges between layer nodes, we use the standard cosine distance for comparing Transformer\-layer representations\[[44](https://arxiv.org/html/2610.38314#bib.bib62),[45](https://arxiv.org/html/2610.38314#bib.bib51),[46](https://arxiv.org/html/2610.38314#bib.bib46)\], modulated by a depth\-decay factor:

Rilyr​\(ℓ,ℓ~,𝐐,𝐀\)=slyr​\(ℓ,ℓ~\)​\(1−cos⁡\(vec⁡\(𝐇𝜽iℓ,sel\),vec⁡\(𝐇𝜽iℓ~,sel\)\)\),R\_\{i\}^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\};\\mathbf\{Q\},\\mathbf\{A\}\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\,\\big\(1\-\\cos\\big\(\\mathrm\{vec\}\(\\mathbf\{H\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\),\\mathrm\{vec\}\(\\mathbf\{H\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\tilde\{\\ell\},\\mathrm\{sel\}\}\)\\big\)\\big\),\(7\)wherecos⁡\(⋅,⋅\)\\cos\(\\cdot,\\cdot\)denotes cosine similarity, andslyr\(ℓ,ℓ~\)=exp\(−\|ℓ−ℓ~\|/τlyr\)s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)=\\exp\(\-\|\\ell\-\\tilde\{\\ell\}\|/\\tau\_\{\\mathrm\{lyr\}\}\)is the depth\-decay factor between layersℓ\\ellandℓ~\\tilde\{\\ell\}\. The bandwidthτlyr\>0\\tau\_\{\\mathrm\{lyr\}\}\>0controls relation decay with layer distance\.

Within\-Token Feature Relations\.For each feature blockb∈\{1,…,B\}b\\in\\\{1,\\ldots,B\\\}and each selected layerℓ∈𝐋sel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}, we first collect thebb\-th hidden\-state block of all selected tokens at layerℓ\\ell:

𝐕𝜽i,bℓ​\(𝐐,𝐀\)=\[𝐡𝜽i,t1ℓ​\(𝐐,𝐀\)​\[ℐb\],…,𝐡𝜽i,trℓ​\(𝐐,𝐀\)​\[ℐb\]\]⊤∈ℝr×\|ℐb\|\.\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\big\[\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\[\\mathcal\{I\}\_\{b\}\],\\ldots,\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\[\\mathcal\{I\}\_\{b\}\]\\big\]^\{\\top\}\\in\\mathbb\{R\}^\{r\\times\|\\mathcal\{I\}\_\{b\}\|\}\.\(8\)Then, we stack these token\-block matrices vertically over the selected layers𝐋sel=\{ℓ1,…,ℓ\|𝐋sel\|\}\\mathbf\{L\}^\{\\mathrm\{sel\}\}=\\\{\\ell\_\{1\},\\ldots,\\ell\_\{\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\}\\\}:

𝐕𝜽i,b​\(𝐐,𝐀\)=\[\(𝐕𝜽i,bℓ1​\(𝐐,𝐀\)\)⊤,…,\(𝐕𝜽i,bℓ\|𝐋sel\|​\(𝐐,𝐀\)\)⊤\]⊤∈ℝ\|𝐋sel\|​r×\|ℐb\|\.\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\big\[\(\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}^\{\\ell\_\{1\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\)^\{\\top\},\\ldots,\(\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}^\{\\ell\_\{\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\)^\{\\top\}\\big\]^\{\\top\}\\in\\mathbb\{R\}^\{\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|r\\times\|\\mathcal\{I\}\_\{b\}\|\}\.\(9\)The block node forbbis then represented byvec⁡\(𝐕𝜽i,b\)∈ℝ\|𝐋sel\|​r​\|ℐb\|\\mathrm\{vec\}\(\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\)\\in\\mathbb\{R\}^\{\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|r\|\\mathcal\{I\}\_\{b\}\|\}\. To compute edges between block nodes, we use theℓ2\\ell\_\{2\}distance:Rifeat​\(b,b~,𝐐,𝐀\)=‖vec⁡\(𝐕𝜽i,b\)−vec⁡\(𝐕𝜽i,b~\)‖2\.R\_\{i\}^\{\\mathrm\{feat\}\}\(b,\\tilde\{b\};\\mathbf\{Q\},\\mathbf\{A\}\)=\\big\\\|\\mathrm\{vec\}\(\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\)\-\\mathrm\{vec\}\(\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{b\}\}\)\\big\\\|\_\{2\}\.

Joint Relations\.Finally, we define a fine\-grained node for each\(ℓ,t,b\)\(\\ell,t,b\)triple, whose feature is the corresponding hidden\-state block𝐡𝜽i,tℓ​\(𝐐,𝐀\)​\[ℐb\]∈ℝ\|ℐb\|\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\[\\mathcal\{I\}\_\{b\}\]\\in\\mathbb\{R\}^\{\|\\mathcal\{I\}\_\{b\}\|\}\. This yields a fully connected graph over\|𝐋sel\|​r​B\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\\,r\\,Bnodes, with the relation between two such nodes given by

Rijoint​\(\(ℓ,t,b\),\(ℓ~,t~,b~\),𝐐,𝐀\)=slyr​\(ℓ,ℓ~\)​stok​\(t,t~\)​‖𝐡𝜽i,tℓ​\(𝐐,𝐀\)​\[ℐb\]−𝐡𝜽i,t~ℓ~​\(𝐐,𝐀\)​\[ℐb~\]‖2,R\_\{i\}^\{\\mathrm\{joint\}\}\\big\(\(\\ell,t,b\),\(\\tilde\{\\ell\},\\tilde\{t\},\\tilde\{b\}\);\\mathbf\{Q\},\\mathbf\{A\}\\big\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\,s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\,\\big\\\|\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\[\\mathcal\{I\}\_\{b\}\]\-\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\tilde\{\\ell\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\[\\mathcal\{I\}\_\{\\tilde\{b\}\}\]\\big\\\|\_\{2\},\(10\)whereslyrs^\{\\mathrm\{lyr\}\}andstoks^\{\\mathrm\{tok\}\}are the layer\- and token\-distance decay factors defined in Eq\. \([7](https://arxiv.org/html/2610.38314#S3.E7)\) and Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1)\.

For each relation type, following the same procedure as Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1), we apply the same relation\-weighted propagation and mean pooling as in Eq\. \([4](https://arxiv.org/html/2610.38314#S3.E4)\) to obtain the per\-sample feature vectors𝐳ilyr​\(𝐐,𝐀\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{lyr\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\),𝐳ifeat​\(𝐐,𝐀\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{feat\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\), and𝐳ijoint​\(𝐐,𝐀\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{joint\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\), with full procedure in Appendix[A\.9](https://arxiv.org/html/2610.38314#A1.SS9)\.

Empirical Observations and Implications\.We now have four relational features:𝐳itok,ℓ\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\},𝐳ilyr\\mathbf\{z\}\_\{i\}^\{\\mathrm\{lyr\}\},𝐳ifeat\\mathbf\{z\}\_\{i\}^\{\\mathrm\{feat\}\}, and𝐳ijoint\\mathbf\{z\}\_\{i\}^\{\\mathrm\{joint\}\}\. We follow the same setup of Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1), and report the observations as follows\.

\(1\)*Cross\-model stability\.*In Figure[2](https://arxiv.org/html/2610.38314#S1.F2)a, raw hidden representations yield mutualkkNN alignments of0\.030\.03–0\.110\.11across the five transfer pairs, whereas the four relational features yield consistently higher alignments: token\-level relations reach0\.170\.17–0\.300\.30, joint relational structures0\.150\.15–0\.300\.30, within\-token feature relations0\.070\.07–0\.210\.21, and cross\-layer token relations0\.100\.10–0\.240\.24\. Following the same experimental setup in Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1), the random\-overlap baseline withk=10k=10andn=5000n=5000is near0\.0020\.002, so the relational alignments are roughly3535to150150times random neighborhood agreement, indicating non\-trivial cross\-model relational similarity across all four features\.

\(2\)*Cross\-model transferability\.*In Figure[2](https://arxiv.org/html/2610.38314#S1.F2)band Figure[3](https://arxiv.org/html/2610.38314#S3.F3), the four relational features improve cross\-model AUROC over the raw hidden representations, with a different ordering\. Joint relational structures achieve the highest AUROC, around0\.690\.69–0\.730\.73, followed by within\-token feature relations at0\.640\.64–0\.670\.67, token\-level relations at0\.620\.62–0\.670\.67, and cross\-layer token relations at0\.560\.56–0\.600\.60\. Comparing against the two training\-free baselines used in Section[3\.1](https://arxiv.org/html/2610.38314#S3.SS1), namely PPL \(0\.630\.63\) and Semantic Entropy \(0\.750\.75\), three of the four relational features already match or exceed the general\-purpose PPL baseline, and the joint relational structures further close the gap to Semantic Entropy\.

Implication\.Among the four relational features, joint relational structures over layers, tokens, and feature blocks achieve near\-highest cross\-model stability and the highest cross\-model AUROC\. This indicates that the relations across all three indices, when combined, carry information that is both transferable across LLMs and discriminative for hallucination detection\. Notably, this is achieved with a deliberately coarse design where the edge weights are fixed handcrafted decay functions\. Such a simple construction already delivers non\-trivial cross\-model transfer\. This leaves substantial room for a learnable, input\-dependent edge mechanism, which we develop in Section[4](https://arxiv.org/html/2610.38314#S4)\.

## 4Chord: Relational Attention for Cross\-Model Hallucination Detection

Building on the implication in Section[3](https://arxiv.org/html/2610.38314#S3), we developChord, which builds a unified layer\-token\-feature graph with position\- and content\-aware edges, and learns transferable detection signals through relation\-aware attention and meta\-learning\. See Appendices[A\.5](https://arxiv.org/html/2610.38314#A1.SS5),[A\.6](https://arxiv.org/html/2610.38314#A1.SS6),[A\.7](https://arxiv.org/html/2610.38314#A1.SS7)for more details\.

Hidden Representation Restructuring\.Different LLMs have different hidden dimensionsdid\_\{i\}, so we first map each hidden representation𝐡𝜽i,tℓ∈ℝdi\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\\in\\mathbb\{R\}^\{d\_\{i\}\}into a unified spaceℝd⋆\\mathbb\{R\}^\{d^\{\\star\}\}via scattered padding, whered⋆≥maxi⁡did^\{\\star\}\\geq\\max\_\{i\}d\_\{i\}\. Specifically, for each LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, we define an index mappi:\{1,…,di\}→\{1,…,d⋆\}p\_\{i\}:\\\{1,\\ldots,d\_\{i\}\\\}\\to\\\{1,\\ldots,d^\{\\star\}\\\}that distributes thedid\_\{i\}original coordinates evenly across the padded dimension\[[47](https://arxiv.org/html/2610.38314#bib.bib39)\],

pi​\(κ\)=⌊\(κ−1\)​d⋆/di⌋\+1,for​κ∈\{1,…,di\},p\_\{i\}\(\\kappa\)=\\left\\lfloor\(\\kappa\-1\)\\,d^\{\\star\}/d\_\{i\}\\right\\rfloor\+1,~\\text\{for\}~\\kappa\\in\\\{1,\\ldots,d\_\{i\}\\\},\(11\)and obtain the padded representation𝐡¯tℓ∈ℝd⋆\\bar\{\\mathbf\{h\}\}\_\{t\}^\{\\ell\}\\in\\mathbb\{R\}^\{d^\{\\star\}\}by𝐡¯tℓ​\[pi​\(κ\)\]=𝐡𝜽i,tℓ​\[κ\]\\bar\{\\mathbf\{h\}\}\_\{t\}^\{\\ell\}\[p\_\{i\}\(\\kappa\)\]=\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[\\kappa\]and𝐡¯tℓ​\[j\]=0\\bar\{\\mathbf\{h\}\}\_\{t\}^\{\\ell\}\[j\]=0, forj∉Im⁡\(pi\)j\\notin\\mathrm\{Im\}\(p\_\{i\}\), whereIm⁡\(pi\)\\mathrm\{Im\}\(p\_\{i\}\)denotes the set of positions reached bypip\_\{i\}\. To prepare the unified vector for graph construction below, we partition the padded dimension intoBBequal\-size contiguous blocks:

ℐb=\{\(b−1\)​d⋆/B\+1,…,b​d⋆/B\},for​b∈\{1,…,B\}\.\\mathcal\{I\}\_\{b\}=\\big\\\{\(b\-1\)\\,d^\{\\star\}/B\+1,\\,\\ldots,\\,b\\,d^\{\\star\}/B\\big\\\},~\\text\{for\}~b\\in\\\{1,\\ldots,B\\\}\.\(12\)We then use𝐡¯𝜽i,tℓ​\[ℐb\]∈ℝd⋆/B\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[\\mathcal\{I\}\_\{b\}\]\\in\\mathbb\{R\}^\{d^\{\\star\}/B\}to represent the feature of thebb\-th block\.

Graph Construction and Relation\-Aware Encoding\.For a given sample generated by a specific LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, we construct an individual relation graph\. Within this graph, we treat each\(ℓ,t,b\)\(\\ell,t,b\)triple withℓ∈𝐋sel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\},t∈𝐓selt\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\}, andb∈\{1,…,B\}b\\in\\\{1,\\dots,B\\\}as a node, indexed byu∈\{1,…,N\}u\\in\\\{1,\\dots,N\\\}withN=\|𝐋sel\|⋅r⋅BN=\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\\cdot r\\cdot B\. We write\(ℓu,tu,bu\)\(\\ell\_\{u\},t\_\{u\},b\_\{u\}\)for the layer, token, and block indices ofuu; the resulting graph is fully connected over theNNnodes\. Each nodeuutakes the corresponding block feature𝐡¯tuℓu​\[ℐbu\]\\bar\{\\mathbf\{h\}\}\_\{t\_\{u\}\}^\{\\ell\_\{u\}\}\[\\mathcal\{I\}\_\{b\_\{u\}\}\]and combines it with these threelearnable position embeddingsof its layer, token, and block indices to form the initial node representation𝐱u=𝐖p​𝐡¯tuℓu​\[ℐbu\]\+𝐞ℓ​\(ℓu\)\+𝐞t​\(tu\)\+𝐞b​\(bu\)∈ℝdm\\mathbf\{x\}\_\{u\}=\\mathbf\{W\}\_\{\\mathrm\{p\}\}\\,\\bar\{\\mathbf\{h\}\}\_\{t\_\{u\}\}^\{\\ell\_\{u\}\}\[\\mathcal\{I\}\_\{b\_\{u\}\}\]\+\\mathbf\{e\}\_\{\\ell\}\(\\ell\_\{u\}\)\+\\mathbf\{e\}\_\{t\}\(t\_\{u\}\)\+\\mathbf\{e\}\_\{b\}\(b\_\{u\}\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}, where𝐖p∈ℝdm×d⋆/B\\mathbf\{W\}\_\{\\mathrm\{p\}\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\\times d^\{\\star\}/B\}is a learnable matrix that linearly projects the block feature to the detector’s internal dimensiondmd\_\{\\mathrm\{m\}\}, and𝐞ℓ,𝐞t,𝐞b\\mathbf\{e\}\_\{\\ell\},\\mathbf\{e\}\_\{t\},\\mathbf\{e\}\_\{b\}are learnable lookup tables\[[48](https://arxiv.org/html/2610.38314#bib.bib8)\]that map indices in\{1,…,\|𝐋sel\|\},\{1,…,r\},\{1,…,B\}\\\{1,\\ldots,\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\\\},\\\{1,\\ldots,r\\\},\\\{1,\\ldots,B\\\}, respectively, to dense continuous vectors inℝdm\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}\.

For each pair of nodes\(u,v\)\(u,v\), we letϕℓ,ϕt,ϕb\\boldsymbol\{\\phi\}\_\{\\ell\},\\boldsymbol\{\\phi\}\_\{t\},\\boldsymbol\{\\phi\}\_\{b\}be learnable lookup tables that map the layer, token, and block index differencesℓu−ℓv,tu−tv,bu−bv\\ell\_\{u\}\-\\ell\_\{v\},t\_\{u\}\-t\_\{v\},b\_\{u\}\-b\_\{v\}to vectors, and define an edge feature that conveys to the attention both how the two nodes differ in position and how similar they are in content,

𝐞u​v=MLP1​\(\[ϕℓ​\(ℓu−ℓv\),ϕt​\(tu−tv\),ϕb​\(bu−bv\),cu​v,du​v\]\)∈ℝdm,\\mathbf\{e\}\_\{uv\}=\\mathrm\{MLP\}\_\{1\}\\\!\\big\(\\big\[\\boldsymbol\{\\phi\}\_\{\\ell\}\(\\ell\_\{u\}\-\\ell\_\{v\}\),\\,\\boldsymbol\{\\phi\}\_\{t\}\(t\_\{u\}\-t\_\{v\}\),\\,\\boldsymbol\{\\phi\}\_\{b\}\(b\_\{u\}\-b\_\{v\}\),\\,c\_\{uv\},\\,d\_\{uv\}\\big\]\\big\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\},\(13\)wherecu​v=cos⁡\(𝐱u,𝐱v\)c\_\{uv\}=\\cos\(\\mathbf\{x\}\_\{u\},\\mathbf\{x\}\_\{v\}\),du​v=‖𝐱u−𝐱v‖2d\_\{uv\}=\\\|\\mathbf\{x\}\_\{u\}\-\\mathbf\{x\}\_\{v\}\\\|\_\{2\}, andMLP1\\mathrm\{MLP\}\_\{1\}is a learnable MLP that fuses these signals\.

At this point, we have a fully connected graph in which each node carries layer\-token\-block\-aware features and each edge carries learned positional and content relations\. To turn this graph into a single feature vector for hallucination detection, we proceed in two steps that mirror the relational findings in Section[3\.2](https://arxiv.org/html/2610.38314#S3.SS2)\.First, we propagate messages along the edges so that each node aggregates relational information from every other node, absorbing the edge features into updated node representations\[[36](https://arxiv.org/html/2610.38314#bib.bib12),[49](https://arxiv.org/html/2610.38314#bib.bib50)\]\. This is exactly where the edge feature𝐞u​v\\mathbf\{e\}\_\{uv\}from Eq\. \([13](https://arxiv.org/html/2610.38314#S4.E13)\) earns its purpose: by participating in the propagation, the positional and content relations encoded on each edge are written into the receiving node, so subsequent stages no longer need to access edges directly\. We instantiate this propagation with a learnable relation\-aware attention encoder\[[50](https://arxiv.org/html/2610.38314#bib.bib47)\]:\{𝐱u′\}u=1N=RA⁡\(\{𝐱u\}u=1N,\{𝐞u​v\}u,v=1N\)\.\\\{\\mathbf\{x\}^\{\\prime\}\_\{u\}\\\}\_\{u=1\}^\{N\}=\\mathrm\{RA\}\\big\(\\\{\\mathbf\{x\}\_\{u\}\\\}\_\{u=1\}^\{N\},\\,\\\{\\mathbf\{e\}\_\{uv\}\\\}\_\{u,v=1\}^\{N\}\\big\)\.Second, with relations now stored inside the nodes, we collapse theNNupdated nodes into a single graph\-level vector via attention pooling\[[51](https://arxiv.org/html/2610.38314#bib.bib27)\]:𝐳=AttPool⁡\(\{𝐱u′\}u=1N\)∈ℝdm\.\\mathbf\{z\}=\\mathrm\{AttPool\}\\big\(\\\{\\mathbf\{x\}^\{\\prime\}\_\{u\}\\\}\_\{u=1\}^\{N\}\\big\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}\.Last, the truthfulness probability is given byy^=Sigmoid​\(MLP2​\(𝐳\)\)∈\[0,1\]\\hat\{y\}=\\text\{Sigmoid\}\\big\(\\mathrm\{MLP\}\_\{2\}\(\\mathbf\{z\}\)\\big\)\\in\[0,1\], whereMLP2\\mathrm\{MLP\}\_\{2\}is a small learnable MLP\.

Meta\-Learning Training\.We view the preceding relational pipeline as a parameterized detectory^=DΘ​\(𝐐,𝐀,ℙ𝜽\)∈\[0,1\]\\hat\{y\}=D\_\{\\Theta\}\(\\mathbf\{Q\},\\mathbf\{A\};\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\}\)\\in\[0,1\], whereΘ\\Thetacollects all learnable parameters\. Letℓbce\\ell^\{\\mathrm\{bce\}\}denote the binary cross\-entropy loss betweeny^\\hat\{y\}and the truthfulness labelyy, and recall that𝒟i\\mathcal\{D\}\_\{i\}\(defined in Eq\. \([1](https://arxiv.org/html/2610.38314#S2.E1)\)\) collects the labeled\(𝐐,𝐀,y\)\(\\mathbf\{Q\},\\mathbf\{A\},y\)triples produced by theii\-th training LLM\. A straightforward training choice would solvearg⁡minΘ​∑i=1M∑\(𝐐,𝐀,y\)∈𝒟iℓbce​\(y^,y\)\\arg\\min\_\{\\Theta\}\\sum\_\{i=1\}^\{M\}\\sum\_\{\(\\mathbf\{Q\},\\mathbf\{A\},y\)\\in\\mathcal\{D\}\_\{i\}\}\\ell^\{\\mathrm\{bce\}\}\(\\hat\{y\};y\)on the training datasets, but our actual goal is to makeΘ\\Thetageneralize to LLMs unseen at training time, and such empirical risk minimization may exploit shortcuts specific to individual training LLMs\. We therefore trainΘ\\Thetaby following Feature\-Critic\[[14](https://arxiv.org/html/2610.38314#bib.bib26)\], a representative meta\-learning strategy, abstracted as a procedure that takes the parameterized detector and the training datasets as input and returns updated parameters,Θ′←FeatCrit⁡\(DΘ,\{𝒟i\}i=1M\)\\Theta^\{\\prime\}\\leftarrow\\mathrm\{FeatCrit\}\(D\_\{\\Theta\},\\\{\\mathcal\{D\}\_\{i\}\\\}\_\{i=1\}^\{M\}\)\. The intuition is to manufacture the missing test condition from the training data itself: at each step,FeatCrit\\mathrm\{FeatCrit\}holds out one training LLM as a pseudo\-unseen model, runs candidate updates on the remaining LLMs, and rewards updates whose effect transfers to the held\-out LLM\. Over training, this drivesΘ′\\Theta^\{\\prime\}toward signals shared across LLMs rather than those idiosyncratic to any one of them\. The trained detectorDΘ′D\_\{\\Theta^\{\\prime\}\}is then used at test time on unseen LLMs\.

Table 2:Ablation study ofChord\(AUROC\)\. The comparison protocol follows Table[1](https://arxiv.org/html/2610.38314#S3.T1)\. In theBest training\-freeandBest training\-basedrows, each benchmark column reports the strongest baseline of that group on that benchmark, so different columns may come from different baselines; the QA Avg\. and All Avg\. columns report the averages of the single strongest baseline of the group, and are therefore not the row\-wise means of the columns beside them\. Full results are provided in Appendix[G](https://arxiv.org/html/2610.38314#A7)\. Best results arebold, and second\-best results areunderlined\.
## 5Experiments

Experimental Setups\.We evaluateChordon eight open\-source LLMs from the Llama, Qwen, and Ministral families\[[15](https://arxiv.org/html/2610.38314#bib.bib13),[17](https://arxiv.org/html/2610.38314#bib.bib56),[16](https://arxiv.org/html/2610.38314#bib.bib32)\], spanning different scales\. We use seven benchmarks: TruthfulQA, HaluEval, TriviaQA, CoQA, GSM8K, MBPP, and xLAM\[[19](https://arxiv.org/html/2610.38314#bib.bib29),[20](https://arxiv.org/html/2610.38314#bib.bib25),[21](https://arxiv.org/html/2610.38314#bib.bib19),[22](https://arxiv.org/html/2610.38314#bib.bib42),[23](https://arxiv.org/html/2610.38314#bib.bib6),[24](https://arxiv.org/html/2610.38314#bib.bib2),[25](https://arxiv.org/html/2610.38314#bib.bib31)\], covering factual QA, hallucination detection, conversational QA, reasoning, coding, and agent tasks\. Baselines include Perplexity, Semantic Entropy, EigenScore, Lexical Similarity, Verbalize, InterrogateLLM, MM, SEP, SAPLMA, and LapEigvals\[[41](https://arxiv.org/html/2610.38314#bib.bib43),[5](https://arxiv.org/html/2610.38314#bib.bib11),[52](https://arxiv.org/html/2610.38314#bib.bib5),[53](https://arxiv.org/html/2610.38314#bib.bib30),[54](https://arxiv.org/html/2610.38314#bib.bib28),[55](https://arxiv.org/html/2610.38314#bib.bib57),[56](https://arxiv.org/html/2610.38314#bib.bib34),[6](https://arxiv.org/html/2610.38314#bib.bib24),[57](https://arxiv.org/html/2610.38314#bib.bib3),[11](https://arxiv.org/html/2610.38314#bib.bib4)\]\. For training\-based methods requiring fixed dimensions, we use the restructuring procedure in Section[4](https://arxiv.org/html/2610.38314#S4)to map hidden states into a common space\. Sampling strategies, model details, baseline configurations, extraction details, and hyperparameters are in Appendix[A](https://arxiv.org/html/2610.38314#A1)\.

Overall Cross\-model Hallucination Detection Performance\.Table[1](https://arxiv.org/html/2610.38314#S3.T1)evaluates transfer to a held\-out model family, with no target\-family examples used for detector training\. Averaged equally over the eight target models and seven benchmarks,Chordreaches an AUROC of0\.80420\.8042, compared with0\.71520\.7152for InterrogateLLM, the strongest baseline by overall average\. It also ranks first in all 56 model–benchmark evaluations, so the aggregate gain is not driven by a few favorable targets\. In contrast, MM, SEP, SAPLMA, and LapEigvals obtain overall averages of0\.49760\.4976–0\.51770\.5177\. Their weak transfer despite dimension\-compatible inputs shows that matching feature dimensions alone does not resolve cross\-model generalization\. Training\-free methods avoid fitting a source\-specific detector and remain competitive, butChorddemonstrates that source supervision can provide additional value when combined with relational features and transfer\-oriented training\.

Dataset\-level Differences\.The gains are not uniform across tasks\. On xLAM and GSM8K,Chordachieves target\-averaged AUROCs of0\.85640\.8564and0\.82980\.8298, compared with0\.74210\.7421and0\.72970\.7297for InterrogateLLM\. The advantage also extends to standard QA: its average over TruthfulQA, HaluEval, TriviaQA, and CoQA is0\.80230\.8023, versus0\.71020\.7102for the same baseline\. Thus, the benefit is not confined to reasoning or tool\-use outputs\. MBPP presents a clearer boundary:Chordreaches0\.73370\.7337, but its margin over InterrogateLLM \(0\.69400\.6940\) is much smaller\. Limited supervision and execution\-dependent code correctness may contribute to this gap, although these results do not isolate their effects\. The task differences suggest that relational features provide broadly useful evidence, but should not be assumed to capture all forms of answer correctness equally well\.

Variation across Target Models\.The advantage extends beyond the largest targets\. Across eight models in Table[1](https://arxiv.org/html/2610.38314#S3.T1), the benchmark\-averaged margin over InterrogateLLM ranges from0\.07930\.0793to0\.09420\.0942\. Within Llama,Chordimproves from0\.79410\.7941on 3B to0\.82990\.8299on 70B, while the Qwen targets occupy a narrower range of0\.80340\.8034–0\.80880\.8088\. Thus, larger targets often provide stronger detection performance, but the magnitude of this change varies across families\. Since model versions and architectures change, these results describe the evaluated targets rather than establish a general scaling law\.

Ablation Study\.Table[2](https://arxiv.org/html/2610.38314#S4.T2)separates the contributions of relation\-aware attention and meta\-learning\. Removing relation\-aware attention reduces overall AUROC from0\.80420\.8042to0\.70780\.7078, while replacing meta\-learning with standard ERM reduces it to0\.72680\.7268\. These are drops of9\.649\.64and7\.747\.74AUROC percentage points, respectively\. The first variant retains the remaining framework, indicating that the gain cannot be attributed solely to hidden\-state restructuring or graph\-node construction\. The second retains the relational architecture, showing that source\-family supervision alone does not recover the full transfer benefit\. Both variants remain above ordinary training\-based baselines, but their advantage over training\-free detection is task\-dependent\. On MBPP, their averages of0\.66030\.6603and0\.67110\.6711fall below InterrogateLLM’s0\.69400\.6940, whereas fullChordreaches0\.73370\.7337\. This contrast supports using both components rather than relying on either modification alone\.

Contributions of Individual Relation Channels\.The finer\-grained ablations in Appendix[H\.2](https://arxiv.org/html/2610.38314#A8.SS2)remove one edge channel while preserving the other channels and training procedure\. Removing token, layer, or intra\-block feature edges reduces overall AUROC to0\.75920\.7592,0\.76290\.7629, or0\.76070\.7607, respectively\. Their relative importance varies by task: token\-edge removal produces the largest loss among the three variants on xLAM, layer\-edge removal does so on GSM8K, and intra\-block feature\-edge removal does so on MBPP\. Thus, no single channel accounts for the best performance across all tasks\. Each removal is also less damaging than removing relation\-aware attention entirely, consistent with the remaining channels retaining useful detection evidence\.

Transfer across Model Scales\.Appendix[H\.1](https://arxiv.org/html/2610.38314#A8.SS1)evaluates six directed transfers between small, medium, and large model groups\.Chordranks first in each direction, with average AUROC ranging from0\.76640\.7664to0\.78540\.7854\. Large\-to\-small transfer reaches0\.78540\.7854, compared with0\.76640\.7664in the reverse direction, showing that transfer difficulty can be asymmetric\. However, these groups differ in model\-family composition and source\-model count\. The results therefore support transfer across the evaluated scale groups, rather than a causal claim that larger source models always provide better supervision\.

Distinguishing Model Shift from Benchmark Shift\.Appendix[H\.3](https://arxiv.org/html/2610.38314#A8.SS3)holds the LLM fixed, trains on six benchmarks, and evaluates on the seventh\.Chordreaches an overall AUROC of0\.78000\.7800, compared with0\.71520\.7152for InterrogateLLM\. More importantly, ordinary training\-based baselines recover to0\.63660\.6366–0\.67970\.6797, rather than remaining near chance as in cross\-family transfer\. This contrast indicates that their weakness in Table[1](https://arxiv.org/html/2610.38314#S3.T1)is not a general inability to learn hallucination signals: they retain useful discrimination when the model’s representation space is shared across training and testing\. Because the training pools also differ, the comparison supports rather than proves the representation\-mismatch explanation\. These experiments test two distinct shifts and should not be read as evidence for simultaneous transfer to an unseen model and an unseen benchmark\.

## 6Conclusion

In this paper, we study*cross\-model hallucination detection*\(CMHD\), which aims to train hallucination detectors on source LLMs and generalize them to unseen target LLMs\. Through cross\-model analysis, we identify layer\-token\-feature relational structures as transferable hallucination signals\. We proposeChord, a relational graph discrimination framework that learns structure\-aware features through relation\-aware attention and meta\-learning\. Experiments across model families, scales, and benchmarks showChordoutperforms representative baselines, while ablations verify core modules\.

## Acknowledgments and Disclosure of Funding

This work was supported in part by the 2026 KTP Seed Funding from the Faculty of Engineering and Information Technology, University of Technology Sydney, and by the Australian Government through the Australian Research Council \(ARC\) under a Discovery Early Career Researcher Award \(DE250100363\) and a Future Fellowship \(FT230100121\)\.

The views and conclusions in this paper reflect the authors’ work and should not be taken as official positions of the Australian Government, the ARC, or any other funding body\.

The authors declare no competing interests\.

## References

- \[1\]\(2025\)“Don’t forget the teachers”: towards an educator\-centered understanding of harms from large language models in education\.InCHI,Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[2\]D\. Roustan F\. Bastardotet al\.\(2025\)The clinicians’ guide to large language models: a general perspective with a focus on hallucinations\.Interactive Journal of Medical Research\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[3\]H\. Kang and X\. Liu\(2023\)Deficiency of large language models in finance: an empirical examination of hallucination\.arXiv\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[4\]P\. Manakul, A\. Liusie, and M\. Gales\(2023\)SelfCheckGPT: zero\-resource black\-box hallucination detection for generative large language models\.InProc\. of EMNLP,pp\. 9004–9017\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[5\]S\. Farquhar, J\. Kossen, L\. Kuhn,et al\.\(2024\)Detecting hallucinations in large language models using semantic entropy\.Nature\.Cited by:[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px3.p1.1),[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p1.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p12.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[6\]J\. Kossen, J\. Han, M\. Razzak,et al\.\(2024\)Semantic entropy probes: robust and cheap hallucination detection in LLMs\.arXiv\.Cited by:[Figure 4](https://arxiv.org/html/2610.38314#A1.F4),[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px9.p1.1),[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[7\]H\. Wei, X\. Wang, X\. Zhang,et al\.\(2024\)Toward a stable, fair, and comprehensive evaluation of object hallucination in large vision\-language models\.InProc\. of NeurIPS,Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[8\]L\. Huang, W\. Yu, W\. Ma,et al\.\(2025\)A survey on hallucination in large language models: principles, taxonomy, challenges, and open questions\.ACM Transactions on Information Systems,pp\. 1–55\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[9\]P\. Sahoo, P\. Meharia, A\. Ghosh,et al\.\(2024\)A comprehensive survey of hallucination in large language, image, video and audio foundation models\.Findings of the Association for Computational Linguistics: EMNLP 2024,pp\. 11709–11724\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[10\]Y\. Zhang, Y\. Li, L\. Cui,et al\.\(2025\)Siren’s song in the ai ocean: a survey on hallucination in large language models\.Computational Linguistics,pp\. 1373–1418\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p1.1)\.
- \[11\]J\. Binkowski, D\. Janiak, A\. Sawczyn,et al\.\(2025\)Hallucination detection in LLMs using spectral features of attention maps\.InEMNLP,Cited by:[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px11.p1.1),[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p4.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[12\]I\. Tenney, D\. Das, and E\. Pavlick\(2019\)BERT rediscovers the classical NLP pipeline\.InProc\. of ACL,pp\. 4593–4601\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p4.1),[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p1.1)\.
- \[13\]N\. Elhage, N\. Nanda, C\. Olsson,et al\.\(2021\)A mathematical framework for transformer circuits\.Transformer Circuits Thread\.Note:Published: Dec 22, 2021External Links:[Link](https://transformer-circuits.pub/2021/framework/index.html)Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p4.1),[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p1.1)\.
- \[14\]Y\. Li, Y\. Yang, W\. Zhou,et al\.\(2019\)Feature\-critic networks for heterogeneous domain generalization\.InProc\. of ICML,pp\. 3915–3924\.Cited by:[§A\.7](https://arxiv.org/html/2610.38314#A1.SS7.SSS0.Px1.p1.3),[§A\.7](https://arxiv.org/html/2610.38314#A1.SS7.SSS0.Px4.p1.1),[§A\.7](https://arxiv.org/html/2610.38314#A1.SS7.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p5.1),[§4](https://arxiv.org/html/2610.38314#S4.p6.1)\.
- \[15\]A\. Grattafiori, A\. Dubey, A\. Jauhri,et al\.\(2024\)The llama 3 herd of models\.ArXiv preprint\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[16\]A\. H\. Liu, K\. Khandelwal, S\. Subramanian,et al\.\(2026\)Ministral 3\.ArXiv preprint\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[17\]A\. Yang, A\. Li, B\. Yang,et al\.\(2025\)Qwen3 technical report\.ArXiv preprint\.Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[18\]Q\. Team\(2026\)Qwen3\.5: accelerating productivity with native multimodal agents\.External Links:[Link](https://qwen.ai/blog?id=qwen3.5)Cited by:[§1](https://arxiv.org/html/2610.38314#S1.p6.1)\.
- \[19\]S\. Lin, J\. Hilton, and O\. Evans\(2022\)TruthfulQA: measuring how models mimic human falsehoods\.InProc\. of ACL,pp\. 3214–3252\.Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.2](https://arxiv.org/html/2610.38314#A1.SS12.SSS2.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[20\]J\. Li, X\. Cheng, X\. Zhao,et al\.\(2023\)HaluEval: a large\-scale hallucination evaluation benchmark for large language models\.InProc\. of EMNLP,pp\. 6449–6464\.Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.3](https://arxiv.org/html/2610.38314#A1.SS12.SSS3.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[21\]M\. Joshi, E\. Choi, D\. Weld,et al\.\(2017\)TriviaQA: a large scale distantly supervised challenge dataset for reading comprehension\.InProc\. of ACL,pp\. 1601–1611\.Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.4](https://arxiv.org/html/2610.38314#A1.SS12.SSS4.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[22\]S\. Reddy, D\. Chen, and C\. D\. Manning\(2019\)CoQA: a conversational question answering challenge\.TACL,pp\. 249–266\.Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.5](https://arxiv.org/html/2610.38314#A1.SS12.SSS5.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[23\]K\. Cobbe, V\. Kosaraju, M\. Bavarian,et al\.\(2021\)Training verifiers to solve math word problems\.ArXiv preprint\.Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.6](https://arxiv.org/html/2610.38314#A1.SS12.SSS6.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[24\]J\. Austin, A\. Odena, M\. Nye,et al\.\(2021\)Program synthesis with large language models\.ArXiv preprint\.Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.7](https://arxiv.org/html/2610.38314#A1.SS12.SSS7.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[25\]Z\. Liu, T\. Hoang, J\. Zhang,et al\.\(2024\)APIGen: automated pipeline for generating verifiable and diverse function\-calling datasets\.InProc\. of NeurIPS,Cited by:[§A\.1](https://arxiv.org/html/2610.38314#A1.SS1.p1.1),[§A\.12\.8](https://arxiv.org/html/2610.38314#A1.SS12.SSS8.p1.1),[§A\.8](https://arxiv.org/html/2610.38314#A1.SS8.p1.1),[§1](https://arxiv.org/html/2610.38314#S1.p6.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[26\]X\. Du, C\. Xiao, and S\. Li\(2024\)HaloScope: harnessing unlabeled LLM generations for hallucination detection\.InProc\. of NeurIPS,Cited by:[§2](https://arxiv.org/html/2610.38314#S2.p1.1)\.
- \[27\]C\. Oh, Z\. Fang, S\. Im,et al\.\(2025\)Understanding multimodal LLMs under distribution shifts: an information\-theoretic approach\.InICML,Cited by:[§2](https://arxiv.org/html/2610.38314#S2.p1.1)\.
- \[28\]Y\. Deng, Z\. Fang, S\. Li,et al\.\(2026\)Beyond in\-domain detection: spikescore for cross\-domain hallucination detection\.InProc\. of ICLR,Cited by:[§2](https://arxiv.org/html/2610.38314#S2.p1.1)\.
- \[29\]S\. Kornblith, M\. Norouzi, H\. Lee,et al\.\(2019\)Similarity of neural network representations revisited\.InProc\. of ICML,pp\. 3519–3529\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px2.p1.1),[§3](https://arxiv.org/html/2610.38314#S3.p1.1)\.
- \[30\]M\. Klabunde, T\. Schumacher, M\. Strohmaier,et al\.\(2025\)Similarity of neural network models: a survey of functional and representational measures\.ACM Computing Surveys,pp\. 1–52\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px2.p1.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p7.1),[§3](https://arxiv.org/html/2610.38314#S3.p1.1)\.
- \[31\]Y\. Huang, C\. Huang, D\. Feng,et al\.\(2025\)Cross\-model transferability among large language models on the platonic representations of concepts\.InProc\. of ACL,pp\. 3686–3704\.Cited by:[§3](https://arxiv.org/html/2610.38314#S3.p1.1)\.
- \[32\]Y\. Wang, Y\. Sun, Z\. Liu,et al\.\(2019\)Dynamic graph cnn for learning on point clouds\.ACM Transactions on Graphics \(tog\),pp\. 1–12\.Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p2.1)\.
- \[33\]Y\. Tang, W\. Su, Y\. Zhou,et al\.\(2025\)Augmenting multi\-agent communication with state delta trajectory\.InProc\. of EMNLP,pp\. 10230–10251\.Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p2.1)\.
- \[34\]Y\. Zhu, D\. Liu, Z\. Lin,et al\.\(2025\)The llm already knows: estimating llm\-perceived question difficulty via hidden representations\.InProc\. of EMNLP,pp\. 1160–1176\.Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p2.1)\.
- \[35\]Y\. Xu, M\. Xu, F\. Lei,et al\.\(2025\)Amplify adjacent token differences: enhancing long chain\-of\-thought reasoning with shift\-ffn\.ArXiv preprint\.Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p2.1)\.
- \[36\]J\. Gilmer, S\. S\. Schoenholz, P\. F\. Riley,et al\.\(2017\)Neural message passing for quantum chemistry\.InProc\. of ICML,pp\. 1263–1272\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px3.p1.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p4.1),[§4](https://arxiv.org/html/2610.38314#S4.p5.1)\.
- \[37\]T\. N\. Kipf and M\. Welling\(2017\)Semi\-supervised classification with graph convolutional networks\.InProc\. of ICLR,Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p4.1)\.
- \[38\]M\. Huh, B\. Cheung, T\. Wang,et al\.\(2024\)Position: the platonic representation hypothesis\.InProc\. of ICML,Cited by:[§A\.4](https://arxiv.org/html/2610.38314#A1.SS4.p1.1),[§A\.4](https://arxiv.org/html/2610.38314#A1.SS4.p3.1),[§A\.4](https://arxiv.org/html/2610.38314#A1.SS4.p5.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p7.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p8.1),[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p8.2)\.
- \[39\]S\. Oron, T\. Dekel, T\. Xue,et al\.\(2017\)Best\-buddies similarity—robust template matching using mutual nearest neighbors\.IEEE transactions on pattern analysis and machine intelligence,pp\. 1799–1813\.Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p7.1)\.
- \[40\]Y\. Park, H\. Wang, S\. Ardeshir,et al\.\(2023\)Quantifying representation reliability in self\-supervised learning models\.ArXiv preprint\.Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p7.1)\.
- \[41\]J\. Ren, J\. Luo, Y\. Zhao,et al\.\(2023\)Out\-of\-distribution detection and selective generation for conditional language models\.InProc\. of ICLR,Cited by:[§3\.1](https://arxiv.org/html/2610.38314#S3.SS1.p12.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[42\]K\. Xu, W\. Hu, J\. Leskovec,et al\.\(2019\)How powerful are graph neural networks?\.InProc\. of ICLR,Cited by:[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p1.1)\.
- \[43\]A\. Dosovitskiy, L\. Beyer, A\. Kolesnikov,et al\.\(2021\)An image is worth 16x16 words: transformers for image recognition at scale\.InProc\. of ICLR,Cited by:[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p1.1)\.
- \[44\]J\. Phang, H\. Liu, and S\. R\. Bowman\(2021\)Fine\-tuned transformers show clusters of similar representations across layers\.InProceedings of the Fourth BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP,pp\. 529–538\.Cited by:[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p2.2)\.
- \[45\]E\. Voita, R\. Sennrich, and I\. Titov\(2019\)The bottom\-up evolution of representations in the transformer: a study with machine translation and language modeling objectives\.InProc\. of EMNLP,pp\. 4396–4406\.Cited by:[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p2.2)\.
- \[46\]H\. Sajjad, F\. Dalvi, N\. Durrani,et al\.\(2023\)On the effect of dropping layers of pre\-trained transformer models\.Computer Speech & Language,pp\. 101429\.Cited by:[§3\.2](https://arxiv.org/html/2610.38314#S3.SS2.p2.2)\.
- \[47\]A\. V\. Oppenheim\(1999\)Discrete\-time signal processing\.Pearson Education India\.Cited by:[§4](https://arxiv.org/html/2610.38314#S4.p2.1)\.
- \[48\]J\. Devlin, M\. Chang, K\. Lee,et al\.\(2019\)BERT: pre\-training of deep bidirectional transformers for language understanding\.InProc\. of NAACL,pp\. 4171–4186\.Cited by:[§4](https://arxiv.org/html/2610.38314#S4.p3.1)\.
- \[49\]P\. Velickovic, G\. Cucurull, A\. Casanova,et al\.\(2018\)Graph attention networks\.InProc\. of ICLR,Cited by:[§4](https://arxiv.org/html/2610.38314#S4.p5.1)\.
- \[50\]P\. Shaw, J\. Uszkoreit, and A\. Vaswani\(2018\)Self\-attention with relative position representations\.InProc\. of NAACL,pp\. 464–468\.Cited by:[§A\.6](https://arxiv.org/html/2610.38314#A1.SS6.SSS0.Px1.p1.1),[§A\.6](https://arxiv.org/html/2610.38314#A1.SS6.SSS0.Px3.p1.2),[§A\.6](https://arxiv.org/html/2610.38314#A1.SS6.SSS0.Px4.p1.1),[§A\.6](https://arxiv.org/html/2610.38314#A1.SS6.p1.1),[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px3.p1.1),[§4](https://arxiv.org/html/2610.38314#S4.p5.1)\.
- \[51\]Z\. Lin, M\. Feng, C\. N\. dos Santos,et al\.\(2017\)A structured self\-attentive sentence embedding\.InProc\. of ICLR,Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px3.p1.1),[§4](https://arxiv.org/html/2610.38314#S4.p5.1)\.
- \[52\]C\. Chen, K\. Liu, Z\. Chen,et al\.\(2024\)INSIDE: llms’ internal states retain the power of hallucination detection\.InProc\. of ICLR,Cited by:[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px4.p1.1),[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[53\]Z\. Lin, S\. Trivedi, and J\. Sun\(2024\)Generating with confidence: uncertainty quantification for black\-box large language models\.TMLR\.Cited by:[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px6.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[54\]S\. Lin, J\. Hilton, and O\. Evans\(2022\)Teaching models to express their uncertainty in words\.TMLR\.Cited by:[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px6.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[55\]Y\. Yehuda, I\. Malkiel, O\. Barkan,et al\.\(2024\)InterrogateLLM: zero\-resource hallucination detection in LLM\-generated answers\.InACL,Cited by:[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px7.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[56\]S\. Marks and M\. Tegmark\(2023\)The geometry of truth: emergent linear structure in large language model representations of true/false datasets\.arXiv\.Cited by:[Figure 4](https://arxiv.org/html/2610.38314#A1.F4),[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px8.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[57\]A\. Azaria and T\. Mitchell\(2023\)The internal state of an LLM knows when it’s lying\.InProc\. of EMNLP Findings,pp\. 967–976\.Cited by:[Figure 4](https://arxiv.org/html/2610.38314#A1.F4),[§A\.10](https://arxiv.org/html/2610.38314#A1.SS10.SSS0.Px10.p1.1),[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1),[§5](https://arxiv.org/html/2610.38314#S5.p1.1)\.
- \[58\]Z\. Ji, N\. Lee, R\. Frieske,et al\.\(2023\)Survey of hallucination in natural language generation\.ACM Computing Surveys\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1)\.
- \[59\]S\. Minaee, T\. Mikolov, N\. Nikzad,et al\.\(2024\)Large language models: a survey\.arXiv\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1)\.
- \[60\]M\. Beigi, Y\. Shen, R\. Yang,et al\.\(2024\)InternalInspectorI2I^\{2\}: robust confidence estimation in LLMs through internal states\.InEMNLP Findings,Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px1.p1.1)\.
- \[61\]Z\. Fang, Y\. Li, J\. Lu,et al\.\(2022\)Is out\-of\-distribution detection learnable?\.InProc\. of NeurIPS,Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px2.p1.1)\.
- \[62\]Z\. Fang, J\. Lu, and G\. Zhang\(2025\)Out\-of\-distribution detection with non\-semantic exploration\.Information Sciences,pp\. 121989\.Cited by:[Appendix B](https://arxiv.org/html/2610.38314#A2.SS0.SSS0.Px2.p1.1)\.

## Appendix Contents

## Appendix AExperimental Setup Details and Hyperparameter Selection

### A\.1Pilot Transfer\-failure Analysis

![Refer to caption](https://arxiv.org/html/2610.38314v1/pilot_transfer_matrices_v3.png)Figure 4:Pilot analysis of cross\-model transfer failure in hallucination detection\.\(a\-c\)Transfer AUROC matrices for representative training\-based methods \(MM\[[56](https://arxiv.org/html/2610.38314#bib.bib34)\], SEP\[[6](https://arxiv.org/html/2610.38314#bib.bib24)\], SAPLMA\[[57](https://arxiv.org/html/2610.38314#bib.bib3)\]\)\. While all methods achieve strong in\-model performance \(diagonal\), they suffer severe degradation when across models \(off\-diagonal\), dropping to near\-random accuracy\. See Appendix[A\.1](https://arxiv.org/html/2610.38314#A1.SS1)for details\.Figure[4](https://arxiv.org/html/2610.38314#A1.F4)reports a small pilot study used to verify whether standard training\-based hallucination detectors transfer across LLMs\. We consider three 8B\-scale models, Llama3\.1\-8B, Qwen3\-8B, and Ministral3\-8B, whose hidden\-state dimensions are the same in this pilot; therefore, no cross\-model dimension mapping is applied\. For each model, we construct a mixed benchmark pool from TruthfulQA\[[19](https://arxiv.org/html/2610.38314#bib.bib29)\], HaluEval\[[20](https://arxiv.org/html/2610.38314#bib.bib25)\], TriviaQA\[[21](https://arxiv.org/html/2610.38314#bib.bib19)\], CoQA\[[22](https://arxiv.org/html/2610.38314#bib.bib42)\], GSM8K\[[23](https://arxiv.org/html/2610.38314#bib.bib6)\], MBPP\[[24](https://arxiv.org/html/2610.38314#bib.bib2)\], and xLAM\[[25](https://arxiv.org/html/2610.38314#bib.bib31)\]\. We sample 1,000 examples from each benchmark whenever possible, and use all available examples for MBPP because it contains fewer than 1,000 usable samples in our setting\. The mixed pool is split into 20% training and 80% evaluation data\. For each source model, we train MM, SEP, and SAPLMA on its training split and evaluate the trained detector on the evaluation splits of all target models\. The diagonal entries therefore measure in\-model performance, while the off\-diagonal entries measure direct cross\-model transfer\. All three methods achieve strong in\-model AUROC on the diagonal, but their off\-diagonal AUROC drops close to random guessing\. This pilot result motivates the main problem studied in this paper: supervised detectors can learn useful model\-specific decision rules, but these rules do not transfer reliably across heterogeneous LLM representation spaces\.

### A\.2Token–Layer Window Size and Position

The relational features studied in Section[3](https://arxiv.org/html/2610.38314#S3)depend on which generated tokens and Transformer layers are selected\. The same choice also affectsChord, since its graph is constructed over selected layer–token–block nodes\. We therefore study two aspects of this design: the number of selected tokens/layers and the position of the selected window\. Throughout this section, token windows are selected from generated answer tokens, and layer windows are selected from Transformer layers\.

##### Evaluation settings\.

We consider two settings\. The first is the fixed*observational diagnostic*setting used in Appendix[F\.1](https://arxiv.org/html/2610.38314#A6.SS1): joint relational features are constructed with hand\-designed edges, an MLP detector is trained on a source model, and transfer AUROC is evaluated on a target model\. The second is the*method*setting: the fullChorddetector is trained and evaluated under the leave\-one\-family\-out protocol used in the main experiments\. These two settings use the same kind of token–layer selection, but they serve different purposes: the diagnostic setting exposes transferable relational structure, while the method setting measures the end\-to\-end detector\.

##### Count sweeps\.

We first vary the number of selected tokens and layers while keeping their positions fixed\. Following common practice that late generated tokens contain more answer\-level evidence and middle layers provide more transferable semantic structure, we use late token windows and middle layer windows for the count sweeps\. For the observational diagnostic, the token\-count sweep variesT∈\{1,…,10\}T\\in\\\{1,\\ldots,10\\\}withL=5L=5fixed, and the layer\-count sweep variesL∈\{1,…,16\}L\\in\\\{1,\\ldots,16\\\}withT=7T=7fixed\. ForChord, we use the same sweep ranges, while fixing the other axis at the method default\.

Figure 5:Token and layer count sweeps for the observational diagnostic and the fullChordmethod\. The diagnostic setting benefits from a moderately larger window, reaching its strongest region aroundT=7T=7andL=5L=5\.Chordrecovers most of its performance with a compactT=3,L=3T=3,L=3setting, after which larger windows provide only limited additional gain\.Figure[5](https://arxiv.org/html/2610.38314#A1.F5)shows a clear difference between the fixed diagnostic features and the full method\. For the observational diagnostic, using only one token or one layer leaves little relational structure, and transfer AUROC is low\. Performance improves as the window grows and is strongest aroundT=7T=7andL=5L=5, after which the curve largely saturates\. ForChord, the curve rises more quickly and reaches a stable region aroundT=3,L=3T=3,L=3\. This suggests that fixed handcrafted relational features benefit from a broader window, whereas the learnable relation\-aware encoder can extract most of the useful signal from a smaller graph\.

##### Position sweeps\.

We next fix the window size and vary its position\. For the observational diagnostic, we use the stronger count\-sweep settingT=7,L=5T=7,L=5\. ForChord, we use the default method settingT=3,L=3T=3,L=3\. When comparing token positions, we keep the layer window in the middle layers and place the token window at the early, middle, or late part of the generated answer\. When comparing layer positions, we keep the token window at the late generated tokens and place the layer window at early, middle, or late layers\.

Figure 6:Token and layer position sweeps\. Late generated tokens perform best across both the observational diagnostic andChord\. Middle layers are also consistently strong, supporting the use of late\-token and middle\-layer windows in the main experiments\.Figure[6](https://arxiv.org/html/2610.38314#A1.F6)shows that late generated tokens are more useful than early or middle generated tokens\. This is consistent with the fact that hallucination evidence often becomes clearer after more of the answer has been generated\. For layers, middle\-layer windows perform best or near\-best\. Early layers are closer to lexical encoding, while very late layers can be more tied to model\-specific output behavior\. Middle layers provide a more stable region for relational transfer\.

##### Resulting choices\.

Based on these sweeps, the observational diagnostics useT=7T=7late generated tokens andL=5L=5middle layers\. The fullChordmethod uses the more compactT=3,L=3T=3,L=3setting with the same late\-token and middle\-layer positions\. This gives the diagnostics enough context to reveal transferable relational structure, while keeping the final method efficient and avoiding unnecessary graph expansion\.

### A\.3Feature\-Block Granularity

Besides the token and layer windows, the joint relational graph also depends on how the hidden dimension is partitioned into feature blocks\. In the main experiments, hidden states from all LLMs are first mapped to a common padded dimensiondmax=8192d\_\{\\max\}=8192, and this dimension is divided intoB=64B=64contiguous feature blocks\. Each block then serves as the feature component of a joint node\. This appendix studies the effect of varying the block countBB\.

##### Block construction\.

For a given value ofBB, we partition the padded feature indices intoBBdisjoint contiguous blocks:

\{1,…,dmax\}=ℐ1\(B\)∪⋯∪ℐB\(B\),ℐb\(B\)∩ℐb~\(B\)=∅​for​b≠b~,\\\{1,\\ldots,d\_\{\\max\}\\\}=\\mathcal\{I\}^\{\(B\)\}\_\{1\}\\cup\\cdots\\cup\\mathcal\{I\}^\{\(B\)\}\_\{B\},\\qquad\\mathcal\{I\}^\{\(B\)\}\_\{b\}\\cap\\mathcal\{I\}^\{\(B\)\}\_\{\\tilde\{b\}\}=\\emptyset\\ \\text\{for \}b\\neq\\tilde\{b\},\(14\)where each block has dimension

dB=dmaxB\.d\_\{B\}=\\frac\{d\_\{\\max\}\}\{B\}\.\(15\)For the joint relational graph, each node corresponds to a triple\(ℓ,t,b\)\(\\ell,t,b\), whereℓ\\ellis a selected layer,ttis a selected generated\-token position, andbbis a feature block\. The node feature is the corresponding block of the hidden state,

𝐡𝜽i,tℓ​\(𝐐,𝐀\)​\[ℐb\(B\)\]\.\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\[\\mathcal\{I\}^\{\(B\)\}\_\{b\}\]\.ChangingBBtherefore changes both the granularity of each node and the graph size\. WhenBBis small, each node contains a high\-dimensional block and may mix unrelated coordinates\. WhenBBis very large, each node contains very few coordinates; atB=1024B=1024, each block has only eight dimensions, so the graph becomes close to coordinate\-level and each node carries little standalone information\.

##### Evaluation settings\.

We evaluate

B∈\{2,4,8,16,32,64,128,256,512,1024\}\.B\\in\\\{2,4,8,16,32,64,128,256,512,1024\\\}\.The sweep is conducted in two settings\. For the observational diagnostic, we use the fixed joint relational structure from Section[3](https://arxiv.org/html/2610.38314#S3), withT=7T=7late generated tokens andL=5L=5middle layers\. For the full method, we useChordwith its default compact window,T=3T=3late generated tokens andL=3L=3middle layers\. All other components are kept unchanged, so the only varied factor is the feature\-block countBB\.

The number of graph nodes grows linearly withBB\. In the observational setting, the joint graph contains7×5×B=35​B7\\times 5\\times B=35Bnodes\. In the method setting, it contains3×3×B=9​B3\\times 3\\times B=9Bnodes\. Thus, increasingBBnot only changes the feature granularity but also increases the cost of relation aggregation\. This makes the sweep a direct test of the signal–compute trade\-off induced by feature\-block partitioning\.

Figure 7:Effect of feature\-block countBBon the observational joint\-relation diagnostic and the fullChordmethod\. Hidden states are padded todmax=8192d\_\{\\max\}=8192and partitioned intoBBcontiguous blocks\. Very smallBBproduces overly coarse blocks, while very largeBBmakes each node too low\-dimensional and greatly increases graph size\. The defaultB=64B=64provides a strong trade\-off between transfer performance and graph complexity\.
##### Results\.

Figure[7](https://arxiv.org/html/2610.38314#A1.F7)shows a clear non\-monotonic trend\. WhenBBis very small, performance is low in both settings\. This is expected because each feature block is too coarse\. For example,B=2B=2orB=4B=4means that each node contains thousands of hidden dimensions, so relations between feature blocks cannot isolate more localized activation patterns\. AsBBincreases from22to3232, transfer AUROC improves rapidly, indicating that finer feature partitioning exposes more useful internal relational structure\.

The best region appears aroundB=64B=64, withB=128B=128remaining close in performance\. This suggests that the method does not rely on a single fragile block count, but benefits from a moderate block granularity\. AtB=64B=64, each block has dimension8192/64=1288192/64=128, which is small enough to provide localized feature structure while still large enough for each node to contain meaningful multi\-dimensional information\. Larger values such asB=128B=128andB=256B=256can preserve similar accuracy, but they increase the graph size and therefore provide a less favorable compute–performance trade\-off\.

For very largeBB, the performance starts to decline\. At the largest setting we evaluate,B=1024B=1024, each block has only eight dimensions and the graph is an order of magnitude larger than at the default\. In this regime, each node carries too little information, and the relational graph becomes dominated by fine coordinate\-level fragments rather than stable feature\-block relations\. The corresponding transfer AUROC falls well below the peak, confirming that simply increasing the number of nodes is not beneficial\.

##### Implication\.

The block\-count sweep supports the choice ofB=64B=64in the main experiments\. A very smallBBloses fine\-grained feature relations, while a very largeBBproduces low\-information nodes and excessive graph expansion\. The defaultB=64B=64lies near the strongest region of the curve and keeps the method computationally manageable\. Thus, the gain ofChordis not obtained by making the graph arbitrarily large; it comes from using a block granularity that preserves enough information per node while still exposing relational structure across tokens, layers, and feature blocks\.

### A\.4Why We Use Mutualkk\-Nearest\-Neighbor Alignment

We use mutualkk\-nearest\-neighbor \(kkNN\) alignment to quantify whether two LLMs induce similar sample\-level structures after applying a given feature construction\. Our choice follows the representation\-alignment view in[Huh et al\. \[38\]](https://arxiv.org/html/2610.38314#bib.bib17): a representation can be characterized by the similarity structure, or kernel, that it induces over data samples, and representational alignment measures the agreement between such induced similarity structures\. Under this view, centered kernel alignment \(CKA\), SVCCA, and nearest\-neighbor\-based metrics can all be regarded as different ways of comparing representation\-induced kernels\.

A natural choice would be CKA, which compares two centered kernel matrices globally\. However, this global comparison can be unnecessarily strict in our setting\. Cross\-model hallucination detection does not require two heterogeneous LLMs to have globally identical representation geometry\. Different LLMs may differ in architecture, hidden dimension, scale, coordinate gauge, and model\-specific semantic organization\. What matters for detector transfer is instead whether the local neighborhood around each example is preserved: examples that are similar under the source\-model feature should remain similar under the target\-model feature\. Such local preservation indicates that the feature carries a transferable sample structure even if the global geometry is not fully aligned\.

This locality consideration is also consistent with the analysis of[Huh et al\. \[38\]](https://arxiv.org/html/2610.38314#bib.bib17)\. They start from CKA as a global kernel\-alignment measure, but then consider a nearest\-neighbor\-restricted variant, CKNNA, which computes kernel alignment only over samples that are local neighbors\. When the neighborhood size approaches the full batch, this variant recovers standard CKA; when the neighborhood is small, it closely resembles mutual nearest\-neighbor alignment\. Their empirical analysis further shows that emphasizing local neighborhoods can reveal clearer alignment trends, and their appendix compares mutualkkNN with CKA, unbiased CKA, SVCCA, CKNNA, and other nearest\-neighbor variants\. Thus, mutualkkNN is not an ad hoc proxy, but a lightweight local\-alignment measure supported by the broader kernel\-alignment framework\.

Formally, given two feature maps induced by LLMsiiandjjon the samennexamples, let𝒩ki​\(s\)\\mathcal\{N\}\_\{k\}^\{i\}\(s\)and𝒩kj​\(s\)\\mathcal\{N\}\_\{k\}^\{j\}\(s\)denote thekknearest neighbors of samplessunder the two feature spaces, respectively\. We compute neighbors using the inner\-product similarity of the corresponding feature vectors\. The per\-sample neighborhood agreement is

ai​j​\(s\)=1k​\|𝒩ki​\(s\)∩𝒩kj​\(s\)\|,a\_\{ij\}\(s\)=\\frac\{1\}\{k\}\\left\|\\mathcal\{N\}\_\{k\}^\{i\}\(s\)\\cap\\mathcal\{N\}\_\{k\}^\{j\}\(s\)\\right\|,\(16\)and the reported alignment score is the average

Ai​j=1n​∑s=1nai​j​\(s\)\.A\_\{ij\}=\\frac\{1\}\{n\}\\sum\_\{s=1\}^\{n\}a\_\{ij\}\(s\)\.\(17\)The score lies in\[0,1\]\[0,1\], where larger values indicate stronger agreement between the local neighborhood structures induced by the two LLMs\.

We setk=10k=10in all experiments\. This value is small relative to our evaluation set size \(n=5000n=5000\), so the metric remains strongly local: if twokkNN sets were selected independently at random from the remainingn−1n\-1examples, the expected normalized overlap would be approximatelyk/\(n−1\)≈0\.002k/\(n\-1\)\\approx 0\.002\. At the same time,k=10k=10is large enough to avoid the instability of extremely small neighborhoods, such ask=1k=1, which can be sensitive to noise, ties, or minor representation perturbations\. This setting also matches the scale commonly used in nearest\-neighbor alignment analyses such as[Huh et al\. \[38\]](https://arxiv.org/html/2610.38314#bib.bib17)\. We use the samekkfor all model pairs and feature types, and do not tune it using target\-model performance\.

### A\.5Graph Construction Details

This subsection provides the implementation details of the graph construction used in Section[4](https://arxiv.org/html/2610.38314#S4)\. The purpose of this step is to convert hidden states from heterogeneous LLMs into a unified layer\-token\-feature graph on which relation\-aware attention can be applied\.

##### Scattered padding for dimension compatibility\.

Different LLMs may have different hidden dimensionsdid\_\{i\}\. To make their hidden states compatible with a shared graph encoder, we map every hidden state into a common ambient spaceℝd⋆\\mathbb\{R\}^\{d^\{\\star\}\}, whered⋆≥maxi⁡did^\{\\star\}\\geq\\max\_\{i\}d\_\{i\}\. For modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, the deterministic index map

pi​\(κ\)=⌊\(κ−1\)​d⋆/di⌋\+1,κ∈\{1,…,di\},p\_\{i\}\(\\kappa\)=\\left\\lfloor\(\\kappa\-1\)d^\{\\star\}/d\_\{i\}\\right\\rfloor\+1,\\qquad\\kappa\\in\\\{1,\\ldots,d\_\{i\}\\\},\(18\)assigns each original coordinate to a unique position in the padded dimension\. The padded hidden state is defined as

𝐡¯𝜽i,tℓ​\[pi​\(κ\)\]=𝐡𝜽i,tℓ​\[κ\],𝐡¯𝜽i,tℓ​\[j\]=0for​j∉Im⁡\(pi\),\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[p\_\{i\}\(\\kappa\)\]=\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[\\kappa\],\\qquad\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[j\]=0\\quad\\text\{for \}j\\notin\\mathrm\{Im\}\(p\_\{i\}\),\(19\)whereIm⁡\(pi\)\\mathrm\{Im\}\(p\_\{i\}\)is the set of padded coordinates reached bypip\_\{i\}\. This mapping is deterministic and parameter\-free\. It is not intended to semantically align individual hidden coordinates across LLMs; rather, it provides a common input dimension so that all models can be processed by the same downstream graph encoder\. The scattered placement avoids concentrating all zero padding at the end of the vector and gives every feature block a more balanced mixture of original and padded coordinates\.

##### Feature\-block partition\.

After padding, the common dimension is partitioned intoBBequal\-size contiguous blocks:

ℐb=\{\(b−1\)​d⋆/B\+1,…,b​d⋆/B\},b∈\{1,…,B\}\.\\mathcal\{I\}\_\{b\}=\\left\\\{\(b\-1\)d^\{\\star\}/B\+1,\\ldots,bd^\{\\star\}/B\\right\\\},\\qquad b\\in\\\{1,\\ldots,B\\\}\.\(20\)We choosed⋆d^\{\\star\}to be divisible byBB\. In our implementation, we setd⋆d^\{\\star\}to the smallest multiple ofBBthat is no smaller than the largest hidden dimension among the evaluated LLMs\. The block representation of tokenttat layerℓ\\ellis then

𝐡¯𝜽i,tℓ​\[ℐb\]∈ℝd⋆/B\.\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[\\mathcal\{I\}\_\{b\}\]\\in\\mathbb\{R\}^\{d^\{\\star\}/B\}\.\(21\)The number of feature blocksBBcontrols the granularity of the feature\-axis decomposition; its selection is discussed in Appendix[A\.3](https://arxiv.org/html/2610.38314#A1.SS3)\.

##### Selected layer\-token window\.

For each input\(𝐐,𝐀\)\(\\mathbf\{Q\},\\mathbf\{A\}\), we select a token subset𝐓sel=\{t1,…,tr\}\\mathbf\{T\}^\{\\mathrm\{sel\}\}=\\\{t\_\{1\},\\ldots,t\_\{r\}\\\}and a layer subset𝐋isel=\{ℓ1,…,ℓm\}\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}=\\\{\\ell\_\{1\},\\ldots,\\ell\_\{m\}\\\}from modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\. The same numbersr=\|𝐓sel\|r=\|\\mathbf\{T\}^\{\\mathrm\{sel\}\}\|andm=\|𝐋isel\|m=\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}\|are used for all LLMs, while the actual layer indices are chosen by relative depth so that models with different numbers of layers can be compared\. The token and layer selection strategy is described in Appendix[A\.2](https://arxiv.org/html/2610.38314#A1.SS2)\. For the final detector, we use the compact settingr=3r=3andm=3m=3unless otherwise stated\.

##### Node set\.

The graph contains one node for every selected layer\-token\-block triple:

u↔\(ℓu,tu,bu\),ℓu∈𝐋isel,tu∈𝐓sel,bu∈\{1,…,B\}\.u\\leftrightarrow\(\\ell\_\{u\},t\_\{u\},b\_\{u\}\),\\qquad\\ell\_\{u\}\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\},\\quad t\_\{u\}\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\},\\quad b\_\{u\}\\in\\\{1,\\ldots,B\\\}\.\(22\)Thus, the number of nodes is

N=\|𝐋isel\|⋅\|𝐓sel\|⋅B=m​r​B\.N=\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}\|\\cdot\|\\mathbf\{T\}^\{\\mathrm\{sel\}\}\|\\cdot B=mrB\.\(23\)For the default settingm=3m=3,r=3r=3, andB=64B=64, the graph hasN=576N=576nodes\.

##### Initial node representation\.

For nodeu=\(ℓu,tu,bu\)u=\(\\ell\_\{u\},t\_\{u\},b\_\{u\}\), the raw block feature is

𝐡¯𝜽i,tuℓu​\[ℐbu\]∈ℝd⋆/B\.\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{u\}\}^\{\\ell\_\{u\}\}\[\\mathcal\{I\}\_\{b\_\{u\}\}\]\\in\\mathbb\{R\}^\{d^\{\\star\}/B\}\.\(24\)We project this block feature into the detector dimension and add learnable index embeddings for the layer, token, and block identities:

𝐱u=𝐖p​𝐡¯𝜽i,tuℓu​\[ℐbu\]\+𝐞ℓ​\(ℓu\)\+𝐞t​\(tu\)\+𝐞b​\(bu\)∈ℝdm\.\\mathbf\{x\}\_\{u\}=\\mathbf\{W\}\_\{\\mathrm\{p\}\}\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{u\}\}^\{\\ell\_\{u\}\}\[\\mathcal\{I\}\_\{b\_\{u\}\}\]\+\\mathbf\{e\}\_\{\\ell\}\(\\ell\_\{u\}\)\+\\mathbf\{e\}\_\{t\}\(t\_\{u\}\)\+\\mathbf\{e\}\_\{b\}\(b\_\{u\}\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}\.\(25\)Here𝐖p∈ℝdm×d⋆/B\\mathbf\{W\}\_\{\\mathrm\{p\}\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\\times d^\{\\star\}/B\}is a learnable projection matrix, and𝐞ℓ\\mathbf\{e\}\_\{\\ell\},𝐞t\\mathbf\{e\}\_\{t\}, and𝐞b\\mathbf\{e\}\_\{b\}are learnable lookup tables\. The projection encodes the hidden\-state block content, while the three embeddings tell the graph encoder where the node lies in the layer\-token\-feature grid\.

##### Directed fully connected edge set\.

We construct a directed fully connected graph over theNNnodes\. That is, every ordered pair\(u,v\)\(u,v\)is allowed to participate in relation\-aware attention\. Following standard self\-attention, we include self\-loops; whenu=vu=v, the relative offsets are zero and the content similarity terms take their self\-comparison values\. The graph connectivity is therefore not learned or sparsified\. What is learned is the representation of each edge and how the attention encoder uses it\.

##### Edge feature\.

For each directed pair\(u,v\)\(u,v\), we compute relative offsets along the three graph axes:

Δu​vℓ=ℓu−ℓv,Δu​vt=tu−tv,Δu​vb=bu−bv\.\\Delta^\{\\ell\}\_\{uv\}=\\ell\_\{u\}\-\\ell\_\{v\},\\qquad\\Delta^\{t\}\_\{uv\}=t\_\{u\}\-t\_\{v\},\\qquad\\Delta^\{b\}\_\{uv\}=b\_\{u\}\-b\_\{v\}\.\(26\)These offsets are embedded by learnable lookup tablesϕℓ\\boldsymbol\{\\phi\}\_\{\\ell\},ϕt\\boldsymbol\{\\phi\}\_\{t\}, andϕb\\boldsymbol\{\\phi\}\_\{b\}\. We also compute two content\-dependent terms from the initial node representations:

cu​v=cos⁡\(𝐱u,𝐱v\),du​v=‖𝐱u−𝐱v‖2\.c\_\{uv\}=\\cos\(\\mathbf\{x\}\_\{u\},\\mathbf\{x\}\_\{v\}\),\\qquad d\_\{uv\}=\\\|\\mathbf\{x\}\_\{u\}\-\\mathbf\{x\}\_\{v\}\\\|\_\{2\}\.\(27\)The edge feature is then

𝐞u​v=MLP1​\(\[ϕℓ​\(Δu​vℓ\),ϕt​\(Δu​vt\),ϕb​\(Δu​vb\),cu​v,du​v\]\)∈ℝdm\.\\mathbf\{e\}\_\{uv\}=\\mathrm\{MLP\}\_\{1\}\\left\(\[\\boldsymbol\{\\phi\}\_\{\\ell\}\(\\Delta^\{\\ell\}\_\{uv\}\),\\boldsymbol\{\\phi\}\_\{t\}\(\\Delta^\{t\}\_\{uv\}\),\\boldsymbol\{\\phi\}\_\{b\}\(\\Delta^\{b\}\_\{uv\}\),c\_\{uv\},d\_\{uv\}\]\\right\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}\.\(28\)Thus, each edge is both position\-aware and content\-aware: the relative offsets encode where two nodes are located in the layer\-token\-feature grid, while the similarity and distance terms encode how their hidden\-state blocks relate for the current input\.

##### Output of graph construction\.

The graph construction step produces

𝒢i​\(𝐐,𝐀\)=\(\{𝐱u\}u=1N,\{𝐞u​v\}u,v=1N\)\.\\mathcal\{G\}\_\{i\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\left\(\\\{\\mathbf\{x\}\_\{u\}\\\}\_\{u=1\}^\{N\},\\\{\\mathbf\{e\}\_\{uv\}\\\}\_\{u,v=1\}^\{N\}\\right\)\.\(29\)This graph is then passed to the relation\-aware attention encoder described in Appendix[A\.6](https://arxiv.org/html/2610.38314#A1.SS6)\. The construction above is shared across all source and target LLMs; only the extracted hidden states and the deterministic padding mappip\_\{i\}depend on the specific LLM\.

### A\.6Details of Relation\-Aware Attention

This subsection expands the relation\-aware attention module used in Section[4](https://arxiv.org/html/2610.38314#S4)\. The module follows the general formulation of relation\-aware self\-attention in[Shaw et al\. \[50\]](https://arxiv.org/html/2610.38314#bib.bib47), which augments self\-attention with pairwise edge representations\. While the original formulation uses relative positions in a sequence as edge labels,Chordapplies the same principle to the fully connected layer\-token\-feature graph constructed in Section[4](https://arxiv.org/html/2610.38314#S4)\. That is, every node corresponds to a triple\(ℓu,tu,bu\)\(\\ell\_\{u\},t\_\{u\},b\_\{u\}\), and every directed edge\(u,v\)\(u,v\)carries an input\-dependent relation feature𝐞u​v\\mathbf\{e\}\_\{uv\}defined from relative layer, token, and block offsets, together with content similarity and distance\.

##### Fully connected relation graph\.

Although we use relative offsets to parameterize edge types, the graph itself is not sparsified\. For every ordered node pair\(u,v\)\(u,v\)withu,v∈\{1,…,N\}u,v\\in\\\{1,\\ldots,N\\\}, we construct an edge feature𝐞u​v\\mathbf\{e\}\_\{uv\}and allow nodeuuto attend to nodevv\. Therefore, the relation\-aware encoder operates on a directed fully connected graph\. The relative offsets determine how each edge is represented, not whether the edge exists\. This is consistent with the relation\-aware view of[Shaw et al\. \[50\]](https://arxiv.org/html/2610.38314#bib.bib47), where self\-attention can be interpreted as operating over a labeled, directed, fully connected graph\.

##### Edge feature construction\.

Recall that each nodeuuhas an initial representation𝐱u∈ℝdm\\mathbf\{x\}\_\{u\}\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}, and each node is associated with a layer indexℓu\\ell\_\{u\}, token indextut\_\{u\}, and feature\-block indexbub\_\{u\}\. For a directed pair\(u,v\)\(u,v\), we define clipped relative offsets

Δu​vℓ=clip⁡\(ℓu−ℓv,cℓ\),Δu​vt=clip⁡\(tu−tv,ct\),Δu​vb=clip⁡\(bu−bv,cb\),\\Delta^\{\\ell\}\_\{uv\}=\\mathrm\{clip\}\(\\ell\_\{u\}\-\\ell\_\{v\},c\_\{\\ell\}\),\\quad\\Delta^\{t\}\_\{uv\}=\\mathrm\{clip\}\(t\_\{u\}\-t\_\{v\},c\_\{t\}\),\\quad\\Delta^\{b\}\_\{uv\}=\\mathrm\{clip\}\(b\_\{u\}\-b\_\{v\},c\_\{b\}\),\(30\)whereclip⁡\(a,c\)=max⁡\(−c,min⁡\(c,a\)\)\\mathrm\{clip\}\(a,c\)=\\max\(\-c,\\min\(c,a\)\)\. Following the motivation of relative\-position attention, clipping ties together sufficiently distant offsets so that they share the same relation label\. Importantly, clipping does not remove any edge: all directed pairs\(u,v\)\(u,v\)still participate in the attention softmax\. In our implementation, we set

cℓ=\|𝐋sel\|−1,ct=\|𝐓sel\|−1,cb=B−1\.c\_\{\\ell\}=\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\-1,\\qquad c\_\{t\}=\|\\mathbf\{T\}^\{\\mathrm\{sel\}\}\|\-1,\\qquad c\_\{b\}=B\-1\.\(31\)Thus, for the compact graphs used by the final detector, all relative offsets inside the selected layer\-token\-block grid are represented exactly\. This choice avoids introducing an additional sparsification or truncation rule, while still keeping the number of relation labels bounded by the selected graph size\.

We embed the three relative offsets with learnable lookup tables,

ϕℓ​\(Δu​vℓ\),ϕt​\(Δu​vt\),ϕb​\(Δu​vb\)∈ℝdr,\\boldsymbol\{\\phi\}\_\{\\ell\}\(\\Delta^\{\\ell\}\_\{uv\}\),\\quad\\boldsymbol\{\\phi\}\_\{t\}\(\\Delta^\{t\}\_\{uv\}\),\\quad\\boldsymbol\{\\phi\}\_\{b\}\(\\Delta^\{b\}\_\{uv\}\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{r\}\}\},\(32\)and combine them with two content\-dependent scalars,

cu​v=cos⁡\(𝐱u,𝐱v\),du​v=‖𝐱u−𝐱v‖2\.c\_\{uv\}=\\cos\(\\mathbf\{x\}\_\{u\},\\mathbf\{x\}\_\{v\}\),\\qquad d\_\{uv\}=\\\|\\mathbf\{x\}\_\{u\}\-\\mathbf\{x\}\_\{v\}\\\|\_\{2\}\.\(33\)The final edge feature is

𝐞u​v=MLP1​\(\[ϕℓ​\(Δu​vℓ\),ϕt​\(Δu​vt\),ϕb​\(Δu​vb\),cu​v,du​v\]\)∈ℝdm\.\\mathbf\{e\}\_\{uv\}=\\mathrm\{MLP\}\_\{1\}\\Big\(\[\\boldsymbol\{\\phi\}\_\{\\ell\}\(\\Delta^\{\\ell\}\_\{uv\}\),\\boldsymbol\{\\phi\}\_\{t\}\(\\Delta^\{t\}\_\{uv\}\),\\boldsymbol\{\\phi\}\_\{b\}\(\\Delta^\{b\}\_\{uv\}\),c\_\{uv\},d\_\{uv\}\]\\Big\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\}\.\(34\)Thus, unlike a purely relative\-position Transformer, our edge feature is both*position\-aware*and*content\-aware*\. This is important because hallucination\-related evidence may depend not only on where two nodes occur in the layer\-token\-feature grid, but also on how their hidden\-state blocks differ for a particular input\.

##### Relation\-aware multi\-head attention\.

Let𝐱u\(q\)\\mathbf\{x\}^\{\(q\)\}\_\{u\}be the representation of nodeuubefore theqq\-th relation\-aware attention layer, with𝐱u\(0\)=𝐱u\\mathbf\{x\}^\{\(0\)\}\_\{u\}=\\mathbf\{x\}\_\{u\}\. For each attention headh∈\{1,…,H\}h\\in\\\{1,\\ldots,H\\\}, we compute

𝐪u\(q,h\)=𝐖Q\(q,h\)​𝐱u\(q\),𝐤v\(q,h\)=𝐖K\(q,h\)​𝐱v\(q\),𝐯v\(q,h\)=𝐖V\(q,h\)​𝐱v\(q\),\\mathbf\{q\}^\{\(q,h\)\}\_\{u\}=\\mathbf\{W\}^\{\(q,h\)\}\_\{Q\}\\mathbf\{x\}^\{\(q\)\}\_\{u\},\\quad\\mathbf\{k\}^\{\(q,h\)\}\_\{v\}=\\mathbf\{W\}^\{\(q,h\)\}\_\{K\}\\mathbf\{x\}^\{\(q\)\}\_\{v\},\\quad\\mathbf\{v\}^\{\(q,h\)\}\_\{v\}=\\mathbf\{W\}^\{\(q,h\)\}\_\{V\}\\mathbf\{x\}^\{\(q\)\}\_\{v\},\(35\)where𝐪u\(q,h\),𝐤v\(q,h\),𝐯v\(q,h\)∈ℝdh\\mathbf\{q\}^\{\(q,h\)\}\_\{u\},\\mathbf\{k\}^\{\(q,h\)\}\_\{v\},\\mathbf\{v\}^\{\(q,h\)\}\_\{v\}\\in\\mathbb\{R\}^\{d\_\{h\}\}anddh=dm/Hd\_\{h\}=d\_\{\\mathrm\{m\}\}/H\. Following[Shaw et al\. \[50\]](https://arxiv.org/html/2610.38314#bib.bib47), we use two edge projections: one for attention compatibility and one for value propagation,

𝐚u​vK,\(q,h\)=𝐖EK,\(q,h\)​𝐞u​v,𝐚u​vV,\(q,h\)=𝐖EV,\(q,h\)​𝐞u​v,\\mathbf\{a\}^\{K,\(q,h\)\}\_\{uv\}=\\mathbf\{W\}^\{K,\(q,h\)\}\_\{E\}\\mathbf\{e\}\_\{uv\},\\qquad\\mathbf\{a\}^\{V,\(q,h\)\}\_\{uv\}=\\mathbf\{W\}^\{V,\(q,h\)\}\_\{E\}\\mathbf\{e\}\_\{uv\},\(36\)where𝐚u​vK,\(q,h\),𝐚u​vV,\(q,h\)∈ℝdh\\mathbf\{a\}^\{K,\(q,h\)\}\_\{uv\},\\mathbf\{a\}^\{V,\(q,h\)\}\_\{uv\}\\in\\mathbb\{R\}^\{d\_\{h\}\}\. The compatibility score from nodeuuto nodevvis then

su​v\(q,h\)=\(𝐪u\(q,h\)\)⊤​\(𝐤v\(q,h\)\+𝐚u​vK,\(q,h\)\)dh,s^\{\(q,h\)\}\_\{uv\}=\\frac\{\\big\(\\mathbf\{q\}^\{\(q,h\)\}\_\{u\}\\big\)^\{\\top\}\\big\(\\mathbf\{k\}^\{\(q,h\)\}\_\{v\}\+\\mathbf\{a\}^\{K,\(q,h\)\}\_\{uv\}\\big\)\}\{\\sqrt\{d\_\{h\}\}\},\(37\)and the attention weight is

αu​v\(q,h\)=exp⁡\(su​v\(q,h\)\)∑v′=1Nexp⁡\(su​v′\(q,h\)\)\.\\alpha^\{\(q,h\)\}\_\{uv\}=\\frac\{\\exp\(s^\{\(q,h\)\}\_\{uv\}\)\}\{\\sum\_\{v^\{\\prime\}=1\}^\{N\}\\exp\(s^\{\(q,h\)\}\_\{uv^\{\\prime\}\}\)\}\.\(38\)Since the graph is fully connected, the denominator ranges over all nodesv′∈\{1,…,N\}v^\{\\prime\}\\in\\\{1,\\ldots,N\\\}\. The message received by nodeuuin headhhis

𝐦u\(q,h\)=∑v=1Nαu​v\(q,h\)​\(𝐯v\(q,h\)\+𝐚u​vV,\(q,h\)\)\.\\mathbf\{m\}^\{\(q,h\)\}\_\{u\}=\\sum\_\{v=1\}^\{N\}\\alpha^\{\(q,h\)\}\_\{uv\}\\Big\(\\mathbf\{v\}^\{\(q,h\)\}\_\{v\}\+\\mathbf\{a\}^\{V,\(q,h\)\}\_\{uv\}\\Big\)\.\(39\)The head outputs are concatenated and projected:

𝐦u\(q\)=𝐖O\(q\)​\[𝐦u\(q,1\);⋯;𝐦u\(q,H\)\]\.\\mathbf\{m\}^\{\(q\)\}\_\{u\}=\\mathbf\{W\}^\{\(q\)\}\_\{O\}\\big\[\\mathbf\{m\}^\{\(q,1\)\}\_\{u\};\\cdots;\\mathbf\{m\}^\{\(q,H\)\}\_\{u\}\\big\]\.\(40\)Finally, we use the standard Transformer\-style residual, layer normalization, and feed\-forward update:

𝐱~u\(q\+1\)\\displaystyle\\tilde\{\\mathbf\{x\}\}^\{\(q\+1\)\}\_\{u\}=LN⁡\(𝐱u\(q\)\+Dropout⁡\(𝐦u\(q\)\)\),\\displaystyle=\\mathrm\{LN\}\\Big\(\\mathbf\{x\}^\{\(q\)\}\_\{u\}\+\\mathrm\{Dropout\}\(\\mathbf\{m\}^\{\(q\)\}\_\{u\}\)\\Big\),\(41\)𝐱u\(q\+1\)\\displaystyle\\mathbf\{x\}^\{\(q\+1\)\}\_\{u\}=LN⁡\(𝐱~u\(q\+1\)\+Dropout⁡\(FFN⁡\(𝐱~u\(q\+1\)\)\)\)\.\\displaystyle=\\mathrm\{LN\}\\Big\(\\tilde\{\\mathbf\{x\}\}^\{\(q\+1\)\}\_\{u\}\+\\mathrm\{Dropout\}\\big\(\\mathrm\{FFN\}\(\\tilde\{\\mathbf\{x\}\}^\{\(q\+1\)\}\_\{u\}\)\\big\)\\Big\)\.\(42\)AfterQQrelation\-aware attention layers, we set𝐱u′=𝐱u\(Q\)\\mathbf\{x\}^\{\\prime\}\_\{u\}=\\mathbf\{x\}^\{\(Q\)\}\_\{u\}and apply the attention pooling operator in Section[4](https://arxiv.org/html/2610.38314#S4)to obtain the graph\-level feature𝐳\\mathbf\{z\}\.

##### Connection to the original relation\-aware attention\.

The above equations are a direct graph\-level adaptation of the relation\-aware self\-attention mechanism of[Shaw et al\. \[50\]](https://arxiv.org/html/2610.38314#bib.bib47)\. In their sequence setting, the edge representation is determined by the relative positionj−ij\-ibetween two tokens\. In our setting, the edge representation is determined by the relative layer\-token\-block offsets and the input\-dependent content relation between two graph nodes\. Thus, our module replaces a one\-dimensional sequential relation with a three\-dimensional layer\-token\-feature relation, while preserving the same key idea: edge information modifies both the attention score and the propagated value\.

##### Implementation details\.

Unless otherwise stated, we useQ=2Q=2relation\-aware attention layers,H=4H=4attention heads,dm=256d\_\{\\mathrm\{m\}\}=256, anddh=64d\_\{h\}=64\. The relative\-offset embedding size isdr=64d\_\{\\mathrm\{r\}\}=64\. The edge MLPMLP1\\mathrm\{MLP\}\_\{1\}is a two\-layer network with hidden dimension256256, GELU activation, dropout0\.10\.1, and output dimensiondmd\_\{\\mathrm\{m\}\}\. The feed\-forward network inside each relation\-aware attention layer uses hidden dimension4​dm4d\_\{\\mathrm\{m\}\}with GELU activation and dropout0\.10\.1\. We include self\-loops in the attention softmax, following standard self\-attention; foru=vu=v, the relative offsets are zero,cu​v=1c\_\{uv\}=1, anddu​v=0d\_\{uv\}=0\. All edge features𝐞u​v\\mathbf\{e\}\_\{uv\}are computed once from the initial node representations and reused across relation\-aware attention layers\. This keeps the edge semantics tied to the original layer\-token\-feature graph while allowing node states to be updated through multi\-hop relational propagation\.

For the final detector, we use a graph with\|𝐓sel\|=3\|\\mathbf\{T\}^\{\\mathrm\{sel\}\}\|=3,\|𝐋sel\|=3\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|=3, andB=64B=64, givingN=576N=576graph nodes\. The graph is fully connected, so the relation\-aware encoder processesN2N^\{2\}directed node pairs per example\. Because the selected token and layer windows are small, this cost remains tractable in practice, while still allowing the model to capture interactions across layers, tokens, and feature blocks\. The sensitivity analysis in Appendix[A\.2](https://arxiv.org/html/2610.38314#A1.SS2)further shows that increasing the number of selected tokens or layers yields only marginal additional gains\.

### A\.7Details of Meta\-Learning Training

This subsection expands the meta\-learning training strategy used in Section[4](https://arxiv.org/html/2610.38314#S4)\. Our implementation is adapted from Feature\-Critic\[[14](https://arxiv.org/html/2610.38314#bib.bib26)\], which learns an auxiliary loss by simulating domain shift among source domains\. In the original formulation, source domains are randomly split into virtual training and validation domains, and the auxiliary loss is optimized so that an update using this auxiliary loss improves validation\-domain performance\. InChord, we instantiate this idea for cross\-model hallucination detection by treating each source LLM as one domain\. Thus, a held\-out source LLM in each meta\-episode serves as a pseudo\-unseen target model\.

##### Detector decomposition\.

We write the detector as

y^=DΘ​\(𝐐,𝐀,ℙ𝜽i\)=Cϕ​\(Gψ​\(𝐐,𝐀,ℙ𝜽i\)\),\\hat\{y\}=D\_\{\\Theta\}\(\\mathbf\{Q\},\\mathbf\{A\};\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\)=C\_\{\\phi\}\\big\(G\_\{\\psi\}\(\\mathbf\{Q\},\\mathbf\{A\};\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\)\\big\),\(43\)whereGψG\_\{\\psi\}denotes the graph encoder, including hidden\-state restructuring, graph construction, relation\-aware attention, and attention pooling\. It outputs the graph\-level feature

𝐳=Gψ​\(𝐐,𝐀,ℙ𝜽i\)∈ℝdm,\\mathbf\{z\}=G\_\{\\psi\}\(\\mathbf\{Q\},\\mathbf\{A\};\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{m\}\}\},\(44\)andCϕC\_\{\\phi\}is the binary hallucination classifier\. The full learnable parameter set isΘ=\(ψ,ϕ\)\\Theta=\(\\psi,\\phi\)\. Unlike the heterogeneous classification setting in[Li et al\. \[14\]](https://arxiv.org/html/2610.38314#bib.bib26), all source LLMs in our problem share the same binary label space, so we use a single shared classifierCϕC\_\{\\phi\}rather than domain\-specific classifiers\.

##### Meta\-train and meta\-validation split\.

Letℳsrc\\mathcal\{M\}\_\{\\mathrm\{src\}\}denote the set of source LLMs used during training, and let𝒟i\\mathcal\{D\}\_\{i\}be the labeled hallucination\-detection data associated with source LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\. At each meta\-training iteration, we randomly sample one source LLM as the pseudo\-target model,

ival∼Unif⁡\(ℳsrc\),i\_\{\\mathrm\{val\}\}\\sim\\mathrm\{Unif\}\(\\mathcal\{M\}\_\{\\mathrm\{src\}\}\),\(45\)and define

ℳval=\{ival\},ℳtrn=ℳsrc∖ℳval\.\\mathcal\{M\}\_\{\\mathrm\{val\}\}=\\\{i\_\{\\mathrm\{val\}\}\\\},\\qquad\\mathcal\{M\}\_\{\\mathrm\{trn\}\}=\\mathcal\{M\}\_\{\\mathrm\{src\}\}\\setminus\\mathcal\{M\}\_\{\\mathrm\{val\}\}\.\(46\)Mini\-batches are sampled from all LLMs inℳtrn\\mathcal\{M\}\_\{\\mathrm\{trn\}\}and from the held\-out LLM inℳval\\mathcal\{M\}\_\{\\mathrm\{val\}\}\. This leave\-one\-source\-model\-out split matches the test condition of CMHD: the detector must perform well on an LLM whose hidden\-state distribution was not used for the current update\.

##### Supervised loss\.

For a mini\-batchℬ\\mathcal\{B\}, the binary cross\-entropy loss is

ℒbce​\(ℬ,ψ,ϕ\)=1\|ℬ\|​∑\(𝐐,𝐀,y,i\)∈ℬℓbce​\(Cϕ​\(Gψ​\(𝐐,𝐀,ℙ𝜽i\)\),y\)\.\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\};\\psi,\\phi\)=\\frac\{1\}\{\|\\mathcal\{B\}\|\}\\sum\_\{\(\\mathbf\{Q\},\\mathbf\{A\},y,i\)\\in\\mathcal\{B\}\}\\ell^\{\\mathrm\{bce\}\}\\left\(C\_\{\\phi\}\\big\(G\_\{\\psi\}\(\\mathbf\{Q\},\\mathbf\{A\};\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\)\\big\),y\\right\)\.\(47\)In practice, mini\-batches are class\-balanced within each source LLM whenever possible\. When exact balancing is not possible, we use a positive\-class weight in the binary cross\-entropy computed from the training split\.

##### Feature\-Critic auxiliary loss\.

Following[Li et al\. \[14\]](https://arxiv.org/html/2610.38314#bib.bib26), we introduce a learned non\-negative auxiliary loss, denoted byhωh\_\{\\omega\}\. The critic is applied to the graph\-level features produced byGψG\_\{\\psi\}, rather than directly to the detector parameters\. For a mini\-batchℬi\\mathcal\{B\}\_\{i\}from source LLMii, let

𝐙i=\[𝐳i,1;…;𝐳i,\|ℬi\|\]∈ℝ\|ℬi\|×dm,\\mathbf\{Z\}\_\{i\}=\\left\[\\mathbf\{z\}\_\{i,1\};\\ldots;\\mathbf\{z\}\_\{i,\|\\mathcal\{B\}\_\{i\}\|\}\\right\]\\in\\mathbb\{R\}^\{\|\\mathcal\{B\}\_\{i\}\|\\times d\_\{\\mathrm\{m\}\}\},\(48\)where𝐳i,r=Gψ​\(𝐐i,r,𝐀i,r,ℙ𝜽i\)\\mathbf\{z\}\_\{i,r\}=G\_\{\\psi\}\(\\mathbf\{Q\}\_\{i,r\},\\mathbf\{A\}\_\{i,r\};\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\)\. We use a permutation\-invariant set\-embedding critic,

hω​\(𝐙i\)=Softplus⁡\(𝐰ω⊤​1\|ℬi\|​∑r=1\|ℬi\|ρω​\(LN⁡\(𝐳i,r\)\)\+bω\),h\_\{\\omega\}\(\\mathbf\{Z\}\_\{i\}\)=\\mathrm\{Softplus\}\\left\(\\mathbf\{w\}\_\{\\omega\}^\{\\top\}\\frac\{1\}\{\|\\mathcal\{B\}\_\{i\}\|\}\\sum\_\{r=1\}^\{\|\\mathcal\{B\}\_\{i\}\|\}\\rho\_\{\\omega\}\\big\(\\mathrm\{LN\}\(\\mathbf\{z\}\_\{i,r\}\)\\big\)\+b\_\{\\omega\}\\right\),\(49\)whereρω\\rho\_\{\\omega\}is a small MLP,LN\\mathrm\{LN\}denotes layer normalization, and the final Softplus ensures that the critic output is non\-negative\. The auxiliary loss over the meta\-training LLMs is

ℒaux​\(ℬtrn,ψ,ω\)=1\|ℳtrn\|​∑i∈ℳtrnhω​\(𝐙i\)\.\\mathcal\{L\}\_\{\\mathrm\{aux\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\omega\)=\\frac\{1\}\{\|\\mathcal\{M\}\_\{\\mathrm\{trn\}\}\|\}\\sum\_\{i\\in\\mathcal\{M\}\_\{\\mathrm\{trn\}\}\}h\_\{\\omega\}\(\\mathbf\{Z\}\_\{i\}\)\.\(50\)This design follows the set\-embedding variant of Feature\-Critic, which is more parameter\-efficient than covariance\-based critics for high\-dimensional features\.

##### Meta\-objective\.

The critic should be useful only if an update using it improves performance on the pseudo\-target LLM\. To measure this, we compare two one\-step virtual updates of the graph encoder parameters\. The first update uses only the supervised loss:

ψold=ψ−α​∇ψℒbce​\(ℬtrn,ψ,ϕ\)\.\\psi^\{\\mathrm\{old\}\}=\\psi\-\\alpha\\nabla\_\{\\psi\}\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\phi\)\.\(51\)The second update uses both the supervised loss and the learned auxiliary loss:

ψnew=ψ−α​∇ψ\[ℒbce​\(ℬtrn,ψ,ϕ\)\+λfc​ℒaux​\(ℬtrn,ψ,ω\)\],\\psi^\{\\mathrm\{new\}\}=\\psi\-\\alpha\\nabla\_\{\\psi\}\\left\[\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\phi\)\+\\lambda\_\{\\mathrm\{fc\}\}\\mathcal\{L\}\_\{\\mathrm\{aux\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\omega\)\\right\],\(52\)whereα\\alphais the virtual inner\-step size andλfc\\lambda\_\{\\mathrm\{fc\}\}controls the strength of the auxiliary loss\. The classifier parametersϕ\\phiare kept fixed in these virtual updates, because the critic is intended to improve the transferable graph representation rather than to overfit the binary decision head\.

Given a validation mini\-batchℬval\\mathcal\{B\}\_\{\\mathrm\{val\}\}from the held\-out source LLM, we compute

ℒvalold\\displaystyle\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{old\}\}=ℒbce​\(ℬval,ψold,ϕ\),\\displaystyle=\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\}\_\{\\mathrm\{val\}\};\\psi^\{\\mathrm\{old\}\},\\phi\),\(53\)ℒvalnew\\displaystyle\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{new\}\}=ℒbce​\(ℬval,ψnew,ϕ\)\.\\displaystyle=\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\}\_\{\\mathrm\{val\}\};\\psi^\{\\mathrm\{new\}\},\\phi\)\.\(54\)The meta\-loss for updating the critic is

ℒmeta​\(ω\)=tanh⁡\(ℒvalnew−ℒvalold\)\.\\mathcal\{L\}\_\{\\mathrm\{meta\}\}\(\\omega\)=\\tanh\\left\(\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{new\}\}\-\\mathcal\{L\}\_\{\\mathrm\{val\}\}^\{\\mathrm\{old\}\}\\right\)\.\(55\)Minimizing this loss encourages the critic to produce auxiliary gradients that makeψnew\\psi^\{\\mathrm\{new\}\}outperformψold\\psi^\{\\mathrm\{old\}\}on the pseudo\-target LLM\. The hyperbolic tangent follows the utility transformation used in Feature\-Critic and prevents very large validation\-loss differences from producing unstable critic updates\.

##### Outer optimization\.

After computing the meta\-loss, we update the critic parameters by

ω←ω−ηω​∇ωℒmeta​\(ω\),\\omega\\leftarrow\\omega\-\\eta\_\{\\omega\}\\nabla\_\{\\omega\}\\mathcal\{L\}\_\{\\mathrm\{meta\}\}\(\\omega\),\(56\)where gradients are backpropagated through the differentiable virtual update that producesψnew\\psi^\{\\mathrm\{new\}\}\. We then update the actual detector parameters on the meta\-training mini\-batches:

ψ\\displaystyle\\psi←ψ−ηψ​∇ψ\[ℒbce​\(ℬtrn,ψ,ϕ\)\+λfc​ℒaux​\(ℬtrn,ψ,ω\)\],\\displaystyle\\leftarrow\\psi\-\\eta\_\{\\psi\}\\nabla\_\{\\psi\}\\left\[\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\phi\)\+\\lambda\_\{\\mathrm\{fc\}\}\\mathcal\{L\}\_\{\\mathrm\{aux\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\omega\)\\right\],\(57\)ϕ\\displaystyle\\phi←ϕ−ηϕ​∇ϕℒbce​\(ℬtrn,ψ,ϕ\)\.\\displaystyle\\leftarrow\\phi\-\\eta\_\{\\phi\}\\nabla\_\{\\phi\}\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\(\\mathcal\{B\}\_\{\\mathrm\{trn\}\};\\psi,\\phi\)\.\(58\)When updating\(ψ,ϕ\)\(\\psi,\\phi\), the critic parametersω\\omegaare treated as fixed\. When updatingω\\omega, the detector parameters are not updated by the meta\-loss\. This separation keeps the critic as a learned training signal rather than an additional prediction module at test time\. At inference, the critic is discarded and onlyDΘD\_\{\\Theta\}is used\.

##### All\-source consolidation\.

After meta\-training, we run a short consolidation stage over all source LLMs without any pseudo\-target split\. The critic is frozen, and the detector is trained on the union of all source\-model data using

ℒfinal=ℒbce\+λfc​ℒaux\.\\mathcal\{L\}\_\{\\mathrm\{final\}\}=\\mathcal\{L\}\_\{\\mathrm\{bce\}\}\+\\lambda\_\{\\mathrm\{fc\}\}\\mathcal\{L\}\_\{\\mathrm\{aux\}\}\.\(59\)This stage uses no target\-model data\. It simply lets the detector absorb all labeled source\-model information after the critic has learned a generalization\-promoting auxiliary objective\.

##### Implementation details\.

Unless otherwise stated, we use one virtual inner update per meta\-iteration\. We set the meta\-validation split to one held\-out source LLM, i\.e\.,\|ℳval\|=1\|\\mathcal\{M\}\_\{\\mathrm\{val\}\}\|=1, and use all remaining source LLMs as meta\-training domains\. The per\-source mini\-batch size is3232for both meta\-training and meta\-validation\. We useλfc=0\.1\\lambda\_\{\\mathrm\{fc\}\}=0\.1and virtual step sizeα=5×10−4\\alpha=5\\times 10^\{\-4\}\. The critic MLPρω\\rho\_\{\\omega\}has two layers with hidden dimension256256, GELU activation, dropout0\.10\.1, and output dimension128128\. The detector parameters\(ψ,ϕ\)\(\\psi,\\phi\)are optimized with AdamW using learning rate2×10−42\\times 10^\{\-4\}and weight decay10−410^\{\-4\}, while the critic uses AdamW with learning rate1×10−41\\times 10^\{\-4\}and the same weight decay\. We clip gradients to norm1\.01\.0\. For stability, the first5%5\\%of training updates use only the supervised binary cross\-entropy loss; the Feature\-Critic auxiliary loss and meta\-loss are enabled afterward\. The final all\-source consolidation stage uses the last10%10\\%of the total training budget\.

### A\.8Details for the Cross\-Model Alignment, Transfer, and Score\-Distribution Diagnostics

This subsection provides the experimental details for Figures[2](https://arxiv.org/html/2610.38314#S1.F2)and[3](https://arxiv.org/html/2610.38314#S3.F3)\. We use a mixed benchmark pool constructed from TruthfulQA\[[19](https://arxiv.org/html/2610.38314#bib.bib29)\], HaluEval\[[20](https://arxiv.org/html/2610.38314#bib.bib25)\], TriviaQA\[[21](https://arxiv.org/html/2610.38314#bib.bib19)\], CoQA\[[22](https://arxiv.org/html/2610.38314#bib.bib42)\], GSM8K\[[23](https://arxiv.org/html/2610.38314#bib.bib6)\], MBPP\[[24](https://arxiv.org/html/2610.38314#bib.bib2)\], and xLAM\[[25](https://arxiv.org/html/2610.38314#bib.bib31)\]\. For each benchmark, we sample up to 1,000 examples; for MBPP, we use all available examples because the usable set contains fewer than 1,000 examples in our setting\. The same question pool is used across models whenever possible, so that both neighborhood alignment and score\-distribution comparisons are computed over matched evaluation examples\.

We evaluate five representative directed source–target model pairs: Llama3\.2\-3B→\\rightarrowLlama3\.1\-8B, Qwen3\-14B→\\rightarrowQwen3\-8B, Llama3\.1\-8B→\\rightarrowQwen3\-8B, Llama3\.3\-70B→\\rightarrowQwen3\.5\-35B, and Llama3\.2\-3B→\\rightarrowMinistral3\-8B\. These pairs cover same\-family transfer, cross\-family transfer, scale\-matched transfer, large\-model transfer, and scale\-mismatched transfer\. Because hidden dimensions differ across models, we first map all extracted hidden states to a shared padded dimensiondmax=8192d\_\{\\max\}=8192before constructing raw or relational features\. For a hidden state𝐡𝜽i,tℓ∈ℝdi\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\\in\\mathbb\{R\}^\{d\_\{i\}\}, the common\-dimensional vector is obtained by the same deterministic index mapping used in the main method: each original coordinate is placed into a fixed position in thedmaxd\_\{\\max\}\-dimensional vector, and all remaining positions are filled with zeros\. This step keeps feature dimensions consistent across LLMs without learning an alignment from target labels\.

For each example and each model, we extract hidden states from the selected generated\-token and layer windows, apply the common\-dimensional mapping, and then construct the raw\-state, token\-level, cross\-layer token, within\-token feature, and joint relational features described in Section[3](https://arxiv.org/html/2610.38314#S3)\. Raw\-state features are obtained by pooling the mapped hidden states over the same selected token–layer window\. Relational features are constructed after the same mapping, so that token, layer, feature\-block, and joint relations are computed in a common feature space\.

For local\-neighborhood alignment in Figure[2](https://arxiv.org/html/2610.38314#S1.F2), we compute mutualkkNN overlap withk=10k=10\. Given two models in a pair, we build thekknearest\-neighbor set of each example under the feature space induced by each model, using inner\-product similarity after feature normalization\. The reported alignment is the average normalized overlap between the two neighbor sets over all examples\. This gives a model\-pair\-level measure of whether two LLMs induce similar local example geometry under the same feature construction\.

For transfer AUROC in Figure[2](https://arxiv.org/html/2610.38314#S1.F2), we train a detector on the source\-model features and evaluate it directly on the target\-model features\. The detector is a lightweight two\-layer MLP with one hidden layer, ReLU activation, dropout, and a final scalar logit trained with binary cross\-entropy\. We use the same MLP architecture and optimization protocol for all feature types, so differences in transfer AUROC reflect the feature construction rather than a change in classifier capacity\. Training uses only labels from the source model, while target\-model labels are used only for evaluation\. All reported bar values are averaged over multiple random seeds, and error bars show the corresponding seed\-level variation\.

Figure[3](https://arxiv.org/html/2610.38314#S3.F3)further visualizes the detector score distributions for one representative transfer pair, Llama3\.1\-8B→\\rightarrowQwen3\-8B\. For each feature construction, we use the same source\-trained MLP detector described above and record its scalar detector scores on the target\-model evaluation examples\. We then estimate separate kernel density curves for factual and hallucinated examples\. The solid curve denotes factual examples and the dashed curve denotes hallucinated examples\. The AUROC annotated in each panel is recomputed from the finite sample of target scores plotted in that panel, and may therefore differ slightly from the corresponding entry of the full transfer matrix\. Thus, Figure[3](https://arxiv.org/html/2610.38314#S3.F3)provides a distribution\-level view of the same transfer behavior summarized by AUROC in Figure[2](https://arxiv.org/html/2610.38314#S1.F2)\.

In addition to raw and relational features, Figure[3](https://arxiv.org/html/2610.38314#S3.F3)includes two training\-free reference baselines, Perplexity and Semantic Entropy\. These methods are evaluated directly on the same target examples and do not use the source\-model training labels\. They are included only as score\-distribution references: Perplexity represents a simple model\-confidence baseline, while Semantic Entropy represents a stronger uncertainty\-based hallucination detector\. Comparing their distributions with the relational\-feature detectors helps contextualize how much separability is obtained by simple relational transfer before introducing the fullChordtraining framework\.

### A\.9Observation Pipeline for Relational Features

This subsection provides the full diagnostic pipeline used in Section[3\.2](https://arxiv.org/html/2610.38314#S3.SS2)\. The goal of this observation study is not to introduce the final learnable detector, but to test whether simple handcrafted relational structures already contain transferable hallucination signals across LLMs\. Therefore, all edge weights in this subsection are fixed by non\-learnable functions, and the only supervised component used for predictive transfer is a lightweight MLP detector trained after the relational features are extracted\.

##### Shared preprocessing and notation\.

For each LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}, we extract hidden states𝐡𝜽i,tℓ​\(𝐐,𝐀\)∈ℝdi\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\\in\\mathbb\{R\}^\{d\_\{i\}\}from selected answer\-token positions and selected layers\. The selected token set is denoted by𝐓sel=\{t1,…,tr\}\\mathbf\{T\}^\{\\mathrm\{sel\}\}=\\\{t\_\{1\},\\ldots,t\_\{r\}\\\}, and the selected layer set is denoted by𝐋isel=\{ℓ1,…,ℓm\}\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}=\\\{\\ell\_\{1\},\\ldots,\\ell\_\{m\}\\\}, wherer=\|𝐓sel\|r=\|\\mathbf\{T\}^\{\\mathrm\{sel\}\}\|andm=\|𝐋isel\|m=\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}\|\. The number and positions of selected tokens and layers are specified in Appendix[A\.2](https://arxiv.org/html/2610.38314#A1.SS2)\. Since different LLMs may have different hidden dimensions, we first map all hidden states into the common padded spaceℝd⋆\\mathbb\{R\}^\{d^\{\\star\}\}using the same hidden\-state restructuring operation as in Section[4](https://arxiv.org/html/2610.38314#S4)\. For notational simplicity, we denote the mapped hidden state by

𝐡¯𝜽i,tℓ=Mapi​\(𝐡𝜽i,tℓ\)∈ℝd⋆\.\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}=\\mathrm\{Map\}\_\{i\}\\left\(\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\\right\)\\in\\mathbb\{R\}^\{d^\{\\star\}\}\.\(60\)For feature\-block and joint relations, the mapped dimension is partitioned intoBBequal\-size contiguous blocks\{ℐb\}b=1B\\\{\\mathcal\{I\}\_\{b\}\\\}\_\{b=1\}^\{B\}as in Eq\. \([12](https://arxiv.org/html/2610.38314#S4.E12)\)\. The choice ofBBis discussed in Appendix[A\.3](https://arxiv.org/html/2610.38314#A1.SS3)\. We choosed⋆d^\{\\star\}to be divisible byBB\.

##### Generic relation\-weighted graph readout\.

All relational features follow the same graph construction and pooling template\. Given a relation typer∈\{tok,lyr,feat,joint\}r\\in\\\{\\mathrm\{tok\},\\mathrm\{lyr\},\\mathrm\{feat\},\\mathrm\{joint\}\\\}, we construct a graph

𝒢ir​\(𝐐,𝐀\)=\(𝒱ir,ℰir\),\\mathcal\{G\}\_\{i\}^\{r\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\left\(\\mathcal\{V\}\_\{i\}^\{r\},\\mathcal\{E\}\_\{i\}^\{r\}\\right\),\(61\)where each nodeu∈𝒱iru\\in\\mathcal\{V\}\_\{i\}^\{r\}has a node feature𝐱ur\\mathbf\{x\}\_\{u\}^\{r\}, and each directed edge\(u,v\)\(u,v\)has a non\-negative relation weightRir​\(u,v,𝐐,𝐀\)R\_\{i\}^\{r\}\(u,v;\\mathbf\{Q\},\\mathbf\{A\}\)\. For the diagnostic graph readout, we use a fully connected graph without self\-loops\. The edge weights are row\-normalized as

αir​\(u,v\)=Rir​\(u,v,𝐐,𝐀\)∑v′∈𝒱ir,v′≠uRir​\(u,v′,𝐐,𝐀\)\+ε,v≠u,\\alpha\_\{i\}^\{r\}\(u,v\)=\\frac\{R\_\{i\}^\{r\}\(u,v;\\mathbf\{Q\},\\mathbf\{A\}\)\}\{\\sum\_\{v^\{\\prime\}\\in\\mathcal\{V\}\_\{i\}^\{r\},\\,v^\{\\prime\}\\neq u\}R\_\{i\}^\{r\}\(u,v^\{\\prime\};\\mathbf\{Q\},\\mathbf\{A\}\)\+\\varepsilon\},\\qquad v\\neq u,\(62\)whereε=10−8\\varepsilon=10^\{\-8\}is used for numerical stability\. Each node then receives one relation\-weighted aggregation step,

𝐦ur=∑v∈𝒱ir,v≠uαir​\(u,v\)​𝐱vr\.\\mathbf\{m\}\_\{u\}^\{r\}=\\sum\_\{v\\in\\mathcal\{V\}\_\{i\}^\{r\},\\,v\\neq u\}\\alpha\_\{i\}^\{r\}\(u,v\)\\mathbf\{x\}\_\{v\}^\{r\}\.\(63\)Finally, we obtain a graph\-level feature by mean pooling:

𝐳ir​\(𝐐,𝐀\)=1\|𝒱ir\|​∑u∈𝒱ir𝐦ur\.\\mathbf\{z\}\_\{i\}^\{r\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\frac\{1\}\{\|\\mathcal\{V\}\_\{i\}^\{r\}\|\}\\sum\_\{u\\in\\mathcal\{V\}\_\{i\}^\{r\}\}\\mathbf\{m\}\_\{u\}^\{r\}\.\(64\)This pooling operation is invariant to the enumeration order of the nodes, while the edge weights still encode the intended token, layer, and block relations\. The same readout template is used for all relational features below; they differ only in the definition of nodes and edge weights\.

##### Token\-level relation\.

For token\-level relations, the graph nodes are the selected tokens in𝐓sel\\mathbf\{T\}^\{\\mathrm\{sel\}\}at a diagnostic layerℓ⋆\\ell^\{\\star\}\. We chooseℓ⋆\\ell^\{\\star\}by the same relative\-depth rule used in Appendix[A\.2](https://arxiv.org/html/2610.38314#A1.SS2)\. Each token node has feature

𝐱ttok=𝐡¯𝜽i,tℓ⋆\.\\mathbf\{x\}\_\{t\}^\{\\mathrm\{tok\}\}=\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell^\{\\star\}\}\.\(65\)For two selected tokensttandt~\\tilde\{t\}, the edge weight is

Ritok​\(t,t~,𝐐,𝐀\)=stok​\(t,t~\)​‖𝐡¯𝜽i,tℓ⋆−𝐡¯𝜽i,t~ℓ⋆‖2,R\_\{i\}^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\)=s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\left\\\|\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell^\{\\star\}\}\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\ell^\{\\star\}\}\\right\\\|\_\{2\},\(66\)where

stok​\(t,t~\)=exp⁡\(−\|t−t~\|τtok\)\.s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)=\\exp\\left\(\-\\frac\{\|t\-\\tilde\{t\}\|\}\{\\tau\_\{\\mathrm\{tok\}\}\}\\right\)\.\(67\)We useτtok=2\.0\\tau\_\{\\mathrm\{tok\}\}=2\.0in selected\-token index units and keep it fixed across all experiments\.

##### Cross\-layer token relation\.

For cross\-layer token relations, each node corresponds to one selected layerℓ∈𝐋isel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}\. The node feature is the vectorized stack of the selected token representations at that layer:

𝐱ℓlyr=vec⁡\(\[𝐡¯𝜽i,t1ℓ,…,𝐡¯𝜽i,trℓ\]⊤\)∈ℝr​d⋆\.\\mathbf\{x\}\_\{\\ell\}^\{\\mathrm\{lyr\}\}=\\mathrm\{vec\}\\left\(\\left\[\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\},\\ldots,\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\}\\right\]^\{\\top\}\\right\)\\in\\mathbb\{R\}^\{rd^\{\\star\}\}\.\(68\)For two selected layersℓ\\ellandℓ~\\tilde\{\\ell\}, the relation weight is

Rilyr​\(ℓ,ℓ~,𝐐,𝐀\)=slyr​\(ℓ,ℓ~\)​\(1−cos⁡\(𝐱ℓlyr,𝐱ℓ~lyr\)\),R\_\{i\}^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\};\\mathbf\{Q\},\\mathbf\{A\}\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\left\(1\-\\cos\\left\(\\mathbf\{x\}\_\{\\ell\}^\{\\mathrm\{lyr\}\},\\mathbf\{x\}\_\{\\tilde\{\\ell\}\}^\{\\mathrm\{lyr\}\}\\right\)\\right\),\(69\)where

slyr​\(ℓ,ℓ~\)=exp⁡\(−\|ℓ−ℓ~\|τlyr\)\.s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)=\\exp\\left\(\-\\frac\{\|\\ell\-\\tilde\{\\ell\}\|\}\{\\tau\_\{\\mathrm\{lyr\}\}\}\\right\)\.\(70\)We useτlyr=2\.0\\tau\_\{\\mathrm\{lyr\}\}=2\.0in selected\-layer index units and keep it fixed\. The cosine\-distance term captures representational change across depth, while the decay factor gives slightly larger weight to nearby layers\.

##### Within\-token feature relation\.

For within\-token feature relations, each node corresponds to one feature blockb∈\{1,…,B\}b\\in\\\{1,\\ldots,B\\\}\. For every block, we collect its hidden\-state block over all selected layers and selected tokens:

𝐕𝜽i,b​\(𝐐,𝐀\)=\[𝐡¯𝜽i,t1ℓ1​\[ℐb\],…,𝐡¯𝜽i,trℓ1​\[ℐb\],…,𝐡¯𝜽i,t1ℓm​\[ℐb\],…,𝐡¯𝜽i,trℓm​\[ℐb\]\]⊤∈ℝm​r×d⋆/B\.\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\left\[\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\_\{1\}\}\[\\mathcal\{I\}\_\{b\}\],\\ldots,\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\_\{1\}\}\[\\mathcal\{I\}\_\{b\}\],\\ldots,\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\_\{m\}\}\[\\mathcal\{I\}\_\{b\}\],\\ldots,\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\_\{m\}\}\[\\mathcal\{I\}\_\{b\}\]\\right\]^\{\\top\}\\in\\mathbb\{R\}^\{mr\\times d^\{\\star\}/B\}\.\(71\)The block\-node feature is

𝐱bfeat=vec⁡\(𝐕𝜽i,b​\(𝐐,𝐀\)\)∈ℝm​r​d⋆/B\.\\mathbf\{x\}\_\{b\}^\{\\mathrm\{feat\}\}=\\mathrm\{vec\}\\left\(\\mathbf\{V\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\)\\right\)\\in\\mathbb\{R\}^\{mrd^\{\\star\}/B\}\.\(72\)For two blocksbbandb~\\tilde\{b\}, the relation weight is

Rifeat​\(b,b~,𝐐,𝐀\)=‖𝐱bfeat−𝐱b~feat‖2\.R\_\{i\}^\{\\mathrm\{feat\}\}\(b,\\tilde\{b\};\\mathbf\{Q\},\\mathbf\{A\}\)=\\left\\\|\\mathbf\{x\}\_\{b\}^\{\\mathrm\{feat\}\}\-\\mathbf\{x\}\_\{\\tilde\{b\}\}^\{\\mathrm\{feat\}\}\\right\\\|\_\{2\}\.\(73\)This relation measures how differently two feature blocks respond over the same selected token\-layer window\.

##### Joint layer\-token\-feature relation\.

For joint relations, each node corresponds to a tripleu=\(ℓ,t,b\)u=\(\\ell,t,b\)withℓ∈𝐋isel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\},t∈𝐓selt\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\}, andb∈\{1,…,B\}b\\in\\\{1,\\ldots,B\\\}\. The node feature is the corresponding hidden\-state block:

𝐱ujoint=𝐡¯𝜽i,tℓ​\[ℐb\]∈ℝd⋆/B\.\\mathbf\{x\}\_\{u\}^\{\\mathrm\{joint\}\}=\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[\\mathcal\{I\}\_\{b\}\]\\in\\mathbb\{R\}^\{d^\{\\star\}/B\}\.\(74\)For two nodesu=\(ℓ,t,b\)u=\(\\ell,t,b\)andv=\(ℓ~,t~,b~\)v=\(\\tilde\{\\ell\},\\tilde\{t\},\\tilde\{b\}\), the relation weight is

Rijoint​\(u,v,𝐐,𝐀\)=slyr​\(ℓ,ℓ~\)​stok​\(t,t~\)​‖𝐡¯𝜽i,tℓ​\[ℐb\]−𝐡¯𝜽i,t~ℓ~​\[ℐb~\]‖2\.R\_\{i\}^\{\\mathrm\{joint\}\}\(u,v;\\mathbf\{Q\},\\mathbf\{A\}\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\left\\\|\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\[\\mathcal\{I\}\_\{b\}\]\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\tilde\{\\ell\}\}\[\\mathcal\{I\}\_\{\\tilde\{b\}\}\]\\right\\\|\_\{2\}\.\(75\)This joint graph combines the three axes considered separately above: depth, token position, and feature\-block structure\. It is deliberately handcrafted in the observation study, so that any cross\-model transfer observed here can be attributed to relational structure rather than to a learned relation module\.

##### Raw hidden\-state baseline\.

To ensure that the comparison between raw representations and relational features is controlled, the raw\-state baseline uses the same selected token\-layer window and the same common hidden\-state mapping\. Specifically, we define

𝐳iraw​\(𝐐,𝐀\)=1m​r​∑ℓ∈𝐋isel∑t∈𝐓sel𝐡¯𝜽i,tℓ\.\\mathbf\{z\}\_\{i\}^\{\\mathrm\{raw\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\\frac\{1\}\{mr\}\\sum\_\{\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}\}\\sum\_\{t\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\}\}\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\.\(76\)Thus, improvements from relational features cannot be explained simply by using more tokens, more layers, or a larger mapped representation space\.

##### Cross\-model structural alignment\.

For structural alignment, we compute the feature vectors𝐳ir​\(𝐐s,𝐀is\)\\mathbf\{z\}\_\{i\}^\{r\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{i\}^\{s\}\)and𝐳jr​\(𝐐s,𝐀js\)\\mathbf\{z\}\_\{j\}^\{r\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)for the same set of prompts under two LLMsiiandjj\. For each model, we construct akkNN graph over examples using inner\-product similarity between the corresponding feature vectors\. We then report mutualkkNN overlap as the cross\-model alignment score\. The detailed definition and the choice ofkkare given in Appendix[A\.4](https://arxiv.org/html/2610.38314#A1.SS4)\. No hallucination labels are used in this structural\-alignment computation\.

##### Cross\-model predictive transfer\.

For predictive transfer, we train a lightweight MLP detector on the source\-model features and evaluate it directly on the target\-model features\. For each ordered source\-target pair\(i,j\)\(i,j\)and each feature typerr, the MLP takes𝐳ir​\(𝐐,𝐀i\)\\mathbf\{z\}\_\{i\}^\{r\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)as input and predicts the binary truthfulness label\. The same trained detector is then applied to𝐳jr​\(𝐐,𝐀j\)\\mathbf\{z\}\_\{j\}^\{r\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{j\}\)without updating its parameters\. The detector is a two\-layer MLP:

p⁡\(y=1∣𝐳\)=σ⁡\(𝐰2⊤​Dropout​\(GELU⁡\(𝐖1​𝐳\+𝐛1\)\)\+b2\),p\(y=1\\mid\\mathbf\{z\}\)=\\sigma\\left\(\\mathbf\{w\}\_\{2\}^\{\\top\}\\mathrm\{Dropout\}\\left\(\\mathrm\{GELU\}\\left\(\\mathbf\{W\}\_\{1\}\\mathbf\{z\}\+\\mathbf\{b\}\_\{1\}\\right\)\\right\)\+b\_\{2\}\\right\),\(77\)with hidden dimension256256and dropout rate0\.10\.1\. We train it with binary cross\-entropy using AdamW, learning rate10−310^\{\-3\}, weight decay10−410^\{\-4\}, batch size256256, and early stopping on source\-validation AUROC\. All reported AUROC values are averaged over three random seeds\. The same MLP architecture and optimization protocol are used for raw and relational features\.

##### Scope of the observation pipeline\.

The observation pipeline uses fixed handcrafted relations and a simple post\-hoc MLP only to diagnose whether different relational structures are stable and predictive across models\. It does not use the learnable relation\-aware attention, attention pooling, or meta\-learning strategy ofChord\. Those components are introduced later in Section[4](https://arxiv.org/html/2610.38314#S4)to turn the empirical observation into a trainable cross\-model detector\.

### A\.10Baseline Implementation Details

This subsection describes the baselines used in our experiments and how we adapt them to the cross\-model hallucination detection \(CMHD\) setting\. The main complication is that many training\-based hallucination detectors were originally designed for a single LLM, where training and testing features live in the same representation space\. In CMHD, however, the detector is trained on source LLMs and evaluated on unseen target LLMs, whose hidden dimensions, layer counts, head counts, and representation gauges may differ\. Therefore, some baselines cannot be applied directly without a compatibility step\. For such methods, we use the minimal adaptation needed to make them executable under CMHD, while keeping their scoring rule as close as possible to the original design\. These adaptations should be understood as evaluation\-time compatibility operations rather than improvements intended by the original baseline authors\.

##### General evaluation protocol\.

All baselines are evaluated on the same generated answers, labels, and source–target splits asChord\. For every scalar hallucination score, we report AUROC on the target model\. If a method produces a confidence score rather than a hallucination score, we reverse its sign so that larger values consistently indicate higher hallucination likelihood\. When the score direction is ambiguous, the direction is selected using source\-validation data only, never using target labels\. For methods requiring thresholds, thresholds are selected on source\-validation data, but AUROC is computed from continuous scores whenever available\. For sampling\-based baselines, we use the same sampling budget across methods: unless otherwise stated, we drawKgen=10K\_\{\\mathrm\{gen\}\}=10additional generations per question with temperature0\.50\.5and nucleus samplingp=0\.95p=0\.95\. This keeps test\-time computation comparable across uncertainty and self\-consistency baselines\.

##### Perplexity\.

Perplexity is a training\-free likelihood\-based baseline\. Given a question𝐐\\mathbf\{Q\}and an answer𝐀=\(a1,…,aT\)\\mathbf\{A\}=\(a\_\{1\},\\ldots,a\_\{T\}\)generated by the evaluated LLM, we compute the length\-normalized negative log\-likelihood

sppl\(𝐐,𝐀\)=−1T∑t=1Tlogp𝜽\(at∣𝐐,a<t\)\.s\_\{\\mathrm\{ppl\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\-\\frac\{1\}\{T\}\\sum\_\{t=1\}^\{T\}\\log p\_\{\\boldsymbol\{\\theta\}\}\(a\_\{t\}\\mid\\mathbf\{Q\},a\_\{<t\}\)\.\(78\)Larger values indicate that the model assigns lower probability to its own answer, which is treated as a higher hallucination score\. This baseline does not require training or representation alignment, and can therefore be applied directly to each target LLM\. However, since perplexity is sensitive to surface form, answer length, and tokenization, we use length normalization and compute perplexity with the same tokenizer and model that generated the answer\.

##### Semantic Entropy\.

Semantic Entropy estimates uncertainty in meaning space rather than token\-sequence space\[[5](https://arxiv.org/html/2610.38314#bib.bib11)\]\. For each question, we sampleKgenK\_\{\\mathrm\{gen\}\}additional answers from the same LLM and group the sampled answers into semantic\-equivalence clusters using a fixed entailment or LLM\-judge module\. Let𝒞\\mathcal\{C\}denote the resulting set of semantic clusters and letp⁡\(c\)p\(c\)be the normalized probability mass assigned to clustercc\. The score is

sse\(𝐐\)=−∑c∈𝒞p\(c\)logp\(c\)\.s\_\{\\mathrm\{se\}\}\(\\mathbf\{Q\}\)=\-\\sum\_\{c\\in\\mathcal\{C\}\}p\(c\)\\log p\(c\)\.\(79\)A high semantic entropy indicates that the model produces many semantically distinct answers, suggesting uncertainty and a higher hallucination risk\. This method is training\-free and does not rely on hidden\-state dimensions, so it is directly applicable to unseen target LLMs\. For fairness, we use the same generation budget and semantic\-equivalence module for all models\.

##### EigenScore\.

EigenScore is a white\-box, training\-free self\-consistency baseline that uses internal states from multiple sampled generations\[[52](https://arxiv.org/html/2610.38314#bib.bib5)\]\. For each question, we sampleKgenK\_\{\\mathrm\{gen\}\}answers and extract one sentence\-level hidden representation from each sampled answer, following the original method\. Let𝐫1,…,𝐫Kgen\\mathbf\{r\}\_\{1\},\\ldots,\\mathbf\{r\}\_\{K\_\{\\mathrm\{gen\}\}\}denote these representations and let𝚺\\mathbf\{\\Sigma\}be their empirical covariance matrix\. EigenScore is computed from the spectrum of𝚺\\mathbf\{\\Sigma\}; larger spectral dispersion indicates that the generated answers occupy a more diverse internal\-state subspace, which is taken as higher hallucination risk\. Since EigenScore is computed within a single target model at test time and does not train a source\-model probe, it does not require cross\-model hidden\-dimension mapping\. We therefore apply it directly on each target LLM’s hidden states\.

##### Lexical Similarity\.

Lexical Similarity is a black\-box self\-consistency baseline\. It samples multiple answers to the same question and measures their pairwise surface\-form similarity using a lexical overlap metric such as ROUGE\-L or token\-level F1\. For each evaluated answer, we compute its average lexical similarity to the sampled alternatives and use the negative average similarity as the hallucination score:

slex\(𝐐,𝐀\)=−1Kgen∑k=1KgenSimlex\(𝐀,𝐀\(k\)\)\.s\_\{\\mathrm\{lex\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\-\\frac\{1\}\{K\_\{\\mathrm\{gen\}\}\}\\sum\_\{k=1\}^\{K\_\{\\mathrm\{gen\}\}\}\\mathrm\{Sim\}\_\{\\mathrm\{lex\}\}\(\\mathbf\{A\},\\mathbf\{A\}^\{\(k\)\}\)\.\(80\)Low lexical agreement suggests that the model is unstable under resampling, which is treated as higher hallucination risk\. This method does not depend on hidden states or attention maps, and thus requires no cross\-model mapping\. We keep the same sampling budget as Semantic Entropy to ensure a fair comparison\.

##### Verbalize\.

Verbalize is a prompting\-based confidence baseline that asks the LLM to explicitly report its confidence in the generated answer\[[54](https://arxiv.org/html/2610.38314#bib.bib28),[53](https://arxiv.org/html/2610.38314#bib.bib30)\]\. After obtaining an answer𝐀\\mathbf\{A\}, we query the same LLM with a fixed confidence prompt:

> Q: \{question\} A: \{answer\} The proposed answer is true with a confidence value \(0\-\-100\) of

We parse the generated number as a confidence score and use its negative value as the hallucination score\. If the model does not produce a valid number, we reprompt once with a stricter numerical\-output instruction; remaining invalid outputs are assigned the median confidence on the source\-validation set\. This baseline is training\-free and black\-box, so it is naturally applicable to unseen LLMs\. However, verbalized confidence is known to be affected by calibration and instruction\-following behavior, so we treat it as a behavioral baseline rather than a representation\-based detector\.

##### InterrogateLLM\.

InterrogateLLM is a zero\-resource hallucination detector that checks whether an answer contains enough reliable information to reconstruct the original query\[[55](https://arxiv.org/html/2610.38314#bib.bib57)\]\. Given an answer𝐀\\mathbf\{A\}, the model is asked to generate a reverse question𝐐~\\tilde\{\\mathbf\{Q\}\}that would have led to𝐀\\mathbf\{A\}\. The original question𝐐\\mathbf\{Q\}and reconstructed question𝐐~\\tilde\{\\mathbf\{Q\}\}are then compared\. If the answer is faithful, the reconstructed question should be semantically close to the original one; if the answer is hallucinated or drifts from the requested information, reconstruction becomes less reliable\. We implement the comparison using the same semantic\-similarity module across all models and use

sint​\(𝐐,𝐀\)=−Simsem​\(𝐐,𝐐~\)s\_\{\\mathrm\{int\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\)=\-\\mathrm\{Sim\}\_\{\\mathrm\{sem\}\}\(\\mathbf\{Q\},\\tilde\{\\mathbf\{Q\}\}\)\(81\)as the hallucination score\. For tasks where the original query is not naturally reconstructable from the answer alone, such as code generation or agent\-tool tasks, we use a task\-aware reconstruction prompt that asks the model to reconstruct the user’s requested objective rather than the exact surface form of the question\. This modification is necessary because the original InterrogateLLM protocol was designed primarily for factual question answering; it may deviate from the method’s intended operating condition, but it makes the baseline applicable across our heterogeneous benchmark suite\.

##### MM\.

MM denotes the Mass\-Mean probe, a simple activation\-space truthfulness probe\[[56](https://arxiv.org/html/2610.38314#bib.bib34)\]\. Given hidden representations from truthful and hallucinated examples, it computes the class means

𝝁\+=1\|𝒮\+\|​∑𝐫∈𝒮\+𝐫,𝝁−=1\|𝒮−\|​∑𝐫∈𝒮−𝐫,\\boldsymbol\{\\mu\}\_\{\+\}=\\frac\{1\}\{\|\\mathcal\{S\}\_\{\+\}\|\}\\sum\_\{\\mathbf\{r\}\\in\\mathcal\{S\}\_\{\+\}\}\\mathbf\{r\},\\qquad\\boldsymbol\{\\mu\}\_\{\-\}=\\frac\{1\}\{\|\\mathcal\{S\}\_\{\-\}\|\}\\sum\_\{\\mathbf\{r\}\\in\\mathcal\{S\}\_\{\-\}\}\\mathbf\{r\},\(82\)and defines the truthfulness direction as

𝐰MM=𝝁\+−𝝁−\.\\mathbf\{w\}\_\{\\mathrm\{MM\}\}=\\boldsymbol\{\\mu\}\_\{\+\}\-\\boldsymbol\{\\mu\}\_\{\-\}\.\(83\)The score of a test representation𝐫\\mathbf\{r\}is then given by projection onto this direction\. The original MM probe assumes that training and testing activations live in the same model\-specific vector space\. This assumption fails in CMHD because source and target LLMs may have different hidden dimensions\. Therefore, for MM we first map hidden states into the same padded spaceℝd⋆\\mathbb\{R\}^\{d^\{\\star\}\}using the hidden\-state restructuring operation described in Section[4](https://arxiv.org/html/2610.38314#S4)\. We then train the mass\-mean direction on source\-model mapped hidden states and evaluate it on target\-model mapped hidden states\. No relation\-aware graph construction or meta\-learning is used for this baseline\.

##### SEP\.

Semantic Entropy Probes \(SEP\) train a lightweight probe to approximate Semantic Entropy from a single generation’s hidden state\[[6](https://arxiv.org/html/2610.38314#bib.bib24)\]\. The purpose is to avoid the high test\-time cost of sampling multiple generations required by Semantic Entropy\. In our implementation, we first compute Semantic Entropy targets on source\-model data using the sampling procedure described above\. Then, a probe is trained to predict these entropy targets from hidden representations of the corresponding single generated answer\. At test time, the probe predicts a semantic\-entropy score from one target\-model generation\. As with MM, the original probe is not directly cross\-model because its input dimension is tied to the hidden states of the model on which it was trained\. We therefore apply the same hidden\-state mapping intoℝd⋆\\mathbb\{R\}^\{d^\{\\star\}\}before training and testing the SEP probe\. This adaptation makes SEP executable in CMHD, but it should be viewed as a compatibility modification rather than part of the original SEP design\.

##### SAPLMA\.

SAPLMA trains a classifier on LLM activation values to predict whether a generated statement is true or false\[[57](https://arxiv.org/html/2610.38314#bib.bib3)\]\. It is a representative training\-based hidden\-state detector\. For each question\-answer pair, we extract the hidden representation of the final answer token from a fixed relative\-depth layer\. Specifically, when a method specifies a single middle layer, we use the layer closest to half of the model depth; this avoids relying on a layer index that only exists for one architecture\. The extracted hidden state is mapped into the common padded spaceℝd⋆\\mathbb\{R\}^\{d^\{\\star\}\}and used as input to a lightweight MLP classifier\. The classifier is trained on source LLMs and evaluated directly on the mapped hidden states of the target LLM\. This mapping is necessary because SAPLMA’s original formulation assumes a fixed activation dimension, whereas CMHD evaluates transfer across architectures with different hidden sizes\.

##### LapEigvals\.

LapEigvals is an attention\-map\-based hallucination detector that interprets attention maps as graph adjacency matrices and uses Laplacian eigenvalues as spectral features\[[11](https://arxiv.org/html/2610.38314#bib.bib4)\]\. Unlike MM, SEP, and SAPLMA, this method does not operate on hidden\-state vectors\. It instead extracts attention maps from the LLM and computes graph spectral statistics from them\. Consequently, we do not apply hidden\-state padding to LapEigvals\. The cross\-model compatibility issue is different: LLMs may have different numbers of layers and attention heads, and their attention tensors may therefore have different shapes\. To make LapEigvals applicable to CMHD, we map each model’s attention information to a common attention\-feature format\. We first select the same number of relative\-depth layers and the same selected answer\-token window for all models\. For each selected layer and head, we form the attention submatrix over the selected tokens, symmetrize it, construct its normalized graph Laplacian, and extract the smallest non\-trivial eigenvalues\. To handle different head counts, we aggregate head\-wise spectral features using mean and standard deviation within each selected layer\. The resulting fixed\-dimensional attention\-spectral vector is used to train a source\-model classifier and evaluate on target models\. This preserves the key idea of LapEigvals, namely detecting hallucinations from spectral properties of attention graphs, while removing architecture\-specific tensor\-shape dependencies\.

##### Caveat on cross\-model adaptations\.

The hidden\-state mapping for MM, SEP, and SAPLMA, and the attention\-feature mapping for LapEigvals, are introduced only because these baselines are otherwise not directly executable in the CMHD setting\. They should not be interpreted as improvements to the original methods or as design choices advocated by their authors\. Rather, they provide the fairest feasible way to compare single\-model training\-based detectors against a method explicitly designed for cross\-model generalization\. In contrast, training\-free baselines such as Perplexity, Semantic Entropy, EigenScore, Lexical Similarity, Verbalize, and InterrogateLLM do not train a source\-model representation classifier, so they are applied directly to each target LLM under a unified scoring and sampling protocol\.

### A\.11LLM\-as\-Judge Labeling Protocol

We assign hallucination labels using an LLM\-as\-Judge protocol rather than lexical\-overlap heuristics\. Recent re\-evaluation work has shown that overlap\-based criteria such as ROUGE\-L can introduce substantial label noise in hallucination detection, because semantically correct answers may receive low overlap scores while fluent but incorrect answers may still achieve misleading lexical similarity\. We therefore use a semantically aware judge under a fixed protocol and deterministic decoding\.

Protocol summary\.The evaluator is GPT\-4o under a fixed prompt and structured output format\. For each sample, the judge receives: \(i\) the question, \(ii\) an optional context, \(iii\) a list of acceptable truths, \(iv\) an optional list of known traps \(incorrect answers\), and \(v\) the model\-generated answer\. The judge returns one of three intermediate categories:correct,hallucination, orabstention\. For the binary detector studied in this paper,correctandabstentionare mapped to the positive class, whilehallucinationis mapped to the negative class\.

##### Inputs to the Judge\.

Each evaluation instance is represented by a structured record containing the question, optional supporting context, one or more acceptable truths, optional known traps, and the answer generated by the model under evaluation\. The acceptable truths specify the semantic content that should be accepted as correct, allowing multiple valid phrasings or equivalent answers\. Known traps list common or particularly misleading incorrect answers when such information is available\. This design reduces dependence on exact surface form and makes the evaluation more robust to paraphrase\.

##### Decision Rules\.

The judge is instructed to output exactly one of three categories\. It returnscorrectif the model answer semantically matches at least one acceptable truth\. It returnshallucinationif the answer matches a known trap, contradicts the acceptable truths, or introduces fabricated factual content not supported by the provided truth specification\. It returnsabstentionif the model explicitly states that it does not know the answer, lacks sufficient information, or refuses to answer on epistemic grounds\. The judge also produces a brief natural\-language justification, which is stored for inspection but not used as model input\.

##### Three\-Way Intermediate Labels and Binary Mapping\.

We use a three\-way intermediate decision layer to improve evaluator precision\. In particular, separatingabstentionfromhallucinationprevents explicit uncertainty from being conflated with confident factual error\. For the detector studied in this paper, however, the final supervision is binary\. Accordingly, we map bothcorrectandabstentionto label11and maphallucinationto label00\. This mapping matches the operational goal of the detector: to distinguish fabricated or unsupported factual claims from non\-hallucinatory behavior\.

##### Implementation Details\.

The evaluator uses deterministic decoding with temperature00and structured output parsing\. To improve robustness in large\-scale asynchronous evaluation, we use bounded retries for transient API failures and isolate samples that still fail after the retry budget is exhausted\. Only successfully parsed judge outputs are retained in the labeled dataset\. The exact prompt template, few\-shot examples, and implementation code are included in the released repository\.

##### Why Three\-Way Judging Helps\.

The three\-way design is not introduced because the final task is ternary, but because the intermediate decision boundary becomes cleaner\. A direct binary judge is more likely to confuse explicit uncertainty with factual error, especially for difficult or underspecified questions\. By first distinguishingcorrect,hallucination, andabstention, and only then collapsing to a binary label, we obtain a labeling procedure that better reflects the semantic distinction relevant to hallucination detection\.

### A\.12Dataset Details and Preprocessing

This appendix describes the seven benchmarks used in our experiments and the preprocessing pipeline that converts their heterogeneous formats into the unified input\-output schema used throughout the paper\. The datasets are selected to cover complementary hallucination\-detection settings: open\-domain factual QA, context\-grounded QA, conversational QA, mathematical reasoning, code generation, and agent\-style tool calling\. For every benchmark, we first shuffle the original items with a fixed random seed and keep at most10,00010\{,\}000items\. If the selected split contains fewer than10,00010\{,\}000usable items, we keep all available items\. This case mainly affects benchmarks whose official or selected split is smaller than the cap, such as MBPP\. We then split the selected items at the*question/task level*into training, validation, and test partitions using an80/10/1080/10/10ratio\. The split is performed before LLM generation, so the same question or task does not appear in more than one partition\.

For each dataset item, every evaluated LLM receives the same processed prompt and generates its own answer\. Thus, for a fixed benchmark item indexed byss, different models may produce different answers𝐀is\\mathbf\{A\}\_\{i\}^\{s\}, while the underlying question, context, and reference information are shared\. The generated answer is then labeled as truthful if it is semantically aligned with one of the accepted references or explicitly abstains, and hallucinated if it commits to an answer that matches none of them, following the setup in Section[2](https://arxiv.org/html/2610.38314#S2)\. The detector training and evaluation are then performed on model\-specific datasets of the form in Eq\. \([1](https://arxiv.org/html/2610.38314#S2.E1)\)\. In the leave\-one\-family\-out experiments, training\-based methods use only source\-family examples for training and validation, and all reported results are computed on the held\-out target\-family test examples\.

#### A\.12\.1Unified Dataset Schema

The raw datasets differ substantially in their field names, task formats, and reference annotations\. To avoid dataset\-specific prompt and evaluation logic, we convert every raw item into a shared structured schema\. Each processed item stores the following fields:

- •task\_type: records the task family, such asqa,reasoning,coding, oragent\_action\.
- •system\_instruction: stores task\-specific generation requirements, such as answering strictly from a provided context, reasoning step by step, writing valid Python code, or producing a JSON tool call\.
- •context: stores passages, stories, tool descriptions, tests, or other background information needed by the task\.
- •question: stores the actual user\-facing query or problem statement\.
- •choices: is used for multiple\-choice tasks; for the seven benchmarks in the main experiments, it is empty because all selected tasks are open\-ended, reasoning, coding, or structured\-generation tasks\.
- •ground\_truths: stores all accepted references, including answer aliases when available\.
- •incorrect\_answers: stores known false or hallucinated answers when the original benchmark provides them\. These known incorrect answers are never included in the prompt; they are retained only as evaluation\-side traps or reference signals for judging whether a generated answer matches a known hallucination pattern\.

For reproducibility, each processed JSONL item also keeps the original raw dataset row under anoriginal\_docfield\. This makes it possible to trace every processed example back to the original benchmark record\. The prompt given to an LLM is constructed from the schema fields, not directly from the raw dataset row\. Whensystem\_instructionis non\-empty, it is placed before the user query\. Whencontextis non\-empty, it is placed before the question as task evidence or constraints\. The reference fieldsground\_truthsandincorrect\_answersare not shown to the model during generation\.

#### A\.12\.2TruthfulQA

TruthfulQA\[[19](https://arxiv.org/html/2610.38314#bib.bib29)\]evaluates whether a language model gives truthful answers to questions that are likely to elicit common misconceptions or false imitative responses\. It is therefore a direct benchmark for factual hallucination and false\-belief amplification\. We use the generation setting, where each item contains a natural\-language question, a list of correct answers, and a list of incorrect answers\. This makes TruthfulQA especially useful for our setting because it provides both accepted factual references and known misleading alternatives\.

In our schema, TruthfulQA is treated as an open\-ended QA task:

task\_type=qa\.

The original question is mapped toquestion\. No additional context is used, socontextis set to the empty string\. The original list of correct answers is copied intoground\_truths, preserving multiple acceptable phrasings\. The original list of incorrect answers is copied intoincorrect\_answers\. During answer evaluation, a generated answer is considered truthful if it is semantically aligned with any accepted correct answer and does not match the known incorrect alternatives\. Keeping the incorrect\-answer list is important because many TruthfulQA questions are adversarial: a fluent but common answer may be precisely the hallucinated answer that the dataset is designed to expose\.

#### A\.12\.3HaluEval

HaluEval\[[20](https://arxiv.org/html/2610.38314#bib.bib25)\]is designed for hallucination evaluation and contains examples in which models must answer questions based on provided knowledge\. We use the QA subset\. Each item provides a knowledge passage, a question, a right answer, and a hallucinated answer\. This makes the dataset a natural fit for context\-grounded hallucination detection: the model must use the supplied evidence rather than produce unsupported statements\.

In our schema, HaluEval is treated as a context\-grounded QA task:

task\_type=qa\.

The knowledge field is mapped tocontext, and the question field is mapped toquestion\. We use the instruction:

Please answer the question based strictly on the provided context\.

The right answer is stored as a singleton list inground\_truths\. The hallucinated answer is stored as a singleton list inincorrect\_answers\. The hallucinated answer is not shown to the LLM\. It is preserved only for evaluation, where it helps identify generated answers that are fluent but inconsistent with the provided knowledge\. This design lets HaluEval test whether the detector can distinguish context\-supported answers from answers that sound plausible but are not grounded in the evidence\.

#### A\.12\.4TriviaQA

TriviaQA\[[21](https://arxiv.org/html/2610.38314#bib.bib19)\]is an open\-domain factual QA benchmark\. Questions often have short factual answers, but the same answer may appear in multiple acceptable surface forms\. This makes the dataset useful for evaluating whether hallucination detectors generalize beyond adversarial truthfulness questions to ordinary knowledge\-intensive factual QA\.

We use the no\-context reading\-comprehension configuration, so each item is processed as open\-ended QA without an additional passage:

task\_type=qa\.

The original question is mapped toquestion, andcontextis set to the empty string\. For references, we use the answer alias list provided by the dataset whenever available\. These aliases are stored inground\_truths\. If no alias list is available, we fall back to the canonical answer value\. This alias\-preserving processing is important because a generated answer may be semantically correct even when it does not exactly match the canonical surface form\. No dataset\-provided hallucinated answer is available, soincorrect\_answersis empty\.

#### A\.12\.5CoQA

CoQA\[[22](https://arxiv.org/html/2610.38314#bib.bib42)\]is a conversational question\-answering benchmark grounded in a story\. Each raw item contains one story and a sequence of conversational questions and answers\. CoQA is included because it evaluates context\-grounded answering in a conversational style, where the model must extract information from a passage rather than rely only on parametric knowledge\.

In the main experiments, we use one QA instance from each CoQA story to avoid introducing multiple highly correlated examples from the same story into different splits\. Specifically, we use the first question\-answer turn of each story\. The story is mapped tocontext, the first question is mapped toquestion, and the corresponding first answer is stored inground\_truths\. The task is treated as:

task\_type=qa\.

No multiple\-choice options are used, andincorrect\_answersis empty\. This processing keeps one top\-level example per story, reducing the risk that different turns from the same story create near\-duplicate training and test instances\. It also gives a clean context\-grounded QA setting that complements HaluEval: HaluEval focuses on hallucinated answers against explicit knowledge, while CoQA focuses on reading a narrative context and producing the correct answer\.

#### A\.12\.6GSM8K

GSM8K\[[23](https://arxiv.org/html/2610.38314#bib.bib6)\]is a grade\-school mathematical reasoning benchmark\. Each item contains a natural\-language math word problem and a reference solution\. We include GSM8K because reasoning hallucinations differ from factual QA hallucinations: an answer may fail because of an incorrect intermediate calculation, an invalid reasoning step, or a wrong final value\. This benchmark therefore tests whether internal representations encode transferable signals for reasoning correctness\.

In our schema, GSM8K is treated as a reasoning task:

task\_type=reasoning\.

The problem statement is mapped toquestion, and no external context is used\. We use the instruction:

Please think step by step and provide the final answer at the end\.

The dataset’s reference answer is stored inground\_truths\. The reference answer may contain both the reasoning trace and the final numeric answer, and we preserve the original string for traceability\. During evaluation, the final answer is compared against the reference answer, with semantic or normalized numeric matching used when appropriate\. No dataset\-provided incorrect answers are available, soincorrect\_answersis empty\. By keeping GSM8K separate in the main and ablation tables, we can examine whether methods that work for factual QA also transfer to reasoning\-oriented hallucination detection\.

#### A\.12\.7MBPP

MBPP\[[24](https://arxiv.org/html/2610.38314#bib.bib2)\]is a Python programming benchmark consisting of short natural\-language programming tasks, reference code, and assertion\-style tests\. It is included because code correctness is not identical to natural\-language factuality\. A generated program may look plausible but fail on edge cases, violate the required function signature, or implement a subtly different behavior\. MBPP therefore provides a useful stress test for hallucination detection in code\-generation settings\.

In our schema, MBPP is treated as a coding task:

task\_type=coding\.

The natural\-language programming requirement is mapped toquestion\. The provided assertion tests are concatenated and placed incontext:

Your code must pass the following tests:

followed by the test list\. We use the instruction:

You are an expert Python programmer\. Write a Python function to solve the problem\. Your code must pass the provided assertion tests\.

The reference code is stored inground\_truths\. The tests are included in the prompt because they are part of the programming task specification and provide functional constraints\. They are also retained for evaluation\-side checking\. When execution\-based checking is available, generated code is evaluated against the provided assertions; otherwise, the reference code and tests are used by the evaluator to judge functional equivalence\. No dataset\-provided incorrect programs are available, soincorrect\_answersis empty\.

MBPP has fewer available items than our10,00010\{,\}000\-item cap in the configuration used here, so we keep all available examples after shuffling and apply the same train/validation/test split ratio\. Because the number of training examples is much smaller than in the other benchmarks, MBPP is expected to be a more fragile setting for training\-based detectors\. This is why the main text reports MBPP separately rather than only as part of a pooled average\.

#### A\.12\.8xLAM Function Calling

The xLAM function\-calling benchmark\[[25](https://arxiv.org/html/2610.38314#bib.bib31)\]evaluates agent\-style tool use\. Each item contains a user query, a set of available tools, and the expected tool\-call answer\. Unlike ordinary QA, the output is often a structured action rather than a free\-form natural\-language answer\. We include xLAM because hallucination in agentic settings often appears as selecting a nonexistent or inappropriate tool, filling incorrect arguments, or producing a tool call that does not satisfy the user’s request\. This setting tests whether hallucination detectors transfer to structured action generation\.

In our schema, xLAM is treated as an agent\-action task:

task\_type=agent\_action\.

The available tool descriptions are placed incontext, prefixed by:

Available Tools:

The user query is mapped toquestion\. We use the instruction:

You are a helpful assistant with access to various tools\. Based on the User’s question, select the appropriate tool from the Context and output the exact tool call in JSON format\. If no tool is needed, answer directly\.

The expected tool\-call output is stored inground\_truths\. Because tool\-call outputs are structured, we canonicalize JSON strings when possible before evaluation, so superficial formatting differences do not count as hallucinations\. The evaluator checks whether the generated tool name and arguments are semantically equivalent to the reference action\. No dataset\-provided incorrect tool calls are used, soincorrect\_answersis empty\.

xLAM complements the QA and coding benchmarks by testing hallucination detection for agent\-oriented behavior\. In this setting, correctness depends not only on factual content but also on whether the generated action is executable and appropriate for the tool inventory\. This makes xLAM useful for assessing whether cross\-model detectors capture broader internal signals of task\-grounded correctness\.

#### A\.12\.9Summary of Dataset Roles

The seven benchmarks are intentionally heterogeneous\. TruthfulQA focuses on adversarial factual truthfulness and common misconceptions\. HaluEval tests context\-grounded hallucination against provided knowledge and includes explicit hallucinated answers\. TriviaQA tests open\-domain factual recall with multiple valid answer aliases\. CoQA tests context\-grounded conversational QA over stories\. GSM8K tests mathematical reasoning correctness\. MBPP tests functional code generation and execution\-oriented correctness\. xLAM tests structured agent actions and tool\-call validity\.

This diversity is important for the cross\-model hallucination detection setting\. A detector that transfers only on one type of data may be exploiting task\-specific artifacts rather than model\-general hallucination signals\. By evaluating across factual QA, context\-grounded QA, reasoning, code, and agent\-action settings, we test whether the proposed detector captures internal signals that remain useful across both model families and task formats\.

## Appendix BRelated Work

##### Hallucination Detection\.

A large body of work studies hallucination detection for LLM outputs using signals from output probabilities, answer consistency, internal activations, or attention structures\[[58](https://arxiv.org/html/2610.38314#bib.bib1),[59](https://arxiv.org/html/2610.38314#bib.bib35)\]\. Uncertainty\-based methods estimate reliability from likelihood, perplexity, entropy, or semantic uncertainty, and often avoid task\-specific detector training\[[5](https://arxiv.org/html/2610.38314#bib.bib11)\]\. Consistency\-based methods sample multiple responses or construct auxiliary queries, then infer hallucination risk from disagreement, contradiction, or answer instability\[[4](https://arxiv.org/html/2610.38314#bib.bib33)\]\. Another line trains lightweight detectors on hidden states, activation patterns, or semantic uncertainty features to predict truthfulness from a single forward pass\[[57](https://arxiv.org/html/2610.38314#bib.bib3),[6](https://arxiv.org/html/2610.38314#bib.bib24),[52](https://arxiv.org/html/2610.38314#bib.bib5),[60](https://arxiv.org/html/2610.38314#bib.bib18)\]\. Recent attention\-based approaches further explore structural statistics of attention maps for hallucination detection\[[11](https://arxiv.org/html/2610.38314#bib.bib4)\]\. Although these methods are effective in many settings, most of them are designed for a fixed LLM or rely on output\-level proxies, and therefore do not directly address detector transfer across unseen LLMs\.

##### Robustness and Cross\-Model Generalization\.

Our work is also related to broader studies on robustness, distributional generalization, and representation mismatch in modern AI systems\. Theoretical and empirical studies on OOD robustness investigate when reliable separation is possible and how stable signals can be exploited under distribution shift\[[61](https://arxiv.org/html/2610.38314#bib.bib36),[62](https://arxiv.org/html/2610.38314#bib.bib10)\]\. In parallel, representation similarity research studies how neural networks differ in their intermediate activations and how representations can be compared across layers, training runs, or architectures\[[29](https://arxiv.org/html/2610.38314#bib.bib23),[30](https://arxiv.org/html/2610.38314#bib.bib22)\]\. These works indicate that models with similar functionality may still have substantially different internal representation spaces, making direct transfer of learned probes difficult\. CMHD follows this motivation but focuses on hallucination detection across LLMs, where a detector trained on source models must remain effective on target models with different architectures, scales, or training procedures\.

##### Relational and Graph\-based Representation Learning\.

Relational modeling provides a natural way to move beyond isolated hidden\-state vectors\. Graph neural networks and message\-passing frameworks aggregate information through node\-edge interactions and produce graph\-level representations through pooling or readout operations\[[36](https://arxiv.org/html/2610.38314#bib.bib12)\]\. Relation\-aware attention further incorporates positional or edge information into attention computation, allowing the model to learn interactions conditioned on relations rather than treating all pairs uniformly\[[50](https://arxiv.org/html/2610.38314#bib.bib47)\]\. Attention pooling and related readout mechanisms summarize variable\-size structures into compact representations while reducing sensitivity to node ordering\[[51](https://arxiv.org/html/2610.38314#bib.bib27)\]\. These ideas are particularly relevant to LLM internals, where hallucination evidence may appear not only in individual token states but also in relations across tokens, layers, and feature groups\.

Building on these threads, our work formulates*cross\-model hallucination detection*and studies relational structures as transferable signals across LLMs\. Instead of directly training detectors on model\-specific hidden vectors,Chordrepresents hidden states as joint layer\-token\-feature graphs, learns relation\-aware graph representations, and uses meta\-learning to encourage transfer to unseen target models\. This design connects hallucination detection with cross\-model robustness and relational representation learning, while targeting a setting that has received limited attention in prior work\.

## Appendix CLimitations

Chordis designed for white\-box or partially transparent LLM settings where hidden states can be accessed\. It therefore cannot be directly applied to purely black\-box APIs that expose only generated text or token probabilities\. This limits its use in scenarios where model internals are unavailable\. However, hallucination detection is often deployed in controlled enterprise or platform\-side settings, where the service provider has access to model activations or can instrument the inference stack\. In such deployments, the white\-box requirement is less restrictive, andChordcan be used as an internal reliability module for monitoring generated answers\.

## Appendix DComputational Infrastructure

All experiments were conducted on a server equipped with four NVIDIA H100 GPUs\. We use this setup because LLM inference itself requires substantial GPU memory, especially for the 70B model, and hidden\-state extraction further increases memory usage\. Although most models other than the 70B model can be run with less restrictive hardware, we use the same 4×\\timesH100 environment throughout to keep the extraction and evaluation pipeline consistent\. After hidden representations are extracted, detector training and evaluation are much lighter and can in principle be performed on a consumer\-grade GPU such as an NVIDIA RTX 5090; nevertheless, we keep the full experimental pipeline on the same 4×\\timesH100 setup for consistency\.

## Appendix ELicenses for Existing Assets

All models and datasets utilized in our extensive cross\-family transfer experiments are open\-source or available for research purposes\. Table[3](https://arxiv.org/html/2610.38314#A5.T3)details the specific licenses for the evaluated large language models and benchmarks\. We strictly adhered to the usage terms prescribed by their respective creators\. Notably, for datasets with mixed licenses like CoQA, and research\-only assets like xLAM, we ensured our empirical evaluation process complies with their non\-commercial and academic usage guidelines\.

Table 3:Summary of licenses for all existing models and datasets used in this paper\.Asset NameTypeLicenseNotesLlama\-3\.1\-8BModelLlama 3\.1 CommunityFollows Meta’s specific community agreement\.Llama\-3\.2\-3BModelLlama 3\.2 CommunityFollows Meta’s specific community agreement\.Llama\-3\.3\-70BModelLlama 3\.3 CommunityFollows Meta’s specific community agreement\.Ministral\-3\-8B/14BModelApache 2\.0Mistral AI open\-source license\.Qwen3\-8B/14BModelApache 2\.0Alibaba Cloud open\-source license\.Qwen3\.5\-35B\-A3BModelApache 2\.0Alibaba Cloud open\-source license\.TruthfulQADatasetApache 2\.0Stated in the official GitHub repository\.HaluEvalDatasetMITStated in the official GitHub repository\.TriviaQADatasetApache 2\.0Stated in the official GitHub repository\.CoQADatasetMixed LicenseIncludes CC BY\-SA 4\.0 \(Wiki/Literature\) and Apache 2\.0 \(CNN\)\.GSM8KDatasetMITStated in the OpenAI GitHub repository\.MBPPDatasetCC BY 4\.0Stated in the official Google dataset release\.xLAM \(APIGen\)DatasetCC BY 4\.0Released for research purposes only \(official data card\)\.

## Appendix FObservation Analysis Details

### F\.1Alignment and Transfer Are Related but Decoupled

![Refer to caption](https://arxiv.org/html/2610.38314v1/app_alignment_matrices_clean.png)Figure 8:Full mutualkknearest neighbor alignment matrices across all model pairs\. For each feature view, we compute the average overlap between thekknearest neighbor sets induced by two models over the same evaluation examples\. Since this metric is symmetric, we show the upper triangular matrix and set the diagonal to one\. Across the full model suite, relational views consistently yield stronger local\-neighborhood agreement than raw hidden states, supporting the representative trends shown in the main text\.![Refer to caption](https://arxiv.org/html/2610.38314v1/app_detection_matrices_clean.png)Figure 9:Full directional cross\-model hallucination transfer matrices\. Rows denote source models used for training the detector, and columns denote target models used for evaluation\. Unlike representational alignment, transfer AUROC is directional, so we show the full matrix\. Raw hidden states remain close to chance for most source\-to\-target pairs, whereas relational views produce substantially stronger transfer across model families and scales\.Figure 10:Representative detector score distributions across source\-to\-target model pairs\. Each row corresponds to one representative transfer pair, and each column corresponds to one feature view\. Curves show the score distributions of factual and hallucinated examples on the target model, and the annotated AUROC is recomputed from the plotted sample\. The main text KDE plot is one representative case; here we show that the same qualitative pattern holds across the selected same\-family, cross\-family, scale\-matched, and scale\-mismatched settings\.Figure 11:Additional diagnostics for the observation analysis\. \(A\) Rank correlations between feature\-view orderings induced by mutualkknearest neighbor alignment and by transfer AUROC\. The moderate correlations indicate that alignment and downstream utility are related but not equivalent\. Because the rank correlations are computed over five feature views, the possible Spearman and Kendall values are discrete\. \(B\) Cross\-scale transfer is mildly asymmetric: detectors trained on larger source models transfer slightly better to smaller target models than the reverse direction\. \(C\) Raw hidden states exhibit higher seed variance in transfer AUROC, while relational views are more stable across random seeds\.This section expands the observational analysis in Section[3](https://arxiv.org/html/2610.38314#S3)\. The goal is to examine whether cross\-model representational alignment is sufficient to explain downstream hallucination\-detector transfer\. We study five feature views: raw hidden states, token\-level relations, cross\-layer token relations, within\-token feature relations, and joint relational structures\. All relational views in this section are fixed and hand\-designed diagnostic views\. They are not trained end\-to\-end and do not use the relation\-aware attention module introduced in Section[4](https://arxiv.org/html/2610.38314#S4)\. They are used only to test what kinds of internal structures remain stable and useful across LLMs\.

##### Feature views used in the diagnostic analysis\.

For each modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}and each generated example\(𝐐,𝐀i\)\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\), we extract hidden states𝐡𝜽i,tℓ​\(𝐐,𝐀i\)\\mathbf\{h\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)as defined in Section[2](https://arxiv.org/html/2610.38314#S2)\. Since different LLMs have different hidden dimensions, we use the same scattered\-padding map as in Eq\. \([11](https://arxiv.org/html/2610.38314#S4.E11)\) and Eq\. \([12](https://arxiv.org/html/2610.38314#S4.E12)\)\. The padded hidden state is denoted by

𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)∈ℝd⋆\.\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\in\\mathbb\{R\}^\{d^\{\\star\}\}\.Unless otherwise stated, all feature\-block operations in this appendix are applied to the padded hidden states𝐡¯𝜽i,tℓ\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\. The scattered\-padding map is injective for each model, so within\-model dot products, cosine similarities, and Euclidean distances are preserved after padding\.

The raw\-state view uses the same selected hidden states as the relational diagnostics, but pools them directly without relation\-weighted propagation\. Let𝐓sel=\{t1,…,tr\}\\mathbf\{T\}^\{\\mathrm\{sel\}\}=\\\{t\_\{1\},\\ldots,t\_\{r\}\\\}denote the selected token positions and𝐋sel=\{ℓ1,…,ℓm\}\\mathbf\{L\}^\{\\mathrm\{sel\}\}=\\\{\\ell\_\{1\},\\ldots,\\ell\_\{m\}\\\}denote the selected layers, withm=\|𝐋sel\|m=\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\. Following Eq\. \([76](https://arxiv.org/html/2610.38314#A1.E76)\), we define

𝐳iraw​\(𝐐,𝐀i\)=1m​r​∑ℓ∈𝐋isel∑t∈𝐓sel𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)\.\\mathbf\{z\}\_\{i\}^\{\\mathrm\{raw\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\frac\{1\}\{mr\}\\sum\_\{\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}\_\{i\}\}\\sum\_\{t\\in\\mathbf\{T\}^\{\\mathrm\{sel\}\}\}\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.\(84\)This view keeps the selected hidden\-state coordinates in the unified representation space, but it does not explicitly encode relations among tokens, layers, or feature blocks\.

For the four relational views, we use a common relation\-weighted propagation and mean\-readout template\. This notation is only used to describe the fixed diagnostic pipeline compactly\. For a relation typeqq, let𝒱iq\\mathcal\{V\}\_\{i\}^\{q\}denote its node set,𝐱i,uq​\(𝐐,𝐀i\)\\mathbf\{x\}\_\{i,u\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)the feature of nodeu∈𝒱iqu\\in\\mathcal\{V\}\_\{i\}^\{q\}, andRiq​\(u,v,𝐐,𝐀i\)R\_\{i\}^\{q\}\(u,v;\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)the hand\-designed relation value between nodesuuandvv\. The graph\-level relational feature is

𝐳iq​\(𝐐,𝐀i\)=1\|𝒱iq\|​∑u∈𝒱iq∑v∈𝒱iq,v≠uRiq​\(u,v,𝐐,𝐀i\)ϵ\+∑v′∈𝒱iq,v′≠uRiq​\(u,v′,𝐐,𝐀i\)​𝐱i,vq​\(𝐐,𝐀i\),\\mathbf\{z\}\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\frac\{1\}\{\|\\mathcal\{V\}\_\{i\}^\{q\}\|\}\\sum\_\{u\\in\\mathcal\{V\}\_\{i\}^\{q\}\}\\sum\_\{v\\in\\mathcal\{V\}\_\{i\}^\{q\},\\,v\\neq u\}\\frac\{R\_\{i\}^\{q\}\(u,v;\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\}\{\\epsilon\+\\sum\_\{v^\{\\prime\}\\in\\mathcal\{V\}\_\{i\}^\{q\},\\,v^\{\\prime\}\\neq u\}R\_\{i\}^\{q\}\(u,v^\{\\prime\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\}\\mathbf\{x\}\_\{i,v\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\),\(85\)whereϵ\>0\\epsilon\>0is a small numerical\-stability constant\. HereRiqR\_\{i\}^\{q\}is treated as a relation magnitude rather than a similarity score\. Thus, this diagnostic readout emphasizes nodes that have larger relative pairwise differences from the receiving node\. The final mean readout is permutation\-invariant over node orderings, which is useful because the same relational construction may be implemented with different internal node orders across LLMs\.

The token\-level relation view uses selected tokens as nodes\. For notational simplicity, we write𝐳itok\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\}\}for the token\-level feature𝐳itok,ℓ\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\},\\ell\}computed at the selected diagnostic layerℓ\\ell\. The node set is𝒱itok=𝐓sel\\mathcal\{V\}\_\{i\}^\{\\mathrm\{tok\}\}=\\mathbf\{T\}^\{\\mathrm\{sel\}\}, and the node feature is

𝐱i,ttok​\(𝐐,𝐀i\)=𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)\.\\mathbf\{x\}\_\{i,t\}^\{\\mathrm\{tok\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.The edge relation follows the token\-distance relation in Eq\. \([3](https://arxiv.org/html/2610.38314#S3.E3)\), implemented on padded hidden states:

Ritok​\(t,t~,𝐐,𝐀i\)=stok​\(t,t~\)​‖𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)−𝐡¯𝜽i,t~ℓ​\(𝐐,𝐀i\)‖2\.R\_\{i\}^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\big\\\|\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\big\\\|\_\{2\}\.\(86\)Applying Eq\. \([85](https://arxiv.org/html/2610.38314#A6.E85)\) with this node set and relation value gives𝐳itok​\(𝐐,𝐀i\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.

The cross\-layer token relation view uses selected layers as nodes\. For each layerℓ∈𝐋sel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}, we stack the padded hidden states of all selected tokens:

𝐇¯𝜽iℓ,sel​\(𝐐,𝐀i\)=\[𝐡¯𝜽i,t1ℓ​\(𝐐,𝐀i\),…,𝐡¯𝜽i,trℓ​\(𝐐,𝐀i\)\]⊤∈ℝr×d⋆\.\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\big\[\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\),\\ldots,\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\big\]^\{\\top\}\\in\\mathbb\{R\}^\{r\\times d^\{\\star\}\}\.\(87\)The node associated with layerℓ\\ellis represented by

𝐱i,ℓlyr​\(𝐐,𝐀i\)=vec⁡\(𝐇¯𝜽iℓ,sel​\(𝐐,𝐀i\)\)\.\\mathbf\{x\}\_\{i,\\ell\}^\{\\mathrm\{lyr\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\mathrm\{vec\}\\left\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\right\)\.The relation between two layer nodes is the depth\-decayed cosine distance:

Rilyr​\(ℓ,ℓ~,𝐐,𝐀i\)=slyr​\(ℓ,ℓ~\)​\(1−cos⁡\(vec⁡\(𝐇¯𝜽iℓ,sel\),vec⁡\(𝐇¯𝜽iℓ~,sel\)\)\),R\_\{i\}^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\,\\big\(1\-\\cos\\big\(\\mathrm\{vec\}\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\),\\mathrm\{vec\}\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\tilde\{\\ell\},\\mathrm\{sel\}\}\)\\big\)\\big\),\(88\)whereslyr\(ℓ,ℓ~\)=exp\(−\|ℓ−ℓ~\|/τlyr\)s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)=\\exp\(\-\|\\ell\-\\tilde\{\\ell\}\|/\\tau\_\{\\mathrm\{lyr\}\}\)is the depth\-decay factor defined in Section[3\.2](https://arxiv.org/html/2610.38314#S3.SS2)\. Applying Eq\. \([85](https://arxiv.org/html/2610.38314#A6.E85)\) over𝒱ilyr=𝐋sel\\mathcal\{V\}\_\{i\}^\{\\mathrm\{lyr\}\}=\\mathbf\{L\}^\{\\mathrm\{sel\}\}gives𝐳ilyr​\(𝐐,𝐀i\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{lyr\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.

The within\-token feature relation view uses feature blocks as nodes\. The padded hidden dimension is partitioned intoBBequal\-size contiguous blocks with index setsℐb\\mathcal\{I\}\_\{b\}as in Eq\. \([12](https://arxiv.org/html/2610.38314#S4.E12)\)\. For each blockbband each selected layerℓ\\ell, we first collect thebb\-th hidden\-state block of all selected tokens:

𝐕¯𝜽i,bℓ​\(𝐐,𝐀i\)=\[𝐡¯𝜽i,t1ℓ​\(𝐐,𝐀i\)​\[ℐb\],…,𝐡¯𝜽i,trℓ​\(𝐐,𝐀i\)​\[ℐb\]\]⊤∈ℝr×\|ℐb\|\.\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\big\[\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{1\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\[\\mathcal\{I\}\_\{b\}\],\\ldots,\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\_\{r\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\[\\mathcal\{I\}\_\{b\}\]\\big\]^\{\\top\}\\in\\mathbb\{R\}^\{r\\times\|\\mathcal\{I\}\_\{b\}\|\}\.\(89\)We then stack these token\-block matrices vertically over the selected layers:

𝐕¯𝜽i,b​\(𝐐,𝐀i\)=\[\(𝐕¯𝜽i,bℓ1​\(𝐐,𝐀i\)\)⊤,…,\(𝐕¯𝜽i,bℓ\|𝐋sel\|​\(𝐐,𝐀i\)\)⊤\]⊤∈ℝ\|𝐋sel\|​r×\|ℐb\|\.\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\big\[\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}^\{\\ell\_\{1\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)^\{\\top\},\\ldots,\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}^\{\\ell\_\{\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)^\{\\top\}\\big\]^\{\\top\}\\in\\mathbb\{R\}^\{\|\\mathbf\{L\}^\{\\mathrm\{sel\}\}\|r\\times\|\\mathcal\{I\}\_\{b\}\|\}\.\(90\)The node feature for blockbbis

𝐱i,bfeat​\(𝐐,𝐀i\)=vec⁡\(𝐕¯𝜽i,b​\(𝐐,𝐀i\)\)\.\\mathbf\{x\}\_\{i,b\}^\{\\mathrm\{feat\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\mathrm\{vec\}\\left\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\right\)\.The relation between two block nodes is

Rifeat​\(b,b~,𝐐,𝐀i\)=‖vec⁡\(𝐕¯𝜽i,b​\(𝐐,𝐀i\)\)−vec⁡\(𝐕¯𝜽i,b~​\(𝐐,𝐀i\)\)‖2\.R\_\{i\}^\{\\mathrm\{feat\}\}\(b,\\tilde\{b\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\big\\\|\\mathrm\{vec\}\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\-\\mathrm\{vec\}\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{b\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\\big\\\|\_\{2\}\.\(91\)No decay term is applied, since feature\-block indices do not carry a natural ordering\. Applying Eq\. \([85](https://arxiv.org/html/2610.38314#A6.E85)\) over𝒱ifeat=\{1,…,B\}\\mathcal\{V\}\_\{i\}^\{\\mathrm\{feat\}\}=\\\{1,\\ldots,B\\\}gives𝐳ifeat​\(𝐐,𝐀i\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{feat\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.

The joint relation view uses each layer\-token\-feature triple\(ℓ,t,b\)\(\\ell,t,b\)as a node\. The node set is

𝒱ijoint=𝐋sel×𝐓sel×\{1,…,B\}\.\\mathcal\{V\}\_\{i\}^\{\\mathrm\{joint\}\}=\\mathbf\{L\}^\{\\mathrm\{sel\}\}\\times\\mathbf\{T\}^\{\\mathrm\{sel\}\}\\times\\\{1,\\ldots,B\\\}\.The node feature is

𝐱i,\(ℓ,t,b\)joint​\(𝐐,𝐀i\)=𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)​\[ℐb\]\.\\mathbf\{x\}\_\{i,\(\\ell,t,b\)\}^\{\\mathrm\{joint\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\[\\mathcal\{I\}\_\{b\}\]\.The relation between two joint nodes is the layer\- and token\-decayed block distance:

Rijoint​\(\(ℓ,t,b\),\(ℓ~,t~,b~\),𝐐,𝐀i\)=slyr​\(ℓ,ℓ~\)​stok​\(t,t~\)​‖𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)​\[ℐb\]−𝐡¯𝜽i,t~ℓ~​\(𝐐,𝐀i\)​\[ℐb~\]‖2\.R\_\{i\}^\{\\mathrm\{joint\}\}\\big\(\(\\ell,t,b\),\(\\tilde\{\\ell\},\\tilde\{t\},\\tilde\{b\}\);\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\\big\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\,s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\,\\big\\\|\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\[\\mathcal\{I\}\_\{b\}\]\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\tilde\{\\ell\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\[\\mathcal\{I\}\_\{\\tilde\{b\}\}\]\\big\\\|\_\{2\}\.\(92\)Applying Eq\. \([85](https://arxiv.org/html/2610.38314#A6.E85)\) over𝒱ijoint\\mathcal\{V\}\_\{i\}^\{\\mathrm\{joint\}\}gives𝐳ijoint​\(𝐐,𝐀i\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{joint\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.

##### Structural alignment\.

For each feature viewq∈\{raw,tok,lyr,feat,joint\}q\\in\\\{\\mathrm\{raw\},\\mathrm\{tok\},\\mathrm\{lyr\},\\mathrm\{feat\},\\mathrm\{joint\}\\\}, we compute mutualkknearest\-neighbor alignment between two LLMsℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}andℙ𝜽j\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{j\}\}over the same evaluation questions\. For sample indexss, let𝒩ki,q​\(s\)\\mathcal\{N\}\_\{k\}^\{i,q\}\(s\)denote the indices of thekknearest neighbors of thess\-th example under feature viewqqfor modelii:

𝒩ki,q​\(s\)=Top⁡ks′∈\{1,…,n\}∖\{s\}​simiq​\(s,s′\),\\mathcal\{N\}\_\{k\}^\{i,q\}\(s\)=\\operatorname\{Top\}k\_\{s^\{\\prime\}\\in\\\{1,\\ldots,n\\\}\\setminus\\\{s\\\}\}\\,\\mathrm\{sim\}\_\{i\}^\{q\}\(s,s^\{\\prime\}\),where

simiq​\(s,s′\)=⟨𝐳iq​\(𝐐s,𝐀is\),𝐳iq​\(𝐐s′,𝐀is′\)⟩\.\\mathrm\{sim\}\_\{i\}^\{q\}\(s,s^\{\\prime\}\)=\\left\\langle\\mathbf\{z\}\_\{i\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{i\}^\{s\}\),\\mathbf\{z\}\_\{i\}^\{q\}\(\\mathbf\{Q\}^\{s^\{\\prime\}\},\\mathbf\{A\}\_\{i\}^\{s^\{\\prime\}\}\)\\right\\rangle\.The mutualkkNN alignment is then

mNNq​\(i,j\)=1n​k​∑s=1n\|𝒩ki,q​\(s\)∩𝒩kj,q​\(s\)\|\.m\_\{\\mathrm\{NN\}\}^\{q\}\(i,j\)=\\frac\{1\}\{nk\}\\sum\_\{s=1\}^\{n\}\\big\|\\mathcal\{N\}\_\{k\}^\{i,q\}\(s\)\\cap\\mathcal\{N\}\_\{k\}^\{j,q\}\(s\)\\big\|\.\(93\)This quantity measures whether the local neighborhood structure induced by a feature view is preserved across two LLMs\. Since it is symmetric iniiandjj, Figure[8](https://arxiv.org/html/2610.38314#A6.F8)shows the upper\-triangular matrix and sets the diagonal entries to one by convention\.

##### Predictive transfer\.

Structural alignment alone does not fully determine whether a feature view is useful for hallucination detection\. We therefore also measure directional source\-to\-target detector transfer\. For a source modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}and a target modelℙ𝜽j\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{j\}\}, an MLP detector is trained on

\{\(𝐳iq​\(𝐐s,𝐀is\),yis\)\}s=1n\\\{\(\\mathbf\{z\}\_\{i\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{i\}^\{s\}\),y\_\{i\}^\{s\}\)\\\}\_\{s=1\}^\{n\}from𝒟i\\mathcal\{D\}\_\{i\}and evaluated directly on

\{\(𝐳jq​\(𝐐s,𝐀js\),yjs\)\}s=1n\\\{\(\\mathbf\{z\}\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),y\_\{j\}^\{s\}\)\\\}\_\{s=1\}^\{n\}from𝒟j\\mathcal\{D\}\_\{j\}\. The resulting AUROC is denoted byatrq​\(i,j\)a\_\{\\mathrm\{tr\}\}^\{q\}\(i,j\)\. Unlike mutualkkNN alignment, transfer AUROC is directional because the detector is trained on one model and evaluated on another\. Accordingly, Figure[9](https://arxiv.org/html/2610.38314#A6.F9)reports the full source\-to\-target matrices\.

##### Score\-distribution diagnostic\.

To examine why AUROC changes across feature views, we also visualize the detector score distributions on the target model\. The detector score is oriented so that larger values indicate stronger evidence for the hallucinated label\. For a trained detector from sourceiito targetjj, the predicted scores on factual and hallucinated target examples are plotted separately\. If the two distributions strongly overlap, the detector cannot distinguish the two labels after transfer\. If the distributions separate, the detector has learned a feature direction that remains discriminative on the target model\. Figure[10](https://arxiv.org/html/2610.38314#A6.F10)shows that raw hidden states yield highly overlapping score distributions, whereas relational views, especially the joint relational structure, produce clearer separation between factual and hallucinated examples\.

Figure 12:Alignment–utility decoupling\. Each point denotes one relational construction on a representative source\-to\-target pair\. Token\-level relations often achieve high mutualkkNN alignment, whereas joint relational structures yield stronger transfer AUROC\. The most stable relational structure is not necessarily the most useful for hallucination detection\.
##### Rank diagnostic for alignment–utility mismatch\.

Finally, we quantify whether the feature ordering induced by alignment agrees with the ordering induced by transfer AUROC\. For each source\-target pair\(i,j\)\(i,j\), we rank the five feature views bymNNq​\(i,j\)m\_\{\\mathrm\{NN\}\}^\{q\}\(i,j\)and byatrq​\(i,j\)a\_\{\\mathrm\{tr\}\}^\{q\}\(i,j\), and compute Spearman’sρ\\rhoand Kendall’sτ\\taubetween the two rankings\. When ties occur, we use standard average ranks\. Because there are only five feature views, these rank\-correlation values are discrete; nevertheless, they provide a compact diagnostic of whether alignment and downstream utility agree\. Figure[11](https://arxiv.org/html/2610.38314#A6.F11)ashows that the correlations are positive but moderate, indicating that alignment and detector transfer are related but not equivalent\.

##### Observations\.

Figures[12](https://arxiv.org/html/2610.38314#A6.F12),[8](https://arxiv.org/html/2610.38314#A6.F8),[9](https://arxiv.org/html/2610.38314#A6.F9),[10](https://arxiv.org/html/2610.38314#A6.F10), and[11](https://arxiv.org/html/2610.38314#A6.F11)asupport three observations\.

First, relational views are more stable across LLMs than raw hidden states\. In the full mutualkkNN matrices, raw\-state features produce low neighborhood overlap across model pairs, while token\-level, cross\-layer, within\-token, and joint relational views consistently increase local\-neighborhood agreement\. This suggests that relational features preserve cross\-model structure that is largely absent from raw hidden coordinates\.

Second, stronger alignment does not always imply stronger detector transfer\. Token\-level relations often achieve high mutualkkNN overlap, but the joint relational structure yields stronger transfer AUROC\. This mismatch is also visible in the rank\-correlation diagnostics: the feature rankings induced by alignment and transfer are positively related, but they are not identical\. One reason is that mutualkkNN alignment measures local structural consistency over unlabeled examples, whereas AUROC depends on whether the transferred feature geometry separates factual and hallucinated examples on the target model\.

Third, among the fixed hand\-designed views considered here, the joint relational structure is the most consistently useful diagnostic for transfer\. It combines layer, token, and feature\-block relations, and therefore captures a richer class of cross\-model patterns than any single relation axis\. The score\-distribution plots are consistent with this interpretation: joint relational features produce clearer separation between factual and hallucinated target examples across representative transfer pairs\. Thus, the fixed handcrafted analysis motivates the learnable relation\-aware model in Section[4](https://arxiv.org/html/2610.38314#S4): useful transfer signals are relational, but the most aligned handcrafted view is not necessarily the most discriminative one\. These diagnostics motivate moving from fixed handcrafted relation graphs to learnable, input\-dependent relation aggregation\.

### F\.2Handcrafted Relation Priors Help but Saturate

Figure 13:Hand\-designed relation edges improve transfer, but their gains saturate\. Simple relation edges are compared with refined handcrafted variants for token, layer, and intra\-block relations\. Across representative model pairs, refined edges improve both local neighborhood alignment and source\-to\-target AUROC\. The improvements are smaller than the gain from moving from raw hidden states to relational views and are not uniform across relation types\. Fixed graphs are useful diagnostics, but their instance\-independent structural bias motivates learned relation aggregation\. Here P1 to P5 denote Llama\-3B→\\rightarrowLlama\-8B, Qwen\-14B→\\rightarrowQwen\-8B, Llama\-8B→\\rightarrowQwen\-8B, Llama\-70B→\\rightarrowQwen\-35B\-A3B, and Llama\-3B→\\rightarrowMinistral\-8B\.Section[3](https://arxiv.org/html/2610.38314#S3)uses deliberately simple hand\-designed relations to test whether relational structure provides transferable hallucination signals\. These simple relations already improve both cross\-model alignment and detector transfer, but they leave open a natural question: can stronger handcrafted edge priors remove the need for learned relation aggregation? This section studies that question by comparing the simple relations in Section[3](https://arxiv.org/html/2610.38314#S3)with more refined fixed variants\. The node sets, relation\-weighted readout, detector architecture, and evaluation protocol are kept the same as in Section[F\.1](https://arxiv.org/html/2610.38314#A6.SS1); only the edge relation values are changed\. Thus, any difference in Figure[13](https://arxiv.org/html/2610.38314#A6.F13)reflects the effect of the handcrafted edge prior itself\.

##### Simple relations used as the reference\.

We consider three relation families from Section[3](https://arxiv.org/html/2610.38314#S3): token\-level relations, cross\-layer token relations, and within\-token feature relations\. For each family, the reference edge is the simple relation used in the main observational analysis\.

For token\-level relations, the simple edge between two selected tokensttandt~\\tilde\{t\}at a selected diagnostic layerℓ\\ellis the token\-distance relation

Ritok​\(t,t~,𝐐,𝐀i\)=stok​\(t,t~\)​‖𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)−𝐡¯𝜽i,t~ℓ​\(𝐐,𝐀i\)‖2\.R\_\{i\}^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\big\\\|\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\big\\\|\_\{2\}\.\(94\)This relation captures the magnitude of hidden\-state separation between two token positions, modulated by their positional distance\.

For cross\-layer token relations, the simple edge between two selected layersℓ\\ellandℓ~\\tilde\{\\ell\}is the depth\-decayed cosine distance between their selected\-token summaries:

Rilyr​\(ℓ,ℓ~,𝐐,𝐀i\)=slyr​\(ℓ,ℓ~\)​\(1−cos⁡\(vec⁡\(𝐇¯𝜽iℓ,sel\),vec⁡\(𝐇¯𝜽iℓ~,sel\)\)\),R\_\{i\}^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\big\(1\-\\cos\\big\(\\mathrm\{vec\}\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\),\\mathrm\{vec\}\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\tilde\{\\ell\},\\mathrm\{sel\}\}\)\\big\)\\big\),\(95\)where𝐇¯𝜽iℓ,sel\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}is defined in Eq\. \([87](https://arxiv.org/html/2610.38314#A6.E87)\)\. This relation compares the layer summaries themselves, but it does not explicitly encode how the hidden states evolve from one layer to the next\.

For within\-token feature relations, the simple edge between two feature blocksbbandb~\\tilde\{b\}is the dense Euclidean distance

Rifeat​\(b,b~,𝐐,𝐀i\)=‖vec⁡\(𝐕¯𝜽i,b​\(𝐐,𝐀i\)\)−vec⁡\(𝐕¯𝜽i,b~​\(𝐐,𝐀i\)\)‖2,R\_\{i\}^\{\\mathrm\{feat\}\}\(b,\\tilde\{b\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\big\\\|\\mathrm\{vec\}\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\-\\mathrm\{vec\}\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{b\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\\big\\\|\_\{2\},\(96\)where𝐕¯𝜽i,b\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}is defined in Eq\. \([90](https://arxiv.org/html/2610.38314#A6.E90)\)\. This relation uses all coordinates in each block equally\.

##### Refined token relation: state\-jump edges\.

The simple token relation in Eq\. \([94](https://arxiv.org/html/2610.38314#A6.E94)\) compares token hidden states directly\. A more structured token relation can also incorporate how the hidden state changes as generation moves from one token to the next\. For a token positiontt, lett−t^\{\-\}denote its immediate predecessor in the token sequence\. We define the token\-state jump at layerℓ\\ellby

Δi,tℓ​\(𝐐,𝐀i\)=𝐡¯𝜽i,tℓ​\(𝐐,𝐀i\)−𝐡¯𝜽i,t−ℓ​\(𝐐,𝐀i\)\.\\Delta\_\{i,t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t^\{\-\}\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.\(97\)If the predecessor is not available within the selected sequence, we use the nearest available previous token; this affects only boundary positions\. The jump\-refined token relation is then

Ritok​\-​jump​\(t,t~,𝐐,𝐀i\)=stok​\(t,t~\)​\(‖𝐡¯𝜽i,tℓ−𝐡¯𝜽i,t~ℓ‖2\+λjump​‖Δi,tℓ−Δi,t~ℓ‖2\),R\_\{i\}^\{\\mathrm\{tok\}\\text\{\-\}\\mathrm\{jump\}\}\(t,\\tilde\{t\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=s^\{\\mathrm\{tok\}\}\(t,\\tilde\{t\}\)\\left\(\\big\\\|\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},t\}^\{\\ell\}\-\\bar\{\\mathbf\{h\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},\\tilde\{t\}\}^\{\\ell\}\\big\\\|\_\{2\}\+\\lambda\_\{\\mathrm\{jump\}\}\\big\\\|\\Delta\_\{i,t\}^\{\\ell\}\-\\Delta\_\{i,\\tilde\{t\}\}^\{\\ell\}\\big\\\|\_\{2\}\\right\),\(98\)whereλjump≥0\\lambda\_\{\\mathrm\{jump\}\}\\geq 0controls the contribution of the state\-jump term\. The first term is the original token\-state distance, while the second term compares local token\-to\-token transition patterns\. Thus, this refined edge tests whether transfer improves when the token relation captures not only where token states are located, but also how they change along the generated sequence\.

##### Refined cross\-layer relation: directional layer\-evolution edges\.

The simple cross\-layer relation in Eq\. \([95](https://arxiv.org/html/2610.38314#A6.E95)\) compares the layer summaries themselves\. However, two layers can have similar summaries while participating in different layer\-to\-layer transformations\. To test whether layer\-evolution directions provide additional transferable signal, we define a directional layer update\.

For each selected layerℓ∈𝐋sel\\ell\\in\\mathbf\{L\}^\{\\mathrm\{sel\}\}, letℓ\+\\ell^\{\+\}be the next selected layer larger thanℓ\\ellwhen it exists, and letℓ−\\ell^\{\-\}be the previous selected layer otherwise\. We define

Δiℓ​\(𝐐,𝐀i\)=\{vec⁡\(𝐇¯𝜽iℓ\+,sel​\(𝐐,𝐀i\)−𝐇¯𝜽iℓ,sel​\(𝐐,𝐀i\)\),if​ℓ\+​exists,vec⁡\(𝐇¯𝜽iℓ,sel​\(𝐐,𝐀i\)−𝐇¯𝜽iℓ−,sel​\(𝐐,𝐀i\)\),otherwise\.\\Delta\_\{i\}^\{\\ell\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\begin\{cases\}\\mathrm\{vec\}\\left\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell^\{\+\},\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\-\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\right\),&\\text\{if \}\\ell^\{\+\}\\text\{ exists\},\\\\\[2\.84526pt\] \\mathrm\{vec\}\\left\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\-\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell^\{\-\},\\mathrm\{sel\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\right\),&\\text\{otherwise\}\.\\end\{cases\}\(99\)This vector summarizes the local direction of representation change around layerℓ\\ell\. The directional cross\-layer relation is

Rilyr​\-​dir​\(ℓ,ℓ~,𝐐,𝐀i\)=slyr​\(ℓ,ℓ~\)​\[\(1−cos⁡\(vec⁡\(𝐇¯𝜽iℓ,sel\),vec⁡\(𝐇¯𝜽iℓ~,sel\)\)\)\+λdir​\(1−cos⁡\(Δiℓ,Δiℓ~\)\)\],R\_\{i\}^\{\\mathrm\{lyr\}\\text\{\-\}\\mathrm\{dir\}\}\(\\ell,\\tilde\{\\ell\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=s^\{\\mathrm\{lyr\}\}\(\\ell,\\tilde\{\\ell\}\)\\left\[\\big\(1\-\\cos\\big\(\\mathrm\{vec\}\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\ell,\\mathrm\{sel\}\}\),\\mathrm\{vec\}\(\\bar\{\\mathbf\{H\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}^\{\\tilde\{\\ell\},\\mathrm\{sel\}\}\)\\big\)\\big\)\+\\lambda\_\{\\mathrm\{dir\}\}\\big\(1\-\\cos\\big\(\\Delta\_\{i\}^\{\\ell\},\\Delta\_\{i\}^\{\\tilde\{\\ell\}\}\\big\)\\big\)\\right\],\(100\)whereλdir≥0\\lambda\_\{\\mathrm\{dir\}\}\\geq 0controls the contribution of the directional term\. This edge keeps the original layer\-summary comparison but additionally measures whether two layers induce similar local transformation directions\. It therefore tests whether cross\-model transfer benefits from handcrafted information about layerwise evolution, beyond static layer\-summary distance\.

##### Refined within\-token feature relation: sparse\-activation edges\.

The simple within\-token feature relation in Eq\. \([96](https://arxiv.org/html/2610.38314#A6.E96)\) treats all coordinates in each feature block as dense signals\. However, feature blocks can contain many weakly active or noisy coordinates\. To test whether emphasizing high\-activation coordinates improves transfer, we define a sparse\-activation variant\.

Let

𝐯i,b​\(𝐐,𝐀i\)=vec⁡\(𝐕¯𝜽i,b​\(𝐐,𝐀i\)\)\\mathbf\{v\}\_\{i,b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\mathrm\{vec\}\\left\(\\bar\{\\mathbf\{V\}\}\_\{\\boldsymbol\{\\theta\}\_\{i\},b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\right\)be the dense vector for blockbb\. Let𝐦i,b∈\{0,1\}dim\(𝐯i,b\)\\mathbf\{m\}\_\{i,b\}\\in\\\{0,1\\\}^\{\\dim\(\\mathbf\{v\}\_\{i,b\}\)\}be a binary activation mask that keeps the largest coordinates of\|𝐯i,b\|\|\\mathbf\{v\}\_\{i,b\}\|and sets the remaining coordinates to zero\. The sparsified block vector is

sp⁡\(𝐯i,b\)=𝐦i,b⊙𝐯i,b,\\mathrm\{sp\}\(\\mathbf\{v\}\_\{i,b\}\)=\\mathbf\{m\}\_\{i,b\}\\odot\\mathbf\{v\}\_\{i,b\},\(101\)where⊙\\odotdenotes element\-wise multiplication\. The sparse\-activation relation between two feature blocks is

Rifeat​\-​sp​\(b,b~,𝐐,𝐀i\)=‖sp⁡\(𝐯i,b​\(𝐐,𝐀i\)\)−sp⁡\(𝐯i,b~​\(𝐐,𝐀i\)\)‖2\.R\_\{i\}^\{\\mathrm\{feat\}\\text\{\-\}\\mathrm\{sp\}\}\(b,\\tilde\{b\};\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\big\\\|\\mathrm\{sp\}\(\\mathbf\{v\}\_\{i,b\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\-\\mathrm\{sp\}\(\\mathbf\{v\}\_\{i,\\tilde\{b\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\\big\\\|\_\{2\}\.\(102\)This relation compares feature blocks after suppressing weak activations, and therefore tests whether transfer improves when the handcrafted relation emphasizes more active coordinates\.

##### Evaluation protocol\.

For each refined relation, we keep the same node set and readout as its simple counterpart\. Specifically, token\-distance and token\-jump relations are both evaluated on the token\-node graph; dense and sparse\-activation feature relations are both evaluated on the feature\-block graph; layer\-summary and directional layer\-evolution relations are both evaluated on the layer\-node graph\. After computing the corresponding graph\-level features with Eq\. \([85](https://arxiv.org/html/2610.38314#A6.E85)\), we evaluate the two criteria from Section[F\.1](https://arxiv.org/html/2610.38314#A6.SS1): mutualkkNN alignment and directional cross\-model AUROC\.

Figure[13](https://arxiv.org/html/2610.38314#A6.F13)reports results on five representative source\-to\-target transfer pairs, denoted P1–P5\. These pairs cover same\-family transfer, cross\-family transfer, scale\-matched transfer, and scale\-mismatched transfer\. For each relation family, the lighter bar denotes the simple reference relation and the darker bar denotes the refined handcrafted relation\.

##### Observations\.

Figure[13](https://arxiv.org/html/2610.38314#A6.F13)shows that refined handcrafted priors generally improve both local\-neighborhood alignment and transfer AUROC\. Token\-state jump edges improve over token\-distance edges, suggesting that local state\-transition patterns contain additional transferable information beyond static token\-state separation\. Directional layer\-evolution edges improve over static layer\-summary edges, indicating that layer\-to\-layer transformation directions provide useful complementary information\. Sparse\-activation feature edges improve over dense feature\-block distances in several settings, suggesting that suppressing weak activations can reduce noise in feature\-block relations\.

However, the gains from these refined handcrafted priors are modest compared with the larger improvement obtained by moving from raw hidden states to relational views in the first place\. The improvements are also not uniform across relation families and transfer pairs\. For example, the refined token relation and refined layer relation do not yield the same magnitude of gain, and the feature\-block refinement behaves differently from the token and layer refinements\. This indicates that better handcrafted priors can help, but choosing a single fixed relation formula is unlikely to fully capture the relation structure needed for robust cross\-model hallucination detection\.

##### Implication\.

These results suggest that fixed relation priors are useful diagnostics but have limited headroom\. More sophisticated handcrafted edges can encode additional intuitions, such as token\-state transitions, layerwise evolution directions, or sparse activation patterns, but their benefits saturate and remain relation\-type dependent\. This motivates the learnable relation\-aware aggregation in Section[4](https://arxiv.org/html/2610.38314#S4)\. Rather than manually selecting one refined edge formula for all examples and all model pairs,Chordlearns how to combine positional and content\-based relation signals in an input\-dependent way\.

### F\.3Relation\-Channel Importance Is Input\-Dependent

![Refer to caption](https://arxiv.org/html/2610.38314v1/app_channel_attention_diagnostics_clean.png)Figure 14:Channel attention diagnostics\. A lightweight channel probe is trained on source\-model relational features and evaluated on target\-model examples, with all relational features frozen\. The four channel weights sum to one for each example\. Panels \(A\) and \(B\) show label\-conditioned mean profiles and per\-example channel\-weight variation\. Panel \(C\) shows pair\-specific deviations after subtracting each pair’s mean channel weight, so colors emphasize relative channel preference within each transfer pair\. Panels \(D\) and \(E\) report normalized entropy and maximum channel weight on separate axes\. Panel \(F\) shows the dominant channel frequency\. Together, these diagnostics indicate that the useful relation mixture is not well described by a single fixed channel weighting\.Sections[F\.1](https://arxiv.org/html/2610.38314#A6.SS1)and[F\.2](https://arxiv.org/html/2610.38314#A6.SS2)show that different relational views capture different transferable structures\. However, these results do not imply that a single relation view should be used for every example\. A hallucinated answer may differ from a factual answer through token\-level inconsistency, abnormal layer evolution, feature\-block changes, or a combination of these effects\. Therefore, we further ask whether the importance of different relation channels is fixed, or whether it changes across examples, labels, and source\-target model pairs\.

##### Diagnostic channel\-gated probe\.

We use the four fixed relational features from Section[F\.1](https://arxiv.org/html/2610.38314#A6.SS1):

𝐳itok​\(𝐐,𝐀i\),𝐳ilyr​\(𝐐,𝐀i\),𝐳ifeat​\(𝐐,𝐀i\),𝐳ijoint​\(𝐐,𝐀i\)\.\\mathbf\{z\}\_\{i\}^\{\\mathrm\{tok\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\),\\quad\\mathbf\{z\}\_\{i\}^\{\\mathrm\{lyr\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\),\\quad\\mathbf\{z\}\_\{i\}^\{\\mathrm\{feat\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\),\\quad\\mathbf\{z\}\_\{i\}^\{\\mathrm\{joint\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.These four views are treated as four relation channels\. Let

𝒞=\{tok,lyr,feat,joint\}\\mathcal\{C\}=\\\{\\mathrm\{tok\},\\mathrm\{lyr\},\\mathrm\{feat\},\\mathrm\{joint\}\\\}denote the set of channels\. Since the four relational features can have different dimensions, we first map each channel into the same diagnostic dimension:

𝐫iq​\(𝐐,𝐀i\)=gq​\(𝐳iq​\(𝐐,𝐀i\)\)∈ℝdc,q∈𝒞,\\mathbf\{r\}\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=g\_\{q\}\\\!\\left\(\\mathbf\{z\}\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\right\)\\in\\mathbb\{R\}^\{d\_\{\\mathrm\{c\}\}\},\\qquad q\\in\\mathcal\{C\},\(103\)wheregq​\(⋅\)g\_\{q\}\(\\cdot\)is a small learnable projection for channelqq\. The projected channel vectors are then assigned input\-dependent channel weights\. For each channelqq, we compute a channel score

aiq​\(𝐐,𝐀i\)=𝐰c⊤​tanh⁡\(𝐖c​𝐫iq​\(𝐐,𝐀i\)\+𝐛c\),a\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\mathbf\{w\}\_\{\\mathrm\{c\}\}^\{\\top\}\\tanh\\left\(\\mathbf\{W\}\_\{\\mathrm\{c\}\}\\mathbf\{r\}\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\+\\mathbf\{b\}\_\{\\mathrm\{c\}\}\\right\),\(104\)and normalize the scores over the four channels:

αiq​\(𝐐,𝐀i\)=exp⁡\(aiq​\(𝐐,𝐀i\)\)∑q′∈𝒞exp⁡\(aiq′​\(𝐐,𝐀i\)\),q∈𝒞\.\\alpha\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\frac\{\\exp\(a\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\}\{\\sum\_\{q^\{\\prime\}\\in\\mathcal\{C\}\}\\exp\(a\_\{i\}^\{q^\{\\prime\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\)\},\\qquad q\\in\\mathcal\{C\}\.\(105\)The fused diagnostic representation is

𝐳imix​\(𝐐,𝐀i\)=∑q∈𝒞αiq​\(𝐐,𝐀i\)​𝐫iq​\(𝐐,𝐀i\)\.\\mathbf\{z\}\_\{i\}^\{\\mathrm\{mix\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)=\\sum\_\{q\\in\\mathcal\{C\}\}\\alpha\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\\mathbf\{r\}\_\{i\}^\{q\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)\.\(106\)A binary MLP detector is then trained on𝐳imix​\(𝐐,𝐀i\)\\mathbf\{z\}\_\{i\}^\{\\mathrm\{mix\}\}\(\\mathbf\{Q\},\\mathbf\{A\}\_\{i\}\)using the same source\-to\-target transfer protocol as in Section[F\.1](https://arxiv.org/html/2610.38314#A6.SS1)\. For a source modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}and a target modelℙ𝜽j\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{j\}\}, the detector and channel\-gating module are trained on𝒟i\\mathcal\{D\}\_\{i\}and evaluated on𝒟j\\mathcal\{D\}\_\{j\}\. After training, we record the channel weightsαjq​\(𝐐s,𝐀js\)\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)on target examples\.

This channel\-gated probe is used only for analysis\. The weightsαiq\\alpha\_\{i\}^\{q\}should not be interpreted as causal explanations\. They are diagnostic quantities that describe how the probe allocates mass across the fixed relational channels when forming its prediction\.

##### Label\-conditioned channel profiles\.

We first examine whether factual and hallucinated examples use the same channel mixture\. Recall thatyjs=1y\_\{j\}^\{s\}=1indicates that the generated answer is truthful, andyjs=0y\_\{j\}^\{s\}=0indicates hallucination\. For each labely∈\{0,1\}y\\in\\\{0,1\\\}and channelq∈𝒞q\\in\\mathcal\{C\}, we compute the label\-conditioned mean channel weight on the target model:

α¯j,yq=1\|𝒮j,y\|​∑s∈𝒮j,yαjq​\(𝐐s,𝐀js\),𝒮j,y=\{s:yjs=y\}\.\\bar\{\\alpha\}\_\{j,y\}^\{q\}=\\frac\{1\}\{\|\\mathcal\{S\}\_\{j,y\}\|\}\\sum\_\{s\\in\\mathcal\{S\}\_\{j,y\}\}\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),\\qquad\\mathcal\{S\}\_\{j,y\}=\\\{s:y\_\{j\}^\{s\}=y\\\}\.\(107\)If relation\-channel importance were fixed, the profiles\{α¯j,0q\}q∈𝒞\\\{\\bar\{\\alpha\}\_\{j,0\}^\{q\}\\\}\_\{q\\in\\mathcal\{C\}\}and\{α¯j,1q\}q∈𝒞\\\{\\bar\{\\alpha\}\_\{j,1\}^\{q\}\\\}\_\{q\\in\\mathcal\{C\}\}would be nearly identical\. Differences between the two profiles indicate that the detector uses relational information differently for hallucinated and factual examples\.

##### Per\-example variation\.

Average profiles alone may hide substantial example\-level variation\. For each target example, we therefore analyze the full channel\-weight vector

𝜶js=\[αjtok​\(𝐐s,𝐀js\),αjlyr​\(𝐐s,𝐀js\),αjfeat​\(𝐐s,𝐀js\),αjjoint​\(𝐐s,𝐀js\)\]\.\\boldsymbol\{\\alpha\}\_\{j\}^\{s\}=\\left\[\\alpha\_\{j\}^\{\\mathrm\{tok\}\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),\\alpha\_\{j\}^\{\\mathrm\{lyr\}\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),\\alpha\_\{j\}^\{\\mathrm\{feat\}\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),\\alpha\_\{j\}^\{\\mathrm\{joint\}\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)\\right\]\.We report the distribution of these weights across examples\. If the probe used a fixed relation view, then almost all examples would place their largest weight on the same channel and the per\-example weight distribution would be nearly constant\. In contrast, broad distributions indicate that the relevant relational signal varies across inputs\.

##### Pair\-specific channel deviations\.

The same relation channel may also have different utility for different source\-target model pairs\. For each transfer pair\(i,j\)\(i,j\), we compute the average target\-side channel profile

α¯i→jq=1n​∑s=1nαjq​\(𝐐s,𝐀js\),q∈𝒞\.\\bar\{\\alpha\}\_\{i\\rightarrow j\}^\{q\}=\\frac\{1\}\{n\}\\sum\_\{s=1\}^\{n\}\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),\\qquad q\\in\\mathcal\{C\}\.\(108\)We then center each profile by the uniform channel weight:

δi→jq=α¯i→jq−1\|𝒞\|​∑q′∈𝒞α¯i→jq′=α¯i→jq−1\|𝒞\|,\\delta\_\{i\\rightarrow j\}^\{q\}=\\bar\{\\alpha\}\_\{i\\rightarrow j\}^\{q\}\-\\frac\{1\}\{\|\\mathcal\{C\}\|\}\\sum\_\{q^\{\\prime\}\\in\\mathcal\{C\}\}\\bar\{\\alpha\}\_\{i\\rightarrow j\}^\{q^\{\\prime\}\}=\\bar\{\\alpha\}\_\{i\\rightarrow j\}^\{q\}\-\\frac\{1\}\{\|\\mathcal\{C\}\|\},\(109\)where the second equality holds because the channel weights of a transfer pair sum to one\. A positiveδi→jq\\delta\_\{i\\rightarrow j\}^\{q\}means that the pair allocates above\-uniform weight to channelqq, and differences between rows show how channel preferences vary across transfer pairs\. This diagnostic is useful because different LLM families may differ in their layer dynamics, token\-level geometry, or feature\-block organization\.

##### Entropy, maximum weight, and dominant channel\.

We further summarize the sharpness of the channel distribution\. For each example, the normalized channel entropy is

Hjs=−1log⁡\|𝒞\|∑q∈𝒞αjq\(𝐐s,𝐀js\)log\(αjq\(𝐐s,𝐀js\)\+ϵ\),H\_\{j\}^\{s\}=\-\\frac\{1\}\{\\log\|\\mathcal\{C\}\|\}\\sum\_\{q\\in\\mathcal\{C\}\}\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)\\log\\left\(\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)\+\\epsilon\\right\),\(110\)whereϵ\>0\\epsilon\>0is a small numerical\-stability constant\. A value close to zero would indicate that almost all weight is assigned to a single channel, while a value close to one would indicate a nearly uniform mixture\. We also compute the maximum channel weight

Mjs=maxq∈𝒞⁡αjq​\(𝐐s,𝐀js\),M\_\{j\}^\{s\}=\\max\_\{q\\in\\mathcal\{C\}\}\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\),\(111\)and the dominant channel

qjs=arg⁡maxq∈𝒞​αjq​\(𝐐s,𝐀js\)\.q\_\{j\}^\{s\}=\\arg\\max\_\{q\\in\\mathcal\{C\}\}\\alpha\_\{j\}^\{q\}\(\\mathbf\{Q\}^\{s\},\\mathbf\{A\}\_\{j\}^\{s\}\)\.\(112\)The empirical frequency ofqjsq\_\{j\}^\{s\}over examples indicates whether one relation channel dominates the diagnostic probe or whether different channels are selected for different inputs\.

##### Observations\.

Figure[14](https://arxiv.org/html/2610.38314#A6.F14)supports four observations\.

First, channel importance differs between factual and hallucinated examples\. The label\-conditioned profiles are not identical: hallucinated and factual examples allocate different average weights to the token, layer, feature, and joint channels\. This suggests that hallucination\-related signals are not confined to a single relational axis\. Instead, the detector uses different mixtures of relation channels depending on the label\-conditioned structure of the example\.

Second, the channel weights vary substantially across individual examples\. The per\-example distributions show that the probe does not assign a constant weight vector to all inputs\. Some examples emphasize token\-level relations, while others place more mass on feature\-block, layer, or joint relations\. This variation is consistent with the view that hallucinations can manifest through different internal patterns depending on the question, generated answer, and target model\.

Third, channel usage is source\-target dependent\. The pair\-specific deviations show that different transfer pairs shift weight toward different channels\. This is expected because LLMs with different architectures, scales, or training procedures need not share the same token geometry, layer evolution, or feature\-block organization\. Thus, a fixed channel mixture that works well for one source\-target pair may be suboptimal for another\.

Fourth, the probe does not collapse to a single relation channel\. The normalized entropy remains away from zero, the maximum channel weight is not consistently close to one, and the dominant\-channel frequency is distributed across multiple channels\. This indicates that the diagnostic probe combines relation channels rather than using only one of them\. At the same time, the entropy is not exactly one, so the mixture is not purely uniform\. The probe therefore learns nontrivial, input\-dependent channel preferences\.

##### Implication\.

These diagnostics support the need for input\-dependent relation aggregation\. The earlier sections show that relational views are more transferable than raw hidden states, and that refined handcrafted priors can help but saturate\. The channel\-weight analysis adds a complementary point: even among useful relation views, the relevant channel is not fixed across labels, examples, or source\-target pairs\. Therefore, a detector that commits to one handcrafted relation view, or to one fixed mixture of relation channels, is unlikely to be optimal across heterogeneous LLMs\. This motivates the relation\-aware attention mechanism in Section[4](https://arxiv.org/html/2610.38314#S4), where positional and content\-based relation signals are combined adaptively for each input rather than selected by a fixed manual rule\.

### F\.4Additional Robustness and Transfer Diagnostics

We provide two additional diagnostics to examine whether the transfer advantage of relational views depends on a particular source\-target scale direction or on detector training randomness\. Both diagnostics use the same five feature views as Section[F\.1](https://arxiv.org/html/2610.38314#A6.SS1): raw hidden states, token\-level relations, cross\-layer token relations, within\-token feature relations, and joint relational structures\. For a source modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}and a target modelℙ𝜽j\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{j\}\}, we denote the cross\-model transfer AUROC of feature viewqqbyatrq​\(i,j\)a\_\{\\mathrm\{tr\}\}^\{q\}\(i,j\)\.

##### Scale direction\.

Since cross\-model transfer is directional, training on a larger source model and testing on a smaller target model may not behave the same as the reverse direction\. Letsize⁡\(i\)\\mathrm\{size\}\(i\)denote the parameter scale ofℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}\. We compare two sets of directed transfer pairs:

𝒫large→small=\{\(i,j\):size⁡\(i\)\>size⁡\(j\)\},𝒫small→large=\{\(i,j\):size⁡\(i\)<size⁡\(j\)\}\.\\mathcal\{P\}\_\{\\mathrm\{large\}\\rightarrow\\mathrm\{small\}\}=\\\{\(i,j\):\\mathrm\{size\}\(i\)\>\\mathrm\{size\}\(j\)\\\},\\qquad\\mathcal\{P\}\_\{\\mathrm\{small\}\\rightarrow\\mathrm\{large\}\}=\\\{\(i,j\):\\mathrm\{size\}\(i\)<\\mathrm\{size\}\(j\)\\\}\.For each feature viewqq, we compute the average AUROC in both directions and report their difference:

Δscaleq=1\|𝒫large→small\|​∑\(i,j\)∈𝒫large→smallatrq​\(i,j\)−1\|𝒫small→large\|​∑\(i,j\)∈𝒫small→largeatrq​\(i,j\)\.\\Delta\_\{\\mathrm\{scale\}\}^\{q\}=\\frac\{1\}\{\|\\mathcal\{P\}\_\{\\mathrm\{large\}\\rightarrow\\mathrm\{small\}\}\|\}\\sum\_\{\(i,j\)\\in\\mathcal\{P\}\_\{\\mathrm\{large\}\\rightarrow\\mathrm\{small\}\}\}a\_\{\\mathrm\{tr\}\}^\{q\}\(i,j\)\-\\frac\{1\}\{\|\\mathcal\{P\}\_\{\\mathrm\{small\}\\rightarrow\\mathrm\{large\}\}\|\}\\sum\_\{\(i,j\)\\in\\mathcal\{P\}\_\{\\mathrm\{small\}\\rightarrow\\mathrm\{large\}\}\}a\_\{\\mathrm\{tr\}\}^\{q\}\(i,j\)\.Figure[11](https://arxiv.org/html/2610.38314#A6.F11)bshows that large\-source to small\-target transfer is slightly stronger than small\-source to large\-target transfer for most feature views\. This is consistent with the intuition that larger source models may expose richer internal structures for training the detector\. However, the gap is modest compared with the difference between raw hidden states and relational views\. Thus, the main observation is not driven by a single favorable scale direction: relational features improve transfer in both directions, while scale direction only mildly modulates the absolute AUROC\.

##### Seed stability\.

We also examine whether the transfer results are sensitive to the random seed used for training the downstream MLP detector\. For each directed pair\(i,j\)\(i,j\)and feature viewqq, we train the detector with multiple random seeds and denote the resulting AUROC byatrq,r​\(i,j\)a\_\{\\mathrm\{tr\}\}^\{q,r\}\(i,j\), whererrindexes the seed\. The seed standard deviation is

σseedq​\(i,j\)=\(1R−1​∑r=1R\(atrq,r​\(i,j\)−1R​∑r′=1Ratrq,r′​\(i,j\)\)2\)1/2\.\\sigma\_\{\\mathrm\{seed\}\}^\{q\}\(i,j\)=\\left\(\\frac\{1\}\{R\-1\}\\sum\_\{r=1\}^\{R\}\\left\(a\_\{\\mathrm\{tr\}\}^\{q,r\}\(i,j\)\-\\frac\{1\}\{R\}\\sum\_\{r^\{\\prime\}=1\}^\{R\}a\_\{\\mathrm\{tr\}\}^\{q,r^\{\\prime\}\}\(i,j\)\\right\)^\{2\}\\right\)^\{1/2\}\.We then averageσseedq​\(i,j\)\\sigma\_\{\\mathrm\{seed\}\}^\{q\}\(i,j\)over all evaluated directed transfer pairs\. Figure[11](https://arxiv.org/html/2610.38314#A6.F11)cshows that raw hidden states have noticeably higher seed variance, whereas relational views yield more stable detector performance\. This suggests that raw\-state transfer often depends on unstable decision boundaries, while relational features provide a more consistent basis for cross\-model training\.

##### Implication\.

Together, these diagnostics support the robustness of the observational findings\. The advantage of relational views is not explained by choosing an easy source\-target scale direction, and it is not a consequence of lucky detector initialization\. Large\-to\-small transfer is mildly easier than small\-to\-large transfer, but the effect is secondary\. Relational views are both more transferable and more stable than raw hidden states, which further motivates using relational structure as the basis for cross\-model hallucination detection\.

## Appendix GAdditional Experimental Analysis

##### Expanded analysis of the main cross\-model results\.

Table[1](https://arxiv.org/html/2610.38314#S3.T1)evaluates hallucination detectors under the leave\-one\-family\-out cross\-model setting, where training\-based methods are trained on source model families and evaluated on a held\-out target family\. This setting directly tests whether a detector can transfer beyond the representation space and generation behavior of the models used for training\. Overall,Chordachieves the best AUROC across all target models and all seven benchmarks\. These results show that the proposed relational graph discrimination framework remains effective across factual question answering, conversational question answering, mathematical reasoning, coding, and agent\-oriented tasks\.

The comparison with training\-free methods reveals a clear pattern\. Methods such as Perplexity, Semantic Entropy, EigenScore, Lexical Similarity, Verbalize, and InterrogateLLM do not train source\-model\-specific classifiers, and therefore largely avoid training\-induced cross\-model generalization issues\. Among them, InterrogateLLM and Semantic Entropy are usually the strongest baselines, suggesting that consistency and uncertainty signals are useful model\-agnostic indicators\. Nevertheless, these methods rely on indirect output\-level evidence, such as likelihood, semantic variability, lexical overlap, or self\-evaluation\. As a result, their performance remains belowChordon all benchmarks in the averaged results\. This indicates that output\-level signals are useful but do not fully capture hallucination\-relevant structure in the model’s internal computation\.

The representative training\-based baselines show a different failure mode\. MM, SEP, SAPLMA, and LapEigvals use supervised or structured signals for hallucination detection, but their cross\-model performance is often close to random guessing\. This does not imply that these methods are ineffective in easier within\-model settings\. Rather, the results suggest that detectors learned from source models can rely on regularities that do not transfer to unseen target models\. For hidden\-state\-based probes, this is consistent with the cross\-model semantic inconsistency discussed in Section[1](https://arxiv.org/html/2610.38314#S1)\. For attention\-based spectral statistics such as LapEigvals, the results suggest that fixed structural descriptors alone are not sufficient to provide robust cross\-family discrimination\. The contrast between training\-free and training\-based baselines highlights the central challenge of CMHD\. Training\-free methods are easier to apply across models but have limited discriminative strength, whereas supervised detectors can be discriminative but often become brittle under cross\-model transfer\.Chordbridges this gap by learning from labeled source\-model data while representing hidden states through relational graph structures that reduce reliance on model\-specific raw features\.

##### Dataset\-level observations\.

The largest gains ofChordappear on xLAM and GSM8K\. On xLAM,Chordreaches an average AUROC of0\.85640\.8564, clearly exceeding the strongest baseline\. This suggests that relational hidden\-state structures are particularly informative for agent\-oriented hallucination detection\. In such settings, errors may involve tool selection, action arguments, or intermediate decision trajectories, which can induce structured deviations across tokens, layers, and feature groups\. On GSM8K,Chordalso achieves strong performance, with an average AUROC of0\.82980\.8298\. This is consistent with the intuition that reasoning errors are not always isolated local mistakes, but may appear as structured changes along the internal reasoning trajectory\.

The gains are also stable on standard QA and hallucination benchmarks\. On TruthfulQA, HaluEval, TriviaQA, and CoQA,Chordconsistently outperforms both training\-free and training\-based baselines\. This shows that the advantage of relational graph discrimination is not limited to specialized reasoning or agent tasks, but also applies to conventional factual and conversational question answering\. Among these datasets, TriviaQA and CoQA are relatively favorable to lexical or consistency\-based baselines, since answer correctness can sometimes be correlated with surface overlap or answer agreement\. Even in these settings,Chordmaintains a clear advantage, suggesting that internal relational structures provide complementary information beyond output\-level similarity\.

MBPP is the most challenging benchmark forChord\. AlthoughChordstill achieves the best average AUROC on MBPP, its margin over the strongest training\-free baseline is smaller than on other datasets\. This is expected for two reasons\. First, MBPP contains fewer than one thousand programming problems, so the available supervision remains limited even after collecting generations from multiple LLMs\. Second, code correctness is strongly execution\-dependent\. A generated program can be semantically wrong for reasons that are not fully reflected in natural\-language hidden\-state relations\. Therefore, the smaller margin on MBPP should be interpreted as a limitation of the current representation signal rather than a contradiction of the overall trend\.

##### Model\-family and scale observations\.

The results also show that larger target models often yield stronger detection performance, although the trend is not strictly monotonic\. Within the Llama family, Llama\-3\.3\-70B generally achieves higher AUROC than smaller Llama models underChord\. A similar pattern can be observed for larger Qwen and Ministral models in many settings\. This may be because stronger LLMs develop richer and more structured internal representations, which provide more informative relational signals for hallucination detection\. At the same time, local reversals still occur across datasets and model families\. This is reasonable because model version, architecture, instruction tuning, and generation behavior can also affect hidden\-state relations\. Thus, the results support a cautious conclusion\. Model scale is often helpful, but cross\-model hallucination detection remains influenced by family\-specific and version\-specific factors\.

##### Expanded analysis of ablation results\.

Table[4](https://arxiv.org/html/2610.38314#A7.T4)studies the two core components ofChord, namely relation\-aware attention and meta\-learning\. The main ablation table reports a compact view of the results\. QA Avg\. denotes the macro average over TruthfulQA, HaluEval, TriviaQA, and CoQA\. GSM8K, MBPP, and xLAM are kept separately to represent reasoning, code, and agent\-oriented settings, and All Avg\. denotes the macro average over all seven benchmarks\.

Table 4:Full ablation results under the cross\-family evaluation protocol\. Values are AUROC\. Best results areboldand second\-best results areunderlined\.This design avoids repeating all baseline rows in the main text while preserving the main task\-level differences\.

The variantChordw/o RelAttn removes relation\-aware attention while keeping the remaining framework\. In this setting, edge\-level relational information is no longer explicitly propagated into node representations\. The performance drop is usually larger than that of the meta\-learning ablation\. This indicates that the improvement ofChorddoes not come merely from hidden\-state restructuring, padding, or graph node construction\. Instead, explicitly propagating pairwise relational information is central to obtaining transferable graph\-level features\. In other words, the layer\-token\-feature graph is useful not only because it reorganizes hidden states, but also because its edges are used by the relation\-aware encoder\.

The variantChordw/o Meta keeps the relation\-aware architecture but replaces the meta\-learning objective with standard empirical risk minimization over source\-family examples\. This variant usually performs better thanChordw/o RelAttn, which suggests that the relational architecture itself already provides useful structure\. However, it still falls below fullChordand shows less stable performance across target families\. This supports the role of meta\-learning in the cross\-model setting\. By repeatedly simulating held\-out model transfer during training, the meta\-learning objective discourages the detector from relying only on source\-family\-specific shortcuts and encourages it to use relational features that are more transferable\.

Both ablated variants remain above ordinary training\-based baselines in most aggregated results\. This suggests that the unified relational formulation already addresses part of the cross\-model mismatch\. However, neither variant consistently dominates the strongest training\-free baseline\. This pattern is important because it shows that the two modules are complementary\. Relation\-aware attention provides the structural mechanism for absorbing edge\-level relations into node representations, while meta\-learning improves the stability of the learned detector under family\-held\-out transfer\. Only their combination yields the consistent advantage of fullChord\.

The relational design pays off most clearly on GSM8K and xLAM: both ablated variants still exceed the strongest training\-free baseline there \(0\.73440\.7344and0\.75720\.7572versus0\.72970\.7297on GSM8K;0\.75840\.7584and0\.77400\.7740versus0\.74210\.7421on xLAM\), and fullChordattains its largest margins on these two benchmarks\. This suggests that reasoning\-oriented and agent\-oriented hallucinations benefit more from modeling relational internal structures\. For GSM8K, errors often emerge through multi\-step reasoning, where token and layer relations may encode the progression of incorrect reasoning\. For xLAM, agent\-oriented errors may involve tool choice, action construction, and trajectory consistency, which can also produce structured internal deviations\. By contrast, MBPP is more fragile\. The full model remains strongest, but ablated variants often move closer to strong training\-free baselines\. This is consistent with the limited training size and execution\-dependent nature of code correctness discussed above\. Overall, the ablation study confirms that relation\-aware attention and meta\-learning are both important, and that the stable performance ofChordcomes from their combination rather than either component alone\.

## Appendix HExperimental Extension

### H\.1Scale\-Group Transfer

The main experiments evaluate cross\-model generalization under a leave\-one\-family\-out protocol\. Here we provide a complementary analysis that asks whether the detector also transfers across model scales\. We partition the target models into three coarse scale groups: the small\-scale group contains Llama3\.2\-3B, Llama3\.1\-8B, Qwen3\-8B, and Ministral3\-8B; the medium\-scale group contains Qwen3\-14B and Ministral3\-14B; and the large\-scale group contains Llama3\.3\-70B and Qwen3\.5\-35B\. The groups are intended to probe transfer across scale ranges rather than to form a perfectly controlled size\-only comparison, since available open\-source models are not family\-balanced at every parameter scale\.

Table 5:Cross\-size transfer results\. Models are grouped by parameter scale; training\-based methods are trained on source\-size\-group models and evaluated on target\-size\-group models\. Values are AUROC averaged over target models in the target group\. Best results areboldand second\-best results areunderlined\.For each ordered pair of distinct scale groups, training\-based methods are trained on all models in the source scale group and evaluated on every model in the target scale group\. For example, Small→\\rightarrowLarge trains on the small\-scale group and tests on the large\-scale target models, while Large→\\rightarrowSmall reverses this direction\. Training\-free methods do not use source models, so their values depend only on the target scale group; repeated values across different source groups with the same target group reflect this source\-independent nature\. Table[5](https://arxiv.org/html/2610.38314#A8.T5)reports the full per\-benchmark results for all directed scale\-group transfers\.

Overall,Chordremains the strongest method across scale\-group transfer directions\. The result indicates that the relational detector is not tied to a narrow parameter scale: even when the source and target groups differ substantially in size,Chordmaintains a clear advantage over both training\-free and ordinary training\-based baselines\. At the same time, the transfer directions are not identical\. Transfer between the two extreme groups is asymmetric: Large→\\rightarrowSmall reaches0\.78540\.7854, compared with0\.76640\.7664for Small→\\rightarrowLarge\. This direction effect is not consistent across the remaining pairs, however: Small→\\rightarrowMedium \(0\.77600\.7760\) slightly exceeds Medium→\\rightarrowSmall \(0\.76880\.7688\), and Medium→\\rightarrowLarge \(0\.78260\.7826\) slightly exceeds Large→\\rightarrowMedium \(0\.78030\.7803\)\. Larger source models may therefore expose richer relational structure in some cases, but scale direction alone does not determine transfer difficulty\.

The scale\-group results also show that source composition matters in addition to scale\. The small group contains more models and covers more model families, whereas the medium and large groups contain fewer models\. Thus, absolute AUROC reflects both scale direction and the diversity of the source group\. This is why the experiment should be interpreted as scale\-group transfer rather than a causal isolation of parameter count\. Despite this caveat, the main trend is stable:Chordremains robust across all directed scale\-group shifts, and its gains do not depend on training and testing within the same size regime\.

The behavior of the baselines provides additional context\. Training\-free methods, especially Semantic Entropy and InterrogateLLM, remain competitive because they are naturally source\-independent\. However, they do not benefit from source\-model training and therefore lag behindChordin most settings\. Ordinary training\-based baselines perform better here than in the leave\-one\-family\-out main experiment, which is expected because each source scale group can include multiple model families and therefore provides a less severe distribution shift than a fully held\-out family\. Nevertheless, their performance remains clearly belowChord, suggesting that simply training on a mixture of source\-scale models is insufficient for stable cross\-scale generalization\.

The task\-level results follow the same qualitative pattern as the main experiments\. xLAM and GSM8K show strong gains forChord, indicating that relational internal features are especially useful for agent\-oriented and reasoning\-heavy hallucination detection\. MBPP remains the most fragile benchmark, where the gap betweenChordand the strongest training\-free baselines is smaller\. This is consistent with the code setting being more dependent on execution semantics and fine\-grained program correctness\. Taken together, Table[5](https://arxiv.org/html/2610.38314#A8.T5)shows thatChord’s cross\-model robustness extends beyond family transfer to scale\-group transfer, while also revealing that transfer direction and source\-group diversity modulate the absolute difficulty of the setting\.

### H\.2Fine\-Grained Edge Ablation

We next analyze which relation channels contribute toChord’s performance\. The main ablation in Table[2](https://arxiv.org/html/2610.38314#S4.T2)removes larger components such as relation\-aware attention or meta\-learning\. Here we perform a finer\-grained edge ablation by removing one relation channel at a time while keeping the rest of the method unchanged\. Specifically, we compare fullChordwith three variants:Chordw/o Token,Chordw/o Layer, andChordw/o Intra\. The first removes the token\-level edge channel, the second removes the layer\-level edge channel, and the third removes the intra\-block feature edge channel\. All other components, including hidden representation restructuring, the remaining edge channels, relation\-aware encoding, pooling, and meta\-learning, are kept the same\. This design isolates whether each relation channel provides complementary information rather than testing whether the entire relational architecture is necessary\.

Table 6:Full edge\-ablation results under the cross\-family evaluation protocol\. Values are AUROC\. Best results areboldand second\-best results areunderlined\.Table[6](https://arxiv.org/html/2610.38314#A8.T6)reports the full per\-dataset and per\-model edge\-ablation results\. The table also includes training\-free and training\-based baselines, allowing the ablated variants to be compared both against the complete method and against the strongest non\-Chordalternatives\.

The first observation is that removing any single edge channel consistently weakensChord\. FullChordachieves the best performance across the table, while each edge\-ablated variant loses performance on average\. This supports the view that the three relation channels are complementary: none of them alone explains the entire gain, but each contributes useful information to the final detector\. At the same time, the single\-edge ablations remain much stronger than ordinary training\-based baselines\. This is expected because each ablated variant still retains most ofChord, including the other relation channels and the meta\-learning objective\. Therefore, the edge ablation should be interpreted as measuring marginal channel contribution, not as a complete removal of relational modeling\.

The second observation is that different edge channels matter for different benchmark types\. Removing token\-level edges tends to hurt settings where answer trajectory and token\-level consistency are important, especially xLAM and dialogue\-style or answer\-development benchmarks such as CoQA and HaluEval\. This pattern is natural because token\-level relations capture how hidden states vary across generated answer positions\. When this channel is removed, the detector has less access to the sequential structure of the response, which is particularly relevant for agent\-oriented hallucinations and multi\-step answer generation\.

Removing layer\-level edges has a different profile\. Its effect is more visible on reasoning and semantic\-consistency benchmarks such as GSM8K and TruthfulQA\. Layer\-level relations encode how representations evolve across Transformer depth, and this evolution can carry information about whether an answer is internally supported or whether the model is drifting toward an unsupported conclusion\. The stronger degradation on reasoning\-oriented settings suggests that layerwise representation dynamics provide useful signals beyond token\-level variation alone\.

Removing intra\-block feature edges affects yet another part of the evaluation\. The drop is more pronounced on MBPP and also appears in some agent and knowledge\-intensive settings\. Intra\-block edges capture fine\-grained relations among feature blocks inside the unified hidden representation\. Such structure can be useful when hallucination signals are not expressed primarily as token\-position changes or layerwise shifts, but instead appear in local activation patterns\. This helps explain why the intra\-block channel is especially relevant for code and other settings where correctness may depend on subtle internal distinctions\.

The three ablations therefore do not form a single universal ordering\. Instead, their relative importance changes with the benchmark and target model\. This is important because it would be less informative if one edge type dominated all settings or if all ablations produced indistinguishable drops\. The observed pattern suggests that token, layer, and intra\-block edges capture different failure modes of generated answers\.Chordbenefits from combining them because hallucinations are heterogeneous: some errors are reflected in token\-level answer development, some in layerwise semantic evolution, and others in fine\-grained feature\-block structure\.

Finally, the edge ablation results complement the larger module\-level ablations\. Removing one edge channel causes a smaller drop than removing relation\-aware attention entirely, which is expected because the remaining channels can still carry relational information\. However, the consistent degradation relative to fullChordshows that these channels are not redundant\. Together, Table[6](https://arxiv.org/html/2610.38314#A8.T6)indicates thatChord’s advantage comes from aggregating multiple complementary relation channels rather than relying on a single handcrafted relational view\.

### H\.3Cross\-Benchmark Transfer

Table 7:Cross\-dataset hallucination detection performance under leave\-one\-benchmark\-out evaluation\. Training\-based methods are trained on six source benchmarks and evaluated on the held\-out target benchmark for each target model, while training\-free methods are directly applied to the same targets\. The table is split into four blocks only due to space constraints\. We report AUROC on each held\-out benchmark and the average across benchmarks for each target model\. Best results arebold, second\-best areunderlined\.The main experiments focus on cross\-model generalization under a leave\-one\-family\-out protocol\. In that setting, a detector is trained on source LLMs and evaluated on unseen target LLMs, with the same benchmark used for both source and target evaluation\. A natural question is whether the observed gains depend on this same\-benchmark training setup\. To address this, we further evaluate cross\-benchmark transfer, where the training and test benchmarks are different while the target LLM is fixed\.

##### Protocol\.

For each LLMℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}and each held\-out benchmarkd∈\{TruthfulQA,HaluEval,TriviaQA,CoQA,GSM8K,MBPP,xLAM\}d\\in\\\{\\text\{TruthfulQA\},\\text\{HaluEval\},\\text\{TriviaQA\},\\text\{CoQA\},\\text\{GSM8K\},\\text\{MBPP\},\\text\{xLAM\}\\\}, we train each training\-based detector on the other six benchmarks generated by the same LLM and evaluate it on the held\-out benchmarkdd\. Concretely, if𝒟i,d\\mathcal\{D\}\_\{i,d\}denotes the dataset constructed from modelℙ𝜽i\\mathbb\{P\}\_\{\\boldsymbol\{\\theta\}\_\{i\}\}on benchmarkdd, then the cross\-benchmark training set for held\-out benchmarkddis

𝒟i,¬d=⋃d′≠d𝒟i,d′\.\\mathcal\{D\}\_\{i,\\neg d\}=\\bigcup\_\{d^\{\\prime\}\\neq d\}\\mathcal\{D\}\_\{i,d^\{\\prime\}\}\.The detector is trained on𝒟i,¬d\\mathcal\{D\}\_\{i,\\neg d\}and evaluated on𝒟i,d\\mathcal\{D\}\_\{i,d\}\. Thus, each column in Table[7](https://arxiv.org/html/2610.38314#A8.T7)should be read as a*held\-out benchmark*: the corresponding benchmark is used only for evaluation, while the remaining six benchmarks are used for training\.

This protocol isolates benchmark shift from model shift\. It is therefore easier than the leave\-one\-family\-out cross\-model setting in the main experiment, because the source and test features come from the same LLM and share the same hidden\-state coordinate system\. At the same time, it is still a meaningful transfer test: the detector must generalize from one set of task distributions to a different held\-out benchmark, rather than being trained and tested on the same benchmark\.

##### Treatment of training\-free methods\.

Training\-free methods do not use the source benchmarks\. For a fixed model and held\-out benchmark, their scores are therefore identical to the corresponding model–benchmark evaluation in the main table\. We include them in Table[7](https://arxiv.org/html/2610.38314#A8.T7)as source\-independent reference baselines\. Their repeated consistency with the main results is expected and should not be interpreted as an additional training condition\. This also provides a useful anchor for comparing training\-based detectors under benchmark shift\.

##### Results\.

Table[7](https://arxiv.org/html/2610.38314#A8.T7)reports the full cross\-benchmark results\.Chordachieves the strongest performance across target models and held\-out benchmarks, showing that its advantage is not restricted to training and testing on the same benchmark\. The result is particularly important because cross\-benchmark transfer tests a different form of robustness from the main cross\-model experiment\. The main experiment asks whether a detector trained on some LLMs can generalize to unseen LLMs; this experiment asks whether a detector trained on some benchmarks can generalize to unseen benchmarks for the same LLM\.Chordremains effective in both settings\.

The behavior of ordinary training\-based baselines is also informative\. Unlike in the leave\-one\-family\-out cross\-model setting, methods such as MM, SEP, SAPLMA, and LapEigvals do not collapse to chance here\. Their AUROC is often substantially above0\.50\.5and can approach strong training\-free baselines in favorable cases\. This is expected: when training and evaluation are performed on the same LLM, the representation space is shared, so a supervised detector can reuse model\-specific coordinates and decision directions across benchmarks\. The result therefore suggests that these baselines are not intrinsically ineffective or improperly tuned; rather, their weakness in the main experiment is largely caused by cross\-model representation mismatch\.

Training\-free baselines remain competitive, especially Semantic Entropy and InterrogateLLM\. Their strength is natural because they do not rely on a learned source\-benchmark representation and therefore avoid overfitting to a particular training benchmark\. However, they do not exploit cross\-benchmark supervision, andChordconsistently improves over them\. This indicates that useful hallucination signals can be learned across benchmarks when the detector is built on transferable relational internal features\.

##### Benchmark\-level trends\.

The cross\-benchmark results follow several task\-level patterns\. QA\-style benchmarks such as TruthfulQA, HaluEval, TriviaQA, and CoQA transfer relatively smoothly because they share similar input\-output formats and factuality\-oriented labels\. GSM8K also shows strong performance, suggesting that reasoning errors induce internal relational patterns that can be learned from other benchmarks and reused on mathematical reasoning\. MBPP remains the most fragile benchmark: the gap betweenChordand the strongest baselines is smaller, reflecting the fact that code correctness is more execution\-dependent and differs more sharply from natural\-language QA\. xLAM remains comparatively favorable forChord, consistent with the main results that agent\-oriented hallucinations benefit from relational internal signals\.

##### Implication\.

This experiment clarifies the relationship between benchmark shift and model shift\. Cross\-benchmark transfer within a fixed LLM is less severe than cross\-model transfer, and ordinary training\-based detectors can retain meaningful performance in this setting\. However,Chordremains consistently stronger, indicating that its relational formulation is useful beyond the specific benchmark used for training\. Together with the leave\-one\-family\-out results, Table[7](https://arxiv.org/html/2610.38314#A8.T7)shows thatChordaddresses both sources of generalization difficulty: it transfers across benchmarks when the LLM is fixed, and it transfers across LLMs when the benchmark is fixed\.

## NeurIPS Paper Checklist

1. 1\.Claims
2. Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
3. Answer:\[Yes\]
4. Justification: The claims made in the abstract and Section 1 are explicitly supported by our methodology in Section[4](https://arxiv.org/html/2610.38314#S4)and experimental results in Section[5](https://arxiv.org/html/2610.38314#S5)\.
5. Guidelines: - •The answer\[N/A\]means that the abstract and introduction do not include the claims made in the paper\. - •The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations\. A\[No\]or\[N/A\]answer to this question will not be perceived well by the reviewers\. - •The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings\. - •It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper\.
6. 2\.Limitations
7. Question: Does the paper discuss the limitations of the work performed by the authors?
8. Answer:\[Yes\]
9. Justification: Please see Appendix[C](https://arxiv.org/html/2610.38314#A3)\.
10. Guidelines: - •The answer\[N/A\]means that the paper has no limitation while the answer\[No\]means that the paper has limitations, but those are not discussed in the paper\. - •The authors are encouraged to create a separate “Limitations” section in their paper\. - •The paper should point out any strong assumptions and how robust the results are to violations of these assumptions \(e\.g\., independence assumptions, noiseless settings, model well\-specification, asymptotic approximations only holding locally\)\. The authors should reflect on how these assumptions might be violated in practice and what the implications would be\. - •The authors should reflect on the scope of the claims made, e\.g\., if the approach was only tested on a few datasets or with a few runs\. In general, empirical results often depend on implicit assumptions, which should be articulated\. - •The authors should reflect on the factors that influence the performance of the approach\. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting\. Or a speech\-to\-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon\. - •The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size\. - •If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness\. - •While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren’t acknowledged in the paper\. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community\. Reviewers will be specifically instructed to not penalize honesty concerning limitations\.
11. 3\.Theory assumptions and proofs
12. Question: For each theoretical result, does the paper provide the full set of assumptions and a complete \(and correct\) proof?
13. Answer:\[N/A\]
14. Justification: This paper focuses exclusively on empirical evaluations and architectural design, and thus does not include theoretical results or mathematical proofs\.
15. Guidelines: - •The answer\[N/A\]means that the paper does not include theoretical results\. - •All the theorems, formulas, and proofs in the paper should be numbered and cross\-referenced\. - •All assumptions should be clearly stated or referenced in the statement of any theorems\. - •The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition\. - •Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material\. - •Theorems and Lemmas that the proof relies upon should be properly referenced\.
16. 4\.Experimental result reproducibility
17. Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper \(regardless of whether the code and data are provided or not\)?
18. Answer:\[Yes\]
19. Justification: All necessary code, datasets, and detailed instructions required to reproduce the main experimental results are publicly available in our repository:[https://github\.com/MiracleworkerD/CHORD](https://github.com/MiracleworkerD/CHORD)\.
20. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •If the paper includes experiments, a\[No\]answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not\. - •If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable\. - •Depending on the contribution, reproducibility can be accomplished in various ways\. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model\. In general\. releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model \(e\.g\., in the case of a large language model\), releasing of a model checkpoint, or other means that are appropriate to the research performed\. - •While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution\. For example 1. \(a\)If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm\. 2. \(b\)If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully\. 3. \(c\)If the contribution is a new model \(e\.g\., a large language model\), then there should either be a way to access this model for reproducing the results or a way to reproduce the model \(e\.g\., with an open\-source dataset or instructions for how to construct the dataset\)\. 4. \(d\)We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility\. In the case of closed\-source models, it may be that access to the model is limited in some way \(e\.g\., to registered users\), but it should be possible for other researchers to have some path to reproducing or verifying the results\.
21. 5\.Open access to data and code
22. Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
23. Answer:\[Yes\]
24. Justification: All necessary code, datasets, and detailed instructions required to reproduce the main experimental results are publicly available in our repository:[https://github\.com/MiracleworkerD/CHORD](https://github.com/MiracleworkerD/CHORD)\.
25. Guidelines: - •The answer\[N/A\]means that paper does not include experiments requiring code\. - • - •While we encourage the release of code and data, we understand that this might not be possible, so\[No\]is an acceptable answer\. Papers cannot be rejected simply for not including code, unless this is central to the contribution \(e\.g\., for a new open\-source benchmark\)\. - •The instructions should contain the exact command and environment needed to run to reproduce the results\. See the NeurIPS code and data submission guidelines \([https://neurips\.cc/public/guides/CodeSubmissionPolicy](https://neurips.cc/public/guides/CodeSubmissionPolicy)\) for more details\. - •The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc\. - •The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines\. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why\. - •At submission time, to preserve anonymity, the authors should release anonymized versions \(if applicable\)\. - •Providing as much information as possible in supplemental material \(appended to the paper\) is recommended, but including URLs to data and code is permitted\.
26. 6\.Experimental setting/details
27. Question: Does the paper specify all the training and test details \(e\.g\., data splits, hyperparameters, how they were chosen, type of optimizer\) necessary to understand the results?
28. Answer:\[Yes\]
29. Justification: All experimental settings, including data splits, hyperparameters, and optimization details, are extensively detailed in Appendix[A](https://arxiv.org/html/2610.38314#A1)\.
30. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them\. - •The full details can be provided either with the code, in appendix, or as supplemental material\.
31. 7\.Experiment statistical significance
32. Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
33. Answer:\[Yes\]
34. Justification: We report suitable error bars and provide appropriate information regarding statistical significance in Figure[2](https://arxiv.org/html/2610.38314#S1.F2), with comprehensive details discussed in Appendix[A\.8](https://arxiv.org/html/2610.38314#A1.SS8)\.
35. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •The authors should answer\[Yes\]if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper\. - •The factors of variability that the error bars are capturing should be clearly stated \(for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions\)\. - •The method for calculating the error bars should be explained \(closed form formula, call to a library function, bootstrap, etc\.\) - •The assumptions made should be given \(e\.g\., Normally distributed errors\)\. - •It should be clear whether the error bar is the standard deviation or the standard error of the mean\. - •It is OK to report 1\-sigma error bars, but one should state it\. The authors should preferably report a 2\-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified\. - •For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range \(e\.g\., negative error rates\)\. - •If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text\.
36. 8\.Experiments compute resources
37. Question: For each experiment, does the paper provide sufficient information on the computer resources \(type of compute workers, memory, time of execution\) needed to reproduce the experiments?
38. Answer:\[Yes\]
39. Justification: Detailed information regarding the required compute resources, including hardware specifications, is provided in the instructions of our code repository\.
40. Guidelines: - •The answer\[N/A\]means that the paper does not include experiments\. - •The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage\. - •The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute\. - •The paper should disclose whether the full research project required more compute than the experiments reported in the paper \(e\.g\., preliminary or failed experiments that didn’t make it into the paper\)\.
41. 9\.Code of ethics
43. Answer:\[Yes\]
44. Justification: We have reviewed the NeurIPS Code of Ethics and confirm that the research conducted in this paper conforms to it in every respect\.
45. Guidelines: - •The answer\[N/A\]means that the authors have not reviewed the NeurIPS Code of Ethics\. - •If the authors answer\[No\], they should explain the special circumstances that require a deviation from the Code of Ethics\. - •The authors should make sure to preserve anonymity \(e\.g\., if there is a special consideration due to laws or regulations in their jurisdiction\)\.
46. 10\.Broader impacts
47. Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
48. Answer:\[N/A\]
49. Justification: This paper focuses on foundational machine learning methodology and does not present a direct path to specific applications or negative societal harms\.
50. Guidelines: - •The answer\[N/A\]means that there is no societal impact of the work performed\. - •If the authors answer\[N/A\]or\[No\], they should explain why their work has no societal impact or why the paper does not address societal impact\. - •Examples of negative societal impacts include potential malicious or unintended uses \(e\.g\., disinformation, generating fake profiles, surveillance\), fairness considerations \(e\.g\., deployment of technologies that could make decisions that unfairly impact specific groups\), privacy considerations, and security considerations\. - •The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments\. However, if there is a direct path to any negative applications, the authors should point it out\. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation\. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster\. - •The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from \(intentional or unintentional\) misuse of the technology\. - •If there are negative societal impacts, the authors could also discuss possible mitigation strategies \(e\.g\., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML\)\.
51. 11\.Safeguards
52. Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse \(e\.g\., pre\-trained language models, image generators, or scraped datasets\)?
53. Answer:\[N/A\]
54. Justification: The methods and data presented in this paper do not pose a high risk for malicious misuse, thus no specific safeguards for release are required\.
55. Guidelines: - •The answer\[N/A\]means that the paper poses no such risks\. - •Released models that have a high risk for misuse or dual\-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters\. - •Datasets that have been scraped from the Internet could pose safety risks\. The authors should describe how they avoided releasing unsafe images\. - •We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort\.
56. 12\.Licenses for existing assets
57. Question: Are the creators or original owners of assets \(e\.g\., code, data, models\), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
58. Answer:\[Yes\]
59. Justification: All creators of the existing datasets and codebases used in this work are properly cited, and their respective licenses are detailed in Appendix[E](https://arxiv.org/html/2610.38314#A5)\.
60. Guidelines: - •The answer\[N/A\]means that the paper does not use existing assets\. - •The authors should cite the original paper that produced the code package or dataset\. - •The authors should state which version of the asset is used and, if possible, include a URL\. - •The name of the license \(e\.g\., CC\-BY 4\.0\) should be included for each asset\. - •For scraped data from a particular source \(e\.g\., website\), the copyright and terms of service of that source should be provided\. - •If assets are released, the license, copyright information, and terms of use in the package should be provided\. For popular datasets,[paperswithcode\.com/datasets](https://paperswithcode.com/datasets)has curated licenses for some datasets\. Their licensing guide can help determine the license of a dataset\. - •For existing datasets that are re\-packaged, both the original license and the license of the derived asset \(if it has changed\) should be provided\. - •If this information is not available online, the authors are encouraged to reach out to the asset’s creators\.
61. 13\.New assets
62. Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
63. Answer:\[N/A\]
64. Justification: This paper focuses on a new algorithmic method and evaluating existing models/datasets; it does not release new foundational models or large\-scale datasets\.
65. Guidelines: - •The answer\[N/A\]means that the paper does not release new assets\. - •Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates\. This includes details about training, license, limitations, etc\. - •The paper should discuss whether and how consent was obtained from people whose asset is used\. - •At submission time, remember to anonymize your assets \(if applicable\)\. You can either create an anonymized URL or include an anonymized zip file\.
66. 14\.Crowdsourcing and research with human subjects
67. Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation \(if any\)?
68. Answer:\[N/A\]
69. Justification: This paper is strictly computational and does not involve any crowdsourcing or research with human subjects\.
70. Guidelines: - •The answer\[N/A\]means that the paper does not involve crowdsourcing nor research with human subjects\. - •Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper\. - •According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector\.
71. 15\.Institutional review board \(IRB\) approvals or equivalent for research with human subjects
72. Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board \(IRB\) approvals \(or an equivalent approval/review based on the requirements of your country or institution\) were obtained?
73. Answer:\[N/A\]
74. Justification: Not applicable, as this research does not involve human subjects\.
75. Guidelines: - •The answer\[N/A\]means that the paper does not involve crowdsourcing nor research with human subjects\. - •Depending on the country in which research is conducted, IRB approval \(or equivalent\) may be required for any human subjects research\. If you obtained IRB approval, you should clearly state this in the paper\. - •We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution\. - •For initial submissions, do not include any information that would break anonymity \(if applicable\), such as the institution conducting the review\.
76. 16\.Declaration of LLM usage
77. Question: Does the paper describe the usage of LLMs if it is an important, original, or non\-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does*not*impact the core methodology, scientific rigor, or originality of the research, declaration is not required\.
78. Answer:\[Yes\]
79. Justification: We describe the usage of LLMs explicitly in Section[4](https://arxiv.org/html/2610.38314#S4), as utilizing them for generating responses and evaluation is central to our cross\-model transfer methodology\.
80. Guidelines: - •The answer\[N/A\]means that the core method development in this research does not involve LLMs as any important, original, or non\-standard components\. - •Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described\.

相似文章

幻觉检测中的自动层选择

arXiv cs.AI

本文提出了用于大语言模型幻觉检测的自动层选择方法,并引入了固有维度首个有效峰值(FEPoID),这是一种无需训练的标准,能够一致地识别出最优中间层,优于现有启发式方法。

将幻觉视为异常:通过概率电路进行动态干预

arXiv cs.CL

本文提出了 PCNet,这是一种在大型语言模型(LLM)残差流上训练为可计算密度估计器的概率电路,用于将幻觉检测为几何异常。同时,本文还引入了 PC-LDCD,一种仅在生成幻觉 token 时才进行干预的动态修正方法,实现了近乎完美的检测率并降低了错误修正率。