{"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-2508-07747","title":"Grouped Speculative Decoding for Autoregressive Image Generation","arxiv_id":"2508.07747","date":"2025-08-11","proceeding":"ICCV","authors":["Junhyuk So","Juncheol Shin","Hyunho Kook","Eunhyeok Park"],"abstract":"Recently, autoregressive (AR) image models have demonstrated remarkable generative capabilities, positioning themselves as a compelling alternative to diffusion models. However, their sequential nature leads to long inference times, limiting their practical scalability. In this work, we introduce Grouped Speculative Decoding (GSD), a novel, training-free acceleration method for AR image models. While recent studies have explored Speculative Decoding (SD) as a means to speed up AR image generation, existing approaches either provide only modest acceleration or require additional training. Our in-depth analysis reveals a fundamental difference between language and image tokens: image tokens exhibit inherent redundancy and diversity, meaning multiple tokens can convey valid semantics. However, traditional SD methods are designed to accept only a single most-likely token, which fails to leverage this difference, leading to excessive false-negative rejections. To address this, we propose a new SD strategy that evaluates clusters of visually valid tokens rather than relying on a single target token. Additionally, we observe that static clustering based on embedding distance is ineffective, which motivates our dynamic GSD approach. Extensive experiments show that GSD accelerates AR image models by an average of 3.7x while preserving image quality-all without requiring any additional training. The source code is available at https://github.com/junhyukso/GSD","url_abs":"https://arxiv.org/abs/2508.07747","url_pdf":"https://arxiv.org/pdf/2508.07747","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":{"atlas_url":"https://app.syntology.ai/?focus=2508.07747","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2508.07747"}},"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/junhyukso/GSD","reach":null}],"summary":{"ran":1,"ran_violates":1,"ran_honours":1,"ran_draft_wrong":3,"ran_fixture":3,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":13,"ran":9,"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":13,"samples":[{"code_sha256_prefix":"60e16e705ec6b974","entry":"SpeculativeSampler","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.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":"60e16e705ec6b974"}},{"code_sha256_prefix":"663c07025d730b36","entry":"check_is_force_no_cfg","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"663c07025d730b36"}},{"code_sha256_prefix":"b8e1a74a93ba4d12","entry":"find_first_misaligned_token_inds","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b8e1a74a93ba4d12"}},{"code_sha256_prefix":"1a878d89e4419ac0","entry":"gather_from_split_tensors","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1a878d89e4419ac0"}},{"code_sha256_prefix":"55b5eaf3ef3a8f3c","entry":"get_double_cfg_input_ids","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","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":"55b5eaf3ef3a8f3c"}},{"code_sha256_prefix":"e559a4d6c14c153c","entry":"postprocess_cfg_decode","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e559a4d6c14c153c"}},{"code_sha256_prefix":"2bb4a769016a34e3","entry":"prefix_matching_next_tokens","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2bb4a769016a34e3"}},{"code_sha256_prefix":"3e08d074434c4b69","entry":"push_forward_model_kwargs_and_inputs","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3e08d074434c4b69"}},{"code_sha256_prefix":"c7396f5beb94c87a","entry":"sampling_logits2tokens","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c7396f5beb94c87a"}},{"code_sha256_prefix":"7f89bc59e0d6dc43","entry":"delete_false_key_value","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.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":"7f89bc59e0d6dc43"}},{"code_sha256_prefix":"5074b33393c75e8d","entry":"get_multi_token_for_preparation","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.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":"5074b33393c75e8d"}},{"code_sha256_prefix":"fda9fdde324601bf","entry":"renew_sampler","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.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":"fda9fdde324601bf"}},{"code_sha256_prefix":"28cb9f7eb8bc713d","entry":"set_seed","repo":"junhyukso/GSD","repo_kind":"found_in_text","path":"scheduler/jacobi_iteration_lumina_mgpt.py","file_url":"https://github.com/junhyukso/GSD/blob/HEAD/scheduler/jacobi_iteration_lumina_mgpt.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":"28cb9f7eb8bc713d"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_api"},"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,264 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":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}