# From Rattle to Roar: Optimizer Showdown for MambaStock on S&P 500

arXiv: https://arxiv.org/abs/2508.04707 · HTML: https://mlsanity.com/paper/2508.04707/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 5 of its 6 references that are in the map.
- First posted on arXiv 9 Jul 2025.

## Builds on (most cited first, 5 of 5)

- [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://mlsanity.com/paper/2312.00752/) (2023)
- [Efficiently Modeling Long Sequences with Structured State Spaces](https://mlsanity.com/paper/2111.00396/) (2021)
- [Symbolic Discovery of Optimization Algorithms](https://mlsanity.com/paper/2302.06675/) (2023)
- [MambaStock: Selective state space model for stock prediction](https://mlsanity.com/paper/2402.18959/) (2024)
- [S&P 500 Stock Price Prediction Using Technical, Fundamental and Text Data](https://mlsanity.com/paper/2108.10826/) (2021)

## Abstract (arXiv)

We evaluate the performance of several optimizers on the task of forecasting S&P 500 Index returns with the MambaStock model. Among the most widely used algorithms, gradient-smoothing and adaptive-rate optimizers (for example, Adam and RMSProp) yield the lowest test errors. In contrast, the Lion optimizer offers notably faster training. To combine these advantages, we introduce a novel family of optimizers, Roaree, that dampens the oscillatory loss behavior often seen with Lion while preserving its training speed.
