- Source
- arXiv
- Published
- Runtime
- 0:00
- Snippets
- 4
A conversation between
UniProbe: A Learnable Token-Level Hallucination Detector for Large VLMs using Multi-Structural Internal Representations
§02
Snippets
-
UniProbe detects hallucinated tokens at generation time by modeling the LVLM's computational trace as a directed graph of image patches, query tokens, and generated tokens with attention weights.
Token-level detection enables real-time intervention during decoding rather than post-hoc filtering, reducing hallucinations by 55% with minimal latency overhead.
-
UniProbe is a lightweight, frozen-model detector that captures spatial, relational, and sequential structure through alternating GNN, ViT, and GRU modules processing a single forward pass.
Avoiding full-model fine-tuning keeps computational cost low while interleaving multiple structural perspectives improves accuracy over hand-crafted features.
-
UniProbe includes a self-adaptation strategy that aligns the detector with the target LVLM's own generations, enabling cross-model robustness.
Self-adaptation allows a single detector to work across diverse model architectures without retraining, improving practical deployment.
-
UniProbe's streaming variant detects and resamples hallucinated tokens *during* decoding, allowing intervention in real time.
Online detection during generation avoids committing to hallucinated content, making the approach compatible with decoding-time constraints.
§03
Synthesis
The Problem: Hallucinations Hide in Plain Sight
Large vision-language models (LVLMs) like GPT-4V confidently generate plausible-sounding text about images that isn't actually there. Detecting which tokens in a response are hallucinated matters because it lets you fix the problem surgically—reject just the bad tokens, not the entire answer. But current detection methods either require expensive retraining, rely on external fact-checkers that miss what the model itself "knows," or squash the model's rich internal signals into crude statistics, losing spatial structure and sequential context.
The authors introduce UniProbe, a lightweight detector that learns to spot hallucinated tokens by reading the LVLM's computational traces—the attention patterns, activations, and dependencies the model generates when producing each word.
How It Works: Three Views of One Computation
When an LVLM generates a response, it processes three kinds of tokens in parallel: image patches (what it sees), query tokens (what you asked), and response tokens (what it's generating). Attention weights between these tokens reveal which parts of the image influenced which words—information baked into the model's "reasoning."
UniProbe builds a directed graph where nodes are these three token types and edges are attention weights. Then it runs this graph through three complementary neural modules in alternating sequence:
Graph Neural Network (GNN): Reads relational structure—how tokens reference each other through attention. Captures which image regions "support" which response tokens.
Vision Transformer (ViT): Processes the 2D spatial layout of image patches. Understands whether hallucinated content clusters in regions the model attended to weakly or not at all.
GRU (Gated Recurrent Unit): Tracks sequential order of generated tokens. Catches inconsistencies—tokens that contradict earlier claims or appear out of context.
By interleaving these three, spatial, relational, and sequential evidence reinforce each other. The detector sees both the trees (individual attention links) and the forest (coherent visual and linguistic patterns).
Practical Gains and Real-Time Deployment
UniProbe works on frozen LVLMs—no expensive retraining. It also includes two deployment variants:
Streaming variant: Runs during decoding. As the model generates each token, UniProbe flags it as hallucinated or real and can trigger resampling on the fly. This cuts object hallucinations by up to 55% with only a 1.06× slowdown.
Self-adaptation: The detector aligns itself to the LVLM's own generation distribution, avoiding the brittleness of detectors trained on different models.
Across multiple LVLM backbones and benchmarks, UniProbe achieves state-of-the-art token-level and object-hallucination detection. The ~6% latency cost for real-time correction is acceptable for high-stakes applications like medical imaging or autonomous systems where hallucinations carry real consequences.
The key insight is simple but powerful: hallucinations leave traces. By preserving and interleaving multiple structural views of those traces—graph topology, visual geometry, and sequence order—the detector captures what isolated hand-crafted features miss.
Mine your own.
Lode is a workbench, not a feed. Paste a YouTube URL. The model proposes a transcript, a set of quote-grounded snippets, a synthesis essay, and the fan-out. You decide what stays.