Nostalgic Adam
Algorithms AIMech:NosAdam DRAFT
Aliases: NosAdam, NosAdam-HH Hyperharmonic Second-Moment Adaptive Optimization, Past-Gradient Weighted Adaptive Moment Estimation, p-NosAdam Generalized Hyperharmonic Adaptive Optimizer
An adaptive first-order stochastic optimization algorithm that replaces Adam's constant second-moment decay parameter beta_2 with a scheduled sequence beta_{2,t} = B_{t-1} / B_t defined by cumulative sums B_t = sum_{k=1}^t b_k of non-increasing positive weights b_k (such as the hyperharmonic series b_k = k^{-gamma} with gamma >= 0 in NosAdam-HH), so that the second-moment estimate V_t = beta_{2,t} V_{t-1} + (1 - beta_{2,t}) g_t^2 = (1 / B_t) sum_{k=1}^t b_k g_k^2 weights past squared gradients at least as heavily as recent ones and guarantees positive semi-definiteness of the inverse learning-rate increment Gamma_t = V_t / alpha_t^2 - V_{t-1} / alpha_{t-1}^2 >= 0.
Identity Notes & Concept Scope
Distinct from Adam (which uses constant beta_2 in (0, 1) giving exponentially increasing weights (1 - beta_2) beta_2^{t-k} to recent gradients and violating Gamma_t >= 0), from AMSGrad (which forces monotonicity via a hard running maximum v_hat_t = max(v_hat_{t-1}, v_t) that permanently stalls step sizes after an outlier gradient spike), and from AdaShift (AIMech:AdaShift, which shifts gradients by n steps). NosAdam generalizes AdaGrad (recovered at gamma = 0 up to 1/t averaging) and extends to p-norm moment scaling in p-NosAdam (Theorem A.1).
Claims & Grounded Evidence
4 Claims
Mechanism
#nosadam-lemma-3-1-non-increasing-weights-and-gamma-psd
Under Algorithm 1 with beta_{2,t} = B_{t-1} / B_t and B_t = sum_{k=1}^t b_k, unrolling V_t = beta_{2,t} V_{t-1} + (1 - beta_{2,t}) g_t^2 yields V_t = (1 / B_t) sum_{k=1}^t b_k g_k^2, and Lemma 3.1 proves that with alpha_t = alpha / sqrt(t) the inverse squared learning-rate difference V_t / alpha_t^2 - V_{t-1} / alpha_{t-1}^2 = (t / (B_t alpha^2)) sum_{j=1}^t b_j g_j^2 - ((t - 1) / (B_{t-1} alpha^2)) sum_{j=1}^{t-1} b_j g_j^2 >= 0 is tightly satisfied if and only if B_t / t (equivalently b_t) is non-increasing.
Scope
#nosadam-hyperharmonic-regret-bound-and-p-nosadam-scope
When B_t / t <= B_{t-1} / (t - 1) and B_t / (t b_t^2) >= B_{t-1} / ((t - 1) b_{t-1}^2)—both satisfied data-independently by hyperharmonic weights b_k = k^{-gamma} (gamma >= 0) in NosAdam-HH—Theorem 3.2 and Corollary 3.2.1 guarantee O(sqrt(T)) online convex regret R_T <= (D_inf^2 / (2 alpha (1 - beta_1))) sum_{i=1}^d sqrt(T) v_{T,i}^{1/2} + (D_inf^2 G_inf beta_1 d) / (2 (1 - beta_1) (1 - lambda)^2) + (2 alpha beta_1 / (1 - beta_1)^3) G_inf sqrt(T), and Theorem A.1 generalizes this to p-NosAdam with regret O(T^{max(1/p, (p-1)/p)}) for any p > 1.
Application
#nosadam-outlier-recovery-and-deep-vision-applications
Unlike AMSGrad whose running maximum v_hat_t = max(v_hat_{t-1}, v_t) cannot decrease after a single 100x gradient spike and severely slows subsequent convergence, NosAdam's weighted average V_t can both increase and decrease, converging to global minima on non-convex bowl landscapes with sharp local traps and outperforming Adam and AMSGrad on MNIST multilayer perceptrons and CIFAR-10 Wide-ResNet-28.
Limitation
#nosadam-bad-local-initialization-sensitivity-limitation
Because NosAdam assigns larger weights b_k to early gradients (k small), if the optimization is initialized directly inside a sharp suboptimal local valley where all initial gradients point toward the local trap, its strong memory of early gradients makes it harder to escape than Adam's rapidly forgetting exponential moving average.
⚠️ Curated Limitations & Negative Results
- Because early gradients receive the largest weights b_k = k^{-gamma}, initializing directly inside a sharp suboptimal local minimum can make escaping the local basin more difficult than with Adam.
- Introduces the hyperharmonic exponent gamma >= 0 requiring grid search across {10^{-1}, 10^{-2}, 10^{-3}, 10^{-4}}.
Artificial Intelligence Ontology (AIO) Grounding
Mapped AIO Classes
| AIO Target Class | Mapping Relation | Mapping Rationale |
|---|---|---|
AIO:ArtificialNeuralNetwork
Artificial Neural Network
|
related_match | NosAdam is a first-order adaptive optimizer used to train multilayer perceptrons and deep convolutional neural networks with guaranteed convergence. |
Evidence Sources & Primary Literature
3 Sources| Source ID | Publication / Document | Type / Access | Reference & Checksum |
|---|---|---|---|
r617-primary-pdf
|
Haiwen Huang, Chang Wang, Bin Dong
|
primary paper
full_text
|
ID: https://dblp.org/rec/conf/ijcai/HuangWD19.xml
sha256:8a952796ee2f…
|
r617-arxiv-abs
|
Haiwen Huang, Chang Wang, Bin Dong
|
primary paper
abstract_only
|
ID: https://arxiv.org/abs/1805.07557
sha256:355305ed8c40…
|
r617-metadata-cr
|
Haiwen Huang, Chang Wang, Bin Dong
|
primary paper
abstract_only
|
ID: https://dblp.org/rec/conf/ijcai/HuangWD19.xml
sha256:1943bb8c23e9…
|
Ontology & Grounding Topology
Open in interactive network graph →Curation Provenance
Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T11:40:00Z
Updated: 2026-10-19T11:40:00Z
Source File:
data/curated/NosAdam.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