# A Proof of Learning Rate Transfer under µP

Source: https://www.youtube.com/watch?v=I4UCMjZV1ls
Recap page: https://rapidrecap.app/video/I4UCMjZV1ls
Generated: 2025-11-10T20:42:14.469+00:00

---
## Quick Overview

The paper "A Proof of Learning Rate Transfer under µP" demonstrates that using the dual-rate optimization technique, which involves setting the learning rate for the final projection layer (LR transfer) to a specific positive constant (like 10^-2) while using a standard gradient descent learning rate for earlier layers, successfully stabilizes training and ensures the loss function converges to a useful non-zero constant for complex neural networks, unlike standard gradient descent which often diverges when scaled up.

**Key Points:**
- The paper proves that setting the learning rate for the final projection layer (LR transfer) to a positive constant (like $10^{-2}$) stabilizes training for complex models.
- Standard gradient descent methods, when scaled up, often diverge or fail to converge meaningfully when using the same learning rate across all layers.
- The proposed method successfully proves that the LR transfer rate stabilizes the loss function, guaranteeing convergence to a useful, non-zero constant.
- The authors mathematically prove that the LR transfer holds across depth, even when using 27 layers, unlike the simple polynomial loss function which breaks down.
- The specific mathematical proof relies on ensuring the derivative of the loss function at zero (the minimum point) converges to a positive, non-zero value.
- This approach allows for the use of a simpler, more practical initialization strategy, contrasting with the complex mathematics required for Adam or standard gradient descent in deep networks.

![Screenshot at 1:46: The speaker visually emphasizes the core mathematical advantage of the proposed method—that the LR transfer property holds even when scaling up network depth.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-01-46.png)

**Context:** This video discusses a research paper titled "A Proof of Learning Rate Transfer under µP" which tackles the challenge of stabilizing the training of very large deep neural networks, especially when scaling up the network width or depth. The core issue addressed is that standard optimization techniques, like basic gradient descent or even Adam, often fail or diverge when applied naively to extremely large models, making training impractical or impossible without specialized techniques.

## Detailed Analysis

The speakers delve into the paper "A Proof of Learning Rate Transfer under µP," focusing on how it solves the headache of scaling up modern AI models without breaking the bank or requiring infinite compute. The core takeaway is the stability achieved by setting the learning rate for the final projection layer (the transfer layer) to a specific positive constant (e.g., $10^{-2}$), while using standard settings for earlier layers. The speakers highlight that this technique prevents the loss function from exploding or collapsing back to zero, which is a common failure mode when scaling deep networks. They contrast this with the standard practice of using the same learning rate everywhere, which often requires complex, mathematically brittle proofs to ensure stability. The paper provides rigorous mathematical proof that this specific LR transfer guarantees convergence to a useful, non-zero constant, even for very deep networks (up to 27 layers), by ensuring the derivative of the loss function at the minimum point remains positive. This stability is contrasted with the inherent instability of simple gradient descent on complex, wide networks, where the loss function derivative tends toward zero or diverges.

### The Problem of Scaling

- Cost of tuning hyperparameters for billion-parameter models
- Risk of divergence when scaling width or depth
- Standard methods like Adam require continuous retuning

### The Proposed Solution (µP)

- Setting LR for the final projection layer to a fixed positive constant (e.g., $10^{-2}$), while using standard settings elsewhere
- This acts as a mathematical guarantee for stability

### Mathematical Proof

- The LR transfer holds across depth and width
- The loss function is proven to converge to a non-zero constant
- The derivative of the loss function at zero is proven to be positive, not zero or negative

### Comparison to Standard Methods

- Simple gradient descent fails/diverges on complex systems
- The µP method provides practical stability where standard methods fail, especially when scaling network width or depth

![Screenshot at 0:01: Introduction screen for the AI Papers podcast.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-00-01.png)
![Screenshot at 0:18: Speaker explains the core problem: the cost of tuning hyperparameters for modern AI models.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-00-18.png)
![Screenshot at 1:45: The speakers discuss the concept of HP Transfer.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-01-45.png)
![Screenshot at 2:24: Speaker expresses surprise at the cost savings associated with successful scaling.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-02-24.png)
![Screenshot at 3:55: Speaker asks how the proof was approached, specifically regarding the math.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-03-55.png)
![Screenshot at 5:54: Speaker points out that the mathematical result \(LR transfer holding\) is crucial for practical application.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-05-54.png)
![Screenshot at 7:24: Speaker summarizes the practical consequence: the method avoids infinite width divergence.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-07-24.png)
![Screenshot at 9:09: Discussion shifts to the mathematical difference between the new method and standard gradient descent.](https://ss.rapidrecap.app/screens/I4UCMjZV1ls/00-09-09.png)
