DeeR-VLA: Dynamic Inference of Multimodal Large Language Models for Efficient Robot Execution
Authors:
Preprint
Abstract
MLLMs have demonstrated remarkable comprehension and reasoning capabilities with complex language and visual data. These advances have spurred the vision of establishing a generalist robotic MLLM proficient in understanding complex human instructions and accomplishing various embodied tasks. However, developing MLLMs for real-world robots is challenging due to the typically limited computation and memory capacities available on robotic platforms. In contrast, the inference of MLLMs involves storing billions of parameters and performing tremendous computation, imposing significant hardware demands. In our paper, we propose a Dynamic Early-Exit Framework for Robotic Vision-Language-Action Model (DeeR-VLA, or simply DeeR) that automatically adjusts the size of the activated MLLM based on each situation at hand. The approach leverages a multi-exit architecture in MLLMs, which allows the model to terminate processing once a proper size of the model has been activated for a specific situation, thus avoiding further redundant computation. Additionally, we develop novel algorithms that establish early-termination criteria for DeeR, conditioned on predefined demands such as average computational cost (i.e., power consumption), as well as peak computational consumption (i.e., latency) and GPU memory usage. These enhancements ensure that DeeR operates efficiently under varying resource constraints while maintaining competitive performance. On the CALVIN robot manipulation benchmark, DeeR demonstrates significant reductions in computational costs of LLM by 5.2-6.5x and GPU memory of LLM by 2-6x without compromising performance. Code and checkpoints are available at https://github.com/yueyang130/DeeR-VLA.Keywords
All Related Versions
This publication has 29 references indexed in Scilit:
- AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation2024
- Improved Baselines with Visual Instruction Tuning2024
- FLatten Transformer: Vision Transformer using Focused Linear Attention2023
- InstructPix2Pix: Learning to Follow Image Editing Instructions2023
- You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Model2023
- DeeCap: Dynamic Early Exiting for Efficient Image Captioning2022
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet2021
- CondenseNet V2: Sparse Feature Reactivation for Deep Networks2021
- FrameExit: Conditional Early Exiting for Efficient Video Recognition2021
- Resolution Adaptive Networks for Efficient Inference2020