Inexact High-Order Moreau DC Optimizer
Implementation & benchmark of arXiv:2606.30991 — Difference-of-Convex Optimization via Inexact Smoothing Descent Methods: Difference of High-Order Moreau Envelopes
Source paper: Difference-of-Convex Optimization via Inexact Smoothing Descent Methods: Difference of High-Order Moreau Envelopes arXiv:2606.30991 ⓘ · analyzed Aug 29, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Represent a parameter objective locally as a difference of convex terms, compute approximate proximal points for both terms, and update parameters using the difference of their high-order Moreau-envelope gradients rather than the raw DC gradient. Start with the quadratic case p=2, then test p=4 as a sharper penalty for large proximal residuals; solve each proximal subproblem with a small fixed number of inner steps and decrease the smoothing scale during training.
Formulas
Mathematical statement
The paper studies a DC objective \(\varphi(x)=g(x)-h(x)\), where \(g,h:\mathbb{R}^n\to\overline{\mathbb{R}}\) are proper, lower-semicontinuous, convex functions and \(D=\operatorname{dom}(g)\cap\operatorname{dom}(h)\neq\varnothing\). For an implementable high-order Moreau construction, define \(q=p/(p-1)\) for \(p>1\), the generalized proximal point \(\operatorname{prox}^{p}_{\gamma f}(s)=\arg\min_x\{f(x)+\|x-s\|^p/(p\gamma)\}\), and the envelope \(E^p_{\gamma f}(s)=\min_x\{f(x)+\|x-s\|^p/(p\gamma)\}\). If \(u=\operatorname{prox}^{p}_{\gamma g}(s)\) and \(v=\operatorname{prox}^{p}_{\gamma h}(s)\) are unique, their envelope gradients are \(\nabla E^p_{\gamma f}(s)=\gamma^{-1}\|s-\operatorname{prox}^{p}_{\gamma f}(s)\|^{p-2}(s-\operatorname{prox}^{p}_{\gamma f}(s))\). The adapted HOME-DC gradient is therefore \(G(s)=\gamma^{-1}[\|s-u\|^{p-2}(s-u)-\|s-v\|^{p-2}(s-v)]\), and the descent update is \(s_{t+1}=s_t-\eta_tG(s_t)\). The paper's lifted critical-set example uses \(J_q(\xi)=\|\xi\|^{q-2}\xi\) and gives \(\mathcal{L}_{\gamma}^{p}(0)=\{\gamma^{q-1}J_q(\xi):\xi\in[-1,1]\}=[-\gamma^{q-1},\gamma^{q-1}]\) for \(g(x)=|x|,h(x)=2|x|\); thus smoothing can introduce nonisolated critical points. For inexact proximal points \(\tilde u,\tilde v\), use residuals \(r_g=\tilde u-\operatorname{prox}^{p}_{\gamma g}(s)\) and \(r_h=\tilde v-\operatorname{prox}^{p}_{\gamma h}(s)\) conceptually, and terminate inner solves when the computable first-order residuals \(\|\nabla f(z)+\gamma^{-1}\|z-s\|^{p-2}(z-s)\|\leq\varepsilon_t\) are small. The resulting gradient error is controlled by the proximal errors, so set \(\varepsilon_t\) proportional to the outer gradient norm or decrease it with \(t\).
Implementation notes
1. Integration point: replace the AdamW update for a selected parameter block, preferably LoRA/adapters or the final classifier, by an outer HOME-DC update. Choose a concrete DC objective \(F(\theta)=g(\theta)-h(\theta)\): for an initial experiment let \(g(\theta)=\ell(\theta)+\lambda\|\theta\|_1+\frac{L}{2}\|\theta\|^2\) and \(h(\theta)=\frac{L}{2}\|\theta\|^2\), where \(L\) is a conservative curvature estimate; alternatively use a standard DC sparsity penalty such as capped-L1 written as a convex term minus a convex hinge term. 2. Pseudocode: set \(s=\theta\), smoothing \(\gamma\), order \(p\in\{2,4\}\). At every outer step, define \(u\leftarrow s\), \(v\leftarrow s\); run K=3--10 inner gradient or proximal-gradient steps on \(g(x)+\|x-s\|^p/(p\gamma)\) to obtain \(u\), and on \(h(x)+\|x-s\|^p/(p\gamma)\) to obtain \(v\). Compute \(a_g=\gamma^{-1}\|s-u\|^{p-2}(s-u)\), \(a_h=\gamma^{-1}\|s-v\|^{p-2}(s-v)\), then \(G=a_g-a_h\) and \(s\leftarrow s-\eta G\). Copy \(\theta\leftarrow s\) before the next minibatch. 3. Mathematics versus estimation: the proximal-gradient residual formula is exact for the chosen surrogate; the proximal points are estimated by the K inner iterations, \(L\) is estimated from a few Hessian-vector power iterations or a backtracking test, and \(\gamma\) is a hyperparameter. Use residual-based stopping if extra inner work is allowed: stop when both \(\|\nabla g(u)+a_g\|\) and \(\|\nabla h(v)+a_h\|\) fall below \(\varepsilon_t\). Use gradient clipping only after forming \(G\), not separately on \(a_g\) and \(a_h\). 4. First experiment: train a small two-layer MLP and a 2-layer ViT on CIFAR-10 with a nonconvex capped-L1 or group-sparsity regularizer, comparing SGD, AdamW, ordinary DCA, and the proposed p=2 and p=4 optimizers at equal outer minibatch FLOPs. Sweep \(\gamma\in\{1,0.3,0.1\}\) and geometrically decrease it after validation loss plateaus. Measure training-loss variance, gradient-norm spikes, final accuracy, achieved parameter sparsity, and wall-clock cost. Success means fewer divergence events and a smoother loss curve, or at least 0.5--1 percentage-point better accuracy at the same sparsity and total FLOPs. Also test continuation versus fixed \(\gamma\), since the interval-valued critical-set example predicts that fixed heavy smoothing may converge to a surrogate artifact rather than an original DC stationary point.
Verification
Stage 1 · Toy mechanism gate: Passed ✓
Stage 2 · Mechanism transferred to benchmark: Confirmed ✓
Stage 2 · Practical benchmark result: Significantly worse ✗
Methodology: 8 paired seeds, permutation test (p<0.05) against a learning-rate-tuned baseline. How verification works
Stage 1 — Mechanism check agent confidence 7/10
Built an inexact high-order Moreau DC optimizer for a capped-L1-like toy DC objective, including p=2 and p=4 proximal updates with fixed inner iterations and decreasing smoothing. The envelope-gradient identity was numerically verified for both orders, with finite-difference error around 3e-7 and proximal residuals below 8e-6. In the fixed-seed comparison, p=4 reached a lower final objective than raw DC descent (1.8981 vs 1.9394) and had much lower RMS update norm (0.2005 vs 1.0892); p=2 was smoother but ended worse, so the signal is promising but not uniform.
- Agent confidence
- 7/10
- Baseline
- Raw DC gradient descent: final objective 1.9393945, best objective 1.8920250, gradient RMS 1.0892316, spikes >10: 0
- Idea
- Inexact p=2: final objective 2.7906681, best objective 1.8815078, gradient RMS 0.8987517; inexact p=4: final objective 1.8980709, best objective 1.8980709, gradient RMS 0.2004824; both had 0 spikes >10
Limitations: Only a 24-dimensional synthetic capped-L1-like DC problem was tested. No CIFAR/MLP experiment, wall-clock or FLOP accounting, hyperparameter sweep, multiple-seed statistical test, or residual-based adaptive inner termination was performed.
How to run: python3 experiment.py
Stage 2 — Benchmark vs. tuned baseline (arXiv:2606.30991)
Significantly WORSE than the tuned baseline (+796.0%, p=0.0081, wins 0 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 11.6918
- Idea mean
- 104.7573
- Effect (Δ)
- 93.0655 (+796.0%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 0.0081 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±48.0%
- Mechanism
- Confirmed ✓
- Practical effect
- Hurts
- Baseline tuning
- swept over 6 configs
Only the structurally matched tabular Friedman#1 track and mlp_tiny architecture were tested; vision, sequence, and dynamics tracks were not applicable to this optimizer/regularizer idea. The implementation used a fixed three-step inner solve, a fixed local curvature coefficient, and a small benchmark budget; no larger models, adaptive residual stopping, exact proximal solves, or broader regularizer/DC decompositions were tested. The mechanism signature confirms update attenuation, not improved optimization or generalization.
How to run: python3 bench_experiment.py
Verdict computed by deterministic test code from paired-seed statistics — not by the language model.
Stage 2 — Benchmark latest Failed ✗
Agent confidence: 10/10
Built the Inexact High-Order Moreau DC optimizer as an optimizer-only modification of the benchmark's shared mlp_tiny architecture on the structurally matched tabular Friedman#1 regression track. The mechanism signature was confirmed quantitatively: the observed mean ||G_HOME||/||raw DC gradient|| ratio was 0.255, indicating update attenuation. However, the idea had test MSE 104.757 versus baseline 11.692, with paired permutation p=0.0081 in favor of the baseline, so the promised benchmark win was not observed.
- Baseline
- AdamW sweep best lr=0.006, weight_decay=0.0001; 8-seed test MSE mean=11.6917993, std=1.2449598
- Idea
- HOME-DC best finite sweep p=2, gamma=0.03, lr=0.006; 8-seed test MSE mean=104.7572689, std=5.9293015
- Mechanism
- Observed mean update-norm ratio ||G_HOME||/||raw DC gradient||=0.2545768, median=0.2223473 over 80 minibatch measurements; confirmed=true
- Paired delta
- idea-baseline = +93.0654696 MSE; permutation p=0.0081; verdict idea worse (significant)
Benchmark result
Significantly WORSE than the tuned baseline (+796.0%, p=0.0081, wins 0 / 8 paired seeds).
- Benchmark
- Tabular regression (Friedman)
- Model
- mlp_tiny
- Paired seeds
- 8
- Baseline mean
- 11.6918
- Idea mean
- 104.7573
- Effect (Δ)
- 93.0655 (+796.0%; negative = idea better)
- Wins
- 0 / 8 paired seeds
- p-value
- 0.0081 (permutation test, 20 000 shuffles)
- Smallest detectable effect
- ±48.0%
- Mechanism
- Confirmed ✓
- Practical effect
- Hurts
- Baseline tuning
- swept over 6 configs
Only the structurally matched tabular Friedman#1 track and mlp_tiny architecture were tested; vision, sequence, and dynamics tracks were not applicable to this optimizer/regularizer idea. The implementation used a fixed three-step inner solve, a fixed local curvature coefficient, and a small benchmark budget; no larger models, adaptive residual stopping, exact proximal solves, or broader regularizer/DC decompositions were tested. The mechanism signature confirms update attenuation, not improved optimization or generalization.
How to run: python3 bench_experiment.py
Artifacts
- bench_experiment.py 5.4 KB View Raw
- bench_report.json 3.3 KB View Raw
- experiment.py 4.6 KB View Raw
- report.md 1.4 KB View
- report_bench_2026-09-03T222105.md 5.7 KB View
- results.json 28.7 KB View Raw