Spatial disorientation — the inability to correctly perceive one’s position, motion, or attitude relative to the Earth — is a leading cause of fatal aircraft accidents. When pilots lose their natural sense of balance, they often make corrections that worsen the situation, leading to unrecoverable crashes. This project investigates how real-time AI assistance can help humans recover from spatial disorientation in a virtual inverted pendulum (VIP) task: a controlled, 1-DOF simulation of the balance challenges pilots face under disorienting conditions.
Participants performed the VIP task using a joystick while experiencing simulated spatial disorientation. AI assistants — including reinforcement learning agents (SAC, DDPG, AIRL) and supervised learning models (MLP, RNN, LSTM, GRU) — were trained to provide real-time corrective cues rendered as directional arrows on screen.
Before involving human subjects, 21 candidate assistants were screened in a high-throughput digital twin setting, where simulated “Good”, “Medium”, and “Bad” pilot models (trained on MARS apparatus data) were paired with each assistant. The top-performing candidates were then brought into a two-session human subject study.
A key innovation is the Human-in-the-Loop (HITL) dyadic training paradigm: after the human is assisted by the AI, the human then corrects the AI by guiding it through the task. Disagreement episodes are logged and the AI is fine-tuned on human demonstrations, creating bidirectional adaptation where both the human and the AI improve over time.
The full system implementation is available on GitHub.
© 2026 Sheikh A Mannan