{"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/ldadam-adaptive-optimization-from-low","title":"LDAdam: Adaptive Optimization from Low-Dimensional Gradient Statistics","arxiv_id":"2410.16103","date":"2024-10-21","proceeding":null,"authors":["Thomas Robert","Mher Safaryan","Ionut-Vlad Modoranu","Dan Alistarh"],"abstract":"We introduce LDAdam, a memory-efficient optimizer for training large models, that performs adaptive optimization steps within lower dimensional subspaces, while consistently exploring the full parameter space during training. This strategy keeps the optimizer's memory footprint to a fraction of the model size. LDAdam relies on a new projection-aware update rule for the optimizer states that allows for transitioning between subspaces, i.e., estimation of the statistics of the projected gradients. To mitigate the errors due to low-rank projection, LDAdam integrates a new generalized error feedback mechanism, which explicitly accounts for both gradient and optimizer state compression. We prove the convergence of LDAdam under standard assumptions, and show that LDAdam allows for accurate and efficient fine-tuning and pre-training of language models. Code is available at https://github.com/IST-DASLab/LDAdam","url_abs":"https://arxiv.org/abs/2410.16103v4","url_pdf":"https://arxiv.org/pdf/2410.16103v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"ldadam-adaptive-optimization-from-low","repo_url":"https://github.com/IST-DASLab/LDAdam","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.16103","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.16103"}},"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":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/jiaweizzhao/GaLore","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/IST-DASLab/LDAdam","reach":null}],"summary":{"ran":2,"ran_honours":1,"unverified":2},"by_repo_kind":{"official":{"samples":2,"ran":1,"repositories":1},"found_in_text":{"samples":3,"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":0,"samples":[{"code_sha256_prefix":"2dec918decbbe9df","entry":"GaLoreProjector","repo":"jiaweizzhao/GaLore","repo_kind":"found_in_text","path":"galore_torch/adamw.py","file_url":"https://github.com/jiaweizzhao/GaLore/blob/HEAD/galore_torch/adamw.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2dec918decbbe9df"}},{"code_sha256_prefix":"9f225e051982934c","entry":"GaLoreProjectorTensor","repo":"jiaweizzhao/GaLore","repo_kind":"found_in_text","path":"galore_torch/adamw.py","file_url":"https://github.com/jiaweizzhao/GaLore/blob/HEAD/galore_torch/adamw.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9f225e051982934c"}},{"code_sha256_prefix":"4ac9ad053822de77","entry":"Gram_Schmidt","repo":"IST-DASLab/LDAdam","repo_kind":"official","path":"ldadamw_torch/ldadamw.py","file_url":"https://github.com/IST-DASLab/LDAdam/blob/HEAD/ldadamw_torch/ldadamw.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4ac9ad053822de77"}},{"code_sha256_prefix":"5724b2651f5136bb","entry":"AdamW","repo":"jiaweizzhao/GaLore","repo_kind":"found_in_text","path":"galore_torch/adamw.py","file_url":"https://github.com/jiaweizzhao/GaLore/blob/HEAD/galore_torch/adamw.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5724b2651f5136bb"}},{"code_sha256_prefix":"d85c118ddb0cfcad","entry":"LDAdamW","repo":"IST-DASLab/LDAdam","repo_kind":"official","path":"ldadamw_torch/ldadamw.py","file_url":"https://github.com/IST-DASLab/LDAdam/blob/HEAD/ldadamw_torch/ldadamw.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d85c118ddb0cfcad"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}