Stefano Massaroli

Stefano Massaroli

RIKEN
5 previous affiliations
24Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Stefano Massaroli focuses on the intersection of deep learning, dynamical systems, and efficient sequence modeling. His work emphasizes the development of novel neural architectures that integrate classical numerical methods—such as differential equation solvers, signal processing techniques, and spline interpolation—to improve the efficiency and scalability of models in domains ranging from physical simulation to large-scale language and genomic modeling. By bridging the gap between continuous-time mathematical frameworks and discrete-time neural computation, his research addresses fundamental bottlenecks in inference speed, memory consumption, and long-range dependency modeling.

Research Trajectory

Massaroli’s early research focused on the refinement of Neural Ordinary Differential Equations (Neural ODEs) and their application to optimal control and physical systems. During 2020 and 2021, he investigated methods to overcome the computational intensity of standard ODE solvers when integrated into deep learning pipelines. This period was marked by an interest in Learned Coefficients for Numerical ODE Solvers, where the goal was to move beyond general-purpose algorithms like Runge-Kutta toward solvers optimized for specific data distributions. A key contribution during this time was the development of architectures that utilized parallelizable root-finding algorithms to accelerate the solution of initial value problems, effectively reducing the number of function evaluations required for inference.

In 2021 and 2022, Massaroli extended these continuous-time frameworks into the domain of numerical optimal control. He contributed to the development of "hypersolvers," which are hybrid models that combine a base numerical solver with a neural network to correct approximation errors. This approach allowed for the synthesis of optimal controllers under strict real-time constraints, trading off a small amount of theoretical guarantee for significant gains in inference speed. Simultaneously, he began exploring spatio-temporal simulations, participating in the development of graph-based models that utilized orthogonal spline collocation to evaluate continuous solutions in both space and time. This work addressed the limitations of discretized graph neural networks in high-fidelity physical simulations.

By 2023, Massaroli’s focus shifted toward scaling these efficient operator concepts to large-scale sequence modeling. This transition was characterized by the development of subquadratic neural operators designed to replace the attention mechanism in Transformers. This line of work, exemplified by the Hyena architecture, leveraged implicitly parameterized long convolutions and data-controlled gating to achieve high performance on long-sequence tasks with significantly lower computational complexity. This period also saw his involvement in applying these efficient operators to specialized domains, such as Pangenome Graphs to Overcome Reference Bias in genomics, where the ability to process millions of tokens at single-nucleotide resolution is critical.

In his more recent work (2024–2026), Massaroli has continued to refine sequence modeling through the lens of State-Space Models (SSMs). He has contributed to "state-free" inference techniques that parameterize SSMs via rational transfer functions in the frequency domain, decoupling state size from computational cost. His recent collaborative efforts also include exploring efficiency in generative models, such as diffusion transformers, and the use of Automated Discovery of Optimization Heuristics for combinatorial optimization. Throughout this evolution, a consistent theme has been the use of sophisticated mathematical structures—whether from control theory, numerical analysis, or signal processing—to enhance the performance and efficiency of deep learning models.

Current Directions

Massaroli’s current research continues to explore the boundaries of efficient simulation and modeling. One active area involves Residual Based Adaptive Sampling for Physics Informed Neural Networks, which seeks to improve how physical laws are integrated into neural loss functions by intelligently selecting coordinates for evaluation. This relates to his broader interest in Learning Sub-Grid Physics for Efficient High-Fidelity Simulation, where learned surrogate models are used to bypass the computational bottlenecks of traditional numerical solvers in complex environments like turbulent flows.

Furthermore, he remains active in the study of stochasticity within dynamical systems. His work in Neural Stochastic Differential Equations for Noisy Systems addresses the challenges of modeling systems where future states are not deterministic. This involves developing efficient gradient estimation techniques for stochastic processes, often employing multilevel Monte Carlo methods to reduce the cost of calculating expectations over multiple realizations of noise.

Representative Work

Differentiable Multiple Shooting Layers As the lead author of this 2021 study, Massaroli introduced Multiple Shooting Layers (MSLs), a class of implicit neural models designed to improve the efficiency of Neural ODEs. By leveraging time-parallel methods and parallelizable root-finding algorithms, MSLs allow for faster wall-clock inference and fewer function evaluations. The work demonstrated the utility of MSLs in long-horizon optimal control and latent sequence generation, providing a more scalable alternative to standard continuous-time models.

Neural Solvers for Fast and Accurate Numerical Optimal Control In this second-author paper, Massaroli contributed to the development of hypersolvers for real-time optimal control. The research addresses the trade-off between accuracy and speed in numerical optimization by hybridizing low-order explicit numerical methods with neural networks. This approach enables the synthesis of controllers that satisfy hard time constraints while maintaining higher solution quality than traditional fast but inaccurate methods.

Hyena Hierarchy: Towards Larger Convolutional Language Models As a key contributor to the Hyena architecture, Massaroli helped develop a subquadratic alternative to the attention mechanism. By interleaving long convolutions with gating functions, the model matches the quality of Transformers while providing significant speedups for long sequences. This work represents a major step in his trajectory toward efficient, large-scale sequence modeling, moving from ODE-based dynamics to convolutional operators.

State-Free Inference of State-Space Models: The Transfer Function Approach In this 2024 paper, Massaroli explored the parameterization of State-Space Models (SSMs) through Rational Transfer Functions (RTF). This "state-free" approach allows for parallel inference without the memory overhead typically associated with large state dimensions. The method achieved significant training speedups and state-of-the-art performance on long-sequence benchmarks, further refining the efficiency of sequence models.

Efficient Continuous Spatio-Temporal Simulation with Graph Spline Networks Massaroli participated in the development of GraphSplineNets, which combine graph neural networks with orthogonal spline collocation. This method accelerates the simulation of physical systems by allowing for continuous evaluation in space and time, overcoming the limitations of purely discretized graph-based simulators. The work highlights his ongoing interest in applying advanced numerical techniques to physical modeling.

Multilevel Approach to Efficient Gradient Calculation in Stochastic Systems In this study, Massaroli contributed to the application of Multilevel Monte Carlo (MLMC) methods for gradient estimation in Neural Stochastic Differential Equations. The research demonstrates that MLMC can significantly reduce the computational cost of modeling stochastic systems compared to naive Monte Carlo approaches, facilitating more accurate and efficient training of models that account for inherent noise and uncertainty.

Profile updated

See something wrong? Report a mistake