{"url":"/method/demon-adam","slug":"demon-adam","name":"Demon ADAM","full_name":"Demon ADAM","full_name_withheld":false,"description_markdown":"**Demon Adam** is a stochastic optimizer where the [Demon](https://paperswithcode.com/method/demon) momentum rule is applied to the [Adam](https://paperswithcode.com/method/adam) optimizer.\r\n\r\n$$ \\beta\\_{t} = \\beta\\_{init}\\cdot\\frac{\\left(1-\\frac{t}{T}\\right)}{\\left(1-\\beta\\_{init}\\right) + \\beta\\_{init}\\left(1-\\frac{t}{T}\\right)} $$\r\n\r\n$$ m\\_{t, i} = g\\_{t, i} + \\beta\\_{t}m\\_{t-1, i} $$\r\n\r\n$$ v\\_{t+1} = \\beta\\_{2}v\\_{t}  + \\left(1-\\beta\\_{2}\\right)g^{2}\\_{t} $$\r\n\r\n$$ \\theta_{t} = \\theta_{t-1} - \\eta\\frac{\\hat{m}\\_{t}}{\\sqrt{\\hat{v}\\_{t}} + \\epsilon}  $$","description_state":"present","introduced_year":null,"introduced_by":{"title":"Demon: Improved Neural Network Training with Momentum Decay","paper":"/paper/decaying-momentum-helps-neural-network","first_author":"John Chen","n_authors":4,"url_abs":null,"archive_paper_url":"https://paperswithcode.com/paper/decaying-momentum-helps-neural-network"},"source":{"url":"https://arxiv.org/abs/1910.04952v4","title":"Demon: Improved Neural Network Training with Momentum Decay","url_on_a_paper_host":true},"code_snippet_url":"https://github.com/JRC1995/DemonRangerOptimizer/blob/5a3e6e352ab766f96cd8d20eabd5b71843c595fe/optimizers.py#L205","code_snippet_url_on_a_code_host":true,"categories":[{"area":"General","area_id":"general","collection":"Stochastic Optimization","url":"/methods/category/stochastic-optimization","pwc_aliases":[]}],"n_papers_tagged":1,"archive_num_papers":1,"papers_newest_first":[{"paper":"/paper/decaying-momentum-helps-neural-network","title":"Demon: Improved Neural Network Training with Momentum Decay","date":"2019-10-11","arxiv_id":"1910.04952","n_code_links":2,"syntology":null}],"papers_shown":1,"tasks":[{"task":"/task/image-classification","name":"Image Classification","papers":1},{"task":"/task/image-classification","name":"image-classification","papers":1}],"tasks_shown":2,"n_tasks":2,"usage_by_year":[{"year":"2019","papers":1}],"row_source":"methods_table","archive":{"source":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","archive_url":"https://paperswithcode.com/method/demon-adam"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}