Manuscript Offprint

arXiv:2610.33442

Adaptive Transfer of Representational Signatures for LLM Reliability Detection

Yongtong Li, Yixuan Florence Wu, Jiawei Zhang, Naichen Shi

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:

  1. 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.

  2. 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.

  3. 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.

References (70)