Prioritizing Image-Related Tokens Enhances Vision-Language Pre-Training

Yangyi Chen, Hao Peng, Tong Zhang, Heng Ji

TL;DR

PRIOR (Prioritizing Image-Related Tokens) is a simple yet effective pre-training strategy that improves Large Vision-Language Models (LVLMs) by re-weighting the loss function to focus on tokens that are actually grounded in visual content. By using a text-only reference LLM to identify "surprising" tokens that cannot be predicted from text alone, PRIOR achieves up to a 19% relative performance boost and demonstrates superior scaling behavior compared to standard next-token prediction.

What Problem Does This Paper Address?

Standard LVLM pre-training relies on Next-Token Prediction (NTP) over large-scale image-caption datasets. However, web-scale captions are notoriously noisy. The authors found that only about 31.3% of words in typical image-caption pairs actually relate to the visual content. The rest consists of stylistic filler, metadata (like prices or locations), or website-specific noise.

When a model treats every token equally, it spends significant capacity "learning" noise that has nothing to do with the image. This leads to two major issues:

  1. Inefficiency: The model wastes compute on non-visual tokens.
  2. Hallucination: The model may learn to associate visual features with irrelevant text, increasing the risk of generating grounded-in-nothing hallucinations during inference.

Methods

The core idea of PRIOR is to prioritize tokens that are difficult to predict without looking at the image.

  1. Reference Model: The authors first train a text-only LLM on the captions alone (no images).
  2. Importance Scoring: For every token in a caption, they calculate an importance score $w_i$ based on the reference model's probability $P_r(t_i | t_{<i})$. If the text-only model finds a token highly unpredictable (low probability), it's a strong signal that the token's information comes from the image.
  3. Reweighted Loss: During vision-language pre-training, the standard NTP loss is multiplied by these importance scores. This forces the LVLM to focus its learning energy on visually-grounded tokens like "lawn" or "basketball" rather than "recently sold" or "contributed."
Figure 1: (Top) Synthetic examples to highlight the motivation of PRIOR. Only a few tokens in the captions (highlighted in blue, word-level for better visualization) are related to the associated images. PRIOR utilizes probability scores from a text-only LLM to recalibrate the original loss function at the token level, prioritizing image-related tokens that receive lower probability scores from the LLM. (Bottom Left) PRIOR formulation. Given an image v paired with a caption ‘t1, t2, ..., tk’, PRIOR enhances vision-language pre-training by assigning a normalized weight to each token loss, which is computed based on the LLM probability Pr(ti|t<i). (Bottom Right) Performance of PRIOR. PRIOR demonstrates consistent performance improvement (average over several vision- language benchmarks) and better training stability compared to the widely used next-token prediction objective in vision-language pre-training. In addition, PRIOR shows superior scaling behaviors in both performance predictability and potential improvement with increased compute and data (§3.5).

Importantly, these scores are computed offline, meaning PRIOR adds zero computational overhead to the actual vision-language training phase.

Datasets

  • Pre-training: The authors used CapsFusion, a dataset of 120M image-text pairs. They sampled subsets of ~5M for the reference LLM and ~3M for the main LVLM pre-training.
  • Evaluation: A comprehensive suite of benchmarks was used to measure perception, reasoning, and hallucination:
  • MME (Perception & Reasoning)
    • MMStar (Advanced V-L skills)
    • POPE (Object hallucination)
    • MMBench & SEEDBench (General V-L capabilities)

Key Insights and Ideas

  • Surprise as a Proxy for Grounding: The fundamental "aha" moment is that a text-only model's failure is a vision-language model's opportunity. Tokens that are "surprising" to a language model are exactly where the visual signal is most informative.
  • Stability through Normalization: Standard NTP training can be unstable. PRIOR uses a self-normalization term in its loss that significantly smooths the training trajectory, leading to more consistent performance gains across training steps.
  • Scaling Laws for LVLMs: The paper highlights that while NTP is a good proxy for LLM performance, it doesn't always translate to LVLMs. PRIOR, however, shows much better predictability at scale. As you increase compute and data, PRIOR's performance follows a more reliable power law than standard NTP.
Figure 5: PRIOR shows significantly lower relative prediction error, meaning its performance is more predictable as the model scales.

Key Results

  • Performance Boost: PRIOR achieved an average relative improvement of 18.61% for Heterogeneous LVLMs (LLaVA-style with visual encoders) and 7.93% for Unified LVLMs (end-to-end transformers).
  • Hallucination Reduction: On the POPE benchmark, PRIOR showed a marked improvement, suggesting that focusing on visually-grounded tokens directly mitigates the model's tendency to "make things up."
  • Better Scaling: PRIOR exhibited higher scaling coefficients ($\alpha_D$), indicating it converts additional data and compute into performance gains more efficiently than the baseline.
Figure 2: Performance comparison on H-LVLMs across various benchmarks. PRIOR (pink) consistently stays above the NTP baseline (blue) and shows much smoother training stability.

Limitations and Future Work

  • Tokenizer Dependency: Currently, the reference LLM and the LVLM must share the same tokenizer. This prevents the creation of a truly "universal" importance-scored dataset that could be used across any model architecture.
  • Bias Amplification: The authors note that differential weighting could unintentionally amplify existing biases in the training data.
  • Future Directions: The authors suggest exploring how this token-prioritization strategy could be applied to other modalities (like video or audio) and investigating more sophisticated reference models beyond simple text-only LLMs.

Summary updated

Abstract

In standard large vision-language models (LVLMs) pre-training, the model typically maximizes the joint probability of the caption conditioned on the image via next-token prediction (NTP); however, since only a small subset of caption tokens directly relates to the visual content, this naive NTP unintentionally fits the model to noise and increases the risk of hallucination. We present PRIOR, a simple vision-language pre-training approach that addresses this issue by prioritizing image-related tokens through differential weighting in the NTP loss, drawing from the importance sampling framework. PRIOR introduces a reference model-a text-only large language model (LLM) trained on the captions without image inputs, to weight each token based on its probability for LVLMs training. Intuitively, tokens that are directly related to the visual inputs are harder to predict without the image and thus receive lower probabilities from the text-only reference LLM. During training, we implement a token-specific re-weighting term based on the importance scores to adjust each token's loss. We implement PRIOR in two distinct settings: LVLMs with visual encoders and LVLMs without visual encoders. We observe 19% and 8% average relative improvement, respectively, on several vision-language benchmarks compared to NTP. In addition, PRIOR exhibits superior scaling properties, as demonstrated by significantly higher scaling coefficients, indicating greater potential for performance gains compared to NTP given increasing compute and data.
BibTeX
@article{chen2025prioritizing,
  author = {Yangyi Chen and Hao Peng and Tong Zhang and Heng Ji},
  title = {{Prioritizing Image-Related Tokens Enhances Vision-Language Pre-Training}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=jDcnL1hB1Z},
}
Figure