CoolFace
Modelpublic

RLinf/RLinf-OpenVLAOFT-GRPO-LIBERO-long

sourceHugging Facemitupdated 9mo agoView on Hugging Face
0likes20downloads
Model Card

<div align="center"> <img src="logo.svg" alt="RLinf-logo" width="500"/> </div>

<div align="center"> <!-- <a href="TODO"><img src="https://img.shields.io/badge/arXiv-Paper-red?logo=arxiv"></a> --> <!-- <a href="TODO"><img src="https://img.shields.io/badge/HuggingFace-yellow?logo=huggingface&logoColor=white" alt="Hugging Face"></a> --> <a href="https://github.com/RLinf/RLinf"><img src="https://img.shields.io/badge/Github-blue"></a> <a href="https://rlinf.readthedocs.io/en/latest/"><img src="https://img.shields.io/badge/Documentation-Purple?color=8A2BE2&logo=readthedocs"></a> <!-- <a href="TODO"><img src="https://devin.ai/assets/deepwiki-badge.png" alt="Ask DeepWiki.com" style="height:20px;"></a> <a href="TODO"><img src="https://img.shields.io/badge/微信-green?logo=wechat&amp"></a> --> </div>

<h1 align="center">RLinf: Reinforcement Learning Infrastructure for Agentic AI</h1>

RLinf is a flexible and scalable open-source infrastructure designed for post-training foundation models (LLMs, VLMs, VLAs) via reinforcement learning. The 'inf' in RLinf stands for Infrastructure, highlighting its role as a robust backbone for next-generation training. It also stands for Infinite, symbolizing the system’s support for open-ended learning, continuous generalization, and limitless possibilities in intelligence development.

<div align="center"> <img src="overview.png" alt="RLinf-overview" width="600"/> </div>

Model Description

The RLinf-openvlaoft-libero series is trained on RLinf/RLinf-OpenVLAOFT-LIBERO-xxx-Base-Lora (including libero90 and libero130) and Haozhan72/Openvla-oft-SFT-libero-xxx-traj1 (including libero10, libero-object, libero-goal and libero-spatial), using the same base models and training datasets as verl. Training with RLinf yields SOTA performance.

We use a mask to focus on valid action tokens, and compute token-level loss based on the Group Relative Policy Optimization (GRPO) advantage function, in order to enhance the model’s performance on spatial reasoning, object generalization, instruction generalization, and long-horizon tasks.

Evaluation and Results

We trained four models using RLinf:

  • RLinf-OpenVLAOFT-GRPO-LIBERO-90 Model (based on RLinf/RLinf-OpenVLAOFT-LIBERO-90-Base-Lora))
  • Recommended sampling settings: temperature = 1.6, top_p = 1.0
  • RLinf-OpenVLAOFT-LIBERO-130 Model (based on RLinf/RLinf-OpenVLAOFT-LIBERO-130-Base-Lora))
  • Recommended sampling settings: temperature = 1.6, top_p = 1.0

Benchmark Results

Sft models for LIBERO-90 and LIBERO-130 are trained by ourself following training reciepe from OpenVLA-OFT. And other sft models are from SimpleVLA-RL.

We evaluate each model according to its training configuration. Using liberoseed = 0 and evaluating 500 episodes for the Object, Spatial, Goal, and Long suites, 4,500 episodes for LIBERO-90, and 6,500 episodes for LIBERO-130. For the SFT-trained (LoRA-base) models, we set dosample = False. For the RL-trained models, we set dosample = True, temperature = 1.6, and enable rolloutepoch=2, and the final results are reported as the average across the two runs.
ModelObjectSpatialGoalLong90Average
sft models28.8352.2249.4014.9279.2866.07
trained with RLinf97.6894.7693.9690.9396.4495.79

Besides, we train one model (we named it libero-130 model) for all tasks in libero.

libero-130 modelObjectSpatialGoalLong90130(all)
sft models50.2051.6149.4011.9042.6742.09
trained with RLinf99.6098.6998.0993.4598.0297.85

<div align="center"> <img src="tensorboard-success_once.png" alt="RLinf-libero-result" width="600"/> </div>

How to Use

Please integrate the provided model with the RLinf codebase. To do so, modify the following parameters in the configuration file `examples/embodiment/config/libero_10_grpo_openvlaoft.yaml`:

  • Set `rollout.model.model_path, actor.model.model_path, and actor.tokenizer.tokenizer_model` to the path of the model checkpoint.

Note: If you intend to evaluate the model directly, make sure to set `actor.model.is_lora to false`.

License

This code repository and the model weights are licensed under the MIT License.