TL;DR
Vision Language Models (VLMs) often hallucinate visual details, a problem typically addressed by fine-tuning models on preference data (good vs. bad responses). This paper introduces Topic-level Preference Rewriting (TPR), a novel data curation framework that systematically controls the "reward gap" between these responses by surgically swapping fine-grained semantic topics. By using a curriculum learning strategy to progressively generate harder negative examples, TPR reduces hallucinations by up to 93% on standard benchmarks while remaining highly data- and cost-efficient.
The Challenge: Controlling the Reward Gap
Even state-of-the-art VLMs like GPT-4V suffer from visual hallucinations—confidently describing objects, attributes, or spatial relationships that aren't actually in the image. To fix this, researchers use Direct Preference Optimization (DPO), which trains the model using pairs of responses: a preferred one ($y_w$) and a rejected one ($y_l$).
The success of DPO heavily relies on the reward gap—the qualitative difference between the good and bad response. If the gap is too small, the model learns nothing; if it's too obvious, the model never learns to catch subtle errors. Existing methods usually just rank raw model outputs or use black-box models like GPT-4V to rewrite them. These approaches fail to systematically control the reward gap and often introduce hallucination patterns that don't match the base model's actual weaknesses.
Topic-level Preference Rewriting (TPR)
To precisely engineer the differences between preferred and rejected responses, the authors propose the TPR pipeline. This framework gives researchers fine-grained control over the reward gap without relying on external proprietary models.
- Decomposition & Clustering: The reference VLM generates multiple candidate responses, which are broken down into atomic semantic units (e.g., "The clock says 10:30"). These units are clustered into "topics" based on text similarity and visual correlation (using CLIP embeddings).
- Intra-Topic Self-Resampling: Instead of using an external AI to rewrite facts, the framework prompts the reference model itself to generate alternative statements for each specific topic. This ensures the generated errors mirror the model's intrinsic failure modes.
- Selective Rewriting: To build a preference pair, TPR takes a template response and selectively swaps out specific topic units with better or worse alternatives. It then uses in-context rewriting to ensure the final text flows naturally.
- Curriculum Learning (TPR-CL): Because TPR allows for precise control over how "wrong" a rejected response is, the authors implement a curriculum strategy. Training starts with a "Warm-Up" stage using obvious errors (maximum reward gap). In the "Hard-Mining" stage, the rejected responses are progressively made more subtle and harder to distinguish from the correct answers, forcing the model to learn fine-grained details.
Key Insights and Results
- Self-resampling beats external rewriters: Using a massive model like GPT-4V to generate "bad" responses introduces an artificial distribution of errors. By forcing the base model to resample its own errors, the training data perfectly mirrors the model's intrinsic weaknesses, leading to much more effective alignment.
- Curriculum learning is crucial: Simply maximizing the difference between good and bad responses leaves the model vulnerable to subtle hallucinations. Progressively shrinking the reward gap acts like hard-negative mining, teaching the model to catch nuanced mistakes.
- Massive Hallucination Reduction: On the LLaVA-1.5-7B model, the TPR-CL variant reduced the hallucination rate on ObjectHal-Bench from 53.6% down to just 3.4% (a ~93% reduction). It also reduced hallucinations by ~41% on MMHal-Bench.
- State-of-the-Art Performance & Efficiency: TPR outperformed previous ranking and rewriting methods by an average of ~20% across multiple hallucination benchmarks. Furthermore, generating the 20k dataset cost roughly $10 in local compute, compared to over $30 for GPT-4V API-based methods, achieving better data efficiency than expensive human-annotated datasets.
- No "Alignment Tax": Fixing hallucinations often degrades a model's general conversational abilities. TPR, however, maintained or slightly improved general performance on LLaVA-Bench and MMStar.
Limitations and Future Work
The TPR framework involves multiple sequential steps (decomposition, clustering, resampling, rewriting), making the data curation pipeline computationally heavy. Future work could simplify this, perhaps by streamlining the clustering step. Additionally, while TPR is highly effective at mitigating perceptual hallucinations (e.g., object existence, attributes), extending this topic-level control to handle errors in complex logical or causal reasoning tasks remains an open challenge.
Summary updated