AIMech AI

Cautious Optimizers (C-AdamW / C-Lion Alignment-Masked Momentum)

Algorithms AIMech:CautiousOptimizersAlignmentMaskedMomentumOptimization DRAFT
Aliases: Cautious Optimizer, C-AdamW and C-Lion, Alignment-Masked Momentum Optimization
A general element-wise sign-alignment modification for momentum-based optimization algorithms (Algorithms 1-3) that replaces a base optimizer's negative update step w_{t+1} <- w_t - epsilon_t u_t with the masked and rescaled update w_{t+1} <- w_t - epsilon_t u_t circ phi(u_t circ g_t), where g_t = grad L(w_t), phi(x) = alpha(x) I(x > 0), and alpha(x) = dim(x) / (nnz(x > 0) + xi) (with default xi = 1), zeroing out parameter coordinates where the proposed momentum direction u_t and current gradient g_t have opposite signs.
Identity Notes & Concept Scope Distinct from standard AdamW, Lion (Round 588), and Lookahead by applying an element-wise Update-gradient sign-consistency mask I(u_t circ g_t > 0) with active-coordinate magnitude compensation d / (||phi_t||_0 + 1) prior to decoupled weight decay, simultaneously decreasing both the base optimizer's Hamiltonian H(w, s) and the objective loss L(w) without altering base hyperparameters.

Claims & Grounded Evidence

4 Claims
Mechanism #c-r600-hamiltonian-and-loss-simultaneous-monotonic-descent
In continuous-time Hamiltonian+Descent systems d/dt w_t = -grad K(s_t) - Phi_t(grad L(w_t)), d/dt s_t = grad L(w_t) - Psi_t(grad K(s_t)) with Hamiltonian H(w, s) = L(w) + K(s), Theorem 2.1 proves that weighting grad K(s_t) by phi(x_t) where x_t = grad L(w_t) circ grad K(s_t) and phi(x)_i >= 1 for x_i > 0, phi(x)_i <= 0 for x_i < 0 guarantees both d/dt H <= -Delta_H <= 0 and monotonic loss decrease d/dt L <= -x_t^T phi(x_t) - ||grad L||_{Phi_t}^2 <= 0 while converging to stationary points of H(w, s) (Corollary 2.2, pp. 4-5, 14-16).
Mechanism #c-r600-discrete-step-loss-dominance-under-smoothness
For a mu-smooth loss function L, Theorem 2.3 establishes that whenever Delta(x) := -x^T (1 - phi(x)) >= 0 and the step size satisfies epsilon_t <= 2 Delta(u_t circ g_t) / (mu ||r_t|| (2 ||u_t|| + ||r_t||)) with r_t = u_t circ (1 - phi_t), a single cautious step achieves strictly lower or equal objective loss than the unmasked base optimizer step, L(w_bar_{t+1}) <= L(w_{t+1}) (Section 2.3 & Appendix A.4, pp. 5, 17-18).
Application #c-r600-llm-pretraining-and-vision-transformer-gains
C-AdamW and C-Lion consistently improve evaluation perplexity over AdamW and Lion on LLaMA pretraining across C4 (60M-100M) and FineWeb-Edu (130M-1.2B, improving downstream accuracy on 5 of 7 LM Eval-Harness benchmarks), improve ViT Top-1 accuracy on Mini-ImageNet across C-AdamW (73.52% vs 72.11%), C-LaProp (73.92% vs 71.73%), and C-MARS (74.91% vs 74.06%), and accelerate MAE pretraining and Qwen2.5/Pythia post-training (Section 3.2-3.3 & Appendix E, pp. 7-8, 24-25).
Limitation #c-r600-single-step-bound-scope-and-scaling-reduction-overhead
Discrete-time dominance over the base optimizer (Theorem 2.3) is guaranteed per step within a bounded step-size range rather than globally across multi-step trajectories on arbitrary nonconvex landscapes, and computing the global active-mask mean ||phi_t||_0 / d incurs an extra element-wise mask pass (~3% throughput reduction vs fused PyTorch AdamW) and a scalar all-gather under tensor parallelism.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:ArtificialNeuralNetwork
Artificial Neural Network
related_match Cautious Optimizers (such as C-AdamW and C-Lion) accelerate pretraining and post-training of large language models, Vision Transformers, and masked autoencoders.

Evidence Sources & Primary Literature

3 Sources
Source ID Publication / Document Type / Access Reference & Checksum
r600-primary-pdf
Kaizhao Liang, Lizhang Chen, Bo Liu, Qiang Liu
primary paper
full_text
ID: https://dblp.org/rec/conf/iclr/LiangCLL26
sha256:0b429a474de5…
r600-arxiv-abs
Kaizhao Liang, Lizhang Chen, Bo Liu, Qiang Liu
primary paper
abstract_only
ID: https://arxiv.org/abs/2411.16085
sha256:ad83e03db21a…
r600-metadata-cr
Kaizhao Liang, Lizhang Chen, Bo Liu, Qiang Liu
primary paper
abstract_only
ID: https://dblp.org/rec/conf/iclr/LiangCLL26
sha256:143ccaed85b4…

Ontology & Grounding Topology

Open in interactive network graph →
CONCEPT KIND Algorithms AIMech:CautiousOptimizersAlignmentMaskedMomentumOptimization Cautious Optimizers... 4 claims · 3 sources AIO GROUNDING AIO:ArtificialNeuralNetwork (1)

Curation Provenance

Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T11:23:00Z
Updated: 2026-10-19T11:23:00Z
Source File: data/curated/CautiousOptimizersAlignmentMaskedMomentumOptimization.yaml · Schema: curated_concept.yaml

Explore across X-Mech

Related computational & biological Mechs: Embedding Map Network Graph ProteinTraitsMech (ESM-2 pLM) DUFMech (Domain pLM) TraitMech CultureMech All 14 X-Mech Repositories