{"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-31191","title":"ISM:Self-Improving Strategy Memory for Continual Mathematical Reasoning","arxiv_id":"2606.31191","date":"2026-06-30","proceeding":null,"authors":["Prakhar Dixit","Tim Oates"],"abstract":"We propose Intelligent Schema Memory (ISM), a self-evolving memory-augmented system that improves mathematical reasoning for a frozen LLM under continual learning with hard episodic resets. ISM maintains a compact, self-refined bank of strategy schemas learned from both successful and failed episodes, with symbolic tools that check intermediate steps and certify answers. Without updating model parameters, ISM outperforms passive, retrieval, and reflection baselines on MATH-Hard and OlympiadBench, using 64% and 86% fewer schemas respectively than the strongest passive baseline. These results show that small, actively maintained, and verified strategy memories can support reliable continual mathematical reasoning under strict episodic isolation. The codebase is available at https://github.com/pdx97/ISM .","url_abs":"https://arxiv.org/abs/2606.31191","url_pdf":"https://arxiv.org/pdf/2606.31191","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=2606.31191","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.31191"}},"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/pdx97/ISM","reach":null}],"summary":{"ran":16,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":20,"ran":16,"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":0,"samples":[{"code_sha256_prefix":"eb146e366a08a7c5","entry":"call_llm","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"feature_extractor_llm.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/feature_extractor_llm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eb146e366a08a7c5"}},{"code_sha256_prefix":"29d3697dff1ffa09","entry":"cosine_sim","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"baseline_rag_examples.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/baseline_rag_examples.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"29d3697dff1ffa09"}},{"code_sha256_prefix":"ec873038750f553a","entry":"cumulative_accuracy","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"error_analysis_math_updated.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/error_analysis_math_updated.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ec873038750f553a"}},{"code_sha256_prefix":"2b1882d2468172de","entry":"domain_transition_analysis","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"error_analysis_olympiad.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/error_analysis_olympiad.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b1882d2468172de"}},{"code_sha256_prefix":"7263003b60d40fbc","entry":"error_patterns_by_block","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"error_analysis_olympiad.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/error_analysis_olympiad.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7263003b60d40fbc"}},{"code_sha256_prefix":"7c8a0a58308c684a","entry":"error_patterns_by_domain","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"error_analysis_math_updated.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/error_analysis_math_updated.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7c8a0a58308c684a"}},{"code_sha256_prefix":"14db695d17239254","entry":"extract_features_llm","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"feature_extractor_llm.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/feature_extractor_llm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"14db695d17239254"}},{"code_sha256_prefix":"c6ce799718e8d6a7","entry":"find_candidates","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"qualitative_case_study.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/qualitative_case_study.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c6ce799718e8d6a7"}},{"code_sha256_prefix":"4246e13c1e853b17","entry":"load_bank","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"qualitative_case_study.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/qualitative_case_study.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4246e13c1e853b17"}},{"code_sha256_prefix":"896bb0abf755cab1","entry":"load_lift_log","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"plot_results.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/plot_results.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"896bb0abf755cab1"}},{"code_sha256_prefix":"2742cbcb630d6851","entry":"load_logs","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"plot_results.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/plot_results.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2742cbcb630d6851"}},{"code_sha256_prefix":"9f4d444f18a67841","entry":"load_logs","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"qualitative_case_study.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/qualitative_case_study.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9f4d444f18a67841"}},{"code_sha256_prefix":"d0fdb3a2a93e3fd9","entry":"load_summary","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"plot_results.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/plot_results.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d0fdb3a2a93e3fd9"}},{"code_sha256_prefix":"abacc2673b5c8e80","entry":"rolling_accuracy","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"error_analysis_math_updated.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/error_analysis_math_updated.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"abacc2673b5c8e80"}},{"code_sha256_prefix":"cdbf677180934ef8","entry":"solve_problem","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"run_comparison.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/run_comparison.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cdbf677180934ef8"}},{"code_sha256_prefix":"2f3d88410e0be289","entry":"validate_features","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"feature_extractor_llm.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/feature_extractor_llm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f3d88410e0be289"}},{"code_sha256_prefix":"2b73664cc397cc79","entry":"build_systems","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"run_comparison.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/run_comparison.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b73664cc397cc79"}},{"code_sha256_prefix":"a150e25676155a1e","entry":"load_dataset_for_comparison","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"run_comparison.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/run_comparison.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a150e25676155a1e"}},{"code_sha256_prefix":"a5126e6d7c40a3c3","entry":"retrieve_schema","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"schema_memory_agentic.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/schema_memory_agentic.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a5126e6d7c40a3c3"}},{"code_sha256_prefix":"559f6a6cac84a86f","entry":"score_hook","repo":"pdx97/ISM","repo_kind":"found_in_text","path":"schema_memory_agentic.py","file_url":"https://github.com/pdx97/ISM/blob/HEAD/schema_memory_agentic.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"559f6a6cac84a86f"}}]},"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":null}