Skip to content

Adaptive transfer of representation signatures for LLM reliability detectionAdaptive Transfer of Representational Signatures for LLM Reliability Detection

arXiv· arXiv:2610.33442· Yongtong Li, Yixuan Florence Wu, Jiawei Zhang, Naichen ShiNorthwestern University; University of Wisconsin–MadisonIndexed by this site · 15 days ago· Originally publishedAlignment

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose AdaST, which transfers internal-representation detectors from multiple source domains to a target domain with weighting; with only 25 labeled target-domain examples, hallucination detection AUROC improves by 6.8% and reasoning-step prediction improves by 8.4%.

Threat modelThe defender has only a small amount of labeled data in the target domain (e.g., 25 labeled questions) and wants to use representation detectors already trained on multiple related source domains to detect hallucinations and reasoning-step errors in open-source LLMs; no attacker is involved.

Questions
Internal-representation-based LLM reliability detectors (hallucination, reasoning errors) require large amounts of target-domain labeled data; labeling new domains is costly, and detectors trained on a single domain transfer unstably across domains.
Methods
AdaST: for each domain, semantic-equivalent rewrites are used to construct contrastive vectors, PCA extracts a low-dimensional behavior subspace, and a logistic regression detector is trained; then K-fold cross-fitting is used on the target domain to learn non-negative combination weights for each source detector and the target detector.
Experiments and results
On five open-source models, with only 25 labels in the target domain, average AUROC for hallucination detection rises from 74.2 to 81.0 and reasoning-step correctness from 81.1 to 89.5 (Table 1); with SinkProbe as the base detector, the average improvement is 1.61 AUROC points (Table 2); the detection directions can be used for activation steering (Table 4).
Limitations and future work
The authors state that they will later extend the linear classifier to nonlinear classifiers (Conclusion). The experiments use only 7B–8B open-source models, with domains being six QA datasets and seven math subjects from PRM800K; implementation details such as layer selection are in Appendix B.
Experimental setupOPT-6.7B、Llama-3.1-8B et al. · Natural Questions、TriviaQA et al. · AUROC、Macro-F1 et al.
Evaluated models
OPT-6.7BLlama-3.1-8BGemma-7BMistral-7BDeepSeek-LLM-7B
Benchmarks
Natural QuestionsTriviaQACoQAHaluEval-QASimpleQAHotpotQAPRM800K
Metrics
AUROCMacro-F1semantic accuracyhallucination rateabstention rate
AI summaryResearchers propose a statistical framework for cross-domain adaptive transfer of representation signatures; a new domain requires only 25 labeled questions to improve LLM hallucination detection AUROC by 6.8%. The framework first extracts low-dimensional signatures for each domain, then uses cross-fitting to learn combination weights for each domain's predictors, with the weights adaptively adjusted according to the predictive correlation of the source domain with the target domain. On multiple hallucination datasets and open-weight LLMs, the AUROC of reasoning step prediction improves by 8.4%.

Researchers propose a statistical framework for cross-domain adaptive transfer of representation signatures; a new domain requires only 25 labeled questions to improve LLM hallucination detection AUROC by 6.8%. The framework first extracts low-dimensional signatures for each domain, then uses cross-fitting to learn combination weights for each domain's predictors, with the weights adaptively adjusted according to the predictive correlation of the source domain with the target domain. On multiple hallucination datasets and open-weight LLMs, the AUROC of reasoning step prediction improves by 8.4%.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Internal-representation-based reliability detectors depend on large amounts of target-domain labels; the authors propose a cross-domain adaptive transfer detector to alleviate label scarcity.

    Core problem: reliability detectors based on LLM internal representations (hallucination, reasoning errors) require large amounts of labeled target-domain data for training, and labeling new domains is costly, which limits the applicability of the detectors.

    • Problem setting: The authors state that LLMs have reliability problems such as hallucination and reasoning errors; prior work has shown that internal representations (e.g., linear probes on a single-layer hidden state) can distinguish correct from hallucinated responses with relatively high accuracy, but training such detectors requires sufficient domain-specific labeled data.
    • Shortcomings of existing methods: The authors state that existing cross-domain methods (rewriting internal representations, constructing more stable detection signals, etc.) typically train a detector on a single source domain and apply it as-is to a new domain; transfer performance varies greatly with the combination of training and test sets, and is poor on some domains.
    • Core observation: When tasks in related domains are similar, internal representations (residual stream activations) may share structure; detectors from multiple source domains have different correlations with predictions on the target domain, so they can be adaptively weighted and combined according to correlation rather than relying on a single source domain.
    • Proposed in the paper: AdaST (Adaptive Signature Transfer) — each domain extracts a low-dimensional principal-component subspace from representations of perturbed prompts and trains a domain detector, then cross-fitting is used to learn combination weights on the target domain; an asymptotic analysis under the regression setting is given, characterizing the limiting behavior of the weights and prediction risk.
    • Threat model: This is a detection/defense work and does not involve an attacker. The defender assumes: the target domain has only a small number of labeled samples (e.g., 25 labeled questions), and multiple related source domains have sufficient labels; the victim system is an open-source LLM, whose hallucinated outputs and incorrect reasoning steps need to be detected.
  2. What related research exists?

    Related work falls into three groups: representation-driven reliability detection, cross-domain reliability detection, and multi-source transfer learning; the baselines are five hallucination detection methods.

    Representation-driven reliability detection

    • Linear probes and subspace methods (O'Neill et al., 2025; Orgad et al., 2025; Hu et al., 2026a) — train linear probes directly on activations, or extract compact behavior representations in low-dimensional subspaces.
    • Neural classifiers (Azaria & Mitchell, 2023; Zhou et al., 2025; Bar-Shalom et al., 2025) — train MLPs on hidden states, or use ViTs to model the layer×token structure of activation tensors.
    • The paper notes that these methods perform well when labels are abundant, but degrade under label scarcity (citing Shamsi, 2026).

    Cross-domain reliability detection

    • Orgad et al. (2025) — report notable performance degradation in cross-dataset transfer; Alansari et al. (2026) — find that transfer can succeed but varies with the training/test dataset combination.
    • Zhang et al., 2025b; Hu et al., 2026a; Deng et al., 2026 — improve cross-domain robustness by modifying internal representations or constructing more stable detection signals.
    • The paper notes that these methods all train on a single source domain and apply as-is to new domains; this paper studies how to adaptively combine detectors from multiple source domains.

    Multi-source transfer learning

    • Mansour et al. (2008; 2009) — formalize the multi-source adaptation problem and give principled methods for combining source-domain predictors.
    • Subsequent methods (Guo et al., 2018; Peng et al., 2019; Wu et al., 2023) — target-dependent mixture-of-experts weights, representation alignment, stacking, or similarity-based weighting. The authors state that this paper builds on these multi-source transfer ideas to study adaptive transfer of representation detectors.

    Comparison baselines and benchmarks

    • Baselines: five hallucination detection baselines, HARP, SinkProbe, HaloScope, PRISM-SAPLMA, and CrossHallu (Section 4.1).
    • Benchmarks: hallucination detection uses Natural Questions, TriviaQA, CoQA, HaluEval-QA, SimpleQA, and HotpotQA; reasoning-step correctness uses seven MATH subjects from PRM800K.

    The authors position this paper as: rather than improving single-domain detection signals, adaptively recombining detectors already trained on multiple source domains when target-domain labels are limited.

  3. How does the paper address this problem?

    AdaST: for each domain, a low-dimensional subspace detector is built using rewrite contrastive vectors + PCA, and then cross-fitting is used to learn non-negative combination weights on the target domain.

    Overall approach: within each domain, first extract a low-dimensional "behavior signature" from representations of perturbed prompts and train a domain detector, then map each domain detector's direction back into a shared residual space, and use cross-fitting on a small number of target-domain labels to learn adaptive combination weights; the framework is named AdaST (Adaptive Signature Transfer) (Figure 1).

    Rewrite-based behavior subspace (Section 2.1)

    • Rewrite perturbation: each question keeps its original wording and generates P−1 semantically equivalent rewrites (following Song et al., 2026); each version is queried to the LLM R times, and the hidden state of the final generated token at a selected layer is taken as the representation, with each response carrying a binary behavior label.
    • Contrast vector: for each question, compute the difference between the mean representations of positive and negative responses δq = 1/(|Iq+|)∑Iq+ hqpr − 1/(|Iq−|)∑Iq− hqpr, characterizing the representation difference between the two behavior classes for the same question.
    • PCA subspace: after centering the contrast vectors, perform SVD and retain ks = min(kmax, ms−1, D) principal directions (kmax selected using a held-out validation set), obtaining a domain-specific behavior subspace Bs; the projected coordinates are standardized and a logistic regression is trained, with coefficients denoted βs. The authors state that because ms is small relative to D, fitting directly in the full residual space is unstable and prone to overfitting, hence the low-dimensional subspace.

    Adaptive cross-domain transfer (Section 2.2)

    • Direction mapping: since domain coordinate systems are not comparable, map the coefficients back into the shared residual space vs = Bs⊤diag(γs)⁻¹βs and normalize; the authors state that after standardizing scores on the target domain the offset has no effect, and only the direction matters.
    • cross-fitting weights: the nT labeled target-domain questions are split into K folds; for each fold, the target detector is retrained on the remaining K−1 folds to obtain out-of-fold scores, while source detectors are fixed; the standardized scores of all detectors are concatenated into a matrix Ψ, and a constrained logistic regression is solved for the weights: (b̂, ŵ) = argminb, w≥ 0, 1⊤ w=1 ∑i [log(1+eb+Ψi w) − yi(b+Ψi w)]. The authors state that learning weights from in-sample predictions would favor the target detector, and cross-fitting is used to eliminate this advantage.
    • Prediction: the target detector is retrained on all target labels; for a new response, the standardized scores of the detectors are linearly combined by weight into a logit, and a sigmoid gives the positive-class probability.

    Asymptotic analysis (Section 3)

    • Setting: a least-squares version, with a fixed prediction subspace and a convex combination of unstandardized linear predictions; define the inter-domain prediction difference matrix Q and the target representation bias bT, with H = Q⊤ΣTQ ≻ 0.
    • Theorem 1: the weights converge almost surely to the unique population optimum w⋆ = arg min w⊤Hw; AdaST's limiting risk does not exceed that of the target-only predictor, with equality if and only if w⋆ places all weight on the target domain; under ns ≥ cnT, E|ŵT − wT⋆| = O(nT^(−1/2)).
    • Synthetic validation: source coefficient drift τ ∈ {0.4, 0.5, 0.6, 0.75}, nT ∈ {100,…,3200}, 200 repetitions per setting; Figure 2 shows that the larger τ is, the larger the limiting target weight, and that the limiting excess risk of transfer is lower than that of target-only.

    Evaluation method

    • Hallucination detection: responses and reference answers are scored with BLEURT-20, and the highest score above 0.5 is labeled positive; reasoning steps: Qwen2.5-Math-PRM-7B scores 8 candidate next steps, with the highest-scoring candidate ≥0.8 as positive and the lowest-scoring candidate ≤0.2 as negative. Metrics are AUROC and Macro-F1 (the authors state that labels may be imbalanced, and Macro-F1 weights the two classes equally). Layer selection uses only source-domain labels (Appendix B.1).
  4. What experiments did the paper conduct?

    Five open-source models, two task types: at nT=25, hallucination detection AUROC 74.2→81.0, reasoning steps 81.1→89.5 (Table 1).

    Experimental setup

    • Models evaluated: five open-source models: OPT-6.7B, Llama-3.1-8B, Gemma-7B, Mistral-7B, DeepSeek-LLM-7B.
    • Datasets: hallucination detection uses six QA datasets (NQ, TriviaQA, CoQA, HaluEval-QA, SimpleQA, HotpotQA), each in turn as the target domain with the other five as source domains; reasoning-step correctness uses seven MATH subjects from PRM800K, each in turn as the target domain.
    • Data construction: each question has 2 rewrites, 3 versions in total, and 5 responses are generated per version; BLEURT-20 compares against the reference answer, and the highest score >0.5 is the positive class. For reasoning steps, 8 candidates are generated per prefix and scored by Qwen2.5-Math-PRM-7B; ≥0.8 is positive and ≤0.2 is negative.
    • Baselines: HARP, SinkProbe, HaloScope, PRISM-SAPLMA, CrossHallu (Figure 3 / Table 8); the main comparison is the same detector using only target-domain data (Target-only).
    • Metrics and procedure: AUROC and Macro-F1; three-fold cross-fitting; target label budget nT ∈ {25, 50, 100, Full}; activation steering experiments on 500 test questions, averaged over three seeds (Appendix B.2).

    Main results

    Table 1: average AUROC / Macro-F1 (%) of Target-only and AdaST on the two tasks (subscripts are standard errors; hallucination detection averaged over six datasets, reasoning steps over seven subjects).

    Swipe horizontally to read the table

    TaskMethodnT=25 AUCnT=25 F1nT=100 AUCFull AUC
    Hallucination detectionTarget-only74.2 (1.0)62.8 (1.5)79.8 (0.8)84.9 (0.5)
    Hallucination detectionAdaST81.0 (0.9)66.2 (1.4)82.3 (0.8)85.0 (0.5)
    Reasoning-step correctnessTarget-only81.1 (1.0)71.9 (1.0)87.6 (0.9)88.9 (0.9)
    Reasoning-step correctnessAdaST89.5 (0.9)80.8 (1.0)90.2 (0.9)90.1 (0.8)
    • The authors state that AdaST consistently improves AUROC and Macro-F1 on both tasks, with larger gains when target labels are fewer; as labels increase, the target detector becomes more reliable and the additional benefit of source-domain information decreases.
    • Breakdown by model (Table 5, nT=25): the gain from source domains is positive on all five models and both tasks; breakdown by dataset (Tables 6–7): at nT=25 the gain is positive on every target dataset.
    • Exceptions: under the Full budget, hallucination detection AdaST and Target-only have the same average AUROC (85.0), and on HotpotQA AdaST's F1 is 67.7 versus 67.8 for Target-only (Table 6); the reasoning-step nT=100 row omits the Prealgebra domain because it has fewer than 100 labels (Table 7).

    Comparison with baselines (Figure 3 / Table 8, nT=25)

    • What was tested: five hallucination detection baselines and AdaST at nT=25, compared by model × dataset.
    • Results: the authors state that AdaST outperforms in-domain detectors on all models and achieves the highest average AUROC and Macro-F1; in Table 8, AdaST's average AUROC is 78.6–83.0 (by model), and SinkProbe's is 73.5–82.5. The authors state that some baselines have competitive AUROC but poor Macro-F1, and that strong ranking ability does not imply balanced classification.

    Robustness and ablations

    • Swapping the base detector (Table 2): domain detectors are trained on SinkProbe's (the strongest single-dataset baseline in Figure 3) attention-sink features and then transferred; at nT=25 AdaST improves on all five models, with an average gain of 1.61 AUROC points; the authors state that the transfer benefit does not depend on a specific detector construction.
    • Number of rewrites (Table 3): as P increases from 1 to 3, Target-only AUROC rises from 69.6 to 72.8 and AdaST from 76.2 to 78.2; the authors state that rewrites help produce more stable domain representations.
    • Weight analysis (Figure 4): at nT=25 the weights differ across target datasets; as nT increases, the weights shift from source detectors to the target detector, and this trend is consistent across model families.

    From detection to intervention (Table 4)

    • What was tested: the detector directions are combined by weight into a steering direction umix, and activation steering is applied to the residual stream at the detection layer (Llama-3.1-8B, 500 test questions, three seeds; Phi-4 labels semantic labels).
    • Results: semantic accuracy rises from 27.2 to 30.0 (0.7), the hallucination rate falls from 67.8 to 64.6 (0.9), and the refusal rate changes from 5.0 to 5.4 (0.4). The authors state that the improvement does not come from the model avoiding difficult questions.
  5. What are some points that can be further explored?

    The authors only state that they will later extend the linear classifier to a nonlinear one; the experiments are limited to 7B–8B open-source models and the QA/math domains.

    Limitations and future directions noted by the authors

    • Nonlinear extension: the authors write in the Conclusion that future research will include extending the linear classifier to nonlinear classifiers. This is the only future direction explicitly stated in the paper; the paper has no dedicated Limitations section.

    Scope of experiments

    • Models tested: OPT-6.7B, Llama-3.1-8B, Gemma-7B, Mistral-7B, DeepSeek-LLM-7B, five open-source models in total (Section 4.1).
    • Tasks and domains: hallucination detection covers six QA datasets each serving as the target domain; reasoning-step correctness covers seven MATH subjects from PRM800K (Section 4.1).
    • Label budgets: nT ∈ {25, 50, 100, Full}; the reasoning-step nT=100 row is averaged over only the remaining six domains because Prealgebra has fewer than 100 labels (Table 7).
    • Theoretical scope: the asymptotic analysis targets the least-squares version, with fixed predictor subspace and Gaussian linear model setting, and S, D, k fixed (Section 3.1, Appendix D.1).
    • Not reported in the paper: the number of repetitions under each nT setting (only the activation steering experiment specifies three seeds and 500 test questions); the values for PRISM-SAPLMA and CrossHallu in Figure 3 are not listed in Table 8.
  6. Summarize the main content of the paper

    AdaST adaptively weights and transfers representation detectors from multiple source domains to a target domain with scarce labels, and provides asymptotic guarantees and multi-model validation.

    A transfer learning paper on LLM reliability detection: internal-representation-based hallucination/reasoning-error detectors require large amounts of target-domain labels; the authors propose AdaST, which adaptively recombines detectors from multiple source domains when the target domain has only a small amount of labels.

    • Method: for each domain, semantic-equivalent rewrites perturb representations, question-level contrastive vectors are constructed, and PCA extracts a low-dimensional behavior subspace to train a logistic regression detector; each domain's direction is mapped back to a shared residual space, and three-fold cross-fitting is used on the target domain to learn non-negative combination weights that sum to 1.
    • Theory: asymptotic analysis of the least-squares version (Theorem 1) shows that the weights converge to a unique population optimum, and AdaST's limiting risk does not exceed that of a predictor using only the target domain; synthetic experiments are consistent with this conclusion.
    • Main results: on five open-source models, at nT=25, average AUROC for hallucination detection rises from 74.2 to 81.0 and reasoning-step correctness from 81.1 to 89.5 (Table 1); gains decrease as target labels increase, and under the Full budget the two are on par for hallucination detection (85.0).
    • Other findings: with SinkProbe as the base detector, AdaST improves average AUROC by a further 1.61 points (Table 2); increasing the number of rewrites from 1 to 3 continuously improves AUROC (Table 3); the learned directions can be used for activation steering, and on Llama-3.1-8B semantic accuracy rises from 27.2 to 30.0 and the hallucination rate falls from 67.8 to 64.6 (Table 4).
    • Authors' conclusion: transfer is most beneficial when target labels are limited, and weights gradually shift toward the target detector as supervision increases; future plans include extending the linear classifier to nonlinear.

Related papers

Read originalarxiv.org