ODE-based Smoothing Neural Network for Reinforcement Learning Tasks

Yinuo Wang, Wenxuan Wang, Xujie Song, Tong Liu, Yuming Yin, Liangfa Chen, Likun Wang, Jingliang Duan, Shengbo Eben LiICLR 2025

Moving deep reinforcement learning (RL) policies from simulation to the physical world is notoriously difficult. One of the most persistent headaches in real-world robotics is "jittery" control. Standard neural networks, specifically Multi-Layer Perceptrons (MLPs), tend to produce non-smooth control actions that can lead to drone crashes, rapid wear and tear on robotic joints, and safety risks in autonomous driving.

To address this, researchers have introduced SmODE (Smooth ODE), a novel neural network architecture designed to embed the physics of low-pass filters directly into the neurons of an RL policy. By acting as learnable, state-dependent low-pass filters, SmODE agents effectively suppress high-frequency noise and limit network sensitivity, reducing control "jitter" by up to 80% while maintaining high performance in complex tasks.

The Root of the "Jitter" Problem

The non-smooth actions produced by standard MLPs are typically caused by two main factors:

  1. High-frequency input noise: Real-world sensors are inherently noisy. An MLP often amplifies this noise, translating it directly into erratic motor commands.
  2. Unconstrained Lipschitz constants: In simpler terms, MLPs can be "overly sensitive." A minuscule change in the input state can lead to a massive, abrupt change in the output action.

While previous methods like action penalties or external filters can help, they often compromise the optimality of the control policy or require complex, task-specific tuning.

The SmODE Architecture: The Network IS the Filter

Instead of applying a filter on top of a neural network, the authors propose the Smooth ODE (SmODE) network, which replaces standard neurons with a structure inspired by control theory. This "physics-informed" architecture is inherently more stable.

SmODE Architecture and Neuron Model

Key innovations of the SmODE network include:

  • The Smooth ODE Neuron: Instead of a simple activation function, each neuron is defined by an Ordinary Differential Equation (ODE) that mimics a first-order low-pass filter.
  • Learnable Time Constants: The "stiffness" of the filter—how much it ignores noise versus how fast it reacts—is controlled by a learnable function. This allows the network to dynamically decide to be "smooth" in noisy states and "responsive" when quick action is required, avoiding the dangerous delays introduced by static low-pass filters.
  • Lipschitz Control: The authors introduce a mapping function and provide theoretical proofs demonstrating that it can bound the neuron's Lipschitz constant. This ensures the network's output won't "explode" or change too drastically between time steps.
  • Modified Actor Loss: To train the network effectively, two regularization terms are added to the standard RL objective: one to encourage state filtering and another to bound state transitions.

Key Results and Performance

The researchers evaluated SmODE across a diverse range of control benchmarks, including vehicle trajectory tracking (sine-wave and double lane-change maneuvers) and eight standard MuJoCo robotic control tasks (e.g., Humanoid, Ant, Walker2d).

Action Smoothing Results

The results demonstrated significant improvements over standard approaches:

  • Massive Jitter Reduction: In vehicle trajectory tracking tasks with high noise (variance of 0.2), SmODE achieved an impressive 81.7% reduction in the action fluctuation rate compared to a standard MLP.
  • Superior Robustness: Across MuJoCo tasks, SmODE consistently produced smoother actions than other "smooth" architectures like LipsNet and Liquid Time-Constant (LTC) networks.
  • Performance Gains: Crucially, smoothing didn't hurt performance. In many noisy environments, SmODE achieved a higher Total Average Return (TAR) than MLPs because it was less likely to be "tricked" by sensor noise into making catastrophic mistakes.
  • Plug-and-Play Compatibility: SmODE was shown to work seamlessly with both model-based (INFADP) and model-free (DSAC, TD3) RL algorithms.

Limitations and Future Directions

While SmODE offers a robust solution to control jitter, it comes with a computational tradeoff. Solving ODEs numerically is more expensive than standard matrix multiplication, increasing training time by a factor of 2 to 3 compared to an MLP. Furthermore, the network's performance relies on the chosen numerical ODE solver (the authors used a semi-implicit Euler method). More complex tasks might require more sophisticated, and consequently slower, solvers.

Future work will explore more advanced backpropagation techniques specifically designed for Neural ODEs to reduce this training time overhead, paving the way for even broader adoption in real-world robotic control.

Summary updated

BibTeX
@inproceedings{wang2025ode,
  author = {Yinuo Wang and Wenxuan Wang and Xujie Song and Tong Liu and Yuming Yin and Liangfa Chen and Likun Wang and Jingliang Duan and Shengbo Eben Li},
  title = {{ODE-based Smoothing Neural Network for Reinforcement Learning Tasks}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=S5Yo6w3n3f},
}
Figure