{"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-2609-12243","title":"Chopthin-Consensus Power Sampling: A Diversity-Preserving Approach to LLM Decoding","arxiv_id":"2609.12243","date":"2026-09-10","proceeding":null,"authors":["Minoo Ahmadi","Seyedarmin Azizi","Erfan Baghaei Potraghloo","Mehdi Kamal","Massoud Pedram"],"abstract":"Inference-time power sampling via Sequential Monte Carlo (SMC) can substantially improve large language model (LLM) reasoning without requiring post-training. However, many existing SMC approaches rely on equal-weight resampling, which can aggressively prune low-weight trajectories, discarding potentially correct reasoning paths and degrading the genealogical diversity of the search space. To address this, we introduce Chopthin-Consensus Power Sampling (CCPS). Our method applies the Chopthin resampler to LLM decoding: rather than equalizing weights and forcing unnecessary particle duplication, it enforces an upper bound on the ratio between the largest and smallest weights and carries the unequal weights forward. This targeted intervention preserves a richer set of distinct reasoning paths, keeps the weighted SMC approximation unchanged in conditional expectation, and guarantees a lower bound on the post-resampling effective sample size (ESS). To fully exploit this enriched population, we employ a semantic-majority selection mechanism that merges token-identical final trajectories, clusters semantically equivalent answers, and returns the answer supported by the largest number of distinct trajectories. Evaluating across three open-weight models and five reasoning benchmarks, we show that Chopthin increases oracle coverage in 13 of 15 settings. Combined with semantic-majority selection, CCPS matches or exceeds the final-answer accuracy of the Power-SMC baseline in 14 of 15 settings, delivering absolute gains of up to 10.6 percentage points. These findings demonstrate that diversity-preserving resampling and diversity-aware selection are complementary mechanisms for training-free LLM reasoning. Code is available at github.com/MinooAhmadii/chopthin-consensus-power-sampling.","url_abs":"https://arxiv.org/abs/2609.12243","url_pdf":"https://arxiv.org/pdf/2609.12243","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=2609.12243","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2609.12243"}},"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/MinooAhmadii/chopthin-consensus-power-sampling","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran_honours":1,"ran_draft_wrong":2,"ran_violates":1,"unverified":11},"by_repo_kind":{"found_in_text":{"samples":15,"ran":4,"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":15,"samples":[{"code_sha256_prefix":"368d3db6347269c3","entry":"count_unknown_letters_in_expr","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/graders/math_grader.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/graders/math_grader.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"368d3db6347269c3"}},{"code_sha256_prefix":"91135083780b8eb9","entry":"effective_sample_size","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/smc.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/smc.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"91135083780b8eb9"}},{"code_sha256_prefix":"95f02454eddf082a","entry":"should_allow_eval","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/graders/math_grader.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/graders/math_grader.py","link_basis":"plan_row","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"95f02454eddf082a"}},{"code_sha256_prefix":"bbe0dd4540175572","entry":"systematic_resample","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/smc.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/smc.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bbe0dd4540175572"}},{"code_sha256_prefix":"cc98ca35884df102","entry":"are_equal_under_sympy","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/graders/math_grader.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/graders/math_grader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cc98ca35884df102"}},{"code_sha256_prefix":"fe90a22233c11824","entry":"check_correctness","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/graders/he_execute.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/graders/he_execute.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"fe90a22233c11824"}},{"code_sha256_prefix":"f227e1402086ab04","entry":"chopthin","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/chopthin.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/chopthin.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f227e1402086ab04"}},{"code_sha256_prefix":"d157d1327988c984","entry":"cot_build_prompt","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/he_protocols.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/he_protocols.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d157d1327988c984"}},{"code_sha256_prefix":"c9d5a01f5894434c","entry":"cot_extract_code","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/he_protocols.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/he_protocols.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c9d5a01f5894434c"}},{"code_sha256_prefix":"75dedeb28b076d8b","entry":"ess","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/chopthin.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/chopthin.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"75dedeb28b076d8b"}},{"code_sha256_prefix":"ada83ed3eac14cb3","entry":"ess_floor_from_eta","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/chopthin.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/chopthin.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ada83ed3eac14cb3"}},{"code_sha256_prefix":"31f2eef78b769944","entry":"extract_answer","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/graders/answers.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/graders/answers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"31f2eef78b769944"}},{"code_sha256_prefix":"d51cc295307937e6","entry":"normalize_answer","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/graders/math_normalize.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/graders/math_normalize.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d51cc295307937e6"}},{"code_sha256_prefix":"6b6d307330e42271","entry":"stub_truncate","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/he_protocols.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/he_protocols.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6b6d307330e42271"}},{"code_sha256_prefix":"1999be873e740eb7","entry":"top_p_filter_","repo":"MinooAhmadii/chopthin-consensus-power-sampling","repo_kind":"found_in_text","path":"ccps/smc.py","file_url":"https://github.com/MinooAhmadii/chopthin-consensus-power-sampling/blob/HEAD/ccps/smc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1999be873e740eb7"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_backlog_21d_20260915.json"},"syntology_extracted_results":null}