arXiv:2610.38967cs.ROOct 2026

Manuscript Offprint

arXiv:2610.38967

Learning Event-based Obstacle Avoidance via Differentiable Simulation

Chenlu Shou, Yunfan Ren, Jiaxu Xing, Davide Scaramuzza

Chenlu Shou Yunfan Ren Jiaxu Xing Davide Scaramuzza

Abstract— Reliable obstacle avoidance is essential for safe quadrotor flight in unknown environments, yet conventional frame-based cameras remain challenged by motion blur, limited dynamic range, and latency under fast motion. Event cameras, with sub-millisecond latency, high dynamic range, and negligible motion blur, offer a promising alternative, but leveraging them for closed-loop control remains difficult. Existing approaches either adopt cascaded architectures that first estimate depth and then map it to control commands, introducing error propagation, or achieve end-to-end control through costly offline pretraining before online fine-tuning can even begin. We address these challenges with a CUDA-based event simulator that exploits GPU parallelism to render events efficiently within the training loop, integrated into a differentiable simulation pipeline that enables direct gradient backpropagation through the differentiable physics model, improving sample efficiency. This allows us to train an end-to-end policy that maps event frames directly to control commands, without intermediate depth estimation. We validate our approach through zero-shot real-world deployment on a quadrotor, achieving robust obstacle avoidance in both odometry-assisted and odometry-free settings, including under low-light conditions where conventional cameras typically fail.

I. INTRODUCTION

Quadrotors have been widely adopted in autonomous robotics for applications such as industrial inspection, package delivery, and search-and-rescue, where reliable obstacle avoidance is essential for safe operation in unknown environments [1]. However, achieving robust vision-based obstacle avoidance remains challenging, particularly during high-speed flight, because conventional frame-based cameras are susceptible to motion blur, limited dynamic range, and sensing latency. Unlike traditional cameras that capture image frames at a fixed rate, event cameras [2], modeled after the biological retina, operate asynchronously. Each pixel functions independently, and an event is triggered only when the change in log-intensity at pixel coordinates exceeds a predefined threshold, with polarity indicating an increase or decrease in brightness. This bio-inspired sensing mechanism inherently minimizes motion blur and provides sub-millisecond latency and a much higher dynamic range, making event cameras highly suitable for agile applications [3]–[5]. Most notably, Sony AI's Ace [3], the first real-world

Figure

Fig. 1: Real-world flight trajectories demonstrating event-based obstacle avoidance in an odometry-free setting (top) and under challenging low-light conditions (bottom). The inset in each panel shows the onboard event-camera view at a representative time step.

table tennis AI agent competitive with human athletes, uses event-based spin estimation to return high-speed shots.

In this work, we leverage these advantages to address vision-based obstacle avoidance in quadrotor flight. A closely related method [6] adopts a cascaded architecture, in which a perception network first predicts depth from the input event stream, and a separate velocity predictor maps this estimated depth to control commands. This architecture makes control performance dependent on the accuracy of an intermediate depth estimate: errors in depth prediction can propagate to the control commands and compromise obstacle avoidance. This dependence motivates learning a direct mapping from event data to control commands, allowing the visual representation to be optimized jointly with the control policy for the obstacle-avoidance task. An end-to-end policy that maps event data directly to control commands would avoid this issue, but training such a policy at scale requires an event simulator that can generate large volumes of event data efficiently. Existing event generation tools remain computationally expensive, making them a major bottleneck for policy training.

Furthermore, using model-free reinforcement learning (RL), such as proximal policy optimization (PPO) [7], to train such a policy is notoriously sample-inefficient, partic-

This work was supported by the Government of Singapore's Technology Development Program through the Singapore University of Technology and Design (SUTD), European Union's Horizon Europe Research and Innovation Program under grant agreement No. 101120732 (AUTOASSESS) and the European Research Council (ERC) under grant agreement No. 864042 (AGILEFLIGHT).

Corresponding author: Yunfan Ren. The authors are with the Robotics and Perception Group, University of Zurich, Switzerland (https://rpg.ifi.uzh.ch/).

Figure

Fig. 2: System Framework Overview. The simulator renders a grayscale frame from each quadrotor state, and two consecutive frames are used to compute the event frame. The event frame is fed into a differentiable policy consisting of a CNN and a GRU, which predicts an action. The differentiable point-mass dynamics model then propagates the current state forward using this action. A loss is computed based on the resulting state and action, and the corresponding gradients are propagated backward through the entire differentiable pipeline to update the policy.

ularly when learning directly from high-dimensional visual inputs such as event data, which require large numbers of interactions to extract useful features. Differentiable simulation offers a promising alternative. By computing gradients through the simulated dynamics analytically, policies can be optimized via backpropagation, improving sample efficiency. Recent works have demonstrated the effectiveness of differentiable simulation across various learning scenarios [8]–[10]. In this work, we present an end-to-end control framework for event-based obstacle avoidance that maps event frames directly to control commands. We investigate both odometry-assisted and odometry-free settings to examine the policy's dependence on external velocity estimates. In the latter, the policy uses only onboard attitude information as state input and learns to infer velocity-related information from the event history.

To summarize, the key contributions of this work are:

  • We develop a CUDA-based event simulator that exploits GPU parallelism to generate event observations efficiently within the policy training loop. At a resolution of 64×4864 \times 48 with 128 parallel environments, our simulator achieves 60,248 environment steps per second, approximately 14×14\times the throughput of the state-of-the-art [11]. We further assess the transfer of the simulated event representation through offline velocity estimation on real-world event data.
  • We integrate this simulator into a differentiable simulation pipeline that optimizes the control policy by back-propagating gradients through the simulated dynamics. This framework enables policy convergence in approximately 3 hours on a laptop equipped with an NVIDIA RTX 5060 GPU, without a separate offline event-data generation and representation-pretraining stage.
  • We demonstrate zero-shot deployment on a real-world quadrotor, achieving obstacle avoidance in both odometry-assisted and odometry-free settings. We fur-

ther demonstrate successful flight under low-light conditions with illuminance as low as 5.8 lux.

References (31)