VIPER: Visual Perception and Explainable Reasoning for Sequential Decision-Making

Mohamed Salim Aissi, Clémence Grislain, Mohamed Chetouani, Olivier Sigaud, Laure Soulier, Nicolas ThomearXiv 2025 · DOI · arXiv

Abstract

VIPER (Visual Perception and Explainable Reasoning) is a modular framework for embodied AI designed to bridge the gap between visual perception and sequential decision-making. By decoupling these processes through a textual intermediate representation, VIPER leverages the descriptive power of Vision-Language Models (VLMs) and the logical planning capabilities of Large Language Models (LLMs). This modularity not only improves performance on complex household tasks but also provides a transparent, explainable path from raw pixels to discrete actions. Evaluated on the ALFWorld benchmark, VIPER achieves a 75% success rate, significantly outperforming existing end-to-end visual planners.

Introduction

For an AI agent to operate effectively in a dynamic environment—such as a home—it must master two distinct skills: perception and reasoning. For example, to fulfill a request like "heat an apple and put it on the countertop," an agent must first identify the apple and the microwave (perception) and then understand the necessary sequence of operations, such as opening the microwave door before insertion (reasoning).

Existing end-to-end models often struggle with "grounding"—the ability to link abstract linguistic knowledge to physical entities. Furthermore, these models are typically "black boxes," making it difficult to diagnose whether a failure occurred because the agent didn't see an object or because it didn't know how to interact with it. VIPER addresses these challenges by using text as a universal interface between vision and action.

The VIPER Framework

VIPER splits the decision-making process into two specialized, interoperable modules:

  1. Perception Module (VLM): Utilizing a frozen VLM (such as Florence-2), this module takes raw image observations and generates detailed, goal-agnostic textual descriptions of the scene.
  2. Reasoning Module (LLM): A fine-tuned LLM (such as Mistral-7B) receives the textual description, the task goal, and a history of past actions to predict the next discrete action.
The VIPER architecture consists of a Perception Module (VLM) that generates scene descriptions and a Reasoning Module (LLM) that predicts actions based on those descriptions and the task goal.

Training Strategy

The reasoning module is trained in two distinct stages to ensure both alignment and exploration:

  • Behavioral Cloning (BC): The model is initially trained on expert trajectories to align its reasoning with the environment's underlying logic.
  • Reinforcement Learning (PPO): The model is further refined through Proximal Policy Optimization, allowing it to explore new states and optimize for efficiency.

Explainability and Grounding

One of VIPER's primary advantages is its inherent explainability. Because the interface between modules is human-readable text, researchers can use techniques like Integrated Gradients to trace a decision backward. This allows for identifying which specific words in a description triggered an action and mapping those words back to specific regions in the original image.

VIPER translates visual observations into a textual bridge, allowing the reasoning module to process goals and observations to produce explainable actions.

This modularity also facilitates precise error analysis. If an agent fails to find an object, developers can check the VLM output. If the object is present in the text but ignored by the agent, the fault lies in reasoning; if the object is missing from the text, the fault lies in perception.

Experimental Results

VIPER was evaluated on ALFWorld, a 3D benchmark simulating various household tasks such as "Pick and Place," "Clean and Place," and "Heat and Place."

  • State-of-the-Art Performance: VIPER achieved an average 75% success rate across all tasks, a massive improvement over previous visual planners like RL4VLM (21%) and zero-shot models like InstructBLIP (22%).
  • Closing the Oracle Gap: In several categories, VIPER approached the performance of "textual oracles"—models with perfect internal knowledge of the environment. In the "Heat" task, for instance, VIPER reached a 92% success rate.
  • Efficiency: VIPER demonstrated the shortest mean trajectory lengths, indicating it solves tasks with fewer redundant steps than its competitors.

Conclusion and Future Work

VIPER demonstrates that decoupling perception from reasoning through a textual bottleneck is a powerful strategy for embodied AI. While the system currently operates on high-level discrete actions and is subject to the limitations of VLM accuracy, it provides a scalable and explainable foundation for future research. Future work will focus on extending VIPER to low-level continuous robotic control and improving the VLM's ability to capture fine-grained spatial relationships.

Summary updated

Abstract

While Large Language Models (LLMs) excel at reasoning on text and Vision-Language Models (VLMs) are highly effective for visual perception, applying those models for visual instruction-based planning remains a widely open problem. In this paper, we introduce VIPER, a novel framework for multimodal instruction-based planning that integrates VLM-based perception with LLM-based reasoning. Our approach uses a modular pipeline where a frozen VLM generates textual descriptions of image observations, which are then processed by an LLM policy to predict actions based on the task goal. We fine-tune the reasoning module using behavioral cloning and reinforcement learning, improving our agent's decision-making capabilities. Experiments on the ALFWorld benchmark show that VIPER significantly outperforms state-of-the-art visual instruction-based planners while narrowing the gap with purely text-based oracles. By leveraging text as an intermediate representation, VIPER also enhances explainability, paving the way for a fine-grained analysis of perception and reasoning components.
BibTeX
@misc{aissi2025viper,
  author = {Mohamed Salim Aissi and Clémence Grislain and Mohamed Chetouani and Olivier Sigaud and Laure Soulier and Nicolas Thome},
  title = {{VIPER: Visual Perception and Explainable Reasoning for Sequential Decision-Making}},
  year = {2025},
  eprint = {2503.15108},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.15108},
}
Figure