derivative
Robust Spline-based Planning for Signal Temporal Logic
Williams, Samuel, Deshmukh, Jyotirmoy
Autonomous systems frequently operate with complex spatial and temporal requirements. They must navigate through constrained environments, complete tasks with deadlines, and respect safety margins. These requirements are naturally captured by formal languages such as Signal Temporal Logic (STL), but bridging the gap between these high-level specifications and low-level dynamically feasible trajectories remains a challenging problem. We present a method to solve for Bรฉzier spline trajectories that robustly satisfy such STL specifications. Bรฉzier splines can be made arbitrarily smooth and enable continuous time satisfaction of these formal specifications when paired with a trajectory tracking controller with bounded tracking error. To expand on the expressiveness of STL specifications, we incorporate derivative predicates, allowing complex constraints to be imposed not only on the position of the system but also on higher-order derivatives. We further investigate the benefits and challenges of planning with non-uniform splines. For uniform splines, our approach formulates a mixed-integer linear program (MILP) or a mixed-integer convex program (MICP). For non-uniform splines, we present two alternative encodings: a mixed-integer bilinear program and a non-convex mixed integer quadratically-constrained program (MIQCP). We characterize the tradeoffs between each of these formulations through extensive simulation across a wide range of spline parameters. Finally, we demonstrate the practical effectiveness of our approach by generating reference trajectories for a quadrotor system, achieving superior tracking performance compared with existing spline-based planning methods. Implementation is available at https://github.com/sjwil/stlbezier.
Exact Fits, Unstable Loops: Finite-Step Distribution Matching with Rebuilt Targets
Distribution-matching policy updates fit a target that is rebuilt from the current policy at every round, so each finite inner fit feeds back into the next target. We study this fit-and-rebuild loop in the Spread stage of DriftSpread, holding the quadratic Drift exact so that every difference comes from finite fitting alone. In a seven-dimensional Gaussian model, the best shared single gradient step leaves more than $54.9\%$ relative covariance error, and we certify how many shared steps an exact fit requires. More strikingly, two three-step schedules with the same step count and cumulative step size, both fitting the target exactly at a common fixed point, have round-map spectral radii of about $0.81$ and $5.70$, and in the population model the amplification disappears when the target is locked rather than rebuilt. We further show that one Spread step is first-order descent on an explicit spectral energy whose minimizers explain covariance shrinkage and partial rank collapse, and controlled finite-sample and neural experiments show that update count and cumulative step size must be reported separately.
AdjointMimic: Hybrid Physics-Neural Adjoints for Generalizable Musculoskeletal Motion Imitation
Ma, Pingchuan, Li, Yifan, Tu, Zhi, Darbari, Mayank, Tan, Zhen, Wu, Liang
Musculoskeletal humanoids have many muscles actuating far fewer joints, resulting in a high-dimensional, underdetermined control problem that makes efficient and generalizable policy learning challenging. Learned world models enable efficient first-order optimization through differentiable dynamics predictions. However, forward-prediction training does not directly constrain their derivatives, and inaccurate gradients can limit generalization to unseen motions. Alternatively, differentiable simulators provide high-fidelity physics-based gradients and improve generalization, but their backward computation is expensive. To address both challenges, we propose AdjointMimic, a hybrid physics-neural adjoint method. We decompose the position Jacobian into an efficiently computable physical term and a configuration-dependent residual that dominates backward computation, approximating only the latter with a neural network. We retain simulator rollouts and combine the learned residual with physical derivatives for policy training. Since the residual contributes to the backward signal through its product with the incoming adjoint, we train it with an adjoint-weighted objective that directly penalizes errors in this contribution. Across two redundantly actuated musculoskeletal humanoid benchmarks, AdjointMimic improves motion generalization success rate by 159% over all baselines on average, while reducing training cost by 2.33 times and 1.56 times compared with differentiable simulation.
Learning from Failures: When Contrastive Post-Training Beats Success Conditioning
Sarangi, Soutrik, Sinha, Gaurav
A policy can be trained by maximizing likelihood on successful trajectories alone or by contrasting successful and failed trajectories. Success-only finetuning has been studied for language models (Zelikman et al., 2022; Singh et al., 2024; Russo, 2026). Related works on preference-optimization methods learn from comparisons between preferred and dispreferred responses (Rafailov et al., 2023; Meng et al., 2024; Zhao et al., 2023; Yuan et al., 2023; Hong et al., 2024; Xu et al., 2024). When we have explicit binary feedback (instead of only preferences), combining the two objectives of contrastive learning and success-only fine-tuning has also been of interest, yielding gains in applications such as reasoning (Pang et al., 2024) and generative retrieval (Li et al., 2023a), motivating a general question: when does a combination of the two ideas, i.e., maximizing likelihood of successful trajectories and contrasting successful and failed trajectories, improve a policy beyond training on successful trajectories alone? Maximizing likelihood of successful trajectories (also known as success conditioning) (Russo, 2026) is already known to provably improve upon the base data collection policy (Corollary 4.5in (Russo, 2026)). At the same time, prior work such as Rafailov et al. (2023) demonstrates how for applications such as language model alignment, one could contrast a positive and negative answer via preference models (i.e., positive preferred over negative) and obtain strict improvements over the base policy.
Neural networks whose nonlinearity lives in the memory: linear general fractional systems with state-dependent order
In recurrent neural networks the nonlinearity is usually placed in the vector field: an activation function, a learned right-hand side, or gates that rescale the state, the input and the time step. We study networks in which the vector field is linear and the nonlinearity is confined to a single scalar per equation: the order of differentiation, which depends on the input and on the state. Each unit is a set of linear equations written with the general fractional derivatives of Kochubei and Luchko, units are coupled through a fixed matrix, and the network computes only by choosing, at every instant, the law with which each equation remembers its input. The model is made precise through the diffusive representation, and every memory kernel is required to be a Sonine kernel. Three structural facts follow: the equilibria do not depend on the orders, so all nonlinear computation happens in transients; the linearisation at an equilibrium contains the orders only through their frozen values; and, for a pure fractional kernel with time measured in units of the step, the gain of one step varies by less than 13% over all orders, so the order acts mainly on the timing of the response. This explains why a learned spectral density is needed to turn the order into an effective nonlinearity. We propose a learning scheme in which the linear readout is eliminated in closed form and is a smooth functional on the frequency axis, so that the continuous operator, not its discretisation, is trained. On products of delayed inputs, a network of 20 units outperforms an untrained reservoir of comparable size, keeps working when the orders move by only $\pm0.02$, and remains about one order of magnitude less accurate than a trained gated recurrent network of comparable size. A state-dependent law of memory, acting on otherwise linear dynamics, is thus sufficient for nonlinear computation.
Width Improves Posterior Sampling in Bayesian Neural Networks
Tiwary, Nalin, Jhajharia, Meenal, Banerjee, Arindam
Increasing neural network width has been demonstrated to simplify optimization, but its effect on Bayesian neural network posterior sampling is less understood. We show that width improves the effectiveness of posterior sampling for classification networks with bounded smooth activations and Gaussian priors, under explicit bounds on the prior means. For a network of width $m$ and prior variance $ฯ^2$, the unrestricted posterior has Poincarรฉ constant at most $ฯ^2+O(m^{-1/3})$ at fixed data and depth. The global Poincarรฉ bound follows from controlling negative curvature and removing weight restrictions. Exploiting convexity in the output weights yields sharper logarithmic Sobolev inequalities (LSI). With two layers and $n$ observations, the global LSI constant is at most $ฯ^2+O(n/\sqrt m+n^2/m)$, approaching the prior scale when $m\gg n^2$. For general fixed depth, when $m\gg n^3$, the same conclusion holds on a convex spectral domain with posterior mass tending to one, leaving the output weights and first layer unrestricted. Experiments further support the predicted improvement in sampling with width. These results show that width based overparameterization can improve the geometry governing posterior fluctuations and Langevin relaxation, even as the parameter space grows.
Continuous-Time Policy Gradient from Discrete Data: Convergence Analysis and Model-Free Algorithms
Hernandez, Martin, Qing, Xinyan, Zhou, Mo, Zhu, Yuhua
Continuous-time reinforcement learning seeks an optimal policy under unknown dynamics driven by stochastic differential equations using observations collected at discrete times. We develop a policy gradient framework that combines rigorous convergence analysis with learning from discrete data. We first establish a performance difference lemma and derive policy gradient formulas for randomized and parametrized policies. We then prove exponential convergence of an entropy-regularized policy flow to the regularized optimum. For discrete parametrized updates, we derive a convergence bound that explicitly separates the contributions of critic error, policy-regression error, and the learning step size. To enable learning under unknown dynamics, we integrate this framework with PhiBE, which constructs a continuous-time surrogate generator from discrete transition data. The resulting model-free actor--critic algorithms, including an online algorithm, preserve the continuous-time structure of the control problem. Numerical experiments on an entropy-regularized linear-quadratic regulator and a nonlinear wheeled robot demonstrate the performance and stability of the proposed methods with both known and data-driven dynamics.
$\nabla$Mimic: Ultra-Efficient Humanoid Control with Differentiable Simulation
Robot policy learning is dominated by zeroth-order methods such as PPO, which treat the simulator as a black box and pay for it with enormous sample counts. First-order policy learning differentiates through the dynamics, but on contact-rich whole-body control its gradients explode. A recent world-model method showed that derivatives can make humanoid motion tracking far more efficient, using surrogate gradients of a learned model. We show that exact gradients of the simulator itself do better, once two obstacles are removed: they contain rare unbounded samples, because contact dynamics is not differentiable everywhere, and they are expensive, because the adjoint has to replay the contact solve. NablaMimic ($\nabla$Mimic) bounds these samples with median-relative per-sample gradient clipping at every step of the backward pass, and reuses each simulated window by multistep regression onto gradient-derived action targets. NablaEngine, a differentiable GPU simulation engine for the Unitree G1, removes the cost: it computes MuJoCo's full contact dynamics and the exact adjoint of a whole control step, matching float64 finite differences, 11.8x faster than the available MuJoCo Warp adjoint. Tracking all 40 LAFAN1 clips with one policy on one GPU, NablaMimic reaches 0.866, the score the state-of-the-art world-model method reports after 3 h, in 5.3 minutes; it reaches 0.890, the plateau of an open-source world-model tracker trained in the same physics on the same GPU, in 17 minutes instead of 2.6 h, and levels off at 0.929 with no clip failed. PPO in BeyondMimic's configuration reaches 0.721 after 6 h, a level NablaMimic passes in 1.5 minutes. SHAC stops on exploding gradients within minutes. A NablaMimic policy runs unchanged on a physical Unitree G1. We release NablaEngine and NablaMimic as open-source infrastructure for first-order humanoid policy learning.
Gaussian priors from nonlinear PDEs with the semiclassical approximation
Probabilistic numerical methods for partial differential equations (PDE) combines the governing physics with observations to treat solving the PDE as a Bayesian inverse problem. This allows techniques to quantify the uncertainty in the field reconstruction under model-form error. In the majority of cases, a Gaussian prior is assigned to the field of interest, and Bayes's theorem in the infinite-dimensional setting is used to derive the posterior. While Gaussians have been shown to be well-suited for linear PDEs, a similar treatment for nonlinear PDEs remains open-ended. In this work, study the use of the semiclassical approximation to construct Gaussian priors from variational energies or integrated square residuals for probabilistic numerics. The prior is derived by expanding the PDE energy about a stable solution and uncovering a Gaussian form. We then analyze the different characteristics of the resulting priors as they pertain to the inverse problem. In particular, we find that the covariance operator is given by the inverse of the Hessian of the energy whose associated Cameron-Martin space is the solution space of the PDE. We also find that the prior responds to model-form error by sharpening or flattening itself depending on the distance between the ground truth and the solution of the assumed model.
What Do Differentiable Rule Learners Need? FLARE: Fuzzy Rules with Additive Evidence
Fumanal-Idocin, Javier, Andreu-Perez, Javier
Rule learners are used where transparency and accountability are required, because they give practitioners patterns they can read. Learning rules is a discrete problem, so neurosymbolic pipelines that use rules as explanations rely on relaxations such as the straight-through estimator. However, these differentiable rule learners often lag behind both classical rule learners and black-box classifiers in terms of performance. We study which parts of a rule-based classifier affect performance, and how well gradient-based training learns each of them. We found that most of the performance comes from how the rules are weighted: random rules with learned weights are already more accurate than every published differentiable rule learner we tested. Based on our results, we propose FLARE (Fuzzy Learned-Antecedent Rule Evidence), a differentiable rule learner that learns simple rules that combine to make the final decision. We also propose a learned encoding for variables with thousands of categories. We test FLARE on tabular data, using 42 datasets of OpenML-CC18 and the 38 classification tasks of TabArena. On CC18, FLARE exceeds the compared rule learners by 7.69 to 12.38 macro-F1 points and performs comparably to random forests, while remaining 1.00 to 1.11 points below tuned gradient-boosted trees. On TabArena it ranks at the same level as random forests and ahead of the other rule learners. As the concept-to-label head of a concept bottleneck model, FLARE is the best rule-based head in five of six settings. On graphs, it is competitive on PubMed and EMOGI but falls behind graph neural networks on Cora and Citeseer. Our code is available at https://github.com/Fuminides/FLARE