SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.00535 · 2026

DREAM-S: Speculative Decoding with Searchable Drafting and Target-Aware Refinement for Multimodal Generation

Vithursan Thangarasa, Sai Zhang, Yunhai Hu, Zining Liu, Tianhua Xia, Bo Bao, Eric Sather

arXiv · PDF · Open in the Atlas

Code that ran

19 of 20 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; 0 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 16 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-22; 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/2606.00535.json · badge: /api/ran/2606.00535.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
SAI-Lab-NYU/DREAM-S canonical (classifier label)
classifier basis: census
19 ran · 1 no recorded run
FunctionStatusWhere it lives
repeat_kv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SAI-Lab-NYU/DREAM-S/dream_s/model/cnets.py
pointer only (licence: NONE) · get_code("3c76e52815c5401d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SAI-Lab-NYU/DREAM-S/dream_s/model/cnets.py
pointer only (licence: NONE) · get_code("9a65a30d006fc96e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

generate_tree_buffers Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SAI-Lab-NYU/DREAM-S/dream_s/model/utils.py
pointer only (licence: NONE) · get_code("085b91efc4244d95")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

generate_tree_buffers Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/utils_alpha.py
pointer only (licence: NONE) · get_code("8a738587f4d897b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

generate_tree_buffers Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/utils_c.py
pointer only (licence: NONE) · get_code("3519ee6c91b32335")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

get_anyres_image_grid_shape Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/modeling_llava_next.py
pointer only (licence: NONE) · get_code("7e5d8d5db6a63859")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

image_size_to_num_patches Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/modeling_llava_next.py
pointer only (licence: NONE) · get_code("3789a95930132fc3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

initialize_past_key_values Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/kv_cache.py
pointer only (licence: NONE) · get_code("2f5e7feccee982b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

pad_path Ran
ran, violated the contract we drafted
SAI-Lab-NYU/DREAM-S/dream_s/model/utils_alpha.py
pointer only (licence: NONE); the stored copy get_code serves, from zju-jiyicheng/SpecVLM, is pointer only (licence: NONE) · get_code("929eae23e4f43c78")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

pad_path Ran
ran, violated the contract we drafted
SAI-Lab-NYU/DREAM-S/dream_s/model/utils.py
pointer only (licence: NONE) · get_code("a40c43d3dbc369d3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

pad_path Ran
ran, violated the contract we drafted
SAI-Lab-NYU/DREAM-S/dream_s/model/utils_c.py
pointer only (licence: NONE) · get_code("dfb6f2c070ac64a8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

prepare_logits_processor Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/utils.py
pointer only (licence: NONE) · get_code("78ae913ae6243c38")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

prepare_logits_processor Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/utils_alpha.py
pointer only (licence: NONE) · get_code("f02fecb5f780c3f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

repeat_kv Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SAI-Lab-NYU/DREAM-S/dream_s/model/modeling_llama_kv.py
pointer only (licence: NONE) · get_code("f6e0c0fc3868b787")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

reset_past_key_values Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/utils_c.py
pointer only (licence: NONE) · get_code("272b0f3a92684ed4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

rotate_half Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/cnets.py
pointer only (licence: NONE) · get_code("e03d53ba9d4f9ae5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

rotate_half Ran
ran; our contract draft was wrong, not the code
SAI-Lab-NYU/DREAM-S/dream_s/model/modeling_llama_kv.py
pointer only (licence: NONE) · get_code("b71b0ed70aa2939c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

top_accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SAI-Lab-NYU/DREAM-S/dream_s/model/main_deepspeed.py
pointer only (licence: NONE) · get_code("31695b86cecf3cbb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

unpad_image Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
SAI-Lab-NYU/DREAM-S/dream_s/model/modeling_llava_next.py
pointer only (licence: NONE) · get_code("31c6472fe907e4f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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. A run is recorded.

apply_rotary_pos_emb Not yet run
unverified (harvested, no recorded run)
SAI-Lab-NYU/DREAM-S/dream_s/model/modeling_llama_kv.py
pointer only (licence: NONE) · get_code("bad260f6d71db00c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, SAI-Lab-NYU/DREAM-S when it was checked. 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 13 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 2 the same month, 2 later) and 3 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
rotate_half 360 other papers
346 dated earlier, 6 the same month, 5 later, 3 undated · 30 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
and 357 more not named here
repeat_kv 243 other papers
233 dated earlier, 6 the same month, 2 later, 2 undated · 22 only as an assembly brick
1901.02860 (2019-01)
Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context
2203.08913 (2022-03)
Memorizing Transformers
2305.17888 (2023-05)
LLM-QAT: Data-Free Quantization Aware Training for Large Language Models
and 240 more not named here
apply_rotary_pos_emb 83 other papers
83 dated earlier · 6 only as an assembly brick
2306.15595 (2023-06)
Extending Context Window of Large Language Models via Positional Interpolation
2307.05695 (2023-07)
ReLoRA: High-Rank Training Through Low-Rank Updates
2307.06945 (2023-07)
In-context Autoencoder for Context Compression in a Large Language Model
and 80 more not named here
pad_path 5 other papers
5 dated earlier
2311.08252 (2023-11)
REST: Retrieval-Based Speculative Decoding
2024.naacl-long.88 (2024 (year only))
REST: Retrieval-Based Speculative Decoding
2402.05109 (2024-02)
Hydra: Sequentially-Dependent Draft Heads for Medusa Decoding
and 2 more not named here
pad_path 4 other papers
4 dated earlier
2408.00264 (2024-08)
Clover-2: Accurate Inference for Regressive Lightweight Speculative Decoding
2503.10135 (2025-03)
Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding
2601.15498 (2026-01)
MARS: Unleashing the Power of Speculative Decoding via Margin-Aware Verification
and 1 more not named here
prepare_logits_processor 4 other papers
4 dated earlier
2503.10135 (2025-03)
Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding
2601.15498 (2026-01)
MARS: Unleashing the Power of Speculative Decoding via Margin-Aware Verification
2601.19278 (2026-01)
DART: Diffusion-Inspired Speculative Decoding for Fast LLM Inference
and 1 more not named here
generate_tree_buffers 2 other papers
2 dated earlier
2502.06352 (2025-02)
LANTERN++: Enhancing Relaxed Speculative Decoding with Static Tree Drafting for Visual Auto-regressive Models
2503.10135 (2025-03)
Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding
generate_tree_buffers 2 other papers
2 dated earlier
2503.10135 (2025-03)
Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding
2602.16052 (2026-02)
MoE-Spec: Expert Budgeting for Efficient Speculative Decoding
generate_tree_buffers 1 other paper
1 dated earlier
2408.00264 (2024-08)
Clover-2: Accurate Inference for Regressive Lightweight Speculative Decoding
get_anyres_image_grid_shape 1 other paper
1 dated earlier
2025.findings-acl.433 (2025 (year only))
mmE5: Improving Multimodal Multilingual Embeddings via High-quality Synthetic Data
image_size_to_num_patches 1 other paper
1 dated earlier
2025.findings-acl.433 (2025 (year only))
mmE5: Improving Multimodal Multilingual Embeddings via High-quality Synthetic Data
prepare_logits_processor 1 other paper
1 dated earlier
2408.00264 (2024-08)
Clover-2: Accurate Inference for Regressive Lightweight Speculative Decoding
reset_past_key_values 1 other paper
1 dated earlier
2503.10135 (2025-03)
Gumiho: A Hybrid Architecture to Prioritize Early Tokens in Speculative Decoding

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-22.

Repositories linked to this paper

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

Abstract

Speculative decoding (SD) has proven to be an effective technique for accelerating autoregressive generation in large language models (LLMs) however, its application to visionlanguage models (VLMs) remains relatively unexplored. We propose DREAM-S, a novel SD framework designed specifically for fast and efficient decoding in VLMs. DREAM-S leverages a neural architecture search (NAS) framework with target-aware supernet training to automatically identify both the optimal interaction strategy between the draft and target models, and the most suitable draft model architecture for the underlying hardware implementation platform. DREAM-S additionally incorporates adaptive intermediate feature distillation, guided by attention entropy, to enable efficient draft training. Experiments on a range of well-established VLMs show that DREAM-S achieves up to a 3.85× speedup compared to standard decoding approaches and significantly outperforms existing SD baselines. The code is publicly available at: https: //github.com/SAI-Lab-NYU/DREAM-S.

For agents

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

get_harvested_code_for_paper("2606.00535")
get_code_for_paper("2606.00535")
have("2606.00535")

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

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

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

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

Connect an agent — have() is free.