- LAPA is the first unsupervised approach for pretraining Vision-Language-Action (VLA) models without ground-truth robot action labels.
16
10 commits
2 linked in READMEs
updated Nov 22, 2024
LAPA is the first unsupervised approach for pretraining Vision-Language-Action (VLA) models without ground-truth robot action labels.
LAPA outperforms the current state-of-the-art VLA model trained with ground-truth actions, building a new SOTA VLA model.
LAPA achieves over 30x greater pretraining efficiency compared to conventional VLA pretraining.
LWM-Chat-1M-Jax, a VLM trained from:
Our model is designed to accelerate research on unsupervised methods for building vision-language-action models, for use as a building block for generative AI powered features.
Our models are not specifically designed or evaluated for all downstream purposes. Developers should consider common limitations of multimodal language models as they select use cases, and evaluate and mitigate for accuracy, safety, and fariness before using within a specific downstream use case, particularly for high risk scenarios. Developers should be aware of and adhere to applicable laws or regulations (including privacy, trade compliance laws, etc.) that are relevant to their use case.
Nothing contained in this Model Card should be interpreted as or deemed a restriction or modification to the license the model is released under.
To analyze the output of the model, which is a sequence of latent actions (8^4), run the following command:
conda create -n lapa python=3.10 -y
conda activate lapa
git clone https://github.com/LatentActionPretraining/LAPA.git
pip install -r requirements.txt
mkdir lapa_checkpoints && cd lapa_checkpoints
wget https://huggingface.co/latent-action-pretraining/LAPA-7B-openx/resolve/main/tokenizer.model
wget https://huggingface.co/latent-action-pretraining/LAPA-7B-openx/resolve/main/vqgan
wget https://huggingface.co/latent-action-pretraining/LAPA-7B-openx/resolve/main/params
cd ..
python -m latent_pretraining.inference
Since the released checkpoint is trained with latent pretraining objective, the outputs are not real actions that are executable in the real world. To make the model output executable actions, fine-tuning on a small set of trajectories that contain ground-truth actions (~150 trajs) to map the latent action space to the actual action space.
To finetune the model on SIMPLER, run the following command:
./scripts/finetune_simpler.sh
To finetune the model on a custom dataset, run the following command:
python data/finetune_preprocess.py --input_path "/path_to_json_file" --output_filename "data/real_finetune.jsonl" --csv_filename "data/real_finetune.csv"
./scripts/finetune_real.sh
To understand the capabilities, we compare LAPA with a set of models over a variety of benchmarks. At the high-level overview of the model quality on representative benchmarks:
| Scratch | OpenVLA (Bridge) | ActionVLA (Bridge) | LAPA (Bridge) | OpenVLA (OpenX) | LAPA (OpenX) | LAPA (Sthv2) | |
|---|---|---|---|---|---|---|---|
| Knock | 13.9 | 33.3 | 25.0 | 25.0 | 38.9 | 52.8 | 30.6 |
| Cover | 38.7 | 42.3 | 47.8 | 42.4 | 38.6 | 51.7 | 47.9 |
| Pick and Place | 11.1 | 22.2 | 19.4 | 43.4 | 54.2 | 45.8 | 23.6 |
| Average | 21.2 | 32.6 | 30.8 | 36.8 | 43.9 | 50.1 | 34.0 |
| Developer | LAPA Team |
| Architecture | LAPA has 7B parameters where the base architecture is from Large-World-Model. The model consists of a pretrained LLaMA-2 language model and a VQGAN vision encoder. |
| Inputs | Text and Image |
| Context length | 4K tokens |
| GPUs | 8 H100-80G |
| Training time | 34 hours |
| Training data | 7.0B tokens |
| Outputs | Generated latent actions in response to the input |
| Dates | Trained on Sep 2024 |
| Status | This is a static model trained on an offline dataset (Open-X Embodiment) for publicly available data. Future versions of the tuned models may be released as we improve models. |
| Supported languages | English |
| Release date | Oct 2024 |
| License | MIT |
Our training data is from Open-X Embodiment Dataset. From the whole dataset, we use the similar mixture of subsets from OpenVLA.
LAPA model can potentially behave in ways that are unfair, unreliable, or offensive. Some of the limiting behaviors to be aware of include:
Developers should apply responsible AI best practices and are responsible for ensuring that a specific use-case complies with relevant laws and regulations (e.g. privacy, trade, etc.). Important areas for consideration include:
The model is licensed under the MIT license.
10 commits
- LAPA is the first unsupervised approach for pretraining Vision-Language-Action (VLA) models without ground-truth robot action labels.
16
10 commits
2 linked in READMEs
updated Nov 22, 2024
LAPA is the first unsupervised approach for pretraining Vision-Language-Action (VLA) models without ground-truth robot action labels.
LAPA outperforms the current state-of-the-art VLA model trained with ground-truth actions, building a new SOTA VLA model.
LAPA achieves over 30x greater pretraining efficiency compared to conventional VLA pretraining.
LWM-Chat-1M-Jax, a VLM trained from:
Our model is designed to accelerate research on unsupervised methods for building vision-language-action models, for use as a building block for generative AI powered features.
Our models are not specifically designed or evaluated for all downstream purposes. Developers should consider common limitations of multimodal language models as they select use cases, and evaluate and mitigate for accuracy, safety, and fariness before using within a specific downstream use case, particularly for high risk scenarios. Developers should be aware of and adhere to applicable laws or regulations (including privacy, trade compliance laws, etc.) that are relevant to their use case.
Nothing contained in this Model Card should be interpreted as or deemed a restriction or modification to the license the model is released under.
To analyze the output of the model, which is a sequence of latent actions (8^4), run the following command:
conda create -n lapa python=3.10 -y
conda activate lapa
git clone https://github.com/LatentActionPretraining/LAPA.git
pip install -r requirements.txt
mkdir lapa_checkpoints && cd lapa_checkpoints
wget https://huggingface.co/latent-action-pretraining/LAPA-7B-openx/resolve/main/tokenizer.model
wget https://huggingface.co/latent-action-pretraining/LAPA-7B-openx/resolve/main/vqgan
wget https://huggingface.co/latent-action-pretraining/LAPA-7B-openx/resolve/main/params
cd ..
python -m latent_pretraining.inference
Since the released checkpoint is trained with latent pretraining objective, the outputs are not real actions that are executable in the real world. To make the model output executable actions, fine-tuning on a small set of trajectories that contain ground-truth actions (~150 trajs) to map the latent action space to the actual action space.
To finetune the model on SIMPLER, run the following command:
./scripts/finetune_simpler.sh
To finetune the model on a custom dataset, run the following command:
python data/finetune_preprocess.py --input_path "/path_to_json_file" --output_filename "data/real_finetune.jsonl" --csv_filename "data/real_finetune.csv"
./scripts/finetune_real.sh
To understand the capabilities, we compare LAPA with a set of models over a variety of benchmarks. At the high-level overview of the model quality on representative benchmarks:
| Scratch | OpenVLA (Bridge) | ActionVLA (Bridge) | LAPA (Bridge) | OpenVLA (OpenX) | LAPA (OpenX) | LAPA (Sthv2) | |
|---|---|---|---|---|---|---|---|
| Knock | 13.9 | 33.3 | 25.0 | 25.0 | 38.9 | 52.8 | 30.6 |
| Cover | 38.7 | 42.3 | 47.8 | 42.4 | 38.6 | 51.7 | 47.9 |
| Pick and Place | 11.1 | 22.2 | 19.4 | 43.4 | 54.2 | 45.8 | 23.6 |
| Average | 21.2 | 32.6 | 30.8 | 36.8 | 43.9 | 50.1 | 34.0 |
| Developer | LAPA Team |
| Architecture | LAPA has 7B parameters where the base architecture is from Large-World-Model. The model consists of a pretrained LLaMA-2 language model and a VQGAN vision encoder. |
| Inputs | Text and Image |
| Context length | 4K tokens |
| GPUs | 8 H100-80G |
| Training time | 34 hours |
| Training data | 7.0B tokens |
| Outputs | Generated latent actions in response to the input |
| Dates | Trained on Sep 2024 |
| Status | This is a static model trained on an offline dataset (Open-X Embodiment) for publicly available data. Future versions of the tuned models may be released as we improve models. |
| Supported languages | English |
| Release date | Oct 2024 |
| License | MIT |
Our training data is from Open-X Embodiment Dataset. From the whole dataset, we use the similar mixture of subsets from OpenVLA.
LAPA model can potentially behave in ways that are unfair, unreliable, or offensive. Some of the limiting behaviors to be aware of include:
Developers should apply responsible AI best practices and are responsible for ensuring that a specific use-case complies with relevant laws and regulations (e.g. privacy, trade, etc.). Important areas for consideration include:
The model is licensed under the MIT license.
10 commits