Why can't we always find the best path in a maze?
Image: Left intentionally blank, Public domain, via Wikimedia Commons
Why can't we always find the best path in a maze?
Imagine you're trying to find the shortest route through a city with many one-way streets. You can't just follow the streets; you need a smarter way to navigate.
Proximal gradient descent helps us find the best path by breaking down the problem into smaller, easier steps, even when the road map isn't smooth.
Example
Instead of trying to find the shortest route in one go, you first follow the streets (simple steps), then adjust your path (gradually improving) until you reach your destination.
Remember this
Proximal gradient descent allows us to tackle complex problems by simplifying them into manageable steps.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
gradient accumulation simulates larger batch sizes without more memory
Can you train a machine like you do with a computer?
gradient checkpointing trades: recomputes activations to save memory
Gradient checkpointing trades off computation time for memory savings by recomputing activations
natural gradient descent does: preconditions with inverse Fisher matrix
Ever wondered how to climb a steep mountain without measuring every step?
batch size affects generalization: larger batches find sharper minima
Larger batch sizes lead to sharper minima, enhancing generalization by providing more accurate gradient estimates
Vanishing gradient problem
Residual connections help by allowing gradient flow through the skip connection
approximation algorithms guarantee: solution within factor α of optimal
Can we always find the best solution quickly?
Swipe through 100 ML concepts daily
Open Pocket Polymath