{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2606-00535","title":"DREAM-S: Speculative Decoding with Searchable Drafting and Target-Aware Refinement for Multimodal Generation","arxiv_id":"2606.00535","date":"2026-05-30","proceeding":null,"authors":["Zining Liu","Yunhai Hu","Tianhua Xia","Bo Bao","Eric Sather","Vithursan Thangarasa","Sai Qian Zhang"],"abstract":"Speculative decoding (SD) has proven to be an effective technique for accelerating autoregressive generation in large language models (LLMs) however, its application to vision-language models (VLMs) remains relatively unexplored. We propose~\\textit{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\\times$ 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 .","url_abs":"https://arxiv.org/abs/2606.00535","url_pdf":"https://arxiv.org/pdf/2606.00535","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2606.00535","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.00535"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/SAI-Lab-NYU/DREAM-S","reach":null}],"summary":{"ran_fixture":2,"ran":15,"ran_violates":1,"ran_draft_wrong":1,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":20,"ran":19,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":20,"samples":[{"code_sha256_prefix":"3c76e52815c5401d","entry":"repeat_kv","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/cnets.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/cnets.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3c76e52815c5401d"}},{"code_sha256_prefix":"9a65a30d006fc96e","entry":"apply_rotary_pos_emb","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/cnets.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/cnets.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9a65a30d006fc96e"}},{"code_sha256_prefix":"085b91efc4244d95","entry":"generate_tree_buffers","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"085b91efc4244d95"}},{"code_sha256_prefix":"8a738587f4d897b9","entry":"generate_tree_buffers","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils_alpha.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils_alpha.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8a738587f4d897b9"}},{"code_sha256_prefix":"3519ee6c91b32335","entry":"generate_tree_buffers","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils_c.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils_c.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3519ee6c91b32335"}},{"code_sha256_prefix":"7e5d8d5db6a63859","entry":"get_anyres_image_grid_shape","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/modeling_llava_next.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/modeling_llava_next.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7e5d8d5db6a63859"}},{"code_sha256_prefix":"3789a95930132fc3","entry":"image_size_to_num_patches","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/modeling_llava_next.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/modeling_llava_next.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3789a95930132fc3"}},{"code_sha256_prefix":"2f5e7feccee982b7","entry":"initialize_past_key_values","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/kv_cache.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/kv_cache.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f5e7feccee982b7"}},{"code_sha256_prefix":"929eae23e4f43c78","entry":"pad_path","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils_alpha.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils_alpha.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"929eae23e4f43c78"}},{"code_sha256_prefix":"a40c43d3dbc369d3","entry":"pad_path","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a40c43d3dbc369d3"}},{"code_sha256_prefix":"dfb6f2c070ac64a8","entry":"pad_path","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils_c.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils_c.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dfb6f2c070ac64a8"}},{"code_sha256_prefix":"78ae913ae6243c38","entry":"prepare_logits_processor","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"78ae913ae6243c38"}},{"code_sha256_prefix":"f02fecb5f780c3f8","entry":"prepare_logits_processor","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils_alpha.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils_alpha.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f02fecb5f780c3f8"}},{"code_sha256_prefix":"f6e0c0fc3868b787","entry":"repeat_kv","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/modeling_llama_kv.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/modeling_llama_kv.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f6e0c0fc3868b787"}},{"code_sha256_prefix":"272b0f3a92684ed4","entry":"reset_past_key_values","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/utils_c.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/utils_c.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"272b0f3a92684ed4"}},{"code_sha256_prefix":"e03d53ba9d4f9ae5","entry":"rotate_half","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/cnets.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/cnets.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e03d53ba9d4f9ae5"}},{"code_sha256_prefix":"b71b0ed70aa2939c","entry":"rotate_half","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/modeling_llama_kv.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/modeling_llama_kv.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b71b0ed70aa2939c"}},{"code_sha256_prefix":"31695b86cecf3cbb","entry":"top_accuracy","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/main_deepspeed.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/main_deepspeed.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"31695b86cecf3cbb"}},{"code_sha256_prefix":"31c6472fe907e4f3","entry":"unpad_image","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/modeling_llava_next.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/modeling_llava_next.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"31c6472fe907e4f3"}},{"code_sha256_prefix":"bad260f6d71db00c","entry":"apply_rotary_pos_emb","repo":"SAI-Lab-NYU/DREAM-S","repo_kind":"found_in_text","path":"dream_s/model/modeling_llama_kv.py","file_url":"https://github.com/SAI-Lab-NYU/DREAM-S/blob/HEAD/dream_s/model/modeling_llama_kv.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bad260f6d71db00c"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,795 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6795},"entries":[],"not_placed":{"boards":1,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":1,"declined_by_site":0}}}