PeRL: Permutation-Enhanced Reinforcement Learning for Interleaved Vision-Language Reasoning

Yizhen Zhang, Yang Ding, Shuoshuo Zhang, Xinchen Zhang, Haoling Li, Zhong-Zhi Li, Peijie Wang, Jie Wu, Lei Ji, Yeyun Gong, yelong shen, Yujiu Yang

Introduction

Recent advancements in Large Language Models (LLMs), such as DeepSeek-R1, have demonstrated the power of Reinforcement Learning (RL) in unlocking complex reasoning capabilities. Naturally, the research community is now looking to extend these successes to Vision-Language Models (VLMs). While current VLMs excel at analyzing individual images, they frequently falter when presented with interleaved multi-image inputs—scenarios where a model must reason across a sequence of visual data points.

A primary obstacle in this domain is positional bias. When a VLM is asked to compare or sequence multiple images, its performance often degrades if the order of those images is swapped, even if the semantic content remains identical. This paper introduces PeRL (Permutation-Enhanced Reinforcement Learning), a novel framework designed to mitigate this bias and force models to learn genuine spatial and relational reasoning.

The Challenge: Positional Bias in Multi-Image Reasoning

In multi-image tasks, such as describing a process across three sequential photos, VLMs often rely on the specific order of the prompt rather than the visual evidence. If a user swaps the first and second images, the model may hallucinate an incorrect answer or fail to update its reasoning to reflect the new sequence. Existing RL approaches for VLMs have largely focused on single-image spatial reasoning, leaving the problem of interleaved multi-image consistency largely unaddressed.

The PeRL Methodology

PeRL builds upon the Group Relative Policy Optimization (GRPO) framework, adapting it specifically for the complexities of multimodal, multi-image tasks. The framework is defined by two core pillars:

1. Multi-Stage Data Preprocessing and Rollout Filtering

Training stability in RL is often hindered by imbalanced dataset difficulty. The authors observed that existing multi-image datasets, such as Mantis-Instruct, contain many examples that are too simple for the model to learn from effectively. To address this, PeRL employs a filtering mechanism: a base model generates multiple rollouts for each prompt, and questions with high baseline accuracy are removed. This process reduced the average baseline accuracy of the training set from 78% to 38%, ensuring the RL algorithm focuses on "hard" trajectories that provide meaningful gradient signals.

2. Permutation GRPO

The central innovation of PeRL is Permutation GRPO. During the RL rollout phase, the framework randomly permutes the order of images within a multi-image prompt. Since changing the image order can change the factual truth of a statement (e.g., "The first image shows a red car"), the authors use GPT-4o to dynamically rephrase the text and ground-truth answers. This ensures semantic consistency across permutations. By training on these diversified inputs, the model is forced to decouple its reasoning from the specific position of an image in the prompt.

Experimental Results

PeRL was initialized from Qwen2.5-VL-7B-Instruct and trained on a curated mix of 22K multi-image instruction examples and 36K single-image math examples. The model was evaluated across eight diverse benchmarks, achieving state-of-the-art (SOTA) results:

  • Multi-Image Performance: PeRL achieved a score of 76.39 on Mantis-Eval (up from the previous best of 73.15) and 58.53 on BLINK (up from 55.34).
  • Single-Image Robustness: Unlike many models that sacrifice single-image performance for multi-image gains, PeRL maintained high scores on math reasoning benchmarks, including 73.00 on MathVista and 49.56 on MathVerse.
  • Generalization: The model showed strong performance on out-of-domain benchmarks like Remi and MV-Math, indicating that the learned reasoning patterns are transferable.

Key Insights

Fixing "Dead" Gradients

In standard GRPO training for multi-image tasks, advantage scores (the measure of how much better a rollout is than the average) often cluster near zero. This suggests the model is not learning. By introducing permutations, PeRL spreads out the advantage distribution, providing the optimizer with richer, more diverse gradient signals.

The "Goldilocks Zone" of Permutation

The researchers found that applying a single random permutation per sample is the most effective strategy. While multiple permutations per sample might seem better, they actually degrade performance on pure reasoning tasks and increase computational costs by preventing efficient Key-Value (KV) cache reuse.

Symbiotic Training

A notable finding was the synergy between single-image and multi-image training. While training on only one type of data can hurt performance in the other, a mixed approach yields benefits. For instance, PeRL’s performance on the single-image MathVision benchmark improved because the model learned to treat concatenated sub-images within a single file as distinct logical units, similar to the interleaved images it encountered during PeRL training.

Conclusion and Future Work

PeRL demonstrates that permutation-based reinforcement learning is a highly effective strategy for overcoming positional bias in VLMs. By forcing models to reason across dynamic image sequences, PeRL sets a new standard for interleaved vision-language tasks. Future research may explore adaptive permutation strategies—where the image order is adjusted based on task difficulty or model uncertainty—to further refine the efficiency and depth of multimodal reasoning.

Summary updated

BibTeX
@inproceedings{zhang2025perl,
  author = {Yizhen Zhang and Yang Ding and Shuoshuo Zhang and Xinchen Zhang and Haoling Li and Zhong-Zhi Li and Peijie Wang and Jie Wu and Lei Ji and Yeyun Gong and yelong shen and Yujiu Yang},
  title = {{PeRL: Permutation-Enhanced Reinforcement Learning for Interleaved Vision-Language Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=hUCgQWItCX},
}
Figure