YouTube · Nov 9, 2026
View the original on m.youtube.comTopicNatural gradient optimization for LDA
Natural gradient optimization for LDA
By Кафедра ММП · YouTube
Your saved quotes by Кафедра ММПSource: https://m.youtube.com/watch?v=kjg9a1X7dyw&list=PLVF5PzSHILHSc8q2EW9A-aQjKL7isx458
AI generated summary of the linked source. Posted anonymously. Transcripts are published only for public links, never for uploads, documents or pasted text.
Summary
This seminar builds the natural gradient from scratch, starting from the practical failure of LDA on the full Wikipedia corpus in 2010 (a day with zero completed iterations) and ending with how natural gradient combined with mini-batching fixes it. It walks through why plain gradients are parametrization dependent, derives the natural gradient as a Lagrangian-constrained optimization problem, shows it equals the Fisher Information Matrix inverse times the ordinary gradient when KL divergence is used as the metric, then applies all of this to the variational EM updates of LDA.
From the sourceShare
The AI link is plain markdown. Paste it into any assistant and it can read the whole public entry.
Core ideas 9
- Normalizing constant bottleneck: gradient descent on distribution-based models often needs a normalizing constant computed by summing over the full dataset, which makes a single gradient step prohibitively expensive at scale.From the sourceSource
- LDA on Wikipedia failure: in 2010 people tried running LDA on the whole Wikipedia corpus and after 24 hours the method hadn't finished a single iteration, forcing an SGD-style workaround that converged in about 30 minutes at the cost of rigor.From the sourceSource
- Parametrization dependence: plain gradients point differently depending on how you parametrize the same function (illustrated with circular versus oval level curves), so the raw gradient doesn't reliably point toward the minimum under reparametrization.From the sourceSource
- Gaussian shift example: moving the mean of a narrow Gaussian by one unit changes its divergence from the original far more than moving a wide Gaussian by the same amount, showing that gradient magnitude in Euclidean terms ignores the actual geometry of the distribution space.From the sourceSource
- Constrained minimization derivation: the natural gradient comes from minimizing the loss subject to a metric-bounded step size, solved via Lagrangian and Taylor expansion in a way that mirrors Newton's method, yielding a gradient scaled by an inverse metric matrix.From the sourceSource
- Minimal metric requirements: convergence of this generalized gradient descent only needs positivity and identity of indiscernibles, no symmetry or triangle inequality, which is why asymmetric KL divergence still qualifies as a valid metric here.From the sourceSource
- Fisher matrix emerges from KL: plugging KL divergence into the metric slot produces exactly the Fisher Information Matrix, so the natural gradient step is Fisher-inverse times the ordinary gradient, structurally identical to Newton's method.From the sourceSource
- Fisher matrix for exponential families: it equals the second derivative of the log normalizing constant, which is the covariance matrix of the sufficient statistics; the lecture's version had an extra erroneous minus sign.From the sourceSource
- LDA variational inference payoff: the M-step update for the word-topic matrix phi analytically needs a pass through every document and word in the corpus per iteration, but switching to stochastic natural gradient with document mini-batches removes the need to ever touch the intractable normalizing constant and converges faster than naive SGD.From the sourceSource
- natural gradient
- Fisher information matrix
- LDA
- variational inference
- stochastic gradient descent
- topic modeling
Full transcript
The spoken words from the linked public source, on their own page, open to everyone.
6,482 words
Read the full transcriptResources
Links to the tools, products, repos or reading this entry mentions. Found by a web search of what the entry names, so you can go and use them.
- Fisher Information Matrix
notes.osteele.com
The Fisher information is the KL-divergence metric, the covariance of sufficient statistics, and the basis of natural gradients.
- Kullback-Leibler divergence
arxiv.org
A dedicated page explaining KL divergence and its role in natural gradient optimization.
Remix this knowledge
Turn this entry into something you can post. Pick a format and get a fresh, original rewrite.
Remixes are AI generated, original wording, and free to reuse.
Talk it through
Open a round table on this entry and argue with other people about what it means.
Start a round tableDrop your own
Paste any video, podcast or audio link and get the transcript, the core ideas and the quotes back in one pass.
Try Drop