TL;DR
MePoly introduces a novel policy parameterization based on polynomial energy-based models that delivers both high expressivity for multi-modal distributions and an analytically tractable, explicit probability density. This bridges a long-standing gap in maximum entropy reinforcement learning between overly simplistic Gaussian models and computationally heavy generative models like diffusion.
What Problem Does This Paper Address?
In stochastic optimal control—encompassing both Reinforcement Learning (RL) and Imitation Learning (IL)—agents frequently encounter highly non-convex and multi-modal action landscapes. For example, when navigating around an obstacle, going left or going right are both perfectly valid, distinct strategies.
Standard unimodal Gaussian policies struggle here; they tend to average these options out, leading to dangerous compromises or mode collapse. While modern generative approaches like diffusion models excel at capturing complex, multi-modal distributions, they lack an explicit probability density. This makes calculating exact log-probabilities and entropies mathematically intractable, forcing researchers to rely on fragile variational surrogates and slow, multi-step iterative sampling during inference.
MePoly addresses this practical tension by providing a policy class that is simultaneously highly expressive, fast to sample, and analytically tractable.
Methods
MePoly models the policy's underlying energy landscape explicitly using polynomials. Its core architecture relies on several clever design choices:
- Orthogonal Legendre Basis: Instead of standard monomials ($a, a^2, a^3$), which suffer from spectral overlap and become degenerate near the origin, MePoly utilizes an orthogonal Legendre polynomial basis. This acts as a natural spectral regularizer, decoupling the natural parameters and stabilizing optimization.
- Tractable Normalization via Quadrature: By bounding the action space to a compact support (normalized to $[-1, 1]^{n_a}$), the log-partition function (the normalizing constant) can be evaluated efficiently and differentiably using GPU-parallel numerical quadrature on a fixed grid.
- Single-Step Sampling: Rather than relying on iterative denoising loops, MePoly constructs a discrete cumulative distribution function (CDF) directly from the quadrature grid. This allows the model to draw high-resolution continuous samples in a single step via a vectorized binary search.
- Two-Stage Latent Action Framework: To scale to high-dimensional action spaces (such as predicting long sequences of future robot actions), MePoly employs a two-stage pipeline. First, a Variational Autoencoder (VAE) compresses complex trajectories into a compact 3D latent space. Second, a MePoly prior policy is trained to perform density estimation within this low-dimensional manifold.
Datasets
The authors evaluated MePoly across three distinct settings:
- Smooth World: A newly introduced continuous 2D navigation environment featuring sparse rewards and complex geometric layouts (Two Goal, Four Goal, Two Slits, Tree in the Middle, C-Shape) specifically designed to test multi-modal exploration.
- Complex Manifolds (Contextual Bandit): Synthetic target distributions including the intricate Two Moons and figure-eight Lemniscate shapes, learned purely through reward feedback.
- ManiSkill: A standard robot manipulation benchmark evaluated across four challenging tasks: PushCube, PickCube, StackCube, and PushT.
Key Insights and Ideas
- Grounded in the Classical Moment Problem: The authors provide a theoretical guarantee showing that as the polynomial order $K \to \infty$, MePoly can asymptotically approximate any valid distribution on a compact support.
- The Power of Orthogonality: Standard polynomials fail to capture sharp density transitions because higher-order terms look structurally redundant. Switching to Legendre polynomials allows higher orders to cleanly capture local, high-frequency geometric details without interfering with global structure.
- Eliminating Inference Latency: By reducing action selection to a single-step energy evaluation, MePoly avoids the multi-step ODE/SDE rollout latents inherent to diffusion models, making it highly suitable for low-latency, high-frequency physical control loops.
Key Results
- Multi-Modal Navigation: In the Smooth World environment, MePoly successfully discovered and maintained multiple distinct paths to goals. In contrast, PPO-Gaussian and PPO-GMM collapsed to single modes, and Flow-Matching (FPO) failed to capture sharp density boundaries.
- Manifold Approximation: In the Contextual Bandit experiments, increasing the polynomial order from 2 to 14 allowed MePoly to perfectly reconstruct complex topologies like the figure-eight Lemniscate from pure reward feedback.
- Robot Manipulation: On the ManiSkill benchmark, MePoly achieved comparable or superior performance to Diffusion Policy (DP). Notably, MePoly achieved higher peak success rates on PushCube (0.901 vs. 0.856) and StackCube (0.446 vs. 0.410), demonstrating that an explicit low-dimensional latent prior can capture dominant demonstration modes without sacrificing stability.
Limitations and Future Work
Despite its strengths, MePoly faces a few key limitations:
- Curse of Dimensionality in Quadrature: Grid-based numerical quadrature scales exponentially with the action dimension. While the authors bypass this using a low-dimensional latent space for imitation learning, direct scaling to high dimensions remains a bottleneck.
- Latent Space Sensitivity: The performance in imitation learning is highly dependent on the quality of the learned VAE latent manifold; overly distorted latent spaces can degrade policy performance.
To address these, the authors point to future work exploring more scalable deterministic cubature rules (such as sparse-grid/Smolyak quadrature) and developing improved representation learning objectives to ensure better-behaved action latents.
Summary updated