<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Optimization on SciDraft | A Hugo Theme</title><link>https://www.zhumengyao.com/scidraft/tags/optimization/</link><description>Recent content in Optimization on SciDraft | A Hugo Theme</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 21 Sep 2026 13:00:00 +0900</lastBuildDate><atom:link href="https://www.zhumengyao.com/scidraft/tags/optimization/index.xml" rel="self" type="application/rss+xml"/><item><title>A Training Schedule (gantt)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-mermaid-gantt-training/</link><pubDate>Mon, 21 Sep 2026 13:00:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-mermaid-gantt-training/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;A training run has a shape in time as well as in the loss curve: data preparation
that nothing else can start without, a warmup whose length is set by the step
size, a long stable phase, and a cooldown whose purpose is to end at a point the
optimiser has settled into.&lt;/p&gt;</description></item><item><title>Smoothness of the Loss (postulate)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-postulate-smoothness/</link><pubDate>Mon, 21 Sep 2026 12:32:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-postulate-smoothness/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;Step sizes in deep learning are chosen as if the loss were smooth in its parameters, and
that is an assumption, not a theorem. It is the smoothness postulate: the gradient does
not change arbitrarily fast, so a small step in parameter space produces a predictable
change in loss.&lt;/p&gt;</description></item><item><title>The Polyak-Lojasiewicz Criterion (criterion)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-criterion-pl-condition/</link><pubDate>Mon, 21 Sep 2026 11:42:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-criterion-pl-condition/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;A criterion is a condition that decides whether an argument or a method applies, and this
one is the usual substitute for convexity in the analysis of gradient descent: it bounds the
loss by the size of its gradient, so a small gradient implies a small excess loss.&lt;/p&gt;</description></item><item><title>The Adam Update (formula)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-formula-adam/</link><pubDate>Mon, 21 Sep 2026 11:12:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-formula-adam/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;A formula is a rule written in symbols so that it can be evaluated, and the one nearly
every model is trained with is Adam&amp;rsquo;s update: two running averages of the gradient, a
correction for the fact that both start at zero, and a step whose size is set by their
ratio.&lt;/p&gt;</description></item><item><title>Gradient Descent with Momentum (algorithm)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-algorithm-momentum/</link><pubDate>Mon, 21 Sep 2026 10:32:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-algorithm-momentum/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;The simplest optimiser with a memory is gradient descent with momentum: keep a running
velocity, add the gradient to it, and step in the direction of the velocity rather than the
gradient. The algorithm is short, and the behaviour it introduces is worth the two extra
lines.&lt;/p&gt;</description></item><item><title>Cross-Entropy Is Convex in the Logits (property)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-property-cross-entropy-convex/</link><pubDate>Mon, 21 Sep 2026 08:02:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-property-cross-entropy-convex/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;Convexity of a loss in the parameters is rare in deep learning, but convexity in the
scores is not, and the cross-entropy of a softmax has it. The property is what guarantees
that the inner optimisation — fitting the output layer, probing a frozen representation —
has no local minima to fall into.&lt;/p&gt;</description></item><item><title>Gradient Accumulation with an Input and Output Contract (pseudocode)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-pseudocode-gradient-accumulation/</link><pubDate>Mon, 21 Sep 2026 07:47:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-pseudocode-gradient-accumulation/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;Gradient accumulation is the standard way to train with a batch larger than
memory allows: several small batches are processed in turn and their gradients
added before any parameter moves. The gradient of a sum is the sum of the
gradients, so the result equals one step on the concatenated batch as long as the
per-batch losses are averaged.&lt;/p&gt;</description></item><item><title>A Convex Function with Many Minima (counterexample)</title><link>https://www.zhumengyao.com/scidraft/notes/demo-note-counterexample-convex-many-minima/</link><pubDate>Mon, 21 Sep 2026 07:02:00 +0900</pubDate><guid>https://www.zhumengyao.com/scidraft/notes/demo-note-counterexample-convex-many-minima/</guid><description>&lt;p&gt;&lt;strong&gt;Demo note.&lt;/strong&gt; This note demonstrates what the &lt;strong&gt;SciDraft&lt;/strong&gt; Hugo theme can do
for academic and scientific publishing — for research institutions, researchers
and students. Its content is demonstration material only: readers should ignore
whether the demo content is correct.&lt;/p&gt;
&lt;p&gt;Convexity is often described as the property that guarantees a unique optimum, and the
statement is false as written: convex functions can have a whole interval of minimisers.
The counterexample is a flat-bottomed function, convex everywhere and constant on a
segment.&lt;/p&gt;</description></item></channel></rss>