Manuscript Offprint
arXiv:2610.33442Adaptive Transfer of Representational Signatures for LLM Reliability Detection
ABSTRACT
Large language models (LLMs) are reported to be susceptible to reliability issues including hallucinations and reasoning errors. Existing quality detectors can predict unreliable outputs based on internal representations with decent accuracies. However, training these detectors often requires substantial domain-specific labeled data, which limits their applicability to new domains. We propose to address this challenge by transferring representational signatures across related domains. More specifically, we build a statistical framework that first extracts low-dimensional signatures for each domain, then uses cross-fitting to learn composition weights of domain-specific predictors. The weights adapt to each source domain's predictive relevance to the target domain. Our asymptotic analysis of a least-squares analogue characterizes the limiting prediction risk and aggregation weights in terms of domain discrepancies and representation bias. Experiments across multiple hallucination datasets and open-weight LLMs show that, with only 25 labeled questions in the new domain, adaptive transfer improves hallucination-detection AUROC by 6.8%. For reasoning-step prediction, it improves AUROC by 8.4%.
1 INTRODUCTION
Large language models (LLMs) have demonstrated strong performance across a wide range of tasks, including language generation (Brown et al., 2020), mathematical reasoning (Lewkowycz et al., 2022), and code generation (Chen et al., 2021). However, strong performance on these tasks does not necessarily imply reliable behavior. Hallucinations and misalignment can lead to incorrect decisions (Hager et al., 2024; Hu et al., 2026b) or unintended actions (Zhang et al., 2025a). In July 2026, for example, OpenAI reported that models undergoing internal cybersecurity evaluations with reduced safeguards bypassed containment controls and compromised Hugging Face's production infrastructure (OpenAI, 2026). These risks highlight the need to detect unreliable LLM behaviors.
Recent studies have linked unreliable behavior in open-weight LLMs to specific patterns in their internal representations. For hallucination detection, for example, linear probes trained on hidden-state activations from a single layer can distinguish correct answers from hallucinated ones with high accuracy (O'Neill et al., 2025; Orgad et al., 2025). Other approaches reduce the dimensionality of internal representations before classification (Hu et al., 2026a), or capture more complex patterns using nonlinear classifiers, such as multilayer perceptrons (MLPs) (Azaria & Mitchell, 2023; Zhou et al., 2025) and vision transformers (ViTs) (Bar-Shalom et al., 2025). Together, these methods suggest that internal representations provide informative signals for hallucination detection.
Despite their success, many of these methods rely on labeled examples from a specific dataset or domain (Shamsi, 2026). In practice, labeled examples can be costly to obtain in sufficient quantities for every new domain. Existing work addresses this by reshaping internal states to make truthfulness signals more consistent across domains (Zhang et al., 2025b) or by constructing hallucination scores from uncertainty fluctuations that remain stable under domain shift (Deng et al., 2026). However, transfer performance can vary substantially across domains. A detector trained on a single dataset may generalize better to some related domains while still performing poorly on others (Alansari et al., 2026). This raises a natural question:
Can we adaptively recompose reliability detectors trained on multiple related source domains to achieve accurate detection in a target domain with limited labeled data?
To answer this question, we develop an adaptive transfer method that learns a target-domain detector using information from multiple source domains. For each source domain, we train a classifier on a low-dimensional principal component subspace that captures the dominant variation in the model's internal representations from perturbed prompts. We then linearly combine these source detectors with a detector trained on the available labeled target-domain data. Because the source detectors may differ in their predictive relevance to the target domain, we use cross-fitting to learn composition weights that balance information transferred from the source domains with the information learned directly from the target domain. We call the resulting method Adaptive Signature Transfer (AdaST).
To understand when source-domain information benefits AdaST, we develop an asymptotic analysis of the adaptive transfer procedure in the regression setting. The analysis characterizes how the learned composition weights converge to the population-optimal counterparts, which are dependent on the discrepancy between source and target domains. The theoretical analysis confirms that AdaST asymptotically performs better than or as well as the predictor that only relies on the target domain information.
We use two tasks to validate the numerical performance of AdaST, including hallucination detection and mathematics reasoning correctness prediction. AdaST achieves robust predictive performance across multiple domains on multiple open-weight models. Furthermore, we show that the learned detector vectors can be used as steering directions. Our main contributions are summarized as:
-
We develop an adaptive cross-domain transfer method, AdaST, for representational signatures of LLM behavior. The method constructs principal-component detectors in each domain and uses cross-fitting to learn adaptive transfer weights.
-
We characterize the limiting behavior of the adaptive transfer mechanism in the regression setting, which validates the effectiveness of adaptive transfer when the target domain is similar to the source domains.
-
We demonstrate empirically that internal-state detectors can benefit from cross-domain transfer, with larger gains when fewer labeled examples are available in the target domain.
Cross-Domain Reliability Detection. Recent work examines whether reliability signals learned from internal representations can directly transfer across domains. Orgad et al. (2025) report substantial cross-dataset degradation, while Alansari et al. (2026) find that transfer can succeed but varies with the training and test datasets. Other work improves cross-domain robustness by modifying internal representations or constructing more stable detection signals (Zhang et al., 2025b; Hu et al., 2026a; Deng et al., 2026). These methods train a detector on a single source domain and apply it unchanged to a new domain. Our method instead studies how detectors learned from multiple source domains can be adaptively combined for a new domain with limited labeled data.
Multi-Source Transfer Learning. Multi-source transfer learning studies how knowledge from several related source domains can be combined to improve prediction in a target domain. Early studies formalized the multi-source adaptation problem and developed principled ways to combine source-specific predictors (Mansour et al., 2008; 2009). Subsequent methods have explored a variety of strategies for source combination, including mixture-of-experts models with target-dependent weights (Guo et al., 2018), representation alignment (Peng et al., 2019), and stacking or similarity-based weighting (Wu et al., 2023). We build on these multi-source transfer learning ideas to study adaptive transfer across representation-based LLM reliability detectors.
2 METHOD
In this section, we present the proposed AdaST framework for cross-domain binary behavioral prediction, as illustrated in Figure 1. First, for each domain, we query the LLM with multiple semantically equivalent paraphrases of the same questions and extract the final-token hidden states as representations of the generated responses. We then construct question-level contrast vectors by comparing hidden states associated with the two behavioral classes and use these contrasts to estimate a low-dimensional behavioral subspace and train a domain-specific detector. Second, the learned detectors are adaptively combined using weights estimated from cross-fitted predictions in the target domain.

Figure 1: Overview of the proposed AdaST framework.
2.1 PARAPHRASE-BASED BEHAVIORAL SUBSPACE
Let index the source domains and index the target domain. For each domain index , let denote the set of questions from the corresponding domain. For example, may contain factual question-answering prompts such as “What is the capital of France?”, while may contain conversational question-answering prompts such as “Which city do you recommend visiting in France?” The semantic similarity across these domains allows us to transfer knowledge about LLM representations.
Fix a domain index . For each question , we retain the original wording of and generate semantically equivalent paraphrases, inspired by Song et al. (2026). For example, the question “What is the capital of France?” can be paraphrased as “Name the capital of France.” We then query the LLM times for each version of the question to obtain responses per version. For each generated response, we extract the hidden state at the final generated token from a selected model layer and denote it by , where is the hidden-state dimension, indexes the question version, and indexes the generated response. Each response has a binary behavioral label , where denotes the positive class and the negative class. Let denote the questions for which both behavioral classes are observed, and let .
Following prior work on contrastive representation learning (Zou et al., 2023; Li et al., 2023b; Rimsky et al., 2024), we represent the behavioral difference for each question by comparing the mean representations associated with its positive and negative responses. Let and denote the positive and negative classes for question , respectively. For each , we define the contrast vector:
Here, quantifies the representation difference between the positive and negative behavioral classes for the same question . We stack the contrast vectors as rows of , define their mean as , and center them across questions to obtain . Since may be small relative to the hidden-state dimension , the problem becomes overparameterized. Consequently, fitting a detector directly in the full residual space can be unstable and prone to overfitting. We therefore perform principal component analysis on the centered contrast matrix to obtain a lower-dimensional representation:
We retain principal directions, where is selected using held-out validation data, and the rows of span the domain-specific behavioral subspace.
For a hidden state , we first project it onto the behavioral subspace . Let and denote the coordinate-wise mean and standard deviation of h over the training responses in domain . For numerical stability, we standardize the projected representations coordinate-wise and define
We then fit a logistic regression in this standardized subspace and denote its coefficient vector by . The same procedure is applied independently to each source domain and the target domain.
2.2 ADAPTIVE CROSS-DOMAIN TRANSFER
When labeled data in a target domain are scarce, a detector trained only on the target domain may generalize poorly to unseen examples. Meanwhile, labeled datasets from related domains are often available. When the underlying tasks are similar, the corresponding internal representations, here taken as residual-stream activations, may share structure across domains. We therefore supplement the target detector with detectors learned from the source domains.
The domain-specific detectors are learned in different low-dimensional coordinate systems induced by their respective bases . Since these coordinate systems are not directly comparable, we map each domain-specific coefficient vector back to the shared residual space. Using the standardized projection in Equation 3, the coefficient on h is
Since the detector scores are standardized over the labeled target responses before combination, the offset has no effect on transfer. Only the direction of matters after this standardization, so we normalize it as and use to score target hidden states.
The target detector is fitted using the labeled target data, so its predictions on the same examples are in-sample. Using these predictions to learn the combination weights can therefore favor the target detector over the source detectors. To remove such an advantage, we use a K-fold cross-fitting scheme. Specifically, let denote the number of labeled target questions available for training. These questions are partitioned into equal folds. For each held-out fold, the target subspace and detector are refitted on the other folds, and the corresponding residual-space direction is recomputed, while the source detectors remain fixed. For each held-out fold , let denote standardization using the other target folds. We apply to the detector scores on the held-out fold and concatenate the standardized scores over all folds to form the cross-fitted score vector . These score vectors are concatenated as
Let denote the combination weights, where correspond to the source detectors and to the target detector, and let denote the intercept. Let index the labeled target responses . For each response , let be its binary label and the corresponding row of . We estimate the combination weights and intercept once from the complete by solving the constrained logistic regression problem:
Equation 5 learns the transfer allocation weights from the cross-fitted scores. The learned weights determine how much each detector contributes to the target prediction, while the intercept adjusts the overall offset of the combined score. For prediction, we train the target detector on all labeled target questions so that all available target supervision is used for prediction. For the fixed source detectors and the trained target detector, we compute the score standardization statistics using all labeled target responses and denote the standardized score for a hidden state by . For a new target response, we combine the standardized scores from the fixed source detectors and the trained target detector using the learned weights. This defines the AdaST detector:
is a scalar logit for the new target response. Applying the sigmoid function to gives the predicted probability that the response belongs to the positive class. Larger values therefore indicate stronger evidence for the positive class, whereas smaller values indicate stronger evidence for the negative class.
3 ASYMPTOTIC ANALYSIS
3.1 RISK ANALYSIS
To characterize the geometry of transfer, we study a least-squares analogue of the detector in Section 2, using fixed prediction subspaces and convex combinations of unstandardized linear predictions. This formulation characterizes the limiting weights and prediction risk in terms of domain discrepancy and representation bias.
For each domain with samples, consider the linear model , where and is independent noise with mean zero and variance . Let the orthonormal columns of span a fixed prediction subspace, which corresponds to in Section 2. The population projected coefficient and the matrix of prediction discrepancies relative to the target are
where is the target representation bias. We work in the asymptotic limit of source and target sample sizes, while holding , and fixed. Assume that . We estimate weights by minimizing two-fold target out-of-fold squared loss subject to and , then refit the target predictor on all target observations. The last coordinate of the weight vector corresponds to the target domain, with . denotes the target-only coefficient refitted on all target observations. Write for the aggregate and for its squared prediction risk on an independent target observation. The full estimator and regularity assumptions are given in Appendix D.
Theorem 1 (Asymptotic risk and weight convergence) Under the assumptions in Appendix D.1,
The limiting weights are unique. Equality with the target-only risk holds exactly when , the target-only weight vector.
Moreover, if for all and some fixed , then .
The proof and finite-sample bounds are given in Appendices D and E. The asymptotic result shows how complementary source predictors can reduce target representation bias, yielding a limiting risk no greater than that of the target-only predictor. Under the stated sample-size conditions, the finite-sample rate quantifies how quickly the learned target weight approaches its population-optimal value and gives a vanishing bound on its expectation when sources alone are optimal.
3.2 SYNTHETIC VALIDATION
We study nonnegative least-squares aggregation with coefficient shifts , where and . The projected discrepancies satisfy , with . quantifies how far the source coefficients drift from the target coefficient, with smaller values corresponding to source coefficients closer to the target coefficient, while larger values indicate greater source–target heterogeneity. Even at , different prediction subspaces can produce different projected coefficients. We consider and , with 200 replications per setting.
A. Target weight

B. Excess risk,
Figure 2: Synthetic validation of simplex-constrained least-squares aggregation. A. Target weight against for several source drifts . B. Excess risk against at . Solid lines summarize Monte Carlo means with 95% confidence bands for the means. Dashed lines mark the constrained population weights and risks from Theorem 1.
Figure 2 A shows that for larger , the learned target weight approaches its limit as the sample sizes grow, and this limit increases with . Intuitively, larger values of imply that the source domains are less informative for the target, so more weight shifts to the target. In this regime, the empirical target weight generally increases with , as additional target observations improve the target fit and reduce the need to borrow information from mismatched source domains. Figure 2 B shows that the excess risks of the transfer and target-only estimators converge to their limits, with the transfer limit strictly below the target-only one.
4 EXPERIMENTS
In this section, we evaluate AdaST primarily on cross-domain hallucination detection. We further examine its generalization to reasoning-step correctness. We also analyze the learned representations and evaluate activation steering based on the resulting directions.
4.1 EXPERIMENTAL SETUP
Tasks and datasets. We consider several open-weight language models, including OPT-6.7B (Zhang et al., 2022), Llama-3.1-8B (Grattafiori et al., 2024), Gemma-7B (Gemma Team et al., 2024), Mistral-7B (Jiang et al., 2023), and DeepSeek-LLM-7B (DeepSeek-AI et al., 2024). Across these models, we evaluate two behavioral prediction tasks, hallucination detection and reasoning-step correctness classification. Hallucination detection is evaluated on Natural Questions (Kwiatkowski et al., 2019), TriviaQA (Joshi et al., 2017), CoQA (Reddy et al., 2019), HaluEval-QA (Li et al.,
2023a), SimpleQA (Wei et al., 2024), and HotpotQA (Yang et al., 2018). Reasoning-step correctness is evaluated on PRM800K (Lightman et al., 2024), which contains questions from seven mathematical domains, including Algebra, Counting and Probability, Geometry, Intermediate Algebra, Number Theory, Prealgebra, and Precalculus.
Evaluation metrics. We use AUROC as the primary discrimination metric, defined as AUROC = . Here, denotes the detector score and and denote positive and negative responses. We also report Macro-F1, defined as Macro-F1 = , where for a class c. We report Macro-F1 rather than the F1 score of either class because the response labels can be imbalanced. Macro-F1 gives equal weight to truthful and hallucinated responses and therefore avoids a high score driven primarily by the majority class.
Baselines. We compare against five hallucination detection baselines. HARP (Hu et al., 2026a) derives a reasoning subspace from the model's unembedding matrix and performs detection on hidden states projected onto this subspace. SinkProbe (Binkowski et al., 2026) detects hallucinations using statistics of attention-sink patterns derived from attention maps. HaloScope (Du et al., 2024) uses a latent subspace to separate unlabeled generations into candidate truthful and hallucinated sets, which are then used to train a binary truthfulness classifier. PRISM-SAPLMA (Zhang et al., 2025b) applies PRISM prompts before extracting hidden states and feeds the resulting representations to SAPLMA for cross-domain detection. CrossHallu (Alansari et al., 2026) trains an MLP detector on source-domain features derived from hidden states, attention, and token probabilities, and studies its transfer to unseen target domains.
Implementation details. For hallucination detection, we use six QA datasets as six domains. Each dataset is treated in turn as the target domain, with the remaining five datasets serving as source domains. Each question is augmented with two semantically equivalent paraphrases, giving three question versions in total. We generate five responses per version and label each response by comparing it with all available reference answers using BLEURT-20 (Sellam et al., 2020; Pu et al., 2021). A response is labeled positive if its maximum BLEURT score exceeds 0.5 and negative otherwise. The target-label budget counts original questions, with all paraphrases and generated responses from the same question kept together.
For reasoning-step correctness, we use PRM800K reasoning prefixes from the seven MATH subjects. In our transfer setting, each subject is treated in turn as the target, with the remaining six serving as sources. For each prefix, the evaluated model generates eight candidate next steps, which are scored by Qwen2.5-Math-PRM-7B (Zhang et al., 2025c). We retain the highest-scoring candidate with score at least 0.8 as positive and the lowest-scoring candidate with score at most 0.2 as negative, discarding prefixes for which both classes are unavailable. The target-label budget counts retained reasoning prefixes.
For both tasks, representations and domain-specific detectors are constructed as described in Section 2, and transfer weights are estimated using three-fold cross-fitting. Model-specific layer selection are provided in Appendix B.1.
4.2 MAIN RESULTS
Table 1: Performance of target-only detectors and AdaST across different target-label budgets, averaged over six datasets for hallucination detection and seven PRM800K MATH domains for reasoning-step correctness. Subscripts report standard errors.
| Task | Data access | Full | |||||||
|---|---|---|---|---|---|---|---|---|---|
| AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | ||
| Hallucination detection | Target-only | 74.2(1.0) | 62.8(1.5) | 77.3(0.9) | 65.1(1.4) | 79.8(0.8) | 66.9(1.3) | 84.9(0.5) | 71.5(1.1) |
| AdaST | 81.0(0.9) | 66.2(1.4) | 81.7(0.8) | 67.3(1.4) | 82.3(0.8) | 68.4(1.3) | 85.0(0.5) | 71.5(1.1) | |
| Reasoning-step correctness | Target-only | 81.1(1.0) | 71.9(1.0) | 85.5(1.0) | 76.3(0.8) | 87.6(0.9) | 78.8(1.0) | 88.9(0.9) | 80.7(0.9) |
| AdaST | 89.5(0.9) | 80.8(1.0) | 89.8(0.9) | 81.2(1.0) | 90.2(0.9) | 82.2(1.1) | 90.1(0.8) | 82.2(0.9) | |
Table 1 compares the target-only detector with AdaST across the two tasks and different target-label budgets. AdaST consistently improves both AUROC and Macro-F1 across the two tasks, with larger gains when fewer target labels are available. With limited target data, the target detector is estimated with greater uncertainty. AdaST can compensate for this by assigning weight to source detectors that remain informative on held-out target examples. As more target labels become available, the target detector becomes more reliable and the additional benefit of source information decreases. Results by model and target dataset are reported in Appendices A.1 and A.2.

Figure 3: Hallucination detection at , by target dataset. Each bar is the mean over the five evaluated models and error bars are standard errors across models.
Figure 3 compares AdaST with existing hallucination detectors at . AdaST improves over the domain-specific detector across all models and achieves the strongest average performance in both AUROC and Macro-F1. We also observe that some baselines remain competitive in AUROC but perform worse in Macro-F1. This gap shows that strong ranking performance does not always lead to balanced classification. AdaST remains strong on both metrics. Results by model are reported in Appendices A.3.
4.3 FURTHER ANALYSIS
Learned transfer path. Figure 4 A shows the learned expert allocation at . The weights differ across target datasets, suggesting that different targets benefit from different source detectors rather than from a common source combination. Figure 4 B shows how the overall allocation changes with target supervision. With few target questions, most weights are placed on the source detectors. As grows, the target detector becomes more reliable, while the relative benefit of source information diminishes, leading AdaST to place more weight on the target detector. Figure 4 C shows the same overall trend across model families.
Robustness to base detector choice. To test whether AdaST is robust to the choice of base detector, we use SinkProbe, the strongest single-dataset baseline in Figure 3. For each domain, a SinkProbe expert is a logistic classifier fitted to its attention-sink features. The resulting classifier score is used as the domain-specific detector score in AdaST. Table 2 reports the results.
Table 2: Robustness to base detector choice at . AUROC (%).
| SinkProbe as base detector | OPT-6.7B | Mistral-7B | Llama-3.1-8B | DeepSeek-7B | Gemma-7B |
|---|---|---|---|---|---|
| Target-only | 71.8(4.6) | 81.4(2.4) | 79.4(3.5) | 72.9(3.4) | 80.4(3.8) |
| AdaST | 73.3(3.9) | 82.7(3.4) | 81.7(3.5) | 74.6(3.7) | 81.8(4.2) |

Figure 4: Learned AdaST combination weights. (a) Detector weights at . (b) Target weight and source weight across target training sizes. (c) Target weight across model families.
Table 2 shows that AdaST improves SinkProbe across five models, with an average gain of 1.61 AUROC points. SinkProbe relies on attention-sink features rather than the residual-stream representations used by our default detector. This suggests that the transfer gains are not specific to a particular detector construction.
Effect of paraphrase-aware estimation. Table 3 examines the effect of paraphrase augmentation. Within the evaluated range, adding paraphrased views improves AUROC for both the target-only detector and AdaST. The improvement suggests that paraphrases help produce a more stable domain-specific behavioral representation.
Table 3: Effect of paraphrase augmentation (AUROC, %).
| Method | |||
|---|---|---|---|
| Target-only | |||
| AdaST |
From Detection to Intervention. We test whether the directions learned for detection can also steer generation. Using the residual-space directions in Equation 4 and the transfer weights in Equation 5, we define
where is the target-score normalization factor for detector . During generation, we steer the residual state at the detection layer as , where controls the steering strength. The computation of and the full activation-steering implementation are detailed in Appendix B.2.
Table 4: Activation steering results on Llama-3.1-8B, averaged over three seeds.
| Setting | Semantic accuracy | Hallucination | Abstention |
|---|---|---|---|
| No steering | |||
| AdaST steering |
We use Phi-4 (Abdin et al., 2024) to assign semantic labels, from which we report semantic accuracy, hallucination and abstention. Abstention is the fraction of responses that explicitly decline to answer or provide no substantive answer. Steering improves semantic accuracy and reduces hallucination. The abstention rate remains largely unchanged, suggesting that the improvement is not simply driven by the model avoiding difficult questions.
5 CONCLUSION
We study adaptive transfer of LLM reliability signals across domains with AdaST. Experiments on hallucination detection and reasoning-step correctness show that transfer is most beneficial when target labels are limited, with the learned weights gradually shifting toward the target detector as more supervision becomes available. Our analysis characterizes this behavior in terms of source–target discrepancies and target representation bias. Future research will include extending linear classifiers to nonlinear ones.
AI USE STATEMENT
Generative AI tools were used to assist with language editing, figure presentation, and feedback on the manuscript. All AI-assisted content was reviewed and verified by the authors, who take full responsibility for the final content.
REFERENCES
Marah Abdin, Jyoti Aneja, Harkirat Behl, Sébastien Bubeck, Ronen Eldan, Suriya Gunasekar, Michael Harrison, Russell J. Hewett, Mojan Javaheripi, Piero Kauffmann, et al. Phi-4 technical report. arXiv preprint arXiv:2412.08905, 2024.
Aisha Alansari, Malak Alkhorasani, and Hamzah Luqman. CrossHallu: Do hallucination signals generalize across languages and domains in large language model's internals? arXiv preprint arXiv:2607.04029, 2026.
Amos Azaria and Tom Mitchell. The internal state of an llm knows when it's lying. In Findings of the Association for Computational Linguistics: EMNLP 2023, pp. 967–976, Singapore, 2023. Association for Computational Linguistics. doi: 10.18653/v1/2023.findings-emnlp.68. URL https://aclanthology.org/2023.findings-emnlp.68/.
Guy Bar-Shalom, Fabrizio Frasca, Yaniv Galron, Yftah Ziser, and Haggai Maron. Beyond token probes: Hallucination detection via activation tensors with act-vit. In Advances in Neural Information Processing Systems, volume 38, pp. 95218–95248, 2025.
Jakub Binkowski, Kamil Adamczewski, and Tomasz Kajdanowicz. Attention sinks as internal signals for hallucination detection in large language models. In International Conference on Machine Learning, 2026.
Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. Language models are few-shot learners. In Advances in Neural Information Processing Systems, volume 33, pp. 1877–1901, 2020.
Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al. Evaluating large language models trained on code. arXiv preprint arXiv:2107.03374, 2021.
DeepSeek-AI et al. DeepSeek LLM: Scaling open-source language models with longtermism. arXiv preprint arXiv:2401.02954, 2024.
Yongxin Deng, Zhen Fang, Yixuan Li, and Ling Chen. Beyond in-domain detection: Spikescore for cross-domain hallucination detection, 2026. URL https://arxiv.org/abs/2601.19245.
Xuefeng Du, Chaowei Xiao, and Yixuan Li. HaloScope: Harnessing unlabeled LLM generations for hallucination detection. In Advances in Neural Information Processing Systems, 2024.
Gemma Team et al. Gemma: Open models based on gemini research and technology. arXiv preprint arXiv:2403.08295, 2024.
Aaron Grattafiori et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
Jiang Guo, Darsh Shah, and Regina Barzilay. Multi-source domain adaptation with mixture of experts. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 4694–4703. Association for Computational Linguistics, 2018. doi: 10.18653/v1/D18-1498.
Paul Hager, Friederike Jungmann, Robbie Holland, Kunal Bhagat, Inga Hubrecht, Manuel Knauer, Jakob Vielhauer, Marcus Makowski, Rickmer Braren, Georgios Kaissis, and Daniel Rueckert. Evaluation and mitigation of the limitations of large language models in clinical decision-making. Nature Medicine, 30:2613–2622, 2024. doi: 10.1038/s41591-024-03097-1.
Junjie Hu, Gang Tu, ShengYu Cheng, Jinxin Li, Jinting Wang, Rui Chen, Zhilong Zhou, and Dongbo Shan. HARP: Hallucination detection via reasoning subspace projection. In International Conference on Learning Representations, 2026a.
Yangfan Hu, Xuhan Tong, Haoyue Bai, Xi Ding, Shashank Muralidhar Bharadwaj, Siyang Cao, Robert Nowak, and Jiawei Zhang. Understanding why language models hallucinate: Testing reasoning against priors. arXiv preprint arXiv:2607.00447, 2026b.
Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, and William El Sayed. Mistral 7b. arXiv preprint arXiv:2310.06825, 2023.
Mandar Joshi, Eunsol Choi, Daniel Weld, and Luke Zettlemoyer. TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, pp. 1601–1611, 2017.
Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. Natural questions: A benchmark for question answering research. Transactions of the Association for Computational Linguistics, 7:452–466, 2019.
Aitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer, Henryk Michalewski, Vinay Ramasesh, Ambrose Slone, Cem Anil, Imanol Schlag, Theo Gutman-Solo, et al. Solving quantitative reasoning problems with language models. In Advances in Neural Information Processing Systems, volume 35, pp. 3843–3857, 2022.
Junyi Li, Xiaoxue Cheng, Xin Zhao, Jian-Yun Nie, and Ji-Rong Wen. HaluEval: A large-scale hallucination evaluation benchmark for large language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 6449–6464, 2023a.
Kenneth Li, Oam Patel, Fernanda Viégas, Hanspeter Pfister, and Martin Wattenberg. Inference-time intervention: Eliciting truthful answers from a language model. In Advances in Neural Information Processing Systems, volume 36, 2023b.
Hunter Lightman, Vineet Kosaraju, Yuri Burda, Harrison Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let's verify step by step. In International Conference on Learning Representations, 2024.
Yishay Mansour, Mehryar Mohri, and Afshin Rostamizadeh. Domain adaptation with multiple sources. In Advances in Neural Information Processing Systems, volume 21, pp. 1041–1048, 2008.
Yishay Mansour, Mehryar Mohri, and Afshin Rostamizadeh. Multiple source adaptation and the rényi divergence. In Proceedings of the Twenty-Fifth Conference on Uncertainty in Artificial Intelligence, pp. 367–374, 2009.
Charles O'Neill, Slava Chalnev, Chi Chi Zhao, Max Kirkby, and Mudith Jayasekara. A single direction of truth: An observer model's linear residual probe exposes and steers contextual hallucinations. arXiv preprint arXiv:2507.23221, 2025.
OpenAI. The hugging face incident and the road ahead. OpenAI, August 2026. URL https://openai.com/index/hugging-face-incident-and-the-road-ahead/.
Hadas Orgad, Michael Toker, Zorik Gekhman, Roi Reichart, Idan Szpektor, Hadas Kotek, and Yonatan Belinkov. LLMs know more than they show: On the intrinsic representation of LLM hallucinations. In International Conference on Learning Representations, 2025.
Xingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang, Kate Saenko, and Bo Wang. Moment matching for multi-source domain adaptation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 1406–1415, 2019. doi: 10.1109/ICCV.2019.00149.
Amy Pu, Hyung Won Chung, Ankur P Parikh, Sebastian Gehrmann, and Thibault Sellam. Learning compact metrics for mt. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pp. 751–762. Association for Computational Linguistics, 2021. doi: 10.18653/v1/2021.emnlp-main.58.
Siva Reddy, Danqi Chen, and Christopher D. Manning. CoQA: A conversational question answering challenge. Transactions of the Association for Computational Linguistics, 7:249–266, 2019.
Nina Rimsky, Nick Gabrieli, Julian Schulz, Meg Tong, Evan Hubinger, and Alexander Turner. Steering llama 2 via contrastive activation addition. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 15504–15522. Association for Computational Linguistics, 2024.
Thibault Sellam, Dipanjan Das, and Ankur P. Parikh. Bleurt: Learning robust metrics for text generation. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 7881–7892. Association for Computational Linguistics, 2020. doi: 10.18653/v1/2020.acl-main.704.
Nina I. Shamsi. Density ridge selective prediction for llm and vlm hallucination detection under calibration label scarcity, 2026. URL https://arxiv.org/abs/2606.10198.
Haoyi Song, Ruihan Ji, Naichen Shi, Fan Lai, and Raed Al Kontar. Inv-entropy: A fully probabilistic framework for uncertainty quantification in language models. Advances in Neural Information Processing Systems, 38:107889–107922, 2026.
Jason Wei, Nguyen Karina, Hyung Won Chung, Yunxin Joy Jiao, Spencer Papay, Amelia Glaese, John Schulman, and William Fedus. Measuring short-form factuality in large language models. arXiv preprint arXiv:2411.04368, 2024.
Yujie Wu, Giovanni Parmigiani, and Boyu Ren. Multi-source domain adaptation for regression. arXiv preprint arXiv:2312.05460, 2023.
Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D. Manning. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 2369–2380, 2018.
Boyang Zhang, Yicong Tan, Yun Shen, Ahmed Salem, Michael Backes, Savvas Zannettou, and Yang Zhang. Breaking agents: Compromising autonomous LLM agents through malfunction amplification. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pp. 34964–34976, Suzhou, China, 2025a. Association for Computational Linguistics. doi: 10.18653/v1/2025.emnlp-main.1771. URL https://aclanthology.org/2025.emnlp-main.1771/.
Fujie Zhang, Peiqi Yu, Biao Yi, Baolei Zhang, Tong Li, and Zheli Liu. Prompt-guided internal states for hallucination detection of large language models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, pp. 21806–21818, 2025b.
Susan Zhang, Stephen Roller, Naman Goyal, Mikel Artetxe, Moya Chen, Shuohui Chen, Christopher Dewan, Mona Diab, Xian Li, Xi Victoria Lin, Todor Mihaylov, Myle Ott, Sam Shleifer, Kurt Shuster, Daniel Simig, Punit Singh Koura, Anjali Sridhar, Tianlu Wang, and Luke Zettlemoyer. OPT: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068, 2022.
Zhenru Zhang, Chujie Zheng, Yangzhen Wu, Beichen Zhang, Runji Lin, Bowen Yu, Dayiheng Liu, Jingren Zhou, and Junyang Lin. The lessons of developing process reward models in mathematical reasoning. arXiv preprint arXiv:2501.07301, 2025c.
Xiaoling Zhou, Mingjie Zhang, Zhemg Lee, Wei Ye, and Shikun Zhang. HaDeMiF: Hallucination detection and mitigation in large language models. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=VwOYxPScxB.
Andy Zou, Long Phan, Sarah Chen, James Campbell, Phillip Guo, Richard Ren, Alexander Pan, Xuwang Yin, Mantas Mazeika, Ann-Kathrin Dombrowski, Shashwat Goel, Nathaniel Li, Michael J. Byun, Zifan Wang, Alex Mallen, Steven Basart, Sanmi Koyejo, Dawn Song, Matt Fredrikson, J. Zico Kolter, and Dan Hendrycks. Representation engineering: A top-down approach to ai transparency. arXiv preprint arXiv:2310.01405, 2023.
A ADDITIONAL RESULTS
A.1 COMPARISONS ACROSS MODELS
Table 5 breaks the column of Table 1 down by model. The gain from the source domains is positive for every model on both tasks.
Table 5: Per-model breakdown of Table 1 at .
| Task | Data access | OPT-6.7B | Llama-3.1-8B | Gemma-7B | Mistral-7B | DeepSeek-7B | Avg. | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | ||
| Hallucination | Target-only | 74.1(2.3) | 61.4(3.5) | 74.1(2.7) | 65.2(3.7) | 74.9(2.7) | 64.4(4.0) | 72.4(1.1) | 59.3(1.0) | 75.7(2.0) | 63.9(3.1) | 74.2(1.0) | 62.8(1.5) |
| AdaST | 78.6(2.2) | 62.9(2.9) | 82.6(1.8) | 69.7(2.9) | 81.4(2.1) | 66.5(3.7) | 83.0(0.5) | 66.3(1.0) | 79.6(2.3) | 65.6(3.2) | 81.0(0.9) | 66.2(1.4) | |
| Reasoning-step | Target-only | 84.8(1.5) | 74.7(1.5) | 80.2(1.9) | 71.9(2.5) | 73.3(1.8) | 65.1(1.6) | 83.5(1.2) | 73.7(1.4) | 83.7(1.2) | 74.0(1.3) | 81.1(1.0) | 71.9(1.0) |
| AdaST | 92.3(0.8) | 84.8(0.6) | 87.5(1.3) | 78.3(1.3) | 82.5(1.9) | 72.7(1.9) | 92.4(0.5) | 83.4(0.8) | 92.8(1.0) | 84.9(1.5) | 89.5(0.9) | 80.8(1.0) | |
A.2 COMPARISONS ACROSS DATASET
Tables 6 and 7 break Table 1 down by target dataset. The gain from the source domains is positive on every target dataset of both tasks at .
Table 6: AdaST for hallucination detection against the same detector without source data, by dataset and target label budget .
| Data access | NQ | TriviaQA | CoQA | HaluEval | SimpleQA | HotpotQA | Avg. | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | ||
| 25 | Target-only | 73.1(1.5) | 57.9(1.3) | 79.5(1.4) | 70.6(2.4) | 70.6(1.6) | 62.8(1.4) | 80.8(2.4) | 74.0(3.0) | 70.0(1.3) | 54.6(0.6) | 71.5(1.0) | 57.2(0.5) | 74.2(1.0) | 62.8(1.5) |
| AdaST | 84.3(1.3) | 64.4(1.7) | 83.8(1.0) | 72.6(2.3) | 73.8(2.3) | 64.0(0.9) | 84.6(0.6) | 76.5(2.0) | 80.5(1.0) | 58.6(1.9) | 79.2(1.6) | 61.2(1.5) | 81.0(0.9) | 66.2(1.4) | |
| 50 | Target-only | 77.4(2.0) | 60.9(1.6) | 80.4(1.4) | 71.3(2.5) | 74.1(1.9) | 65.8(1.1) | 83.0(1.6) | 75.5(2.8) | 73.2(0.6) | 56.5(1.0) | 75.9(1.3) | 60.3(0.6) | 77.3(0.9) | 65.1(1.4) |
| AdaST | 84.7(1.4) | 65.4(1.9) | 84.2(0.9) | 74.0(1.9) | 75.4(2.3) | 66.3(1.0) | 85.1(0.6) | 77.1(2.1) | 81.0(1.0) | 59.5(1.7) | 79.7(1.6) | 61.4(1.8) | 81.7(0.8) | 67.3(1.4) | |
| 100 | Target-only | 81.1(1.6) | 63.4(1.7) | 82.3(1.2) | 72.8(2.2) | 75.9(2.0) | 67.0(1.5) | 84.4(1.0) | 76.8(2.4) | 77.8(0.7) | 59.1(0.8) | 77.6(1.2) | 62.1(0.9) | 79.8(0.8) | 66.9(1.3) |
| AdaST | 85.4(1.4) | 66.6(1.5) | 84.3(0.9) | 74.7(1.9) | 76.8(2.0) | 67.9(1.0) | 85.3(0.6) | 77.6(2.1) | 81.3(1.0) | 60.4(1.7) | 80.7(1.3) | 63.2(1.1) | 82.3(0.8) | 68.4(1.3) | |
| Full | Target-only | 86.4(1.3) | 68.2(1.3) | 86.0(0.8) | 76.4(1.7) | 81.6(1.3) | 72.7(1.1) | 87.6(0.9) | 78.9(2.1) | 84.0(0.8) | 64.7(1.1) | 84.2(0.8) | 67.8(0.4) | 85.0(0.5) | 71.5(1.1) |
| AdaST | 86.6(1.3) | 68.5(1.5) | 86.1(0.7) | 76.5(1.7) | 81.6(1.3) | 72.7(1.2) | 87.6(0.9) | 78.9(2.1) | 84.1(0.7) | 64.8(1.1) | 84.2(0.8) | 67.7(0.4) | 85.0(0.5) | 71.5(1.1) | |
Table 7: AdaST for Reasoning-step correctness against the same detector without source data, by MATH domain and target label budget . Prealgebra has fewer than 100 labeled training questions, so the row omits it and averages over the remaining six domains.
| Data access | Algebra | C.&Prob. | Geometry | Int. Alg. | N. Theory | Prealg. | Precalc. | Avg. | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | ||
| 25 | Target-only | 77.1(3.5) | 67.6(4.1) | 78.8(2.5) | 70.6(2.3) | 82.6(1.0) | 73.9(0.4) | 82.9(2.4) | 73.8(2.5) | 81.1(2.3) | 70.5(1.8) | 82.3(2.9) | 74.0(2.2) | 82.8(1.9) | 72.7(1.7) | 81.1(1.0) | 71.9(1.0) |
| AdaST | 85.6(3.7) | 77.3(3.9) | 89.2(1.5) | 81.0(1.6) | 91.3(1.2) | 81.9(1.9) | 90.4(2.0) | 81.1(2.8) | 90.9(1.6) | 82.0(2.6) | 87.8(2.2) | 79.8(2.3) | 91.4(1.3) | 82.7(1.3) | 89.5(0.9) | 80.8(1.0) | |
| 50 | Target-only | 81.9(3.6) | 73.9(3.2) | 85.1(2.1) | 77.0(1.6) | 87.5(1.4) | 76.5(1.4) | 85.7(2.7) | 77.4(2.6) | 86.7(2.1) | 77.6(2.1) | 84.0(2.5) | 74.0(1.7) | 87.6(1.8) | 78.0(1.8) | 85.5(1.0) | 76.3(0.8) |
| AdaST | 86.1(3.8) | 78.2(3.9) | 89.3(1.3) | 80.1(1.5) | 91.5(1.4) | 83.0(2.6) | 90.9(1.9) | 81.4(2.6) | 90.9(1.6) | 83.5(1.7) | 88.3(2.4) | 80.1(2.7) | 91.6(1.4) | 81.9(1.7) | 89.8(0.9) | 81.2(1.0) | |
| 100 | Target-only | 84.0(3.3) | 75.6(3.3) | 87.7(1.6) | 77.9(1.8) | 88.1(1.8) | 78.1(2.1) | 88.0(1.8) | 79.5(2.5) | 88.1(2.1) | 80.1(2.2) | - | - | 89.9(1.5) | 81.7(1.3) | 87.6(0.9) | 78.8(1.0) |
| AdaST | 86.5(3.5) | 78.9(3.5) | 89.4(1.4) | 81.6(1.7) | 91.5(1.5) | 83.7(2.5) | 91.0(1.8) | 82.6(2.4) | 91.0(1.6) | 83.9(2.3) | - | - | 91.8(1.3) | 82.1(1.9) | 90.2(0.9) | 82.2(1.1) | |
| Full | Target-only | 85.9(3.1) | 77.5(3.1) | 89.0(1.5) | 81.3(1.3) | 89.8(1.8) | 82.8(2.2) | 90.9(1.8) | 83.0(2.4) | 89.2(2.1) | 80.8(2.3) | 86.2(2.4) | 77.9(1.9) | 91.2(1.4) | 81.5(1.7) | 88.9(0.9) | 80.7(0.9) |
| AdaST | 87.0(3.3) | 80.2(3.3) | 89.8(1.4) | 81.5(1.4) | 91.4(1.6) | 83.9(2.2) | 91.3(1.8) | 83.1(2.5) | 91.0(1.5) | 84.0(2.9) | 88.5(2.3) | 80.5(2.2) | 91.7(1.3) | 82.2(1.9) | 90.1(0.8) | 82.2(0.9) | |
A.3 COMPARISONS ACROSS BASELINE
Table 8 gives the per-model, per-dataset breakdown behind Figure 3.
Table 8: Matched-budget hallucination detection at , by model and target dataset. Subscripts are bootstrap standard errors
| Model | Method | NQ | TriviaQA | CoQA | HaluEval | SimpleQA | HotpotQA | Avg. | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | AUC | F1 | ||
| OPT-6.7B | HaloScope | 57.3(1.5) | 52.9(0.6) | 61.3(2.7) | 55.6(1.9) | 53.6(1.6) | 51.2(1.6) | 68.0(3.6) | 61.9(3.1) | 61.4(3.0) | 52.9(1.8) | 51.7(2.6) | 49.7(0.8) | 58.9(2.2) | 54.0(1.6) |
| HARP | 66.0(1.2) | 52.4(1.4) | 67.7(1.0) | 54.5(2.6) | 63.8(0.7) | 55.2(1.8) | 81.8(0.5) | 68.3(3.7) | 60.8(3.2) | 49.7(2.6) | 59.9(2.2) | 49.1(1.8) | 66.6(3.0) | 54.9(2.6) | |
| SinkProbe | 75.0(1.1) | 49.0(0.5) | 74.8(0.6) | 54.8(3.0) | 58.9(0.6) | 41.5(2.4) | 82.6(0.6) | 69.9(1.1) | 74.1(2.9) | 52.1(1.8) | 75.7(1.0) | 52.7(2.5) | 73.5(2.8) | 53.3(3.4) | |
| Target-only | 71.9(1.0) | 53.5(1.0) | 75.7(0.6) | 65.2(0.6) | 65.8(1.0) | 60.7(1.2) | 84.6(0.3) | 77.8(0.2) | 73.3(2.3) | 52.5(1.5) | 73.5(1.5) | 58.6(1.7) | 74.1(2.3) | 61.4(3.5) | |
| AdaST (Ours) | 82.2(0.4) | 60.7(0.7) | 79.9(0.5) | 64.6(1.4) | 68.9(0.4) | 62.5(0.8) | 85.4(0.2) | 77.3(0.8) | 79.9(2.0) | 55.1(1.3) | 75.2(1.3) | 57.3(1.3) | 78.6(2.2) | 62.9(2.9) | |
| Llama-3.1-8B | HaloScope | 64.9(3.0) | 56.0(2.0) | 70.8(4.1) | 64.7(3.4) | 54.5(1.8) | 51.7(2.0) | 77.6(2.8) | 66.5(3.6) | 57.3(1.9) | 49.3(1.7) | 56.2(3.3) | 50.0(3.3) | 63.5(3.5) | 56.4(2.8) |
| HARP | 69.3(1.3) | 59.1(1.6) | 80.9(0.5) | 69.2(2.4) | 62.7(0.9) | 53.8(2.4) | 82.7(0.5) | 69.8(2.4) | 58.8(1.6) | 46.1(1.4) | 65.2(2.2) | 49.8(2.9) | 69.9(3.6) | 58.0(3.7) | |
| SinkProbe | 84.2(1.1) | 54.0(2.7) | 84.8(0.4) | 74.6(1.5) | 69.6(1.1) | 54.5(4.5) | 82.7(0.6) | 64.2(3.8) | 72.6(1.7) | 50.4(1.3) | 75.1(0.7) | 51.8(1.7) | 78.2(2.4) | 58.3(3.5) | |
| Target-only | 74.0(2.9) | 61.2(1.1) | 82.7(0.3) | 76.5(0.5) | 74.3(0.8) | 68.1(0.5) | 81.6(0.7) | 75.8(0.8) | 64.6(0.9) | 53.9(0.8) | 67.5(1.5) | 55.5(1.4) | 74.1(2.7) | 65.2(3.7) | |
| AdaST (Ours) | 88.7(0.2) | 71.1(0.8) | 86.1(0.2) | 78.9(0.4) | 75.1(0.6) | 67.8(1.0) | 84.8(0.3) | 77.9(0.7) | 81.3(0.2) | 59.5(0.9) | 79.6(0.4) | 63.1(0.5) | 82.6(1.8) | 69.7(2.9) | |
| Gemma-7B | HaloScope | 57.0(1.9) | 50.2(1.1) | 72.9(4.3) | 66.4(3.7) | 52.0(2.1) | 47.3(2.8) | 61.0(3.2) | 55.1(3.4) | 63.0(1.9) | 52.5(1.1) | 62.0(5.3) | 52.2(1.7) | 61.3(2.6) | 54.0(2.4) |
| HARP | 51.8(1.2) | 49.9(1.3) | 74.1(1.0) | 61.6(3.8) | 60.0(0.7) | 53.0(1.6) | 79.0(0.8) | 62.0(3.0) | 59.6(2.1) | 47.3(2.1) | 66.1(1.1) | 49.9(3.2) | 65.1(3.7) | 53.9(2.4) | |
| SinkProbe | 74.7(2.6) | 48.7(0.0) | 84.8(0.6) | 65.9(4.2) | 63.9(1.2) | 47.5(5.2) | 82.5(1.1) | 69.5(3.2) | 70.5(1.5) | 50.8(1.0) | 74.9(2.5) | 56.8(2.7) | 75.2(2.9) | 56.5(3.4) | |
| Target-only | 70.1(2.8) | 55.8(1.4) | 83.6(0.3) | 75.8(0.7) | 68.3(1.2) | 62.8(1.1) | 84.0(0.3) | 79.6(0.3) | 70.0(1.9) | 54.5(0.7) | 73.1(2.3) | 58.2(1.9) | 74.9(2.7) | 64.4(4.0) | |
| AdaST (Ours) | 83.5(0.3) | 60.8(1.8) | 86.2(0.2) | 76.9(0.6) | 70.7(0.6) | 62.9(0.4) | 85.8(0.2) | 80.7(0.2) | 80.1(0.5) | 55.8(1.0) | 82.2(0.9) | 61.6(0.8) | 81.4(2.1) | 66.5(3.7) | |
| Mistral-7B | HaloScope | 47.4(1.3) | 47.4(1.6) | 53.3(1.5) | 49.3(1.8) | 51.0(6.7) | 50.7(2.3) | 51.3(2.4) | 45.5(2.0) | 54.9(1.2) | 49.8(0.6) | 55.2(3.1) | 49.9(1.2) | 52.2(1.1) | 48.8(0.7) |
| HARP | 69.5(0.9) | 52.0(2.2) | 69.7(0.7) | 57.4(1.2) | 73.8(1.2) | 55.9(1.1) | 65.0(0.9) | 50.5(2.9) | 68.8(0.7) | 52.0(3.2) | 70.4(0.7) | 50.5(1.7) | 69.5(1.1) | 53.1(1.1) | |
| SinkProbe | 84.2(0.4) | 55.9(3.0) | 84.5(0.5) | 60.9(3.4) | 77.5(1.4) | 53.1(2.0) | 80.6(0.6) | 53.6(2.2) | 83.8(0.5) | 55.6(2.0) | 84.8(0.8) | 52.2(2.5) | 82.5(1.1) | 55.2(1.2) | |
| Target-only | 70.2(0.7) | 59.0(0.5) | 76.6(0.6) | 63.5(0.4) | 75.1(2.0) | 58.8(1.4) | 70.3(1.3) | 61.0(0.7) | 70.2(0.9) | 56.7(0.7) | 71.8(1.1) | 57.0(1.4) | 72.4(1.1) | 59.3(1.0) | |
| AdaST (Ours) | 80.4(0.1) | 65.8(0.4) | 83.9(0.2) | 69.9(0.5) | 83.4(0.5) | 62.1(0.8) | 82.0(0.2) | 67.8(0.2) | 84.2(0.1) | 66.6(0.4) | 83.8(0.2) | 66.0(0.3) | 83.0(0.5) | 66.3(1.0) | |
| DeepSeek-7B | HaloScope | 61.3(6.0) | 51.7(2.3) | 70.7(2.1) | 64.1(1.7) | 56.5(1.4) | 53.2(1.0) | 66.9(2.4) | 61.7(2.7) | 59.3(2.5) | 48.5(2.1) | 58.0(1.6) | 49.1(1.1) | 62.1(2.0) | 54.7(2.5) |
| HARP | 66.2(4.2) | 48.5(3.7) | 70.3(1.0) | 54.1(4.1) | 58.5(1.6) | 46.0(2.4) | 78.8(0.7) | 59.7(3.0) | 65.3(0.9) | 46.3(2.4) | 63.9(1.8) | 49.5(2.9) | 67.2(2.6) | 50.7(2.0) | |
| SinkProbe | 82.2(1.0) | 52.3(2.2) | 77.1(0.9) | 56.6(3.6) | 64.4(1.0) | 47.1(5.0) | 80.9(0.8) | 68.4(3.1) | 66.1(1.6) | 49.7(1.0) | 69.8(1.6) | 51.3(2.0) | 73.4(2.9) | 54.2(2.8) | |
| Target-only | 79.3(1.7) | 59.9(1.7) | 78.7(0.7) | 71.8(0.7) | 69.3(0.7) | 63.3(0.6) | 83.3(0.3) | 76.0(1.0) | 71.9(1.8) | 55.3(1.1) | 71.9(0.8) | 56.8(1.0) | 75.7(2.0) | 63.9(3.1) | |
| AdaST (Ours) | 86.5(0.7) | 63.7(1.9) | 82.7(0.3) | 72.7(1.1) | 71.2(0.6) | 64.7(0.6) | 85.2(0.1) | 78.5(0.3) | 77.2(0.6) | 55.9(1.2) | 74.9(0.4) | 57.9(1.2) | 79.6(2.3) | 65.6(3.2) | |
B ADDITIONAL IMPLEMENTATION DETAILS
B.1 LAYER SELECTION
For each model and target domain , we select the representation layer using labeled source data only. For each source domain , we divide its questions (or reasoning prefixes) into a fitting partition and a validation partition. At each candidate layer , we estimate a mean-difference direction between the positive and negative classes using the fitting partition and evaluate its AUROC on the corresponding validation partition. Here, the positive class corresponds to truthful responses for hallucination detection and correct next steps for reasoning-step correctness. We select
where indexes the evaluated language model. The selected layer is then fixed for all target-label budgets, cross-fitting folds, and experimental repetitions for that model–target pair.
For hallucination detection, the five remaining QA datasets serve as source domains when one dataset is held out as the target. For reasoning-step correctness, the six remaining MATH subjects serve as source domains. Neither labeled target data nor the target test set is used for layer selection, preserving the target-label budget and avoiding target-test leakage. After selecting , the source detectors are refitted using all available labeled data from their respective source domains.
B.2 INTERVENTION DIRECTION AND ACTIVATION STEERING
For detector , recall that its raw residual-space score is . We denote it by . To place the scores of different detectors on a common scale, we standardize them using the labeled target responses. Specifically, we define the mean raw score of detector on the target set as
and define
Thus, is the empirical standard deviation of detector s's raw scores on the labeled target responses. The standardized detector score is therefore
Since is constant with respect to h, the direction in residual space along which the standardized detector score increases is
The final AdaST detector combines the standardized detector scores as
Its corresponding residual-space direction is therefore
We normalize this vector to unit norm to obtain the steering direction used in the intervention experiment. We next describe how the resulting direction is applied during generation. We implement activation steering using a forward hook on transformer block . During the initial prompt pass, the hook adds only to the block output at the final prompt position. During cached autoregressive decoding, the same update is applied to the current token position at every decoding step:
The modified state is then passed to block to predict the next token. The steering direction and strength are fixed throughout the generation of a response. No earlier prompt positions or other transformer layers are modified.
For a unit steering direction , we first compute its activation scale
where V denotes the steering validation set and is the residual state of the final prompt token at layer L. We evaluate strengths of the form for and select the value that maximizes mean BLEURT on the validation responses. Ties are resolved in favor of the smaller magnitude. The selected is then frozen and evaluated on 500 disjoint test questions.
C ADDITIONAL LEMMAS
Lemma 1 (Sandwiched sample second moments.) Let be i.i.d. with and , and let . Let and be fixed matrices whose numbers of columns do not depend on . With , , and fixed, as ,
If in addition is positive definite, then almost surely is invertible for all large and .
Proof. Fix an entry with and , and let denote standard basis vectors of and . The entry is a sample mean,
The variables are i.i.d. across , being a fixed function of the i.i.d. vectors . They are integrable by the Cauchy Schwarz inequality,
Their mean is . Kolmogorov's strong law of large numbers gives almost surely. This holds on an event with . There are entries, a finite number that does not depend on , so . On this event every entry converges. Entrywise convergence of matrices of fixed size is convergence in every matrix norm, which proves the first claim.
For the second claim, work on the same probability one event with A = B. By Weyl's inequality,
The right side converges to , so is invertible for all large . Continuity of matrix inversion gives .
Lemma 2 (Projected noise sample means.) Let , , be i.i.d. pairs with , , and . Write , , and . Let be a fixed matrix whose number of columns does not depend on . With and fixed, as ,
Proof. Fix a coordinate and let be the th standard basis vector of . The coordinate is the sample mean with . These variables are i.i.d. across and integrable by the Cauchy Schwarz inequality,
Their mean is zero by the tower property,
Kolmogorov’s strong law of large numbers gives almost surely. Since there are finitely many coordinates, the entire vector converges to zero almost surely.
D PROOF OF THEOREM 1
D.1 MODEL AND ASSUMPTIONS
We use the Gaussian linear model and fixed prediction subspaces defined in the main text. Observations are i.i.d. within each domain, and datasets from different domains are independent. Noise is independent of features, with mean zero and fixed finite variance. The target test observation is independent of all training data.
All source and target sample sizes tend to infinity, while , , , the prediction subspaces, and the population distributions remain fixed. Assume that the projected covariances are positive definite in every domain and that . The target fold assignments are fixed across the asymptotic sequence and independent of the observations, with for .
D.2 TWO-FOLD OUT-OF-FOLD WEIGHT ESTIMATION
Write , , and . For each source domain, fit the projected linear regression
Split the target observations into two disjoint folds with sample sizes . Using only fold , fit the projected linear regression in the target subspace
The aggregation weights are estimated by
Any measurable minimizer can be used if the empirical optimum is not unique.
D.3 RISK CALCULATION
The projected linear regression using the full target dataset is
Hence, the transferred estimator is
with the last coordinate of the weight vector corresponds to the target domain and . For an independent target observation , the noise has mean zero and is independent of the features, so
Using Equation 7 and the constraint ,
Here, is the target-only coefficient. For each source task, the source–target shift, representation bias, and estimation error are
The effective discrepancy between the projected source coefficient and the target coefficient is therefore
For the target task, the representation bias and estimation error are
Hence,
and expanding the quadratic risk gives
We first show that the estimation errors vanish. Let . Substituting into the projected least-squares normal equations gives
By Lemma 1,
The first limit is positive definite, so the sample matrix is almost surely invertible for all sufficiently large sample sizes and its inverse converges to . By Lemma 2,
Therefore,
and hence
The same argument with defines and applies to the two target-fold estimators and the full-sample target estimator. Defining for , we obtain
D.4 ASYMPTOTIC OUT-OF-FOLD WEIGHTS
For fold , substituting the target model and using , the residual in the out-of-fold objective becomes
Define
Expanding the squared residuals, the out-of-fold objective is
where
For , the source predictor is the same on both target folds, so
Here Lemma 2 applies with and , and . For the target coordinate, the same argument gives
Thus
We next consider . For ,
where . Applying Lemma 1 to coordinate vectors gives in operator norm because is fixed. Each term involving an estimation error vanishes. For example,
Consequently,
For ,
where . For each fold, expanding this product gives
The error terms vanish by the same norm bounds, since and . Using gives
Finally,
These entrywise limits give
The limiting weights minimize subject to and . The feasible set is compact and the objective is strictly convex because , so its minimizer exists and is unique. Every feasible vector satisfies , giving the uniform bound
To show that the empirical minimizer converges, take any feasible . The segment from to is feasible, and optimality at makes the directional derivative nonnegative. Thus , and
Since , applying the uniform bound to both weights gives
Because , this proves
Returning to the risk expansion, every weight lies in . Terms involving estimation errors therefore vanish. For example,
and terms involving two errors are bounded by times the product of their norms. Since there are finitely many terms, substituting the weight limits yields
The target-only estimator has limiting risk . Since is feasible, optimality gives
Equality holds exactly when , since the limiting minimizer is unique. This completes the proof.
E FINITE-SAMPLE DECAY OF THE TARGET WEIGHT
We quantify the finite-sample error under the Gaussian-design and fixed-subspace assumptions of Theorem 1. Write , and
Assume all source and target-fold sample sizes exceed . Below, C denotes a constant depending only on the fixed population parameters and dimensions.
For source domain , let . The projected residual has variance and is independent of the projected covariates under Gaussian design. The Gaussian inverse-Gram moment gives
The same identity applies to target-fold estimation errors, with s = T and sample size .
Next, use the out-of-fold matrices , and defined in Appendix D. Set
Since contains source fitting errors and the target fitting error from fold , it is independent of the observations in fold . Expanding and with Equation 8 gives , where . Expanding the quadratic gives
Since the sample covariance concentrates around its population counterpart , Gaussian covariance moment bounds yield . Since , then . Similarly, the quadratic term is bounded by .
For the variance term,
Similar calculations as for give . Together,
Finally, let
Since minimizes the empirical quadratic objective over the simplex and is feasible, the first-order optimality condition gives
or equivalently,
Similarly, since minimizes the population quadratic objective over the simplex and is feasible,
so that
Since , we have
Therefore . Taking expectations gives
In any setting whose population solution has , simplex nonnegativity then gives
In the empirically-interested regime where source samples are more abundant than target samples, with for a fixed and for , we have . Consequently, if ,
This establishes a vanishing upper bound on the expected target weight. More generally, the same argument gives , including when .