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

TL;DR

Proposes PeRL, a permutation-enhanced RL framework, achieving state-of-the-art on multi-image reasoning benchmarks with significant margin.

cs.CV 🔴 Advanced 2025-06-18 24 views
Yizhen Zhang Yang Ding Shuoshuo Zhang Xinchen Zhang Haoling Li Zhong-zhi Li Peijie Wang Jie Wu Lei Ji Yelong Shen Yujiu Yang Yeyun Gong
multimodal reasoning reinforcement learning sequence permutation multi-image understanding model optimization

Key Findings

Methodology

The proposed PeRL framework integrates sequence permutation and multi-stage data filtering, utilizing GRPO for policy optimization. Random image sequence swaps simulate diverse spatial relationships, fostering robust spatial reasoning. Multi-stage filtering and text rephrasing balance sample difficulty, improving training efficiency. Advantage estimation and dynamic resampling address positional bias, enhancing generalization across complex multi-image tasks. Extensive experiments on five multi-image and three single-image benchmarks demonstrate superior performance over baselines, with notable improvements in accuracy and robustness.

Key Results

  • On the Mantis-Eval benchmark, PeRL achieved 76.39% accuracy, surpassing all baselines by 5.59 percentage points, demonstrating exceptional multi-modal reasoning ability.
  • In single-image math reasoning tasks, PeRL scored 73.00 on MathVista and 49.56 on MathVerse, comparable to state-of-the-art specialized models, confirming strong cross-scenario generalization.
  • Ablation studies show sequence permutation significantly boosts spatial relation understanding, while rollout filtering stabilizes training, leading to overall performance gains.

Significance

This work addresses core challenges in multi-image reasoning, notably positional bias and complex spatial relations, offering a scalable RL-based solution. Its strong performance across diverse benchmarks highlights its potential for real-world applications like visual QA, scene understanding, and autonomous systems. The approach advances the theoretical understanding of multi-modal RL, paving the way for more robust, generalizable models capable of handling intricate multi-image scenarios, thus contributing significantly to both academia and industry.

Technical Contribution

Key innovations include the integration of sequence permutation strategies with multi-stage data filtering, leveraging GRPO for multi-response advantage estimation. The approach effectively mitigates positional bias, enhances spatial relation learning, and improves training stability. Its simplicity and efficiency make it adaptable for large-scale multi-modal tasks, setting new benchmarks in multi-image reasoning. The framework’s modular design allows easy extension to incorporate additional modalities and reasoning types, broadening its applicability.

Novelty

This is the first systematic application of sequence permutation combined with reinforcement learning to address multi-image spatial and positional reasoning challenges. Unlike prior static or rule-based methods, PeRL dynamically generates diverse training samples, improving generalization. Its multi-stage filtering and advantage estimation mechanisms are novel, providing a comprehensive solution to the positional bias and relation understanding problems in multi-modal settings.

Limitations

  • Training complexity and computational cost remain high, especially for large-scale multi-image datasets. The permutation process may introduce semantic noise in some cases, affecting accuracy.
  • The approach relies on pre-trained models and rule-based filtering, which may limit end-to-end learning capabilities. Handling extremely complex or large-scale scenes needs further optimization.
  • Future work should explore more efficient data augmentation, end-to-end training, and integration with knowledge graphs to further improve reasoning depth and robustness.

Future Work

Future directions include integrating self-supervised learning to reduce reliance on rule-based filtering, exploring multi-task training for broader reasoning capabilities, and leveraging knowledge graphs for enhanced semantic understanding. Extending the framework to handle larger, more complex multi-image environments and real-world applications like robotics and autonomous navigation will be key. Additionally, optimizing computational efficiency and scalability remains an ongoing challenge.

AI Executive Summary

Multimodal reasoning, especially across multiple images, remains a significant challenge in AI. Existing models excel at single-image tasks but struggle with complex spatial and positional relationships across multiple images, often suffering from positional bias and limited generalization. This gap hinders the deployment of AI in real-world scenarios like scene understanding, visual question answering, and autonomous navigation.

In response, this work introduces PeRL, a permutation-enhanced reinforcement learning framework designed to improve multi-image reasoning. The core idea is to randomly swap image sequences during training, simulating diverse spatial configurations. This process encourages the model to learn more robust spatial representations, reducing positional bias. To further improve training stability and efficiency, the authors develop a multi-stage data filtering pipeline, including rule-based filtering, text rephrasing, rollout filtering, and semantic variation checks, ensuring high-quality, balanced training samples.

The technical backbone of PeRL is the integration of GRPO, a policy optimization algorithm that considers multiple responses and advantage estimation, effectively addressing the positional bias problem. By generating multiple responses for each permutation and dynamically resampling trajectories, the framework enhances the model’s ability to generalize across complex multi-image scenarios.

Extensive experiments on five multi-image benchmarks (e.g., Mantis-Eval, BLINK, MMIU) and three single-image benchmarks (MathVista, MathVerse, MathVision) demonstrate that PeRL outperforms existing models significantly. On the multi-image natural scene understanding task, it achieves 76.39% accuracy, surpassing previous best by 5.59 points. In mathematical reasoning, it maintains competitive scores, confirming strong cross-scenario generalization. Ablation studies highlight the importance of sequence permutation and rollout filtering in boosting performance.

Overall, PeRL’s innovations in data augmentation, policy optimization, and training stability mark a substantial advance in multi-modal AI. Its ability to handle complex spatial and semantic relationships opens new avenues for practical applications, including intelligent scene analysis, robotic perception, and beyond. Despite some computational costs, the framework’s flexibility and effectiveness suggest a promising future for scalable, robust multi-image reasoning systems.

Deep Analysis

Background

The evolution of multimodal AI has seen rapid progress with models like VisualBERT, LXMERT, and VL-BERT, which primarily focus on single-image understanding. As applications demand more complex scene comprehension, multi-image reasoning has gained attention, exemplified by models such as Flamingo, LLaVA-Interleave, and Migician. These models attempt to encode inter-image relationships but face challenges like positional bias and limited generalization in complex spatial configurations. Reinforcement learning has been explored to enhance reasoning, yet most approaches remain constrained by static data and lack robust handling of multi-image spatial relations. The gap persists in effectively modeling diverse spatial arrangements and mitigating positional biases, which are critical for real-world scene understanding and visual question answering.

Core Problem

Multi-image reasoning involves understanding complex spatial and semantic relationships across images, which is hindered by positional bias—models overly sensitive to image order—and difficulty in generalizing to diverse spatial configurations. Existing methods struggle to adapt to varied real-world scenarios where image sequences can vary arbitrarily, leading to inconsistent reasoning results. Addressing these issues requires a strategy that not only enhances spatial understanding but also reduces positional sensitivity, ensuring models can reliably interpret multi-image inputs in dynamic environments. The core challenge lies in designing training mechanisms that promote invariance to image order while capturing intricate spatial relations.

Innovation

The key innovations include: 1) Sequence permutation strategy that randomly swaps images during training, simulating diverse spatial arrangements to improve spatial relation learning. 2) Multi-stage data filtering pipeline that balances sample difficulty, incorporating rule-based filtering, text rephrasing, and semantic variation checks to ensure high-quality training data. 3) Rollout filtering mechanism that dynamically resamples trajectories based on informativeness, stabilizing training and accelerating convergence. 4) Integration of GRPO, a policy optimization algorithm that estimates advantages over multiple responses, effectively addressing positional bias. These innovations collectively enable the model to learn more robust spatial and semantic relationships, significantly improving multi-image reasoning performance.

Methodology

  • �� Construct a multi-stage data pipeline: apply rule-based filtering to remove low-quality samples, use GPT-4o for question rephrasing to maintain semantics, implement rollout filtering with Qwen2.5-VL to evaluate sample informativeness, and perform semantic variation checks to ensure invariance under permutation. • During training, randomly swap image sequences per sample, modifying textual references accordingly, to simulate varied spatial configurations. • Use GRPO to generate multiple responses per permutation, compute advantages via rule-based rewards, and perform dynamic resampling to focus on informative trajectories. • Incorporate a decaying probability of permutation application to ensure training stability. • Optimize policy parameters via gradient updates based on combined advantage estimates, balancing exploration and exploitation across diverse spatial scenarios. • Validate model performance on multiple benchmarks, analyzing ablation effects of permutation and filtering strategies.

Experiments

The experimental setup includes training on 22K multi-image instruction samples from Mantis-Instruct and 36K single-image math samples, with the policy initialized from Qwen2.5-VL-7B. The evaluation covers five multi-image benchmarks (Mantis-Eval, BLINK, MMIU, Remi, MV-Math) and three single-image benchmarks (MathVista, MathVerse, MathVision). Hyperparameters include one permutation per sample, six responses per permutation, training for two epochs, learning rate 1e-6, batch size 256. Ablation studies compare permutation versus static training, analyze the impact of rollout filtering, and evaluate the effect of sample difficulty balancing. Results show that permutation significantly improves spatial relation understanding, and rollout filtering stabilizes training, leading to superior performance across benchmarks.

Results

PeRL achieves 76.39% accuracy on Mantis-Eval, outperforming previous models by 5.59 points, and maintains high scores on single-image math benchmarks (73.00 on MathVista, 49.56 on MathVerse). Ablation results confirm that sequence permutation enhances spatial reasoning, while rollout filtering improves training stability and efficiency. Cross-scenario testing demonstrates strong generalization, especially in out-of-distribution datasets like Remi and MV-Math. The model’s robustness and accuracy gains highlight the effectiveness of the proposed strategies, setting new standards in multi-image reasoning performance.

Applications

The approach can be directly applied to visual question answering, scene understanding, autonomous navigation, and robotic perception, where understanding complex spatial relationships is critical. Its robustness makes it suitable for real-world applications requiring reliable multi-image interpretation under varying conditions. Long-term, integrating this framework with knowledge graphs and self-supervised learning could enable more intelligent, context-aware systems capable of reasoning in dynamic environments, significantly advancing AI’s perceptual and reasoning capabilities.

Limitations & Outlook

Despite its strengths, the method incurs high computational costs due to multiple permutations and responses. Handling extremely complex or large-scale multi-image scenes remains challenging, with potential semantic noise introduced during permutation. The reliance on pre-trained models and rule-based filtering limits end-to-end learning and adaptability. Future work should focus on reducing computational overhead, improving semantic robustness, and exploring more scalable, integrated learning paradigms to extend applicability.

Plain Language Accessible to non-experts

想象你在厨房里准备一道菜,你有很多不同的食材和工具。每次你换不同的食材摆放顺序,菜的味道可能会变,但你还是要做出一样好吃的菜。这就像让AI学会在不同的图片顺序中都能理解它们的关系。研究中,科学家用一种方法,把图片随机交换位置,让AI学会不依赖顺序,理解每张图片的内容和关系。这样,AI就变得更聪明,能在复杂的场景中准确判断,就像你在厨房里能灵活应对各种食材组合一样。这种方法让AI变得更强大,能帮我们解决很多实际问题,比如自动问答和场景分析。

ELI14 Explained like you're 14

想象你在玩拼图游戏,有很多图片拼在一起。每次你换拼图的顺序,虽然拼图内容没变,但你得重新理解每块拼图的位置。这个研究就像教AI也能这样做,让它学会在不同的拼图顺序下都能找到正确的拼法。科学家用一种特别的方法,把拼图随机换位置,然后让AI练习理解每个拼图的关系。这样,AI就能更聪明地理解复杂的场景,就像你在拼图游戏中变得更厉害一样。这个方法让AI在处理很多图片时,更加稳健和聪明,能帮我们解决很多实际问题,比如自动问答和场景理解。

Abstract

Inspired by the impressive reasoning capabilities demonstrated by reinforcement learning approaches like DeepSeek-R1, recent emerging research has begun exploring the use of reinforcement learning (RL) to enhance vision-language models (VLMs) for multimodal reasoning tasks. However, most existing multimodal reinforcement learning approaches remain limited to spatial reasoning within single-image contexts, yet still struggle to generalize to more complex and real-world scenarios involving multi-image positional reasoning, where understanding the relationships across images is crucial. To address this challenge, we propose a general reinforcement learning approach PeRL tailored for interleaved multimodal tasks, and a multi-stage strategy designed to enhance the exploration-exploitation trade-off, thereby improving learning efficiency and task performance. Specifically, we introduce permutation of image sequences to simulate varied positional relationships to explore more spatial and positional diversity. Furthermore, we design a rollout filtering mechanism for resampling to focus on trajectories that contribute most to learning optimal behaviors to exploit learned policies effectively. We evaluate our model on 5 widely-used multi-image benchmarks and 3 single-image benchmarks. Our experiments confirm that PeRL trained model consistently surpasses R1-related and interleaved VLM baselines by a large margin, achieving state-of-the-art performance on multi-image benchmarks, while preserving comparable performance on single-image tasks.

cs.CV cs.AI