SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.05136 · 2026

The Loss Does Not See the Basis, but Adam Does

Devender Singh

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 15 functions out of this paper's own repositories and ran 11 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
idevender/loss-basis-adam canonical 11 of 15
FunctionStatusWhere it lives
erank Ran idevender/loss-basis-adam/experiments/nuclear_norm_reference.py
code served (permissive licence) · get_code("a5cb7387beaf99b6")
line Ran idevender/loss-basis-adam/experiments/flowadam_upgrade.py
code served (permissive licence) · get_code("107d537993a1e9b0")
make_data Ran idevender/loss-basis-adam/experiments/attention_gauge.py
code served (permissive licence) · get_code("5a1a092da791517e")
make_split Ran idevender/loss-basis-adam/experiments/hyperspectral_completion.py
code served (permissive licence) · get_code("6f9d681605414575")
matrix_pow Ran idevender/loss-basis-adam/experiments/muon_shampoo_bias_probe.py
code served (permissive licence) · get_code("2e845dcd0812deb8")
newton_schulz Ran idevender/loss-basis-adam/experiments/attention_gauge.py
code served (permissive licence) · get_code("0a1ab8ac6e763723")
newton_schulz Ran idevender/loss-basis-adam/experiments/muon_shampoo_bias_probe.py
code served (permissive licence) · get_code("6efa8b22af763cc1")
show Ran idevender/loss-basis-adam/experiments/attention_gauge_multiseed.py
code served (permissive licence) · get_code("fc60bf0c32f8e050")
show Ran idevender/loss-basis-adam/experiments/flowadam_upgrade_rms.py
code served (permissive licence) · get_code("98475bbe62dca29c")
spectral_tail Ran idevender/loss-basis-adam/experiments/hyperspectral_completion.py
code served (permissive licence) · get_code("aa8a5771d4f07d8c")
svt Ran idevender/loss-basis-adam/experiments/nuclear_norm_reference.py
code served (permissive licence) · get_code("c7ece5855b79cf60")
apply_gauge Not yet run idevender/loss-basis-adam/experiments/attention_gauge.py
code served (permissive licence) · get_code("1130d7f679023bab")
balancedness Not yet run idevender/loss-basis-adam/experiments/equivariance_balance_probe.py
code served (permissive licence) · get_code("437f0803447ebcf8")
load_matrix Not yet run idevender/loss-basis-adam/experiments/hyperspectral_completion.py
code served (permissive licence) · get_code("1d5f6523ce69e50b")
loss_of Not yet run idevender/loss-basis-adam/experiments/equivariance_balance_probe.py
code served (permissive licence) · get_code("7b3b5ccb9a9e47e7")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Gradient descent on a factored model W = UV ⊤ is implicitly biased toward lowrank 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 ) → (UQ,V Q). 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 coordinatewise 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 sharedscalar preconditioning restores the bias monotonically, isolating anisotropy as the cause. A "spectral schedule" reconciles two opposing reports about Muon: equalrate 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 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. § §1-11 are self-contained. The appendices contain the proofs and the control battery.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2608.05136")
get_code_for_paper("2608.05136")
have("2608.05136")

Connect an agent — have() is free.