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:
- 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.
- 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.
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.
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