Chebyshev Policies and the Mountain Car Problem: Reinforcement Learning for Low-Dimensional Control Tasks

Stefan Huber, Hannes Unger, Georg Schäfer, Jakob Rehrl

International Conference on Machine Learning 2026 · Oral

Overview

This talk explores fundamental gaps in reinforcement learning (RL) theory and practice, specifically focusing on low-dimensional control tasks. Despite decades of advancement in the ML/systems space, the community has largely lacked analytical optimality results even for classic benchmark environments like the mountain car problem introduced in 1990. Without a known optimal solution, quantifying the true regret and optimality gap of modern RL algorithms remains difficult. The presenters demonstrate how solving a classic control problem to analytical optimality exposes severe inefficiencies in standard neural network policies.

Watch on SlidesLive

Visual summary for Chebyshev Policies and the Mountain Car Problem: Reinforcement Learning for Low-Dimensional Control Tasks by Stefan Huber, Hannes Unger, Georg Schäfer, Jakob Rehrl
Visual summary for Chebyshev Policies and the Mountain Car Problem: Reinforcement Learning for Low-Dimensional Control Tasks by Stefan Huber, Hannes Unger, Georg Schäfer, Jakob Rehrl

Key moments

  1. 0:00 Introduction to reinforcement learning and research motivation
  2. 2:00 Talk outline and solving the mountain car problem
  3. 4:00 Mathematical formulation and deriving the optimal policy
  4. 7:40 Introduction of multivariate Chebyshev policies for RL
  5. 9:30 Evaluation results and comparison with neural networks
  6. 11:40 Key takeaways, limitations, and future outlook
  7. 13:35 Audience Q&A and discussion on alternative polynomial bases

Chebyshev Policies and the Mountain Car Problem: Reinforcement Learning for Low-Dimensional Control Tasks

Speakers: Stefan Huber; Hannes Unger; Georg Schäfer; Jakob Rehrl

Conference: ICML

YouTube: https://slideslive.com/39083556

Overview

This talk explores fundamental gaps in reinforcement learning (RL) theory and practice, specifically focusing on low-dimensional control tasks. Despite decades of advancement in the ML/systems space, the community has largely lacked analytical optimality results even for classic benchmark environments like the mountain car problem introduced in 1990. Without a known optimal solution, quantifying the true regret and optimality gap of modern RL algorithms remains difficult. The presenters demonstrate how solving a classic control problem to analytical optimality exposes severe inefficiencies in standard neural network policies.

To address these limitations, the authors introduce a novel class of policies built from first principles using multivariate Chebyshev polynomials. Implemented in PyTorch as a direct drop-in replacement for multi-layer perceptrons (MLPs), these polynomial policies drastically reduce parameter counts while consistently outperforming standard neural architectures across various algorithms and environments. The findings challenge assumptions about standard neural network dominance in control tasks and offer a promising path toward improved sample efficiency, interpretability, and robust sim-to-real transfer.

Background

▶ Watch: Introduction to reinforcement learning and research motivation (0:00)

Reinforcement learning adheres to a standard formulation: an agent interacts with an environment by observing a state, executing an action governed by a policy, and receiving a state transition and a reward. The objective is to maximize cumulative rewards (the return) over all possible policies. While RL has achieved remarkable empirical successes in autonomous driving, robotics, and large-scale energy optimization, the field continues to grapple with practical challenges such as sample efficiency, explainability, safety, real-time capability, and sim-to-real transfer.

Beyond deployment challenges, significant gaps persist in the theoretical foundations of RL, particularly regarding training dynamics and absolute optimality. For decades, benchmark problems like the mountain car task have been solved empirically using black-box neural networks without knowing the analytical optimum. Consequently, practitioners cannot measure the precise regret of their trained agents. This work revisits the mountain car problem to establish a rigorous baseline, uncover the shortcomings of standard neural architectures, and propose a mathematically grounded alternative based on approximation theory.

Key Findings

▶ Watch: Mathematical formulation and deriving the optimal policy (4:00)

The research yields several major discoveries regarding optimal control, policy parameterization, and algorithm performance:

  • Analytical Optimality for Mountain Car: The classic mountain car problem is solved analytically to optimality. The optimal policy is surprisingly simple: the required acceleration is directly proportional to the vehicle's velocity, modulated across two distinct phases separated by contact with the left boundary wall.
  • High Regret in State-of-the-Art Policies: Standard neural network policies—including those trained via Augmented Random Search (ARS) and Proximal Policy Optimization (PPO)—exhibit a regret roughly ten times higher than the analytical optimum, paying an excessive propulsion penalty.
  • Superiority of Chebyshev Policies: Replacing MLPs with multivariate Chebyshev policies allows standard algorithms like REINFORCE (which fails to converge with MLPs on this task) and PPO to dramatically improve their expected return and policy stability.
  • Massive Parameter Reduction: Standard neural control architectures typically employ two layers of 64 neurons, exceeding 4,000 parameters. A degree-3 multivariate Chebyshev policy in two dimensions requires only 16 parameters—a 277-fold reduction that enhances sample efficiency and prevents overfitting.
  • Enhanced Sim-to-Real Transfer: When evaluated on a real-world non-linear helicopter testbed, Chebyshev-parameterized policies retain substantially higher performance during sim-to-real transfer compared to their neural network counterparts.

Technical Deep Dive

▶ Watch: Introduction of multivariate Chebyshev policies for RL (7:40)

The technical core of the paper bridges classical mechanics, calculus of variations, and function approximation theory. To solve the mountain car problem analytically, the authors reformulate the discrete-time problem into a continuous framework governed by a non-linear ordinary differential equation (ODE) equivalent to an oscillator or pendulum.

First, the action signal is replaced with an action field to eliminate explicit time dependence, transforming the problem into an analysis of a system potential $u$—the sum of an action potential and a gravitational potential. By unrolling the back-and-forth motion along a spatial coordinate $\xi$, the control task becomes a matter of driving the potential down to zero at the goal position. Using a Cauchy-Schwarz-based lemma on a Hilbert space of action fields, the authors integrate the solution and prove that optimal control requires the acceleration to scale linearly with velocity, accounting for phase resets when the car strikes the left wall.

To generalize this insight beyond hand-derived solutions, the authors construct a universal policy class using multivariate orthogonal polynomials. Drawing from approximation theory, Chebyshev polynomials are chosen for their optimal uniform convergence properties and numerical efficiency. The multivariate basis functions are constructed as tensor products of univariate Chebyshev polynomials.

Implemented as a drop-in module in PyTorch and TensorFlow, these polynomial layers replace neural networks wherever parameters are required—including the actor, the critic, the mean function, and the variance $\sigma$ of stochastic policies. Given $n$ state variables and a maximum polynomial degree $d$, the linear combination of these basis functions yields a compact, numerically stable parameterization. Exploration with alternative orthogonal polynomial families, such as Legendre and Bernstein polynomials, confirmed that Chebyshev bases offer superior convergence for these low-dimensional control domains.

Experimental Setup & Results

▶ Watch: Key takeaways, limitations, and future outlook (11:40)

The evaluation spans multiple simulated and real-world environments to benchmark Chebyshev policies against standard neural network baselines:

  • Environments: The classic mountain car problem (evaluated across 100 evenly spaced starting points to compute faithful expected returns), the standard pendulum task, and a real-world helicopter testbed exhibiting complex non-linear dynamics.
  • Algorithms: Proximal Policy Optimization (PPO), Augmented Random Search (ARS), and REINFORCE, utilizing baseline implementations from Stable-Baselines3 (SB3).
  • Baselines vs. Proposed Method: Standard MLPs (architectures such as 64x64 hidden units) versus multivariate Chebyshev policies (e.g., degree 3, yielding 16 parameters).
  • Quantitative Results:
  • On the mountain car task, Chebyshev policies combined with REINFORCE and PPO dramatically reduce regret, lowering error margins and avoiding the degenerate "bang-bang" control oscillations frequently observed in ARS-trained neural policies.
  • In sim-to-real helicopter trajectory tracking, policies parameterized by Chebyshev functions exhibit vastly superior transfer performance, significantly outperforming PPO and ARS baselines that suffer severe degradation when deployed on physical hardware.

Practical Implications

▶ Watch: Audience Q&A and discussion on alternative polynomial bases (13:35)

These findings carry significant implications for systems engineers, control theorists, and ML practitioners deploying reinforcement learning to physical hardware:

  • Parameter Efficiency: Low-dimensional control problems do not require over-parameterized deep neural networks. Adopting compact polynomial representations cuts parameter counts by orders of magnitude, lowering memory footprints and compute overhead on resource-constrained edge devices.
  • Training Stability: Neural networks are prone to high variance and unstable policy trajectories in continuous control tasks. Orthogonal polynomial bases provide smoother function approximations that avoid erratic policy degradation.
  • Sim-to-Real Robustness: Over-parameterized MLPs often learn brittle control heuristics that fail to generalize from simulation to reality. Low-dimensional Chebyshev policies maintain robust performance margins during sim-to-real transfer.
  • Curse of Dimensionality: The primary limitation of this approach is scaling. Because the number of basis polynomials grows as $(d + 1)^n$ for degree $d$ and $n$ state variables, applying naive multivariate Chebyshev policies to high-dimensional state spaces results in combinatorial explosion, necessitating future research into structured or sparse polynomial approximations.

Key Takeaways

  • Analytical Optimality Established: The classic 1990 mountain car problem has been solved to analytical optimality, revealing that standard RL algorithms incur a tenfold increase in regret compared to the mathematical optimum.
  • First-Principles Policy Design: Multivariate Chebyshev polynomials offer a universal, numerically efficient, and highly interpretable alternative to multi-layer perceptrons for continuous control.
  • Dramatic Parameter Reduction: Replacing a standard 64x64 MLP with a degree-3 Chebyshev policy reduces parameter counts from over 4,000 to just 16, significantly boosting sample efficiency.
  • Universal Algorithm Compatibility: Implemented as a drop-in PyTorch module, Chebyshev policies enable classical algorithms like REINFORCE to converge successfully and outperform neural policies across multiple test environments.
  • Improved Sim-to-Real Transfer: The smooth approximation properties of Chebyshev policies translate to superior robustness and higher performance retention when deployed on real-world robotic hardware.
  • Open Theoretical Questions: The underlying reason why standard deep RL training dynamics fail to discover near-optimal linear control policies with MLP architectures remains an open problem for the research community.

About the Speaker(s)

Authors: Stefan Huber, Hannes Unger, Georg Schäfer, Jakob Rehrl.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026