Source-linked AI summary

DeeR-VLA: Dynamic Inference of Multimodal Large Language Models for Efficient Robot Execution

Yang Yue, Yulin Wang, Bingyi Kang, Yizeng Han, Shenzhi Wang, Shiji Song, Jiashi Feng, Gao Huang

arXiv:2411.02359v1cs.ROcs.AIcs.LG

TL;DR

MLLM-based robot control is difficult to deploy because robots have limited resources while MLLM inference requires substantial computation and memory. DeeR dynamically exits through a multi-exit MLLM according to situation difficulty and resource constraints, achieving competitive CALVIN performance with substantially lower computational cost and memory use.

  • Problem

    Robotic platforms have limited computation, memory, battery, and latency capacity, whereas MLLM control activates billions of parameters and incurs substantial inference demands.

    Source: §1 · p. 2, §3 · p. 3
  • Method

    DeeR uses multiple intermediate exits, action-consistency-based termination criteria, and temporal-information training to activate only the model capacity needed for each situation.

    Source: §1 · p. 2, §5 · p. 10
  • Results

    5.2-6.5x lower LLM computational cost and 2-6x lower LLM GPU memory use are achieved on CALVIN without compromising performance.

    Source: §1 · p. 2, §5 · p. 10
  • Takeaways & Limitations

    DeeR supports resource-constrained robotic MLLM deployment by adapting computation to situation difficulty and specified efficiency demands.

    Source: §1 · p. 2, §5 · p. 10

    Demonstration-dataset threshold solving assumes a constant probability of satisfying the termination criterion across exit layers.

    Source: §3.2 · p. 6

Abstract

from arXiv · show

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.

1 Introduction

MLLMs enable capable language-conditioned robot control, but their hardware demands conflict with robots’ limited computation, memory, battery, and latency budgets. DeeR addresses this mismatch by dynamically activating model capacity according to situation difficulty, reducing resource use while preserving performance.

  • MLLM-based control is promising for complex manipulation, including novel-command understanding, unseen-object generalization, and reasoning [7] [8].RT-2 demonstrated end-to-end MLLM control that produces performant robotic policies and emergent capabilities.Source: §1 · pp. 1–2
  • Robots require real-time, low-latency interaction despite limited computational capability, memory, and battery capacity, whereas MLLM inference activates billions of parameters.These demands create substantial GPU-memory requirements, power consumption, and control delays.Source: §1 · p. 2
  • Easier situations dominate robot interaction, allowing smaller models to produce correct actions while only harder cases require full MLLM capacity.This motivates unevenly allocating computation across situations rather than using the full model at every timestep.Source: §1 · p. 2
  • DeeR uses multiple intermediate exits to stop inference once sufficient model capacity produces a robotic action, avoiding redundant computation.Termination criteria can target average computational cost, peak computational cost, latency, or GPU memory overhead, with online adjustment through the criterion.Source: §1 · p. 2
  • 5.2-6.5x lower LLM computational cost and 2GB activated-LLM memory preserve competitive performance across 3 CALVIN LH-MTLC challenges.DeeR is evaluated with RoboFlamingo on CALVIN robot manipulation tasks and remains competitive under GPU-memory-aware termination.Source: §1 · p. 2

2 Related Works

Related work uses LLMs and MLLMs for language-conditioned robot control and develops several routes to efficient inference. DeeR extends dynamic early exiting to sequential robotic action prediction by using temporal information and action consistency rather than standard confidence-based criteria.

  • Language-conditioned robotics ranges from LLM-based high-level planning to end-to-end MLLM control, but planner pipelines often rely on domain-specific low-level models.SayCan and PaLM-E translate commands into primitives, whereas RT-2 pursues end-to-end MLLM control [7] [9] [17] [18] [19].Source: §2 · p. 3
  • Efficient LLM research spans structural design, model compression, and dynamic networks, with DeeR focusing on input-adaptive computation through dynamic networks.Dynamic networks reduce unnecessary computation by adjusting resource use to the input.Source: §2 · p. 3
  • Unlike conventional early-exit methods using confidence or entropy, DeeR predicts sequential robot actions with temporal information and exits using action consistency.The method adapts early exiting from classification-style intermediate predictions to multimodal sequential decision-making.Source: §2 · p. 3

3 Dynamic Early-Exit for Robotic MLLM

DeeR dynamically selects how much of a multimodal language model to activate for each robotic situation, using intermediate exits to avoid unnecessary computation. Its architecture combines multimodal processing, lightweight action heads, temporal history, resource-aware termination, and training strategies that address the mismatch between dynamic inference and training.

Motivation

  • DeeR addresses robotic MLLM deployment bottlenecks by adapting activated model size to each situation instead of always inferring through every layer.Robotic platforms have limited computation and memory, while MLLM action inference can activate billions of parameters and incur substantial latency and power use.Source: §3 · p. 3

Basic architecture

  • The system processes language and camera observations with a pretrained vision-language model, producing fused multimodal features for action prediction.A vision encoder converts images into visual tokens, while interleaved language and cross-attention blocks integrate visual and linguistic information.Source: §3.1 · p. 4

Multi-exit architecture

  • DeeR divides the language model into consecutive groups with intermediate exits, allowing a situation-appropriate representation to be selected without activating later parameters.Each exit aggregates token-level features into a compact representation that a lightweight action head converts into low-level robot actions.Source: §3.1 · pp. 4–5

Action prediction

  • The action head predicts 7-DoF end-effector actions, combining six continuous pose dimensions with a discrete gripper state and temporal information.Because the environment is partially observable, the prediction uses historical information in addition to the current observation.Source: §3.1 · p. 5

Adaptive inference

  • At inference, DeeR selects an exit using a criterion conditioned on the current timestep, then computes the action from that intermediate feature and prior hidden state.The selected exit index ranges from 1 to N, and the resulting action is produced through the action head using temporal history.Source: §3.1 · p. 5

Termination and training

  • The termination criterion compares adjacent intermediate action predictions, while training randomly samples exits to reduce the discrepancy between dynamic inference and training.Auxiliary action heads further optimize intermediate exits so that each activated model size can support action prediction.Source: Figure 1 · p. 4, §3.2 · p. 5, §3.3 · p. 6

4 Experiments

DeeR is evaluated on CALVIN for performance under computation, memory, and latency constraints, including comparisons, scalability, ablations, and real inference efficiency. Across these experiments, it preserves competitive performance while reducing resource use.

Comparison with SOTA baselines

  • DeeR slightly outperforms RoboFlamingo while requiring less computation and remains competitive with GR-1, while outperforming traditional imitation-learning methods particularly in ABC→D generalization.Source: §4.1 · p. 8

Scalability of DeeR

  • 1.8-5.7x lower computation and 2.7x-4.0x lower peak FLOPs and memory are reported for DeeR on OpenFlamingo 9B at the same performance.Source: §4.1 · p. 9, Figure 4 · p. 9

Auxiliary losses

  • Removing auxiliary losses substantially lowers performance on ABCD→D, whereas the effect is small on D→D, where the smaller dataset may be easier to fit.Source: §4.2 · p. 9, Table 3 · p. 9

Early-termination criterion

  • Action consistency outperforms feature-similarity and time-based exit criteria across several average computational budgets.Source: §4.2 · p. 9, Table 4 · p. 9

Real inference efficiency

  • 68.1% lower LLM inference time is achieved than RoboFlamingo++ at the same performance, alongside a theoretical 80.7% FLOPs reduction without early-exit code optimizations.Source: §4.2 · p. 9, Table 5 · p. 9

DeeR with Quantization

  • DeeR can combine early exiting with quantization, which reduces memory through lower parameter precision while early exiting reduces computation by skipping unnecessary layers.Source: §4.2 · p. 10, Table 6 · p. 10

5 Conclusion and Limitations

The paper concludes that DeeR dynamically configures MLLM size through multi-exit inference, action-consistency-based termination, resource-aware thresholds, and temporal-information training. Experiments show reduced LLM computation and GPU memory, but the visual encoder remains a significant unaddressed cost.

  • DeeR dynamically configures MLLM size using multiple exits, action-consistency termination, threshold solving, and temporal-information training.Source: §5 · p. 10
  • Experiments demonstrate reduced LLM computational costs and GPU memory usage, supporting DeeR’s potential on resource-constrained robotic platforms.Source: §5 · p. 10
  • The study focuses on LLM efficiency, while the visual encoder’s substantial computational cost remains outside the proposed improvements.Source: §5 · p. 10

A Implementation Details

DeeR is implemented from a reproduced RoboFlamingo++ codebase while preserving its hyperparameters for fair comparison. The main changes are the number of LLM layers and the dynamic early-exit paradigm.

  • DeeR preserves RoboFlamingo++ hyperparameters for fair comparison, changing the number of LLM layers and adding dynamic early exiting.Source: A Implementation Details · p. 16

A.1 Network Architecture

The implementation uses OpenFlamingo with trained vision-language fusion modules and a temporally informed action head. DeeR builds six exits from reduced OpenFlamingo backbones and adjusts inference thresholds to meet resource budgets.

Network Architecture

  • OpenFlamingo uses a frozen LLM and vision encoder, trained perceiver-sampler and cross-attention fusion modules, and an action head combining a 4-layer LSTM with a 3-layer MLP.Source: §A.1 · p. 16
  • Six exits are created by placing exits every two attention layers over the first 12 layers of OpenFlamingo 3B or 9B.Source: §A.1 · p. 16, Table 7 · p. 16

Dynamic Inference

  • After training, exit thresholds dynamically adjust DeeR’s computation for fixed models under GPU-memory and FLOPs constraints.Source: §A.2 · p. 16
  • Thresholds computed from only 1% of the training set achieve similar performance to validation-set thresholds, indicating robust generalization.Source: §A.2 · p. 16

A.3 Training Details

DeeR and RoboFlamingo++ use a two-phase training schedule, with action-head post-training after freezing the pretrained MLLM.

A.3 Training Details

  • Two-phase training jointly optimizes trainable MLLM components and the action head, then freezes the MLLM for action-head post-training.The additional action-head finetuning produces slightly better performance.Source: §A.3 · p. 16
  • Post-training for ABCD→D uses dropout rates of 0.4 for the LSTM and 0.5 for the MLP.Results use the final-epoch checkpoint rather than the best-performing checkpoint.Source: §A.3 · p. 17
  • Training hyperparameters for the D→D, ABC→D, and ABCD→D settings are reported in Table 8.Source: Table 8 · p. 17

A.4 Training Cost

DeeR training uses mixed-precision acceleration and multi-GPU systems, with training time varying by model size, dataset, and epoch schedule.

A.4 Training Cost

  • DeeR training uses PyTorch Automatic Mixed Precision on eight NVIDIA GPUs.The 3B model uses V100 32G GPUs, while the 9B model uses A100 80G GPUs.Source: §A.4 · p. 17
  • The OpenFlamingo 3B model requires approximately 14–25 hours for the reported training schedules across D, ABC, and ABCD datasets.Source: §A.4 · p. 17
  • Training the OpenFlamingo 9B model for 4+4 epochs on Dataset D takes around 24 hours.Source: §A.4 · p. 17

B.1 Quantative Results

The quantitative results report successful completion rates for the first through fifth subtasks across the evaluated task-chain settings.

B.1 Quantative Results

  • Success rates are reported separately for the 1st through 5th tasks in a task chain.The results appear in Tables 9, 10, and 11.Source: §B.1 · p. 17
  • Tables 9, 10, and 11 organize the task-chain success-rate results across the reported experimental settings.Source: §B.1 · p. 17
  • The supplied passage identifies the success-rate analysis but does not report numerical table entries or a comparative winner.Source: §B.1 · p. 17

B.2 Rollout Visualization

DeeR is visualized completing all five consecutive subtasks in a CALVIN task chain, illustrating a full successful rollout.

B.2 Rollout Visualization

Loading 2411.02359v1…