Skip to content跳到主要内容
f.FENG/Knowledge Lab知识实验室
A PERSONAL KNOWLEDGE LAB个人知识实验室VOL. 012

Ideas, made
visible.
让知识,变得可见。

Stay curious. Look closely.保持好奇,认真看世界。

Start with a question or an observation. Make complex ideas clear, and keep the details worth noticing.从具体的问题与观察出发,把复杂的原理讲清楚,把值得留意的细节记录下来。

Follow a thread沿着一个问题深入

All topics全部分类

Recent notes最近更新

Timeline时间线

Gradient descent and momentum in a narrow valley梯度下降与动量:为什么陡的方向限制了平的方向?

A step size that works across a steep valley makes slow progress along its floor. The roots of a two-step recurrence explain what momentum changes.在窄谷里,最陡方向决定步长上限。写出每个方向的误差递推,就能看出动量怎样改变收敛速度。

From AdaGrad to AdamW: what sets each coordinate’s step?从 AdaGrad 到 AdamW:每个坐标该走多远?

The first gradient of a quadratic is one hundred times larger along one axis. Three adaptive optimizers remove that imbalance, then diverge as their memories differ.面对相差百倍的两个梯度分量,三个优化器都能抵消尺度差异,后续更新却因记住的梯度历史不同而分开。

Why does Lion keep only the sign?Lion 为什么只取更新方向的符号?

A bound on each coordinate gives Lion its sign direction. One momentum buffer carries information across batches, while curvature determines whether a finite step actually lowers the loss.Lion 用动量决定方向,用学习率决定每个活跃坐标走多远。一个二次函数揭示了这样做的收益与代价。

How does Sophia use curvature to size a step?Sophia 怎样用曲率决定步长?

Two identical slopes can conceal very different curvature. Sophia estimates a diagonal preconditioner periodically, then caps the displacement implied by each coordinate’s estimate.同样的斜率,在平缓方向和陡峭方向应走多远?Sophia 估计各坐标的曲率,并给每次位移设一个上限。

Derivations, experiments, and moments worth keeping.推导、实验,还有值得留下的片刻。

About Dapeng关于冯大鹏

Search the notebook搜索知识库

Try “matrix”, “Rust”, or “spikes”试试「矩阵」「Rust」或「脉冲」

Full-text search ·全文检索 · ESC to closeESC 关闭