{"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-2608-05136","title":"The Loss Does Not See the Basis, but Adam Does","arxiv_id":"2608.05136","date":"2026-08-05","proceeding":null,"authors":["Devender Singh"],"abstract":"Gradient descent on a factored model $W = UV^\\top$ is implicitly biased toward low-rank solutions, while Adam, starting from the same small initialization, is not. We trace the difference to the gauge symmetry of the loss, its invariance under $(U, V) \\mapsto (UQ, VQ)$. Gradient flow's low-rank mechanism is available to an optimizer only if that optimizer is gauge-equivariant, a condition necessary for the transfer but not sufficient for low-rank recovery. Gradient descent, momentum, \"shared-scalar\" Adam, Muon, and Shampoo satisfy it. Adam, RMSProp, and the other coordinate-wise methods do not. A structure theorem characterizes the memoryless equivariant rules as exactly the Gram-determined left preconditioners, and a transfer theorem carries gradient flow's pathwise properties to common-scalar flows. We then sort nine update rules on underdetermined matrix sensing by recovery error against the planted ground truth. A one-parameter family from coordinate-wise to shared-scalar preconditioning restores the bias monotonically, isolating anisotropy as the cause. A \"spectral schedule\" reconciles two opposing reports about Muon: equal-rate updates recover exactly low-rank targets but lose their edge as the spectral tail grows. In transformers, Adam separates two gauge-equivalent initializations at the first step, where the equivariant optimizers stay at float precision, and ends with the per-head invariants $W_Q^\\top W_K$ 56% apart in relative Frobenius distance, a gap no per-head rotation can close. On two hyperspectral datasets at matched training loss, gradient descent cuts held-out error by 43-44% at the lowest sampling density, and at lower effective rank. Basis choice is therefore not a tuning detail but a decision about which interpolant the optimizer selects.","url_abs":"https://arxiv.org/abs/2608.05136","url_pdf":"https://arxiv.org/pdf/2608.05136","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":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2608.05136","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2608.05136"}},"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/idevender/loss-basis-adam","reach":null}],"summary":{"ran":11,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":15,"ran":11,"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":"a5cb7387beaf99b6","entry":"erank","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/nuclear_norm_reference.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/nuclear_norm_reference.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":"a5cb7387beaf99b6"}},{"code_sha256_prefix":"107d537993a1e9b0","entry":"line","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/flowadam_upgrade.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/flowadam_upgrade.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":"107d537993a1e9b0"}},{"code_sha256_prefix":"5a1a092da791517e","entry":"make_data","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/attention_gauge.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/attention_gauge.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":"5a1a092da791517e"}},{"code_sha256_prefix":"6f9d681605414575","entry":"make_split","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/hyperspectral_completion.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/hyperspectral_completion.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":"6f9d681605414575"}},{"code_sha256_prefix":"2e845dcd0812deb8","entry":"matrix_pow","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/muon_shampoo_bias_probe.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/muon_shampoo_bias_probe.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":"2e845dcd0812deb8"}},{"code_sha256_prefix":"0a1ab8ac6e763723","entry":"newton_schulz","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/attention_gauge.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/attention_gauge.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":"0a1ab8ac6e763723"}},{"code_sha256_prefix":"6efa8b22af763cc1","entry":"newton_schulz","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/muon_shampoo_bias_probe.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/muon_shampoo_bias_probe.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":"6efa8b22af763cc1"}},{"code_sha256_prefix":"fc60bf0c32f8e050","entry":"show","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/attention_gauge_multiseed.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/attention_gauge_multiseed.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":"fc60bf0c32f8e050"}},{"code_sha256_prefix":"98475bbe62dca29c","entry":"show","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/flowadam_upgrade_rms.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/flowadam_upgrade_rms.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":"98475bbe62dca29c"}},{"code_sha256_prefix":"aa8a5771d4f07d8c","entry":"spectral_tail","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/hyperspectral_completion.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/hyperspectral_completion.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":"aa8a5771d4f07d8c"}},{"code_sha256_prefix":"c7ece5855b79cf60","entry":"svt","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/nuclear_norm_reference.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/nuclear_norm_reference.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":"c7ece5855b79cf60"}},{"code_sha256_prefix":"1130d7f679023bab","entry":"apply_gauge","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/attention_gauge.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/attention_gauge.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":"1130d7f679023bab"}},{"code_sha256_prefix":"437f0803447ebcf8","entry":"balancedness","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/equivariance_balance_probe.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/equivariance_balance_probe.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":"437f0803447ebcf8"}},{"code_sha256_prefix":"1d5f6523ce69e50b","entry":"load_matrix","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/hyperspectral_completion.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/hyperspectral_completion.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":"1d5f6523ce69e50b"}},{"code_sha256_prefix":"7b3b5ccb9a9e47e7","entry":"loss_of","repo":"idevender/loss-basis-adam","repo_kind":"found_in_text","path":"experiments/equivariance_balance_probe.py","file_url":"https://github.com/idevender/loss-basis-adam/blob/HEAD/experiments/equivariance_balance_probe.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":"7b3b5ccb9a9e47e7"}}]},"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":{"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,795 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":6795},"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}}}