{"url":"/method/demon-cm","slug":"demon-cm","name":"Demon CM","full_name":"Demon CM","full_name_withheld":false,"description_markdown":"**Demon CM**, or **SGD with Momentum and Demon**,  is the [Demon](https://paperswithcode.com/method/demon) momentum rule applied to [SGD with momentum](https://paperswithcode.com/method/sgd-with-momentum).\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$$ \\theta\\_{t+1} = \\theta\\_{t} - \\eta{g}\\_{t} + \\beta\\_{t}v\\_{t} $$\r\n\r\n$$ v\\_{t+1} = \\beta\\_{t}{v\\_{t}} - \\eta{g\\_{t}} $$","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-cm"},"syntology_read_at":"2026-09-24T18:15:14+00:00"}