{"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-2511-08043","title":"DynaAct: Large Language Model Reasoning with Dynamic Action Spaces","arxiv_id":"2511.08043","date":"2025-11-11","proceeding":"NeurIPS","authors":["Xueliang Zhao","Wei Wu","Jian Guan","Qintong Li","Lingpeng Kong"],"abstract":"In modern sequential decision-making systems, the construction of an optimal candidate action space is critical to efficient inference. However, existing approaches either rely on manually defined action spaces that lack scalability or utilize unstructured spaces that render exhaustive search computationally prohibitive. In this paper, we propose a novel framework named \\textsc{DynaAct} for automatically constructing a compact action space to enhance sequential reasoning in complex problem-solving scenarios. Our method first estimates a proxy for the complete action space by extracting general sketches observed in a corpus covering diverse complex reasoning problems using large language models. We then formulate a submodular function that jointly evaluates candidate actions based on their utility to the current state and their diversity, and employ a greedy algorithm to select an optimal candidate set. Extensive experiments on six diverse standard benchmarks demonstrate that our approach significantly improves overall performance, while maintaining efficient inference without introducing substantial latency. The implementation is available at https://github.com/zhaoxlpku/DynaAct.","url_abs":"https://arxiv.org/abs/2511.08043","url_pdf":"https://arxiv.org/pdf/2511.08043","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=2511.08043","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2511.08043"}},"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/zhaoxlpku/DynaAct","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":2,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":9,"ran":2,"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":9,"samples":[{"code_sha256_prefix":"0b14c648516c38a7","entry":"last_boxed_only_string","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"math_utils.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/math_utils.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b14c648516c38a7"}},{"code_sha256_prefix":"f3bbe264b05aadd3","entry":"remove_boxed","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"math_utils.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/math_utils.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f3bbe264b05aadd3"}},{"code_sha256_prefix":"d946dcf19bfae8c4","entry":"extract_parentheses_new","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"mcts.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/mcts.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":"d946dcf19bfae8c4"}},{"code_sha256_prefix":"71be15ec8036955c","entry":"get_letter_list","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"mcts.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/mcts.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":"71be15ec8036955c"}},{"code_sha256_prefix":"5e1f27c865cc2cc2","entry":"get_state","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/utils.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":"5e1f27c865cc2cc2"}},{"code_sha256_prefix":"f16a5b5b62e395e9","entry":"is_correct","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/utils.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":"f16a5b5b62e395e9"}},{"code_sha256_prefix":"286295fcce7c339c","entry":"last_boxed_only","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"math_utils.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/math_utils.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":"286295fcce7c339c"}},{"code_sha256_prefix":"66745a94bcfbee1d","entry":"load_from_hdf5","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/utils.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":"66745a94bcfbee1d"}},{"code_sha256_prefix":"c5e4a28d4676ff1a","entry":"loss_ratio","repo":"zhaoxlpku/DynaAct","repo_kind":"found_in_text","path":"sqil.py","file_url":"https://github.com/zhaoxlpku/DynaAct/blob/HEAD/sqil.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":"c5e4a28d4676ff1a"}}]},"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_api"},"syntology_extracted_results":null}