Reproduce “Adam: A Method for Stochastic Optimization” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Diederik P. Kingma, Jimmy Lei Ba
Adam adapts each parameter’s update using running averages of its gradient and squared gradient, corrected for their zero initialization. This combines a smoothed direction with a recent, parameter-specific scale to handle noisy and sparse gradients. On logistic regression using 10,000 IMDB bag-of-words features, Adam converged as fast as AdaGrad; results vary by task.
Key insights
- The proposed bias-correction mechanism for initial moment estimates is crucial for the algorithm's stability and performance, particularly during early training phases and with high decay rates.
- Adam effectively synthesizes the strengths of AdaGrad (handling sparse gradients) and RMSProp (handling non-stationary objectives) into a single, robust algorithm.
- The method's hyperparameters are intuitive and typically require minimal tuning, with good default settings often providing strong performance across diverse tasks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.