TL;DR
Flying an agile quadrotor requires imagining thousands of possible futures every fraction of a second, demanding physics predictors that are both featherlight and accurate. LiquidMPPI embeds compact, biologically inspired "liquid" neural networks into a sampling-based flight controller, steering a real physical drone through aggressive maneuvers using a tiny network of just eight hidden units—all without retraining on hardware data.
What Problem Does This Paper Address?
Imagine steering a quadrotor through a sharp, fast turn. A popular strategy is Model Predictive Path Integral (MPPI) control: at each tick of the clock (say, 50 times a second), the controller dreams up thousands of slightly different thrust and attitude command sequences, simulates where each one leads, scores them, and blends the winners.
Because you don't need clean mathematical derivatives of your physics to use MPPI, you can easily swap out hand-crafted equations for neural networks that learn flight dynamics from data. Here is the catch: rolling out thousands of candidate trajectories in real time requires a tiny, fast model. Furthermore, a notorious trap in robotics is "objective mismatch"—a neural network that aces offline, one-step prediction tests can still crash a drone when placed inside a live feedback loop, where small errors compound and push the robot into unfamiliar states. The authors ask: Can ultra-compact "liquid" recurrent networks accurately predict quadrotor motion and reliably fly the vehicle inside an MPPI loop?
Methods
The authors keep the standard MPPI optimizer intact and swap out the internal physics simulator for a learned recurrent predictor. They test two flavors of Liquid Neural Networks—which adjust their internal response rates dynamically based on incoming states and inputs—against standard LSTM and Neural ODE (NODE) baselines:
- Liquid Time-Constant (LTC) networks: Continuous-time models integrated via numerical solver substeps.
- Closed-form Continuous-time (CfC) networks: An explicit, gated approximation of liquid dynamics that skips expensive numerical integration altogether.
Instead of predicting everything from scratch, the networks take a short history window of velocities, attitudes, and commands to predict changes in velocity and attitude, while basic known kinematics handle position updates.
Wait—let's look at how it learns:
To prevent the network from panicking when it takes the wheel, LiquidMPPI uses a three-part training recipe:
- Structured Excitation: Probing the system with pseudo-random binary sequences (PRBS)—essentially crisp, step-like jolts to attitude and thrust—to see how it reacts to sudden changes.
- Expert Tracking: Recording trajectories flown by MPPI using an analytical baseline model (with added noise for variety).
- Controller-in-the-Loop Aggregation: Periodically letting the partially trained network actually fly the MPPI controller, recording the states it visits, and folding those transitions back into the training set so the model learns from its own steering habits.
Datasets
Rather than using static, pre-existing public benchmarks, all training datasets are generated synthetically using a reduced-order analytical math model of a Crazyflie nano-quadrotor:
- Compact setting ($n_h = 8$ hidden units): Initialized with 2,000 samples (split evenly between PRBS excitation and MPPI tracking), plus iterative controller-in-the-loop rollouts.
- Larger settings ($n_h \in \{32, 64\}$): Initialized with 20,000 samples and 10x more aggregated transitions across a broader trajectory set.
Crucially, zero retraining happens after this. The frozen models are tested directly across three arenas: the analytical math environment, CrazySim (a software-in-the-loop simulator pairing Gazebo physics with real Crazyflie firmware), and a physical Crazyflie drone tracked via Vicon motion capture. Evaluation spans five nominal 3D paths (like tilted circles and vertical figure-eights) and an aggressive sinusoidal stress test.
Key Insights and Ideas
- Better open-loop predictions $\neq$ better flight control: At 64 hidden units, LSTM achieves top-tier open-loop nominal prediction accuracy, yet suffers higher tracking costs and variability in closed-loop flight than CfC and LTC. Because MPPI constantly replans over short horizons from fresh sensor data, steady local behavior matters far more than long-horizon daydreaming.
- Tiny liquid networks punch way above their weight: When squeezed down to just 8 hidden units and trained on minimal data, liquid models (especially CfC) stay remarkably composed even when hit with command amplitudes over 3x stronger than anything seen in training, whereas LSTM errors skyrocket.
- Zero-shot sim-to-sim and sim-to-real transfer: Even though the predictors only ever saw simplified, drag-free math equations during training, combining history context with fast MPPI feedback allowed the 8-unit CfC network to handle full Gazebo firmware physics and real-world aerodynamics without adaptation.
Key Results
- Open-Loop Rollouts: At 8 hidden units, CfC cuts mean nominal position, velocity, and attitude rollout errors by roughly 37%, 58%, and 73% compared to LSTM, and achieves the lowest mean error on aggressive sine waves across all tested network sizes (8, 32, and 64 units).
- Software-in-the-Loop (CrazySim): Across 500 nominal flights per size, CfC achieves a 0% failure rate across every hidden dimension. In aggressive 8-unit sine tracking, CfC and LTC complete 100/100 flights with low position error (~0.185–0.189 m RMSE), while the 8-unit LSTM crashes in 99 out of 100 attempts.
- Physical Hardware: Using an 8-unit predictor on a real Crazyflie under shared controller settings, CfC successfully tracks all 5 nominal trajectories, whereas LSTM only completes 1 (the tilted square). On the physical aggressive sine maneuver, CfC achieves a 0.207 m position RMSE versus LSTM's 0.256 m—an ~19% error reduction.
Limitations and Future Work
The authors are admirably transparent about what this study does not claim:
- Confounded scale comparisons: Larger networks (32 and 64 units) were also fed 10x more training data than the 8-unit models, meaning comparisons across sizes don't purely isolate network capacity from data volume.
- Hardware statistics & wall-clock budgets: The physical flights serve as feasibility demonstrations rather than multi-trial statistical benchmarks, and models were compared at matched hidden dimensions rather than strictly matched compute/wall-clock budgets.
- Synthetic supervision only: Because models trained solely on drag-free equations, the analytical baseline still beats learned models in simulation. Future work aims to train directly on real flight data (capturing true aerodynamic drag and disturbances), test wind rejection, and run systematic, compute-matched hardware benchmarks.
Summary updated