Skip to content

CORVUS: Using LoRA to disguise internal signals and bypass single-forward hallucination detectorsCORVUS: Red-Teaming Hallucination Detectors via Internal Signal Camouflage in Large Language Models

Paper Tracker· arXiv:2601.14310· Nay Myat Min, Long H. Pham, Hongyu Zhang, Jun Sun·Indexed by this site · 2026-10-09· Originally publishedSelected AttacksSelectedAttention38

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The authors propose the model-side red-teaming method CORVUS, which fine-tunes a lightweight LoRA to disguise internal telemetry; on FAVA it reduces Llama-2's attention detection AUROC to 48.08 (Table 1).

Threat modelAn adaptive model-side adversary (red team) has white-box access to hidden states and attention, and can fine-tune a lightweight LoRA adapter. The attack goal is to reduce the confidence of fixed hallucination detectors based on internal telemetry under single-forward, teacher-forcing replay auditing, while maintaining task utility and user-visible response content; the adversary has no hallucination-labeled samples from the target benchmark distribution.

Questions
Single-pass hallucination detectors rely on the model's internal computational telemetry (such as uncertainty, hidden state geometry, and attention). Previous evaluations assumed the model is passive and did not consider the risk that, in open-weight or self-hosted deployments, a model-side adversary could evade detection by modifying the model's internal representations.
Methods
The authors propose the CORVUS method, which freezes the base model and trains a lightweight LoRA adapter. Under teacher forcing, it directly optimizes the token entropy and hidden log-volume of the answer tokens, and introduces an adversarial attention diagonality loss via single-step embedding-space FGSM perturbation, camouflaging internal telemetry while keeping the surface answer unchanged.
Experiments and results
The adapter is trained on 1,000 Alpaca instructions and then zero-shot transferred to FAVA-Annotation. The authors report that it reduces the performance of training-free detectors and probes on Llama-2, Vicuna, Llama-3, and Qwen2.5, with attention score AUROC dropping to 48.08 on Llama-2.
Limitations and future work
The method assumes white-box access and is not directly applicable to closed-source APIs; experiments are limited to single-forward internal detectors; the method only camouflages internal signals without optimizing factuality, so it cannot fix hallucinations themselves; the paper does not report defense effectiveness against external detectors such as retrieval-augmented ones.
Experimental setupLlama-2-7B-Chat、Vicuna-7B (v1.5) et al. · Alpaca_en、FAVA-Annotation · AUROC、Accuracy et al.
Evaluated models
Llama-2-7B-ChatVicuna-7B (v1.5)Llama-3-8B-InstructQwen2.5-14B-Instruct
Benchmarks
Alpaca_enFAVA-Annotation
Metrics
AUROCAccuracyTPR@5%FPRF1
AI summaryand selection rationaleResearchers from Singapore Management University and other institutions propose CORVUS, a white-box model-side red-teaming method: freezing the detector and base model, using only a LoRA adapter under teacher forcing to reshape three types of internal telemetry signals in the answer window—token entropy (TE), hidden-state log-volume (HV), and attention diagonality (AD)—and adding a one-step embedding-space FGSM attention stress test. The adapter is trained on only 1,000 out-of-distribution Alpaca instructions with fewer than 0.5% trainable parameters, then transfers zero-shot to FAVA-Annotation, simultaneously weakening both training-free detectors (e.g., LLM-Check) and probe-based detectors (SEP, ICR-probe) across four open-source models: Llama-2, Vicuna, Llama-3, and Qwen2.5. Ablations show that the AD term is the main lever for evading attention-based features, with TE and HV providing secondary shaping.

Researchers from Singapore Management University and other institutions propose CORVUS, a white-box model-side red-teaming method: freezing the detector and base model, using only a LoRA adapter under teacher forcing to reshape three types of internal telemetry signals in the answer window—token entropy (TE), hidden-state log-volume (HV), and attention diagonality (AD)—and adding a one-step embedding-space FGSM attention stress test. The adapter is trained on only 1,000 out-of-distribution Alpaca instructions with fewer than 0.5% trainable parameters, then transfers zero-shot to FAVA-Annotation, simultaneously weakening both training-free detectors (e.g., LLM-Check) and probe-based detectors (SEP, ICR-probe) across four open-source models: Llama-2, Vicuna, Llama-3, and Qwen2.5. Ablations show that the AD term is the main lever for evading attention-based features, with TE and HV providing secondary shaping.

Why it was selectedThe paper provides a complete method for white-box model-side attacks, transfer results across four open-source models, and item-by-item ablations, allowing assessment of the reliability boundaries of internal telemetry-based hallucination detectors.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors investigate whether a model-side white-box adversary can disguise internal computational telemetry through lightweight adapters, thereby defeating single-pass hallucination detectors.

    This paper attempts to investigate whether the internal telemetry signals that single-forward hallucination detectors rely on can be disguised by a model-side adaptive adversary through lightweight adapter fine-tuning.

    • Scenario and importance: Large language models are prone to hallucination in question answering, summarization, and open-ended generation. Single-forward detectors based on internal telemetry (such as examining hidden-state geometry, attention structure, and uncertainty) require no external retrieval or multiple sampling and have lower computational overhead, but previous evaluations generally assumed the model is passive.
    • Potential blind spot of existing defenses: Single-forward detectors implicitly assume that hallucination leaves separable internal traces in a single forward pass. However, in open-weight or self-hosted deployments, an adversary can adjust the model itself, invalidating detection rules calibrated on a clean model.
    • Core observation and hypothesis: The authors observe that clean models do exhibit telemetry distribution shifts between faithful and hallucinated answers; but these telemetry signals (token entropy, hidden log-volume, attention diagonality) can be directly shaped by differentiable objectives, making the internal representations of the two indistinguishable from the perspective of a fixed detector.
    • Proposed approach: The authors propose the model-side red-teaming method CORVUS, which fine-tunes a lightweight LoRA adapter on a frozen base model, using out-of-distribution instruction data to disguise internal telemetry signals, evading single-forward detection while keeping the surface answer unchanged.
    • Threat model:
      • Attacker objective: Under single-forward, teacher-forced replay auditing, reduce the hallucination confidence of a fixed detector based on internal telemetry while preserving task utility and keeping user-visible answer content as unchanged as possible.
      • Attacker knowledge: Has white-box access, obtaining the model's hidden states and attention matrices.
      • Attacker capability: Can fine-tune a lightweight LoRA adapter on the model; has no hallucination-labeled samples from the target benchmark distribution, using only out-of-distribution data for unsupervised/label-free training.
      • Victim system: A fixed single-forward hallucination detector based on internal telemetry features (including training-free metrics and detector-based methods).
  2. What related research exists?

    The paper divides existing defenses into two categories: external knowledge and internal telemetry, and focuses on comparing single-forward training-free detectors with probe methods.

    The paper reviews research related to hallucination detection in large language models, focusing on internal telemetry detectors, probes, and retrieval-augmented defenses:

    • Training-free internal telemetry defenses:
      • Sampling consistency methods: SelfCheckGPT (Manakul et al., 2023) evaluates output consistency through multiple generations, but the authors note that its sampling introduces high latency.
      • Single-pass uncertainty metrics: PPL (Ren et al., 2023) is based on token perplexity, and Window-Entropy (Malinin and Gales, 2021) is based on token entropy; the authors note that these metrics have low computational cost but are fragile to calibration and prompt distribution shift.
      • Representation and attention geometry methods: INSIDE (Chen et al., 2024) summarizes hidden state and attention structure; LLM-Check (Sriramanan et al., 2024) aggregates output uncertainty, hidden state covariance log-determinant (Hidden Score), and attention head log-determinant (Attention Score) under teacher forcing.
    • Training-based internal probes:
      • Hidden state classifiers: Azaria and Mitchell (2023) and CH-Wang et al. (2024) train lightweight classifiers on hidden states.
      • Semantic entropy probes: SEP (Kossen et al., 2025; Kuhn et al., 2023) fits a lightweight classification head on selected hidden states to predict a semantic entropy target, supporting single-pass inference, but the authors note it is sensitive to dataset distribution shift.
      • Residual stream dynamics probes: ICR-probe (Zhang et al., 2025b) summarizes cross-layer residual stream dynamics by comparing attention-guided attribution with actual hidden updates and uses a small MLP to aggregate inter-layer differences.
    • External knowledge and retrieval-augmented defenses:
      • External alignment and RAG mechanisms: AlignScore (Zha et al., 2023) uses external references for scoring, and ReDeEP (Sun et al., 2025) uses mechanistic interpretability to detect RAG hallucinations; the authors note these methods rely on high-quality external evidence and are not applicable to open-ended generation or non-retrieval scenarios.
    • Baseline methods and evaluation benchmarks:
      • Baseline methods: Compared training-free methods PPL, Window-Entropy (window size w=1), LLM-Check (including Hidden Score and Attention Score), and training-based probes SEP and ICR-probe.
      • Evaluation benchmark: Used the FAVA-Annotation dataset (Mishra et al., 2024), containing prompts and answers with sequence-level hallucination annotations; Alpaca_en (Taori et al., 2023) was used for training adapters.
    • Positioning relative to this paper: The authors note that existing internal detection methods all build on the assumption that hallucinations leave distinguishable traces inside the model and treat the model as a passive object; this paper studies an active model-side adversary that modifies the model so that, under the same surface text, internal telemetry cannot be effectively distinguished by fixed detectors.
  3. How does the paper address this problem?

    The authors propose CORVUS, which under teacher forcing jointly optimizes token entropy, hidden log-volume, and adversarial attention diagonality to disguise internal signals.

    The authors propose a model-side red-teaming framework, CORVUS (Camouflaging Open-weight Representations, Volumes, Uncertainty, and Structure). This method freezes the base model weights and only fine-tunes a lightweight LoRA adapter, jointly optimizing three internal telemetry signals under a teacher-forcing replay protocol, shrinking the internal representation differences between hallucinated and faithful answers.

    Formal Definition of Internal Telemetry Signals

    The authors define three differentiable telemetry metrics on the answer window W:

    • Token Entropy (TE): Measures output uncertainty, computed as the average categorical entropy of the next-token prediction distribution at each position within the answer window.
    • Hidden Log-Volume (HV): Constructs a feature-space covariance proxy matrix C_hid from centered hidden states, computes its log-determinant log det(C_hid), and introduces a jitter term eta=10^-3 to ensure numerical stability and differentiability in non-full-rank cases.
    • Attention Diagonality (AD): Computes the average of the logarithms of the diagonal elements of the multi-head attention submatrix within the answer window, measuring the degree to which attention focuses on its own tokens, with delta=10^-8 introduced to avoid taking the logarithm of zero probabilities.

    Adversarial Perturbation Design in Embedding Space

    To stress-test attention diagonality, the authors use a single-step fast gradient sign method (FGSM) to construct a proxy perturbation: E′ = E + ϵ sign(∇E ϕadv) This formula gives the single-step adversarial perturbation update in the word embedding space, where E is the input embedding, the perturbation step size epsilon > 0, and the objective function phi_adv is the sum of negative attention diagonality on the monitored layer, aiming to reduce attention diagonality.

    • Forward perturbation generation: After computing the embedding gradient, the perturbed embedding E' is generated without truncation or projection back to the original embedding manifold.
    • Adversarial forward pass: A forward pass is performed again using E', extracting the perturbed attention diagonality AD_adv, forcing the adapter to maintain high attention diagonality even under adversarial perturbation.

    Joint Training Objective and Optimization Details

    CORVUS optimizes a joint loss function under teacher forcing: L = LCE + βte TEclean − βhv HVclean − λadv ADadv This formula gives the CORVUS training loss, jointly optimizing the sequence-level cross-entropy loss and three telemetry adjustment terms, where beta_te, beta_hv, and lambda_adv are positive scalar weight coefficients.

    • Loss term design: L_CE maintains the standard sequence cross-entropy to preserve base model capability; TE_clean is positively penalized on clean passes to reduce token entropy; HV_clean is negatively maximized on clean passes to shift the hidden geometric distribution; AD_adv is negatively maximized on perturbed passes to adversarially increase attention diagonality.
    • Fine-tuning configuration: Using LLaMA-Factory, LoRA adapters are mounted only on the q_proj and k_proj modules of attention, with parameter count below 0.5%, rank r=64, scaling coefficient alpha=128, and the base model frozen.
    • Hyperparameter settings: Default loss weights are beta_te=0.07, beta_hv=0.05, lambda_adv=0.5; FGSM step size is epsilon=1.0*10^-2; bfloat16, learning rate 2*10^-4, cosine learning rate scheduler, and AdamW optimizer are used, with gradient accumulation over 4 steps.
    • Data and compute: Training is performed for 1 epoch on only 1,000 instruction-response pairs from the Alpaca_en dataset, without hallucination labels; training runs on a single H100 GPU node with 8 CPU cores and 48 GB memory.

    Audit and Evaluation Protocol

    • Fixed-answer replay protocol: During evaluation, the prompt and answer text given by the benchmark are kept strictly identical, and both the clean model and the model with the adapter are input for teacher-forced forward replay, isolating the effect of text changes on detectors.
    • Zero-shot transfer evaluation: The adapter is trained only on out-of-distribution Alpaca and directly evaluated on the unseen FAVA-Annotation benchmark for detector degradation.
  4. What experiments did the paper conduct?

    On four open-source models and FAVA, CORVUS degrades the performance of training-free and detector-based detection, reducing the attention detection AUROC to 48.08.

    Experimental Setup

    • Models under test: Four open-source instruction-tuned large language models were tested: Llama-2-7B-Chat, Vicuna-7B (v1.5), Llama-3-8B-Instruct, Qwen2.5-14B-Instruct.
    • Datasets and scale: The evaluation benchmark is FAVA-Annotation, following the LLM-Check split protocol; the adapter training set is Alpaca_en (1,000 samples).
    • Comparison baselines: Training-free metrics include PPL, Window-Entropy (w=1), LLM-Check (Hidden Score and Attention Score); training-based probes include SEP and ICR-probe.
    • Evaluation metrics: AUROC, Accuracy and F1 at the operating point selected on the validation set, and TPR@5%FPR after calibrating a fixed threshold at 5% FPR on the clean model.
    • Review and sampling settings: Probes are trained on clean telemetry from the FAVA-Annotation training set and then frozen; under the replay protocol, the answer text is fixed and no multiple sampling is performed.

    Main Results

    The table below shows the AUROC changes (Clean → After) on FAVA-Annotation for the clean model and the model with the CORVUS adapter under the main detectors (from Table 1):

    Swipe horizontally to read the table

    ModelPPL AUROCHidden AUROCAttn Score AUROCSEP AUROCICR Probe AUROC
    Llama-2-7B-Chat53.18 → 48.0958.15 → 54.1073.63 → 48.0861.79 → 44.8971.44 → 52.36
    Vicuna-7B (v1.5)54.07 → 50.4058.19 → 58.0071.91 → 59.7067.63 → 44.7869.70 → 62.00
    Llama-3-8B-Instruct53.22 → 50.0057.10 → 57.0068.95 → 58.5068.31 → 41.2172.78 → 53.00
    Qwen2.5-14B-Instruct53.30 → 49.8060.44 → 58.8868.06 → 46.5068.90 → 46.2077.14 → 60.00

    The authors interpret the main results as follows:

    • Fragility of attention and representation signals: Attention and representation features suffer significant degradation under attack; Attn Score AUROC on Llama-2-7B-Chat drops from 73.63 to 48.08, and SEP AUROC on Llama-3-8B-Instruct drops from 68.31 to 41.21 (Table 1).
    • Fixed-threshold operating point collapse: At a fixed 5% FPR threshold, TPR@5%FPR for several metrics drops to near 0 after adaptation (e.g., Attn Score on Llama-2 drops from 10.18 to 0.00), indicating that thresholds calibrated on the clean model suffer calibration drift after model-side adaptation (Table 1).
    • Negative results and exceptions: Window-Entropy does not degrade on some models; for example, Vicuna-7B's AUROC rises from 45.43 to 47.10 (+1.67), and Llama-3-8B-Instruct's AUROC rises from 60.17 to 62.10 (+1.93) (Table 1).

    Text Utility Preservation Check

    • What was tested: Greedy free decoding on 500 prompts to check whether the model degenerates into refusal or repetitive generation, and GPT-2 was used to measure the perplexity of generated answers (Section 5.3).
    • Results: Both the base and adapted models produce non-empty answers with no refusal outputs; the 95th percentile maximum consecutive word repetition run length is 2; GPT-2 median perplexity changes from 11.1 for the base model to 13.7 after adaptation (Section 5.3).
    • Authors' interpretation: The authors believe the detector failure is not due to an abnormal state of degenerating into non-generation or refusal; the adapted model retains instruction-following utility and surface fluency.

    Telemetry Loss Term Ablation Analysis

    • What was tested: On Llama-2-7B-Chat, the impact on detector AUROC when retaining TEclean, HVclean, ADadv individually and in combinations was evaluated (Appendix B.1 and Table 3).
    • Results: With only the AD term, the AUROC change for Attn L20 is -20.97; with only HV, -22.27; with only TE, -2.59; with all enabled, the largest drop of -25.54; under the TE+AD combination, the AUROC change for Window-Entropy is +7.24 (Table 3).
    • Authors' interpretation: The AD term is the main driver weakening the attention detection component, while TE and HV play supplementary regulatory roles; different components have a division of labor in their effects on different detectors.

    FGSM Perturbation Step Size and Recalibration Analysis

    • What was tested: The embedding step size epsilon was varied under rewritten prompt tests, and the performance of recalibrating the threshold on post-attack data was evaluated (Appendix B.2, Table 4, and Table 5).
    • Results: Without FGSM (epsilon=0), the AUROC drop for Attn L20 is -14.80, while at the default epsilon=1.0*10^-2 the drop reaches -25.54 (Table 4); when recalibrating the 5% FPR threshold on post-attack data, Attn L20's TPR@5%FPR is still only 1.80, with AUROC 48.08 (Table 5).
    • Authors' interpretation: FGSM perturbation improves the transfer of telemetry camouflage on rewritten prompts; under recalibration, attention metrics remain near random levels, reflecting a collapse in representation separability.

    Other Ablations and Analyses

    • At FGSM step epsilon=1.5*10^-3, the Attn L20 AUROC drop on Llama-2 is -16.80, and the PPL AUROC drop is -1.73 (Table 4).
    • At FGSM step epsilon=5*10^-3, the Attn L20 AUROC drop on Llama-2 is -19.50, and the PPL AUROC drop is -3.85 (Table 4).
    • Under post-attack recalibrated thresholds, PPL's TPR@5%FPR is 6.59 and F1 is 12.09 (Table 5).
    • Under post-attack recalibrated thresholds, Hidden L17's TPR@5%FPR is 10.78 and F1 is 18.75 (Table 5).
    • With only TE+HV terms, the AUROC change for Attn L20 is -22.80, and for Hidden L17 it is -2.48 (Table 3).
    • With only HV+AD terms, the AUROC change for Attn L20 is -19.63, and for Window-Entropy it is -5.35 (Table 3).
  5. What are some points that can be further explored?

    The authors note that CORVUS relies on white-box access and does not directly apply to closed-source APIs, and that the attack targets only internal signals without optimizing factuality.

    Limitations and future directions noted by the authors

    • Dependence on white-box access: CORVUS assumes white-box access to the model, making it most suitable for open-source or self-hosted models, and not directly applicable to closed-source APIs unless attacking via a surrogate model (Limitations section).
    • Evaluation scope limited to single-forward internal detectors: The evaluation is limited to single-forward detectors operating on internal signals of a single model; more advanced defenses (e.g., retrieval-based fact-checking) are outside the scope of the study and may resist such attacks (Limitations section).
    • Not optimized for factuality: CORVUS targets the model's internal computations rather than factual correctness; the attack may conceal hallucinations without fixing them (Limitations section).
    • Future directions: The authors note that future work includes developing attack methods that improve factuality, and designing defenses that explicitly monitor factual consistency (Limitations section).

    Experimental coverage

    • Models tested: The experiments cover 4 open-source instruction-tuned models: Llama-2-7B-Chat, Vicuna-7B (v1.5), Llama-3-8B-Instruct, and Qwen2.5-14B-Instruct (Section 5.2).
    • Dataset coverage: The adapter is trained on only 1,000 samples from Alpaca_en for 1 epoch, and evaluated with zero-shot transfer on FAVA-Annotation (Sections 4 and 5.2).
    • Detector coverage: The evaluation covers 6 single-forward detection metrics: PPL, Window-Entropy, LLM-Check (including Hidden and Attention scores), SEP, and ICR-probe (Section 5.1).
    • Protocol coverage: The experiments use a fixed-response teacher-forcing replay protocol, keeping the response text provided by the evaluation benchmark unchanged (Section 5.3).
    • Not reported in the experiments: The paper does not report standard deviations or confidence intervals from repeated runs, nor black-box transfer experiments against closed-source commercial API models (Section 4 and Limitations section).
  6. Summarize the main content of the paper

    The authors state that internal telemetry is easily manipulated under adaptive model-side adversaries, and CORVUS reduces the effectiveness of multiple hallucination detectors through lightweight adapter fine-tuning.
    • Research positioning and core question: Targeting single-pass hallucination detectors that rely on the model's internal uncertainty, hidden state geometry, and attention structure, the paper investigates whether, in open-source or self-hosted scenarios, a model-side adaptive adversary can evade auditing by disguising internal telemetry while keeping the surface answer unchanged.
    • Method design highlights: The authors propose the red-team method CORVUS, which fine-tunes LoRA adapters with fewer than 0.5% of parameters while freezing the base model weights, jointly penalizing token entropy, maximizing hidden log volume, and reinforcing attention diagonality through single-step embedding-space FGSM adversarial perturbations, causing the internal representation distribution to shift.
    • Main experimental findings: Adapters trained on only 1,000 out-of-distribution Alpaca instructions transfer zero-shot to FAVA-Annotation and weaken multiple detectors across four open-source models; notably, on Llama-2-7B-Chat, the AUROC of the LLM-Check attention score dropped from 73.63 to 48.08, and the TPR of ICR-probe at 5% FPR dropped from 98.31 to 30.77 (Table 1).
    • Detector degradation and calibration drift: On Llama-3-8B-Instruct, the AUROC of the SEP detector dropped from 68.31 to 41.21; on Qwen2.5-14B-Instruct, the AUROC of ICR-probe dropped from 77.14 to 60.00; fixed thresholds calibrated on the clean model mostly exhibited operating point collapse after adaptation (Table 1).
    • Exceptions and ablation observations: Ablation experiments show that the attention diagonality term is the main factor causing attention detector degradation; in a few cases there are exceptions, for example, the Window-Entropy AUROC on Vicuna-7B rose from 45.43 to 47.10 after adaptation (Table 1).
    • Authors' conclusions and implications: The authors argue that relying solely on internal model telemetry is insufficient to build hallucination detection systems robust to adaptive model-side attacks, and future auditing schemes may need to introduce diverse telemetry signals, randomization mechanisms, or combine external knowledge with cross-model cross-validation.
Read originalarxiv.org