Manuscript Offprint
arXiv:2610.30810Adaptive Aerial Loco-Manipulation Policy Learning via LLM-Assisted Proactive Task Generation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Loco-manipulation extends the workspace of conventional manipulation by combining mobility with physical interaction, while aerial loco-manipulation further expands this capability into three-dimensional space, enabling robots to reach environments inaccessible to ground-based systems. Moving to an aerial platform, however, gives rise to a demanding control problem, since the vehicle must track trajectories accurately in three dimensions while the motion of the arm and its interaction with the environment continuously shift the center of mass, alter the inertia, and impose force and moment disturbances on the body. Conventional controllers address these effects through explicit models and estimation, whereas learning-based controllers infer dynamics from experience, yet control rewards provide no direct target for the response information retained from history, and fixed task sampling can leave persistent tracking difficulties insufficiently explored. We present ALMA, an aerial loco-manipulation framework for adaptive flight control under external arm commands. ALMA employs a contextual flight policy that adapts from recent measurements and actions, using action-conditioned prediction of future measurement representations to train its context to retain response information relevant to flight control. To expand the experience available for this adaptation, an evolutionary process uses a large language model (LLM) to analyze observed control difficulties and propose new structures of arm motion for subsequent training. In simulation, ALMA reduces position root-mean-square error (RMSE) by up to 24.7% relative to the strongest baseline, while the same policy transfers zero-shot to the aerial manipulator and reduces hover position RMSE by 79.6% during periodic arm motion relative to the real-world baseline.
1 Introduction
Loco-manipulation extends the workspace of conventional manipulation by combining mobility with physical interaction, while aerial loco-manipulation further expands this capability into three-dimensional space, enabling robots to reach and operate in elevated, cluttered, and hazardous environments inaccessible to ground-based systems Ollero et al. [2021]. However, changes in arm configuration continuously alter the mass distribution and inertia of the complete system, while joint accelerations and physical contact generate reaction forces and moments on the aerial base Yadav et al. [2024]. The flight controller must therefore maintain accurate trajectory tracking while adapting to changes in system response that are only partially revealed by available measurements.
Conventional aerial manipulation controllers compensate for uncertain manipulation effects through analytically designed feedback and adaptive laws Yadav et al. [2024], Sharma et al. [2025], whereas learning-based methods infer
These authors contributed equally.
Corresponding authors: Lei Yuan (yuanl@lamda.nju.edu.cn) and Hongli Xu (xuhongli@mail.neu.edu.cn).
A PREPRINT
dynamics information from experience. Aco2 Jin et al. [2026] learns a history-dependent context using contrastive supervision to distinguish payload conditions, while the controller in Ujjawal et al. [2026] learns multi-step dynamics residuals and adapts their predictions online for disturbance compensation. Their auxiliary objectives respectively organize context by task identity and train a residual predictor for a prescribed compensation law, while predictive-state methods use future observations to supervise the internal representation used for decision making Venkatraman et al. [2017], Hefny et al. [2018]. For aerial manipulation, similar instantaneous measurements can correspond to different hidden actuator and disturbance states that require different corrective actions. Predicting future measurement representations conditioned on recorded actions provides a direct training target for retaining these response distinctions in the history representation used by the flight policy. Since the available response information depends on the motion conditions encountered during training, repeatedly sampling fixed motion patterns can leave persistent tracking difficulties insufficiently explored, motivating adaptive sampling Jiang et al. [2021], Mehta et al. [2020] and task generation Parker-Holder et al. [2022] that direct subsequent experience according to the policy's evolving performance.
We present ALMA, an aerial loco-manipulation framework for adaptive flight control under external arm commands. Inspired by the JEPA Assran et al. [2023], ALMA trains its contextual flight policy by predicting learned representations of future measurements from recent history and subsequent actions, thereby supervising the information retained for control. Since learning this adaptation also depends on the responses encountered during training, ALMA uses a large language model (LLM) to analyze episode records, identify motion patterns associated with poor tracking, and propose new structures of arm motion that direct subsequent experience toward difficulties insufficiently addressed by the initial task distribution. Predictive supervision thus trains the context using measured action-response relationships, while task generation broadens the motion conditions that supply subsequent experience, connecting response learning with the policy's remaining tracking difficulties. Both components operate during training, while deployment retains the contextual flight policy to adapt to the changing effects of manipulation.
In simulation, ALMA achieves the lowest mean position RMSE among evaluated controllers, reducing error relative to the strongest baseline by 24.5% under static arm commands and 24.7% under periodic commands, while ablations support the tracking benefit of predictive supervision and the generalization benefit of task generation, with base performance retained. The same policy transfers zero-shot to the aerial manipulator and reduces hover position RMSE by 79.6% during periodic arm motion relative to the real-world baseline.
2.1 Aerial Manipulation
Aerial manipulation has been studied using model-based planning and feedback control Tzoumanikas et al. [2020], with adaptive approaches compensating for uncertain manipulation effects through online estimation Yadav et al. [2024]. Learning-based methods obtain adaptation information from experience, with Aco2 Jin et al. [2026] combining a history-dependent policy with contrastive supervision for suspended payloads and Ujjawal et al. [2026] predicting multi-step dynamics residuals and adapting their predictions online for compensation. These methods learn information for adaptation by organizing payload-dependent context or estimating corrections to nominal dynamics. Related predictive-state methods, including PSD Venkatraman et al. [2017] and RPSP Hefny et al. [2018], use prediction of future observations to supervise the internal state used for decision making, offering a learning principle for the history representation of a flight controller. Building on predictive-state learning and the JEPA principle of prediction in representation space Assran et al. [2023], ALMA trains its contextual flight policy to predict future measurement representations conditioned on recorded actions, linking the history retained for adaptation to subsequent system responses.
2.2 LLM-Assisted Task Generation
LLMs have been used to construct robot learning curricula, with CurricuLLM Ryu et al. [2025] generating task code and evaluating the policies trained from it. Feedback also guides program improvement in ReEvo Ye et al. [2024], which revises heuristics through reflection on evaluated performance, and FunSearch Romera-Paredes et al. [2024], which combines generated program proposals with external evaluation. These methods demonstrate how language-model proposals can be refined using execution results, complementing policy-driven curricula such as PLR Jiang et al. [2021], which prioritizes existing tasks, and ACCEL Parker-Holder et al. [2022], which introduces new training conditions through environment edits. Drawing on these approaches, ALMA uses the current flight policy's execution records to guide the generation of external arm motions, adapting the training experience as the controller's performance changes.
A PREPRINT

Figure 1: Overview of ALMA. Predictive supervision and LLM-assisted task generation train the contextual flight policy, while only the policy is retained for deployment.
3 Background
We consider trajectory tracking for an aerial manipulator under external arm commands, where arm motion and uncertain physical conditions produce system responses that are only partially observed. With arm commands outside the flight policy’s action space and access to their future values not assumed, the objective is a single policy that adapts its flight actions to the observed response.
Each admissible task specifies a flight reference and an arm-command process, inducing a partially observable Markov decision process (POMDP) . Here, and are the state and action spaces, is the transition kernel, is the reward, and define observations, and is the discount factor. The state contains physical and hidden process variables together with the previous action, while observations provide reference information and available measurements. Actions depend on the history through .
For task , is the expected return, where the bounded reward evaluates tracking and control behavior, and the expectation includes initial states, hidden physical conditions, and policy trajectories. At training stage , tasks are sampled from a distribution over , and policy learning maximizes . Since determines which arm motions contribute to learning, we also consider updating it according to policy performance, starting from . Section 4 specifies the policy representation and training task construction.
4 Method
As illustrated in Fig. 1, ALMA addresses the formulation in Sec. 3 through policy representation and training experience, using a contextual flight policy that adapts to the observed system response and predictive supervision that constrains the information retained in its context. Proactive task generation complements this representation learning by using execution feedback to construct additional manipulation tasks.
A PREPRINT
4.1 Contextual Flight Policy
ALMA implements the contextual flight policy through a recurrent architecture operating at control period , with its observations, action space, and reward specified below.
Architecture At each step, the policy receives , comprising the flight reference preview, current measurements, and previous action. A convolutional neural network (CNN) encodes the ordered preview points into the reference feature , while separate multilayer perceptrons (MLPs), termed the state and action encoders, map to the measurement feature and encode , respectively. The measurement and action features are concatenated and passed to a gated recurrent unit (GRU), whose updated hidden state serves as the policy context and is concatenated with and to parameterize the action distribution. Current measurement features provide direct feedback, while the context summarizes recent actions and measured responses, enabling adaptation during deployment through updates from to with fixed network parameters.
Observation Let index the preview points, with denoting the look-ahead time of point . At control time , the preview stacks body-frame position errors and yaw encodings between the flight reference at and the latest vehicle pose, with yaw errors computed from world-frame headings. The measurement vector is , where and are body-frame linear and angular velocities, is the gravity vector expressed in the body frame, and contains arm joint positions, with all observation inputs available at deployment.
Action space The action space is , with each component specifying a normalized rotor command mapped to thrust through the actuator model and motor dynamics. Higher-level interfaces such as the collective-thrust and body-rate commands in Aco2 Jin et al. [2026] leave rotor commands to downstream control, and a nominal allocator converts requested thrust and moments using fixed rotor geometry Meier and The PX4 Contributors. For unchanged rotor thrusts, a center-of-mass shift from to changes the resultant moment by , where is the resultant rotor force and all vectors are body-frame quantities. Because an allocator defined about retains the original moment arms while arm inertia and reaction forces and moments additionally change the response, ALMA places individual selection of rotor commands inside the contextual flight policy, allowing , , and to determine the correction without a separate nominal allocator.
Reward The reward balances tracking accuracy, control smoothness, and flight safety, with the pose term rewarding position and yaw accuracy and the remaining terms penalizing changes between consecutive actions and crash termination.
4.2 Predictive Context Learning
Motor lag and arm-induced reactions can cause different responses to the same rotor commands despite similar current measurements , making recent measurement–action history relevant to selecting corrections. Control rewards jointly train the representation of this history in and the actions selected from it, whereas ALMA follows PSD Venkatraman et al. [2017] and RPSP Hefny et al. [2018] in using subsequent measured responses to give the shared context a direct prediction target.
Following JEPA Assran et al. [2023], predictive supervision is defined in a learned representation space, with a predictor estimating future measurement representations from the policy context and recorded actions and a target encoder providing the corresponding targets from subsequent measurements. The state encoder in Sec. 4.1 is the online measurement encoder shared with the policy, whose features join the action features in the GRU to form . For a prediction horizon of control steps, the recurrent predictor projects into , sequentially processes the recorded rotor commands , and maps to through a shared head for , following PBL Guo et al. [2020] and the recurrent design of ADM-v2 Lin et al. [2026].
The target encoder has the same architecture as the state encoder and maps the recorded to . Following SPR Schwarzer et al. [2020], we stop gradients through the target branch and update its parameters by an exponential moving average (EMA) of the parameters of the state encoder after each complete policy update, , where is the decay. The prediction loss updates the predictor, GRU, and shared state and action encoders, while EMA supplies a gradually updated target representation. For valid same-episode starting indices , the cosine prediction loss is
A PREPRINT
The prediction target is a learned measurement representation, following JEPA Assran et al. [2023], so predictive supervision acts in the feature space that the policy learns for control. We measure prediction error using cosine distance as in SPR Schwarzer et al. [2020], which equals one half of the squared Euclidean distance between -normalized prediction and target vectors. This aligns their directions independently of their overall magnitudes, while averaging over valid samples at each offset and then over the K offsets gives each prediction step equal weight.
Prior analyses of self-predictive learning address optimization dynamics Tang et al. [2023] and the predictive relationship between state and history representations Ni et al. [2024]. To characterize how the prediction objective constrains ALMA's history representation, fix the policy, recurrent initialization, target encoder, trajectory distribution, and offset , and let be the measurement–action history, with , , and for nonzero targets. Define and , with unit directions , chosen arbitrarily for zero means. The minimum expected cosine losses over unrestricted unit-vector predictors are for , so their difference measures the prediction cost of replacing the full history with the context:
Indeed, the tower property gives , and expanding the squared distance yields the identity. Under the same recorded commands, merging histories that imply different directions of the conditional target means increases the minimum prediction loss. The prediction objective therefore favors a recurrent context that preserves historical distinctions relevant to future system responses.
To relate these distinctions to flight control, consider two trajectories with the same initial vertical velocity, a common fixed near-level attitude, mass , motor time constant , and subsequent external-force history, but different initial thrusts. Let denote the vertical component of rotor thrust, its steady-state value under a held command, and the difference between trajectories, with . In a local first-order approximation, and , where is world-frame vertical velocity and is the difference between constant steady-state thrusts associated with held rotor commands. Solving the thrust equation gives , and integrating the velocity equation over for yields
where satisfies . Under a common command, , different initial thrusts produce different future velocities, while equal terminal velocities require when the corresponding commands are feasible.
When recent measurements and commands distinguish these initial thrusts and the target encoder preserves their velocity effects as different target directions, (2) gives a prediction incentive to retain information needed for the corrections in (3). Predictive supervision thus trains a control-relevant aspect of the history representation, while the control objective trains how that representation is used to select rotor commands. Deployment uses the contextual flight policy alone.
4.3 Proactive Task Generation
Because predictive supervision learns from the responses present in training trajectories, proactive task generation proposes and evaluates additional arm motions to identify persistent tracking difficulties, using selected motions to broaden experience for response learning and control. Each task specifies a flight-reference trajectory and an external arm command sequence, with task generation varying while retaining the tracking objective.
An LLM agent harness Ning et al. [2026] provides the software layer for this analysis, organizing tool-based access to execution evidence, evidence-linked notes across proposal rounds Shinn et al. [2023], and the hand-off from motion proposals to candidate evaluation, so that the LLM can use the records to propose changes in joint coordination and timing. A motion program specifies participating joints, directions, and the order of movement and holding events, while bounded parameters specify amplitudes, durations, and starting times. Given a nominal arm reference , the generator produces , with a task family defined by fixing and while varying . Parameter search explores that family's instances, while a new program can introduce previously absent joint combinations and event orders. Each instance supplies joint position commands to the arm controller, while ALMA selects rotor commands from the observed response.
Within each family, Sobol sampling proposes bounded parameters whose physically feasible instances are evaluated with the current policy held fixed, initially on a subset of predefined initial conditions and physical parameters. An episode's tracking fraction is the proportion of its duration for which both position and yaw errors remain within their tolerances, with failed episodes assigned zero. Lower mean tracking fractions identify greater tracking difficulty and
A PREPRINT
receive priority, with ties resolved by decreasing position RMSE and then yaw RMSE. Selected candidates serve as parents for local variations and amplitude reductions before evaluation on the full condition set, and retained motions are paired with compatible base-training references and physical configurations. The retained population at stage is replaced by eligible selected tasks to form , or kept unchanged when none are eligible, with evaluation results informing later proposals.
4.4 Training Procedure
Training randomizes vehicle, arm, and payload masses and centers of mass, rotor thrust and moment coefficients, motor response, and servo gains, together with measurement noise, action delays, and external disturbances Peng et al. [2018]. An asymmetric actor–critic architecture Pinto et al. [2017] uses the contextual flight policy as actor and an independent MLP as critic, with the latter receiving privileged simulator information and a detached . Policy learning uses Proximal Policy Optimization (PPO) Schulman et al. [2017] to optimize the control return, with prediction errors from recorded action–response sequences providing an additional gradient to the shared recurrent representation through .
Domain randomization varies physical responses, while task generation varies arm-motion experience through episode sampling from , where samples retained tasks. The generated-task probability starts at 0.05 when tasks become available, is capped at 0.20, and is zero for an empty population.
Tracking fractions and crash rates guide the adjustment of , which is reduced when performance on base tasks deteriorates, generated tasks are mastered, or crashes persist without improvement. Otherwise, it remains fixed while generated-task performance improves and increases when performance on base tasks is stable but generated-task performance is not improving. The same feedback determines when to request new tasks, allowing exposure to generated tasks to evolve with the policy while continued base-task sampling maintains training on the original motion conditions.
5 Experiments
The experiments address four questions. Q1: How does ALMA compare with baselines under static and periodic arm commands? Q2: How do context, predictive supervision, and prediction horizon affect tracking? Q3: How do task generation and proposal strategy affect generalization and base-benchmark performance? Q4: Does the policy trained in simulation maintain tracking accuracy in real-world experiments with fixed network parameters?
5.1 Experimental Setup
Training and evaluation All learned controllers are trained in NVIDIA Isaac Sim NVIDIA. ALMA operates at 100 Hz, with prediction steps (10–50 ms), , and target-encoder EMA decay after each complete PPO update, while motor time constants are randomized over 30–60 ms. Policy training takes approximately one hour on a single NVIDIA RTX 4090 GPU, with GPT-5.6 Sol task proposals costing approximately 15 per run. MuJoCo Todorov et al. [2012] provides the simulated plant in hardware-in-the-loop (HIL) evaluations, with a physical flight controller executing control at the same frequency, while real-world experiments evaluate the same policy trained in simulation on the aerial manipulator with fixed network parameters.
Experimental platform The quadrotor has a diagonal wheelbase of 500 mm, a total takeoff mass of 2.39 kg, and a maximum total thrust of 98.68 N, while its four-degree-of-freedom (4-DoF) arm and two-finger parallel gripper together weigh 0.516 kg and provide a maximum reach of approximately 0.62 m. The propulsion system uses T-MOTOR F100 KV1350 motors, HQProp HQ-8045-3 propellers, and a 6S 4600 mAh battery, with vehicle pose supplied by external motion capture.
Benchmark and evaluation protocol The main benchmark combines Hover with the Figure-eight, Polynomial, Pentagram, and Zigzag references adapted from SimpleFlight Chen et al. [2025] (Fig. 2). Controllers track identical flight references under identical external arm commands that hold selected configurations in static tests and repeat prescribed movements in periodic tests, while each baseline retains its native observation and control interface. Position RMSE and yaw RMSE are computed over successful trials using the three-dimensional Euclidean position error and wrapped yaw error, respectively, while success rate (SR) is the fraction of successful trials among all attempts. Learned controllers use three training seeds, with aggregation specified in each table note.
A PREPRINT


Figure 2: Representative flight-reference trajectories in the main benchmark. From left to right: Figure-eight, Polynomial, Pentagram, and Zigzag. The benchmark also includes Hover (not shown) and evaluates the Figure-eight and Pentagram trajectories at multiple speeds.
5.2 Flight Tracking
For Q1, we compare ALMA with five baselines: PID Meier and The PX4 Contributors uses the PX4 cascaded controller with fixed gains and nominal allocation, while PID-INDI Smeur et al. [2016] retains the PID outer loops and uses an INDI inner loop with angular velocity, angular acceleration, and rotor-speed feedback. PID+ Wu et al. [2025] adds filtered translational and rotational corrections, while our NMPC implementation incorporates manipulator dynamics into the finite-horizon prediction model Sun et al. [2022]. The adapted controller of Zhang et al. Zhang et al. [2025] infers latent dynamics from recent measurements and actions and additionally receives arm observations.
Table 1: Overall Flight Tracking Performance
| Method | Static Arm Commands | Periodic Arm Commands | ||||
|---|---|---|---|---|---|---|
| Position RMSE (cm) ↓ | Yaw RMSE (°) ↓ | SR (%) ↑ | Position RMSE (cm) ↓ | Yaw RMSE (°) ↓ | SR (%) ↑ | |
| PID Meier and The PX4 Contributors | 4.514 ± 0.180 | 0.299 ± 0.178 | 100 | 42.479 ± 15.746 | 0.577 ± 0.178 | 100 |
| PID-INDI Smeur et al. [2016] | 4.230 ± 0.036 | 0.031 ± 0.006 | 100 | 6.770 ± 2.041 | 0.037 ± 0.016 | 100 |
| PID+ Wu et al. [2025] | 3.893 ± 0.162 | 0.263 ± 0.179 | 100 | 24.654 ± 6.896 | 0.426 ± 0.166 | 100 |
| NMPC Sun et al. [2022] | 3.082 ± 0.618 | 0.180 ± 0.078 | 100 | 3.315 ± 0.089 | 0.176 ± 0.096 | 100 |
| Zhang et al. Zhang et al. [2025] | 6.434 ± 2.473 | 1.279 ± 1.279 | 83.33 | 10.794 ± 2.689 | 2.459 ± 1.221 | 100 |
| ALMA (Ours) | 2.326 ± 0.332 | 0.439 ± 0.132 | 100 | 2.497 ± 0.209 | 0.499 ± 0.089 | 100 |
Note: The upper and lower blocks contain conventional and learning-based controllers, respectively. Flight-reference results are weighted equally within each arm command condition, with results for learning-based controllers first averaged across three training seeds. Mean ± sample standard deviation is then reported across arm command conditions, while SR includes all attempted trials. The lowest and second-lowest mean RMSE values are shown in bold and underlined, respectively.
Table 1 shows that ALMA achieves the lowest mean position RMSE under both static and periodic arm commands, reducing error relative to NMPC, the strongest position-tracking baseline, by and , respectively, while PID-INDI achieves the lowest yaw RMSE in both settings. Relative to Zhang et al. Zhang et al. [2025], ALMA reduces position and yaw RMSE under periodic arm commands by and , respectively, with an SR of in both settings compared with that baseline's under static commands.
ALMA maintains its position-tracking advantage under periodic arm commands, with position RMSE increasing by from the static setting, close to NMPC's . Static configurations change the mass distribution and inertia, whereas periodic motion additionally produces time-varying reaction forces and moments, making the recent motion history relevant to the required correction. Within ALMA, the contextual flight policy combines current measurements with recent actions and measured responses to select rotor commands, while the following ablation in Sec. 5.3 examines how predictive supervision contributes to learning this history representation.
5.3 Predictive Context Learning
For Q2, the benchmark adds payload changes and transient and sustained external forces that alter the response even at similar arm configurations. FEEDFORWARD replaces the GRU with a parameter-matched MLP, while GRU ONLY uses recurrence without predictive supervision. With task generation disabled throughout this ablation, PRED-1, PRED-3, PRED-5, and PRED-10 add prediction targets at steps 1, ..., K for their respective horizons.
A PREPRINT
Table 2: Ablation Study of Predictive Context Learning
| Variant | Position RMSE (cm) ↓ | Yaw RMSE (°) ↓ |
|---|---|---|
| FEEDFORWARD | ||
| GRU ONLY | ||
| PRED-1 | ||
| PRED-3 | ||
| PRED-5 (Ours) | ||
| PRED-10 |
Note: Results are averaged equally across evaluation conditions within each seed and reported as mean ± sample standard deviation across training seeds. Best and second best results are shown in bold and underlined, respectively. Task generation is disabled for all variants.
Table 2 shows lower yaw RMSE for GRU ONLY than FEEDFORWARD, with similar position means, while PRED-5 further reduces position and yaw RMSE by 11.0% and 25.0% relative to GRU ONLY. Since the recurrent actor architecture is unchanged, this comparison isolates the effect of training its context with future-response prediction, connecting the representation constraint in (2) to improved tracking performance.
PRED-5 has the lowest mean position RMSE, with its five-step targets covering more of the transient described by a first-order motor model, in which the completed fraction of a step response at time is . For ms, this fraction is 15–28% at 10 ms and 57–81% at 50 ms, providing a possible mechanism for improved position tracking over the five-step horizon. Although PRED-1 has the lowest mean yaw RMSE, 0.011° lower than that of PRED-5, we choose for its position-tracking performance.
PRED-10 has higher mean position and yaw RMSE than PRED-5, while equal weighting in (1) halves the combined weight of the first five targets when doubles. Because more distant targets can also depend more strongly on future arm commands absent from the predictor input, the resulting shift in supervision may reduce the emphasis on immediate, predictable responses.
5.4 Proactive Task Generation
For Q3, we use Hover to evaluate generalization across different arm motions while holding the flight reference fixed, allowing the comparison to focus on tracking under arm-induced responses. The evaluation covers out-of-distribution (OOD) arm motions with joint velocities and accelerations beyond the training ranges, reserved family variants with unseen parameter settings, and the base benchmark. ALMA-BASE retains the contextual policy and predictive supervision but trains only on , while RANDOM EVOLUTION replaces LLM proposals with random structural variations under the same search and selection procedure.
Table 3: Ablation of Proactive Task Generation
| Method | OOD Arm Motions | Reserved Family Variants | Base Benchmark | |||
|---|---|---|---|---|---|---|
| Position RMSE (cm) ↓ | Yaw RMSE (°) ↓ | Position RMSE (cm) ↓ | Yaw RMSE (°) ↓ | Position RMSE (cm) ↓ | Yaw RMSE (°) ↓ | |
| ALMA-BASE | ||||||
| RANDOM EVOLUTION | ||||||
| ALMA (Ours) | ||||||
Note: ALMA-BASE trains only on , while RANDOM EVOLUTION replaces ALMA's LLM proposals with random structural variations while retaining the same evolution and selection procedure. Within each training seed, evaluation conditions are weighted equally within each benchmark. Entries report the mean ± sample standard deviation across training seeds. Bold and underlined values indicate the lowest and second-lowest mean RMSE in each column, respectively.
Table 3 reveals different patterns of generalization across the evaluated motion conditions. Relative to ALMA-BASE, RANDOM EVOLUTION improves four of the six mean RMSE metrics, but its 12.3% reduction in yaw RMSE on reserved family variants is accompanied by a 15.6% increase in OOD yaw error. In contrast, ALMA improves all six metrics, achieving a further 22.8% reduction in OOD yaw RMSE relative to RANDOM EVOLUTION. This difference highlights the role of motion-structure proposals in generalization: since both methods use the same candidate search and selection procedure, their different generalization outcomes suggest that the proposed motion structures influence
A PREPRINT
transfer, as parameter search can refine a given structure but cannot introduce new joint coordination patterns or event sequences.
5.5 Real-World Experiments
For Q4, the policy trained in simulation is deployed on the onboard flight controller with fixed network parameters and compared with PID in real-world experiments. Each control step uses one forward pass of the contextual flight policy, with inference taking ms, approximately 17% of the 10 ms control period.
(a) Home configuration

(b) Fully extended forward

Figure 3: Zero-shot trajectory tracking in real-world experiments with the arm in (a) the home configuration and (b) the fully extended forward configuration.
(a)

(b)
(c)
(d)
(e)
(f)
Figure 4: Real-world hover stabilization under periodic arm commands. Panels (a)–(c) show PID and panels (d)–(f) show ALMA at corresponding stages of the same arm motion. Position RMSE is 3.17 cm for ALMA and 15.55 cm for PID.
The same policy has lower position RMSE on the Figure-eight reference and a reference tracing the letters ICRA in the home and fully extended forward configurations (Fig. 3). As extension changes the center of mass and inertia, joint-position feedback indicates the configuration while recent measurements and rotor commands describe the response under that configuration, allowing these experiments to evaluate their combined use by one contextual flight policy.
During hover under periodic arm commands with an 8 s arm-motion period, ALMA reduces position RMSE from PID's 15.55 cm to 3.17 cm, a 79.6% reduction (Fig. 4). Together, the trajectory-tracking and hover experiments demonstrate zero-shot transfer of a single contextual flight policy across fixed arm configurations and continuous arm motion.
6 Conclusions
This paper presented ALMA for adaptive flight control under external arm commands, combining action-conditioned predictive supervision of the policy context with LLM-assisted task generation guided by execution feedback. The analysis relates historical response information to actuator-dependent corrections, while simulation results show the lowest mean position RMSE among evaluated controllers, with up to a 24.7% reduction relative to NMPC. Ablations support the tracking benefit of predictive supervision and the OOD generalization benefit of task generation, while
A PREPRINT
real-world experiments demonstrate zero-shot deployment with a 79.6% reduction in hover position RMSE relative to PID during periodic arm motion. Future work will investigate improved yaw tracking and contact-aware control with force feedback and contact constraints.
References
Anibal Ollero, Marco Tognon, Alejandro Suarez, Dongjun Lee, and Antonio Franchi. Past, present, and future of aerial robotic manipulators. IEEE Transactions on Robotics, 38(1):626–645, 2021.
Rishabh Dev Yadav, Swati Dantu, Wei Pan, Sihao Sun, Spandan Roy, and Simone Baldi. Modular adaptive aerial manipulation under unknown dynamic coupling forces. IEEE/ASME Transactions on Mechatronics, 30(4):2688–2698, 2024.
Amitabh Sharma, Saksham Gupta, Shivansh Pratap Singh, Rishabh Dev Yadav, Hongyu Song, Wei Pan, Spandan Roy, and Simone Baldi. Impedance and stability targeted adaptation for aerial manipulator with unknown coupling dynamics. In 2025 25th International Conference on Control, Automation and Systems (ICCAS), pages 471–476. IEEE, 2025.
Lixuan Jin, Bingxuan Lan, Xinyi Bao, Xiangyuan Xie, Chunjie Zhang, Zheng Chen, Tianshuo Liu, Ruijie Tian, Jinyu Ru, Gang Wang, et al. Autonomous aerial manipulation via contextual contrastive meta reinforcement learning. arXiv preprint arXiv:2606.08533, 2026.
Samaksh Ujjawal, Naveen Sudheer Nair, Shivansh Pratap Singh, Rishabh Dev Yadav, Wei Pan, and Spandan Roy. Learn structure, adapt on the fly: Multi-scale residual learning and online adaptation for aerial manipulators. arXiv preprint arXiv:2603.11638, 2026.
Arun Venkatraman, Nicholas Rhinehart, Wen Sun, Lerrel Pinto, Martial Hebert, Byron Boots, Kris Kitani, and J Bagnell. Predictive-state decoders: Encoding the future into recurrent networks. Advances in Neural Information Processing Systems, 30, 2017.
Ahmed Hefny, Zita Marinho, Wen Sun, Siddhartha Srinivasa, and Geoffrey Gordon. Recurrent predictive state policy networks. In International Conference on Machine Learning, pages 1949–1958. PMLR, 2018.
Minqi Jiang, Edward Grefenstette, and Tim Rocktäschel. Prioritized level replay. In International Conference on Machine Learning, pages 4940–4950. PMLR, 2021.
Bhairav Mehta, Manfred Diaz, Florian Golemo, Christopher J Pal, and Liam Paull. Active domain randomization. In Conference on Robot Learning, pages 1162–1176. PMLR, 2020.
Jack Parker-Holder, Minqi Jiang, Michael Dennis, Mikayel Samvelyan, Jakob Foerster, Edward Grefenstette, and Tim Rocktäschel. Evolving curricula with regret-based environment design. In International Conference on Machine Learning, pages 17473–17498. PMLR, 2022.
Mahmoud Assran, Quentin Duval, Ishan Misra, Piotr Bojanowski, Pascal Vincent, Michael Rabbat, Yann LeCun, and Nicolas Ballas. Self-supervised learning from images with a joint-embedding predictive architecture. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15619–15629. IEEE, 2023.
Dimos Tzoumanikas, Felix Graule, Qingyue Yan, Dhruv Shah, Marija Popovic, and Stefan Leutenegger. Aerial manipulation using hybrid force and position nmpc applied to aerial writing. arXiv preprint arXiv:2006.02116, 2020.
Kanghyun Ryu, Qiayuan Liao, Zhongyu Li, Payam Delgosha, Koushil Sreenath, and Negar Mehr. Curricullm: Automatic task curricula design for learning complex robot skills using large language models. In 2025 IEEE International Conference on Robotics and Automation (ICRA), pages 4470–4477. IEEE, 2025.
Haoran Ye, Jiarui Wang, Zhiguang Cao, Federico Berto, Chuanbo Hua, Haeyeon Kim, Jinkyoo Park, and Guojie Song. Reevo: Large language models as hyper-heuristics with reflective evolution. Advances in neural information processing systems, 37:43571–43608, 2024.
Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M Pawan Kumar, Emilien Dupont, Francisco JR Ruiz, Jordan S Ellenberg, Pengming Wang, Omar Fawzi, et al. Mathematical discoveries from program search with large language models. Nature, 625(7995):468–475, 2024.
Lorenz Meier and The PX4 Contributors. PX4 Autopilot. URL https://github.com/PX4/PX4-Autopilot.
Zhaohan Daniel Guo, Bernardo Avila Pires, Bilal Piot, Jean-Bastien Grill, Florent Altché, Rémi Munos, and Mohammad Gheshlaghi Azar. Bootstrap latent-predictive representations for multitask reinforcement learning. In International Conference on Machine Learning, pages 3875–3886. PMLR, 2020.
A PREPRINT
Haoxin Lin, Siyuan Xiao, Yi-Chen Li, Zhilong Zhang, Yihao Sun, Chengxing Jia, and Yang Yu. Adm-v2: Pursuing full-horizon roll-out in dynamics models for offline policy learning and evaluation. In The Fourteenth International Conference on Learning Representations, 2026.
Max Schwarzer, Ankesh Anand, Rishab Goel, R Devon Hjelm, Aaron Courville, and Philip Bachman. Data-efficient reinforcement learning with self-predictive representations. arXiv preprint arXiv:2007.05929, 2020.
Yunhao Tang, Zhaohan Daniel Guo, Pierre Harvey Richemond, Bernardo Avila Pires, Yash Chandak, Rémi Munos, Mark Rowland, Mohammad Gheshlaghi Azar, Charline Le Lan, Clare Lyle, et al. Understanding self-predictive learning for reinforcement learning. In International conference on machine learning, pages 33632–33656. PMLR, 2023.
Tianwei Ni, Benjamin Eysenbach, Erfan Seyedsalehi, Michel Ma, Clement Gehring, Aditya Mahajan, and Pierre-Luc Bacon. Bridging state and history representations: Understanding self-predictive rl. In International Conference on Learning Representations, volume 2024, pages 23555–23569, 2024.
Xuying Ning, Katherine Tieu, Dongqi Fu, Tianxin Wei, Zihao Li, Yuanchen Bei, Jiaru Zou, Mengting Ai, Zhining Liu, Ting-Wei Li, et al. Code as agent harness. arXiv preprint arXiv:2605.18747, 2026.
Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. Advances in neural information processing systems, 36:8634–8652, 2023.
Xue Bin Peng, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Sim-to-real transfer of robotic control with dynamics randomization. In 2018 IEEE international conference on robotics and automation (ICRA), pages 3803–3810. IEEE, 2018.
Lerrel Pinto, Marcin Andrychowicz, Peter Welinder, Wojciech Zaremba, and Pieter Abbeel. Asymmetric actor critic for image-based robot learning. arXiv preprint arXiv:1710.06542, 2017.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.
NVIDIA. Isaac Sim. URL https://github.com/isaac-sim/IsaacSim.
Emanuel Todorov, Tom Erez, and Yuval Tassa. MuJoCo: A physics engine for model-based control. In 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, pages 5026–5033. IEEE, 2012.
Jiayu Chen, Chao Yu, Yuqing Xie, Feng Gao, Yinuo Chen, Shu'ang Yu, Wenhao Tang, Shilong Ji, Mo Mu, Yi Wu, et al. What matters in learning a zero-shot sim-to-real RL policy for quadrotor control? a comprehensive study. IEEE Robotics and Automation Letters, 10(7):7134–7141, 2025.
Ewoud JJ Smeur, Qiping Chu, and Guido CHE De Croon. Adaptive incremental nonlinear dynamic inversion for attitude control of micro air vehicles. Journal of Guidance, Control, and Dynamics, 39(3):450–461, 2016.
Zhuohuan Wu, Sheng Cheng, Pan Zhao, Aditya Gahlawat, Kasey A Ackerman, Arun Lakshmanan, Chengyu Yang, Jiahao Yu, and Naira Hovakimyan. L 1 quad: L 1 adaptive augmentation of geometric control for agile quadrotors with performance guarantees. IEEE Transactions on Control Systems Technology, 33(2):597–612, 2025.
Sihao Sun, Angel Romero, Philipp Foehn, Elia Kaufmann, and Davide Scaramuzza. A comparative study of nonlinear mpc and differential-flatness-based control for quadrotor agile flight. IEEE Transactions on Robotics, 38(6):3357–3373, 2022.
Dingqi Zhang, Antonio Loquercio, Jerry Tang, Ting-Hao Wang, Jitendra Malik, and Mark W Mueller. A learning-based quadcopter controller with extreme adaptation. IEEE Transactions on Robotics, 41:3948–3964, 2025.