SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.02359 · NeurIPS · 2024

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

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

arXiv · PDF · Open in the Atlas

Code that ran

5 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2411.02359.json · badge: /api/ran/2411.02359.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yueyang130/DeeR-VLA canonical (classifier label)
classifier basis: census
5 ran · 5 no recorded run
FunctionStatusWhere it lives
cosine_beta_schedule Ran
ran, honoured the contract we drafted
yueyang130/DeeR-VLA/robot_flamingo/models/unets.py
code served (permissive licence) · get_code("b5f436d39b3d4b3f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (10,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

ARGS = {
    "timesteps": 10,
    "s": 0.008,
    "dtype": torch.float32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (10,) — shape (10,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dict_apply Ran
ran; our contract draft was wrong, not the code
yueyang130/DeeR-VLA/robot_flamingo/models/normalizer.py
code served (permissive licence) · get_code("7bf6ead301088975")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from typing import Dict, Callable

torch.manual_seed(0)

# Create a simple function that applies an operation to tensors
def simple_func(tensor: torch.Tensor) -> torch.Tensor:
    return tensor * 2 + 1

# Create a nested dictionary with tensors
x = {
    'tensor_a': torch.randn(2, 4),
    'tensor_b': torch.randn(2, 3),
    'nested': {
        'tensor_c': torch.randn(2, 5),
        'tensor_d': torch.randn(2, 6)
    }
}

# Define ARGS mapping
ARGS = {
    'x': x,
    'func': simple_func
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
gen_attention_mask_in_length Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yueyang130/DeeR-VLA/modeling_gpt_9b.py
code served (permissive licence) · get_code("52bc358247535eaf")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family int, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Test case 1: Basic case with sequence_id, flash attention, and attn_uses_sequence_id=True
batch_size = 2
seq_len = 4
S = seq_len

# Create sequence_id tensor: shape (batch_size, seq_len)
# Each row represents which sequence each token belongs to
sequence_id = torch.tensor([
    [0, 0, 1, 1],  # batch 0: tokens 0-1 in seq 0, tokens 2-3 in seq 1
    [0, 1, 1, 1]   # batch 1: token 0 in seq 0, tokens 1-3 in seq 1
], dtype=torch.long)

# Create attention_mask tensor: shape (batch_size, seq_len)
# 1 means token is valid, 0 means padded
attention_mask = torch.tensor([
    [1, 1, 1, 1],
    [1, 1, 1, 1]
], dtype=torch.bool)

ARGS = {
    'sequence_id': sequence_id,
    'S': S,
    'attn_uses_sequence_id': True,
    'attn_impl': 'flash',
    'attention_mask': attention_mask
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family int, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_observation Ran
ran; our contract draft was wrong, not the code
yueyang130/DeeR-VLA/bayesian_optimization.py
code served (permissive licence) · get_code("e28872db9ca12819")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary log file with the required format
temp_dir = tempfile.mkdtemp()
log_path = os.path.join(temp_dir, "test_log.txt")

# Write sample data to the log file
# Format: last 3 lines should be thresholds, avg_len, avg_exit
with open(log_path, 'w') as f:
    f.write("some header line\n")
    f.write("another line\n")
    f.write("0.1,0.2,0.3\n")  # thresholds (line -3)
    f.write("5.5\n")  # avg_len (line -2)
    f.write("2.3\n")  # avg_exit (line -1)

ARGS = {
    "log_path": log_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
lstm_decoder Ran
ran; our contract draft was wrong, not the code
yueyang130/DeeR-VLA/robot_flamingo/models/action_head.py
code served (permissive licence) · get_code("8717483e23e5393b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned LayerNormLSTM. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_features": 4,
    "hidden_size": 8,
    "num_layers": 2,
    "policy_rnn_dropout_p": 0.5,
    "layernorm": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type LayerNormLSTM — a LayerNormLSTM output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a LayerNormLSTM output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
apply_conditioning Not yet run
unverified (harvested, no recorded run)
yueyang130/DeeR-VLA/robot_flamingo/models/unets.py
code served (permissive licence) · get_code("ad9e1b77ed2429b2")
How it ran

no invocation recorded.

extract Not yet run
unverified (harvested, no recorded run)
yueyang130/DeeR-VLA/robot_flamingo/models/unets.py
code served (permissive licence) · get_code("09c8479d9a5b3e06")
How it ran

no invocation recorded.

gen_flash_attn_padding_info Not yet run
unverified (harvested, no recorded run)
yueyang130/DeeR-VLA/modeling_gpt_9b.py
code served (permissive licence) · get_code("d3c6b00a69aea30c")
How it ran

no invocation recorded.

get_score Not yet run
unverified (harvested, no recorded run)
yueyang130/DeeR-VLA/bayesian_optimization.py
code served (permissive licence) · get_code("1fff25335fef27a2")
How it ran

no invocation recorded.

load_tf_weights_in_gpt2 Not yet run
unverified (harvested, no recorded run)
yueyang130/DeeR-VLA/robot_flamingo/models/trajectory_gpt2.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from tencentarc/moto, is pointer only (licence: NOASSERTION) · get_code("00a33466c69c5705")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from tencentarc/moto, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 4 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
extract 77 other papers
53 dated earlier, 2 the same month, 20 later, 2 same year, order not determinable · 32 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
and 74 more not named here
load_tf_weights_in_gpt2 22 other papers
17 dated earlier, 2 the same month, 3 later
2106.01345 (2021-06)
Decision Transformer: Reinforcement Learning via Sequence Modeling
2110.06206 (2021-10)
StARformer: Transformer with State-Action-Reward Representations for Visual Reinforcement Learning
2202.11705 (2022-02)
COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamics
and 19 more not named here
cosine_beta_schedule 20 other papers
13 dated earlier, 7 later · 8 only as an assembly brick
2208.06193 (2022-08)
Diffusion Policies as an Expressive Policy Class for Offline Reinforcement Learning
2210.15629 (2022-10)
Language Control Diffusion: Efficiently Scaling through Space, Time, and Tasks
2303.14676 (2023-03)
PDPP: Projected Diffusion for Procedure Planning in Instructional Videos
and 17 more not named here
dict_apply 4 other papers
3 dated earlier, 1 later
2402.05421 (2024-02)
DiffTORI: Differentiable Trajectory Optimization for Deep Reinforcement and Imitation Learning
2403.03206 (2024-03)
Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
2403.03954 (2024-03)
3D Diffusion Policy: Generalizable Visuomotor Policy Learning via Simple 3D Representations
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Multimodal Large Language Models (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 seek to address this challenge by leveraging an intriguing observation: relatively easier situations make up the bulk of the procedure of controlling robots to fulfill diverse tasks, and they generally require far smaller models to obtain the correct robotic actions. Motivated by this observation, 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. Moreover, we design a tailored training method for integrating temporal information on top of such multi-exit architectures to predict actions reasonably. 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2411.02359")
get_code_for_paper("2411.02359")
have("2411.02359")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2411.02359.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2411.02359.svg)](https://syntology.ai/paper/2411.02359)

Connect an agent — have() is free.