π€πΊοΈ Reinforced Reasoning for Embodied Planning
August 16, 2025 Β· View on GitHub
Reinforced Reasoning for Embodied Planning
Di Wu, Jiaxin Fan*, Junzhe Zang*, Guanbo Wang, Wei Yin, Wenhao Liβ , Bo Jinβ
Tongji MAIL-TAII Lab, Tongji University, Tsinghua University, Bank of Communications
π§ Overview
Multi-step embodied planning tasks challenge agents to translate first-person visual observations and natural-language goals into coherent, sequential actions that dynamically affect their environment. Unlike static tasks like visual QA or math, these tasks require continuous spatial reasoning, temporal consistency, and adaptation across multiple decision turns.
However, current vision-language models (VLMs), even those with strong static capabilities, often fail in such settingsβproducing redundant, incoherent, or short-sighted action sequences.
To address this gap, we propose:
π Reinforced Reasoning for Embodied Planning A two-stage fine-tuning pipeline that equips VLMs with multi-step reasoning and long-horizon planning abilities in dynamic environments.
π§ Our Pipeline
-
Supervised Fine-tuning (SFT): We distill ~4k high-quality multi-step trajectories from a powerful teacher model into Qwen2.5-VL-7B to initialize commonsense and structured reasoning.
-
Reinforcement Fine-tuning (RFT): Using a rule-based reward tailored for multi-step decision quality, we apply GRPO to align model outputs with long-horizon planning objectives.
π§ͺ Results
We evaluate on the Embench benchmark (EB-ALFRED & EB-Habitat) and find that our 7B model:
- Outperforms 70B+ open-source baselines,
- Surpasses GPT-4o-mini in planning efficiency and coherence,
- Generalizes well to unseen embodied environments.
ποΈ News
- 2025-08-16 : π¦ Update relevant data and RFT model
- 2025-05-28 : π We released our initial arXiv paper on Reinforced Reasoning for Embodied Planning.
- 2025-06-06 : π§ Github Page Released.
- 2025-06-17 : π οΈ Published the github page and related data.
ποΈ Model and Dataset
We release all key components of our two-stage training pipeline, including datasets and models for both Supervised Fine-tuning (SFT) and Reinforcement Fine-tuning (RFT).
| Component | Description | Download |
|---|---|---|
| π§© SFT Dataset | ~4.2k Gemini-2.0 distilled multi-step plans | π€ Hugging Face |
| π§© RFT Dataset | ~43.9k ALFRED-derived episodes with reward annotations | π€ Hugging Face |
| π§ SFT Model | Qwen2.5-VL-7B fine-tuned with SFT only | π€ Hugging Face |
| π§ RFT Model | Qwen2.5-VL-7B further optimized via GRPO | π€ Hugging Face |
β‘οΈ Simple Usage
STAGE 1. π§ Supervised Fine-tuning (SFT)
Step 1. Environment Setup
You can directly follow the instructions in Llama_factory to complete the SFT stage and find more detailed guidance.
# You can setup conda...
cd SFT_training
pip install -e ".[torch,metrics]"
Step 2. Prepare Dataset
Download our SFT Dataset, follow instructions in llama_factory_Data_Readme.md to prepare the dataset (What you mainly need to do is adding our dataset to dataset_info.json)
Step 3. Launch Training
You need config the yaml file before launching
# Lora
llamafactory-cli train examples/train_lora/qwen2vl_lora_sft.yaml
# merge Lora after training
llamafactory-cli export examples/merge_lora/qwen2vl_lora_sft.yaml
# Full Parameters
llamafactory-cli train examples/train_full/qwen2vl_full_sft.yaml
After training, you will get the SFT model for the next RL stage.
STAGE 2. π― Reinforcement Fine-tuning (RFT)
Step 1. Environment Setup
# You can setup conda...
cd RFT training
pip install -e .[vllm]
pip install flash_attn --no-build-isolation
Step 2. Prepare Dataset
Download our RFT Dataset, place the RFT dataset outside the RFT training folder, because the training process of RFT requires packing the folder for communication.
Step 2. Launch RFT Training
Modify RFT.sh before launching
cd RFT training
bash RFT.sh
The rule-based reward function is in \RFT training\examples\scripts\reward_func_embench_alfred_nonlinear.py
The RFT code is modified based on OpenRLHF and MM-Eureka. You can refer to these two repositories for more information about the underlying codebase.
π Evaluation on Embench
To ensure fairness, we did not make any modifications to the benchmark. You only need to follow the setup instructions provided in Embench, and then directly evaluate using the models we have trained.
π Performance
In-domin Result
Out-of-domin Result
π Acknowledgement
This project builds upon the excellent work of:
- LLaMA-Factory for SFT
- MM-Eureka for reinforcement fine-tuning
- Embench simulators
βοΈ Citation
If you find this repo useful, please cite:
@article{wu2025reinforced,
title={Reinforced Reasoning for Embodied Planning},
author={Wu, Di and Fan, Jiaxin and Zang, Junzhe and Wang, Guanbo and Yin, Wei and Li, Wenhao and Jin, Bo},
journal={arXiv preprint arXiv:2505.22050},
year={2025}
}
Enjoy reasoning in embodied worlds π€πΊοΈ!
```