arXiv Machine Learning By Aizierjiang Aiersilan

Hallucination Is Linearly Decodable from Mid-Layer Hidden States in Quantized LLMs

Read the original on arXiv Machine Learning →

arXiv:2606. 02628v1 Announce Type: new Abstract: We investigate whether open-source LLMs encode a linearly separable truthfulness signal in their hidden states, and at which network depth this signal is strongest.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Nov 16

Does the Ranking Hold? A Practitioner-Facing Audit of Hallucination Detectors on Small, Quantized, On-Device LLMs

The paper audits hallucination detectors on small, 4‑bit quantized on‑device LLMs (Phi‑3‑mini, Llama‑3.2‑3B‑Instruct, Qwen2.5‑3B‑Instruct, Gemma‑2‑2B‑Instruct) using a single‑GPU setup. It evaluates four detectors—length‑normalized token‑margin calibration, a lexical n‑gram baseline, and two sampling‑based consistency methods—on Llama‑3.2‑3B‑Instruct and Qwen2.5‑3B‑Instruct with TriviaQA, finding that detector rankings do not transfer between models and that the lexical baseline performs comparably to the more complex methods. The study also demonstrates that a common TruthfulQA‑Generation labeler yields near‑chance AUROC for all detectors, indicating a labeling issue rather than detector failure, and releases a reproducible harness for practitioners.

By Shubhra Mittal, Gaurav Naresh Mittal
arXiv AI
Oct 21

How Fine-Tuning Objectives Shape Layer-Wise Information in LLM Hallucination Detection

The study compares two fine‑tuning paradigms for detecting hallucinations in large language models: a classifier‑head (“cls”) and a sequence‑to‑sequence (“s2s”) approach. “Cls” consistently outperforms “s2s” because it induces a clear two‑cluster geometry in hidden states, enabling stronger class separation and linear decodability. Analysis of training dynamics reveals a narrow upper‑middle “InfoWindow” where task information emerges; truncating layers above this window removes 31% of the network without loss of accuracy and reduces latency by 1.4×, a strategy that transfers across multiple models and tasks.

By Kaiyang Wan, Forrest Sheng Bao, Amin Ahmad, Yuxia Wang
arXiv AI
Sep 1

The Hallucination Signal Is a Mean Shift: Why Simple Probes Suffice

The study shows that hallucination detection in large language models is largely driven by a single mean‑shift component in hidden states. Across three 7B‑scale models and multiple datasets, removing this direction reduces detection to chance, while a simple L2‑regularized logistic regression achieves high AUROC (0.952) and outperforms more complex probe architectures. The authors introduce LayerMix, a multi‑layer aggregation method that matches oracle‑layer performance without requiring oracle access, demonstrating that apparent probe complexity stems from high‑dimensional covariance estimation rather than non‑linearity.

By Jungseob Lee, Jaehyung Seo, Heuiseok Lim
arXiv Machine Learning
Sep 25

Where Hallucinations Live: A Cross-Architecture Circuit in VQ-Tokenized Vision-Language Models

The paper investigates why vision‑language models that tokenize images with vector‑quantized (VQ) codebooks frequently hallucinate objects on grounded yes/no tasks. By applying activation patching across 25 models from eight large‑language‑model families, the authors uncover an early‑layer attention routing circuit shared by VQ‑tokenized VLMs. They develop a three‑gate diagnostic that isolates ten models carrying this circuit, show that swapping a single architectural component (VQ+Linear) introduces the circuit, and demonstrate that ablating the early‑layer ($L_0$) component reduces hallucinations in open‑ended generation by 31 % while other decoding‑time fixes do not.

By Shamanthak Hegde, Xiangrui Liu, Maitreya Patel, Yezhou Yang
arXiv Machine Learning
Oct 28

BellowsKV: One Latent for Many Layers, Expanded on Demand

BellowsKV introduces a training‑free approach that maps the hidden states of multiple adjacent layers in a large language model to a single shared latent representation per token, allowing each layer to retrieve its own keys and values via a layer‑specific projection. The method retains the latent at full dimension and offers two compression strategies: BellowsKV‑Quant, which stores the latent at low precision, and BellowsKV‑Evict, which makes a shared eviction decision per block. Experiments on Llama‑3.1‑8B, Mistral‑7B, and Qwen2.5‑7B show that BellowsKV‑Quant preserves about 99% of full‑cache accuracy at 3.6× compression and 97‑98% at 13‑14×, outperforming existing cross‑layer methods that drop to at most 84% accuracy at 16× compression.

By Jiamu Zhang, Hanjie Chen