[Paper Review] Octopus: Embodied Vision-Language Programmer from Environmental Feedback
Octopus is a vision-language model that generates executable code from natural language instructions and egocentric visual input, trained via GPT-4-generated demonstrations and refined with Reinforcement Learning using Environmental Feedback (RLEF). It achieves superior task planning and execution in simulated environments like OctoGibson and GTA, outperforming zero-shot models such as GPT-4V in complex, vision-dependent tasks.
Large vision-language models (VLMs) have achieved substantial progress in multimodal perception and reasoning. When integrated into an embodied agent, existing embodied VLM works either output detailed action sequences at the manipulation level or only provide plans at an abstract level, leaving a gap between high-level planning and real-world manipulation. To bridge this gap, we introduce Octopus, an embodied vision-language programmer that uses executable code generation as a medium to connect planning and manipulation. Octopus is designed to 1) proficiently comprehend an agent's visual and textual task objectives, 2) formulate intricate action sequences, and 3) generate executable code. To facilitate Octopus model development, we introduce OctoVerse: a suite of environments tailored for benchmarking vision-based code generators on a wide spectrum of tasks, ranging from mundane daily chores in simulators to sophisticated interactions in complex video games such as Grand Theft Auto (GTA) and Minecraft. To train Octopus, we leverage GPT-4 to control an explorative agent that generates training data, i.e., action blueprints and corresponding executable code. We also collect feedback that enables an enhanced training scheme called Reinforcement Learning with Environmental Feedback (RLEF). Through a series of experiments, we demonstrate Octopus's functionality and present compelling results, showing that the proposed RLEF refines the agent's decision-making. By open-sourcing our simulation environments, dataset, and model architecture, we aspire to ignite further innovation and foster collaborative applications within the broader embodied AI community.
Motivation & Objective
- To bridge the gap between vision-language reasoning and executable action generation in embodied agents.
- To enable vision-language models to produce not just plans, but also correct, executable code sequences for real-time environment interaction.
- To overcome the limitations of existing models that generate only high-level plans or fail to generalize across complex visual environments.
- To develop a scalable, open-source framework for training and evaluating embodied vision-language agents using simulated environments and environmental feedback.
- To explore the transferability of such models to diverse, previously unseen environments like GTA, demonstrating generalization beyond the training domain.
Proposed method
- Leveraged GPT-4 to act as a teacher agent in the OctoVerse simulator, generating action blueprints and corresponding executable code for diverse tasks.
- Collected multimodal training data including egocentric visual observations, natural language instructions, and ground-truth action sequences.
- Integrated environmental feedback from simulators to distinguish successful vs. failed actions during data collection, enabling feedback-based training.
- Proposed Reinforcement Learning with Environmental Feedback (RLEF), where rewards are derived from simulator outcomes to fine-tune the model.
- Fine-tuned the vision-language model using Proximal Policy Optimization (PPO) to improve policy alignment and decision-making accuracy.
- Built two evaluation environments: OctoGibson for structured household tasks and OctoGTA for open-ended, complex video game scenarios to test generalization and reasoning.
Experimental results
Research questions
- RQ1Can a vision-language model generate executable code from natural language and visual input, rather than just high-level plans?
- RQ2How effective is environmental feedback in improving the policy learning of a vision-language agent in simulated environments?
- RQ3To what extent can a model pre-trained in one environment (e.g., OctoGibson) generalize to a significantly different environment (e.g., GTA) with minimal fine-tuning?
- RQ4How does the performance of a vision-language programmer compare to zero-shot LLMs like GPT-4V in vision-intensive, real-world-like tasks?
- RQ5Can the integration of GPT-4-generated demonstrations and RLEF training lead to more robust and accurate task execution in embodied AI?
Key findings
- Octopus outperformed GPT-4V in vision-dependent tasks such as locating a carboy in the OctoGibson environment, where GPT-4V failed due to lack of environment familiarity.
- In few-shot transfer to the GTA environment, Octopus successfully completed 4 out of 11 tasks, demonstrating transferability beyond the training domain.
- The RLEF training scheme significantly improved decision-making accuracy, as evidenced by higher success rates in complex, multi-step tasks.
- Octopus achieved high success rates in routine household tasks in OctoGibson, indicating strong performance in structured, vision-rich environments.
- The model demonstrated robustness in generating executable code sequences that align with both visual perception and natural language instructions.
- The open-sourcing of the model, simulator (OctoGibson and OctoGTA), and dataset is expected to catalyze further innovation in embodied AI and vision-language programming.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.