Transformer-Guided Short-Horizon Predictive Control for Multirotor Landing on Moving Offshore Decks: Computation and Terminal Feasibility

Athanasios ZerisarXiv 2026

TL;DR

Landing a drone on a pitching, heaving ship deck is like threading a needle while riding a bull: arriving at the right spot isn’t enough if your relative velocity turns the touchdown into a crash. This paper investigates whether combining Transformer-generated "warm starts" with compressed mathematical optimizations can make Model Predictive Control (MPC) fast enough for offshore landings without sacrificing terminal precision. It turns out that while clever mathematical shortcuts cut computation time in half, aggressively shrinking the controller's decision window breaks velocity matching—and simply throwing more training data at the AI doesn't bail it out.

What Problem Does This Paper Address?

When landing a multirotor on a moving boat, standard reactive controllers struggle because the target is constantly heaving, rolling, and pitching. Model Predictive Control (MPC) handles this well by simulating future physics over a finite window (the prediction horizon), optimizing a sequence of thrust and torque inputs within hardware limits, applying the first step, and repeating.

Figure 1: Conceptual illustration of multirotor approach to a wave-excited offshore deck. The clearance-offset target is hc = 0.20 m above the landing point along the deck normal. Schematic constructed from geometric primitives for this study; the drawing source is provided with the manuscript. The vessel and multirotor are generic representations and are not drawn to scale. The schematic is not a calibrated vessel model or a physical touchdown demonstration.

The catch? Nonlinear, constrained optimization is computationally heavy. If the solver takes four seconds to think, a 0.2-second control loop is dead in the water. Engineers often speed things up by shortening the number of future steps they actively optimize or using neural networks to guess a good starting trajectory. The author asks a sobering, practical question: when we take these computational shortcuts for a moving deck, do we still arrive gently enough to actually land?

Methods

The baseline framework uses Sequential Convex Programming (SCP)—an iterative method that repeatedly linearizes the 3D rigid-body drone dynamics around a nominal trajectory, solves a local convex optimization subproblem, and verifies the result against a 4th-order Runge-Kutta (RK4) physics simulation. Rather than modeling physical touchdown, the controller targets a moving clearance point 0.20 m along the deck's normal vector.

Figure 2: Transformer-guided Haar SCP-MPC workflow. The earlier network proposes physical controls; HT10/FAA predicts Haar coefficients. SCP corrects the reconstructed controls, and RK4 rollout checks objective descent. Full20 and Short10 differ in the adjustable control segment; CL31–CL33 accelerate derivative and convex-problem calculations.

On top of standard SCP-MPC, the author evaluates several modifications:

  • Transformer Warm-Starts: Causal Transformer networks propose initial control trajectories (either predicting physical thrust/torques directly or predicting compressed basis coefficients) so the physics-based SCP solver doesn't start from scratch.
  • Haar Wavelet Parameterization: Instead of optimizing raw control inputs at every single timestep, control corrections are represented using orthonormal Haar basis functions—capturing broad adjustments and fine tweaks with fewer variables (e.g., 52 scalars instead of 80).
  • Terminal-Aware Short-Decision Horizons: Optimizing only the first 10 steps ($P=10$) while holding the remaining 10 steps ($H=20$) fixed at the Transformer's guess, yet still propagating how early tweaks ripple all the way to the final landing state.
  • Attitude-Alignment Weighting (FAA/PFAA): Comparing fixed orientation penalties against penalties that ramp up based on deck height (FAA) or estimated closing time (PFAA).
  • Solver Acceleration: Combining sensitivity condensation (mathematically eliminating intermediate state variables from the convex solver) with forward-difference Jacobians (halving the physics evaluations needed to compute local derivatives).

Datasets

All data in this study is synthetic and simulation-generated:

  • Sea-Motion Scenarios: Generated via two distinct mathematical families—baseline harmonic sine waves (prescribed heave, roll, and pitch) and deterministic 160-frequency irregular waves shaped by a JONSWAP spectrum. A 30-scenario benchmark suite is used to test planning feasibility.
  • Expert Demonstrations: Physics-based SCP trajectories solved offline serve as training data for the Transformers. An initial autoregressive model used 28 trajectories (22 train, 6 held-out), while a scaling benchmark for the coefficient-predicting Transformer tested training sets of 72, 400, and 2,000 examples.

Key Insights and Ideas

  • Position is easy; relative velocity is the bottleneck. When cutting the optimized decision horizon in half, the drone still hit the 0.50 m position target 100% of the time, yet failed the 0.30 m/s relative-speed limit more than half the time. You need late-horizon control authority to match the deck's heave and rotational velocity right at the end.
  • Better ML accuracy $\neq$ better control feasibility. Scaling the Transformer's training set from 72 to 2,000 examples slashed action-prediction error by more than half, yet terminal landing feasibility didn't budge. Supervised imitation accuracy on average controls does not guarantee satisfying tight physical velocity limits at the finish line.
  • Numerical plumbing beats horizon-chopping. Instead of sacrificing control authority by shortening the decision window, restructuring the math via sensitivity condensation and forward-difference derivatives cut compute time by over 50% while producing virtually identical trajectories.

Key Results

  • Horizon Trade-offs: In the 30-scenario planning benchmark, optimizing all 20 steps met terminal position and velocity criteria in 29/30 cases (median wall time: 8.84 s). Optimizing only the first 10 steps dropped median time to 6.12 s, but feasibility plummeted to 13/30 cases.
  • Data Scaling: Across 72, 400, and 2,000 training examples, held-out thrust RMSE improved from 0.0303 N to 0.0117 N, but short-horizon feasibility stayed flat (13/30, 12/30, and 12/30).
  • Attitude Weighting: Fixed, height-based (FAA), and closing-time-based (PFAA) attitude weights all resulted in 13/30 feasible cases, with tiny variations in mean attitude error (~2.07°–2.08°).
  • Computational Speedup: In a matched 20-update closed-loop test, combining sensitivity condensation and forward differences reduced median update wall time by 54.9% (from 4.771 s to 2.153 s), with state and control trajectories matching the baseline within $1.43 \times 10^{-5}$ and $4.77 \times 10^{-6}$ units, respectively.

Limitations and Future Work

The author is refreshingly candid about what this simulation study does not prove:

  • Not yet real-time: Even with the 54.9% speedup, 18 out of 19 optimized closed-loop updates exceeded the nominal 0.2 s sampling interval, and computational delays were not injected back into the simulated drone.
  • Idealized physics: The simulations omit wind gusts, aerodynamic ship-wake interactions, sensor noise, state-estimation lag, individual motor saturation, and actual landing-gear contact dynamics. Furthermore, the wave models are illustrative, not calibrated to a real vessel.
  • Next steps: Bridging this to reality will require delay-aware control formulations, synchronized onboard IMU/vision/RTK sensing, rotor-level command allocation, and supervisory algorithms that actively wait for calm wave windows—or query pre-computed offline trajectory libraries—before committing to touchdown.

Summary updated

BibTeX
@misc{zeris2026transformer,
  author = {Athanasios Zeris},
  title = {{Transformer-Guided Short-Horizon Predictive Control for Multirotor Landing on Moving Offshore Decks: Computation and Terminal Feasibility}},
  year = {2026},
  eprint = {2611.36447},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36447},
}
Figure