Ergodic Trajectory Design by Learned Pushforward Maps: Provable Coverage via Conditional Flow Matching

Ehsan Aghazadeh, Masoud Malekzadeh, Ahmad Ghasemi, Hossein Pishro-Nik

TL;DR

This paper introduces a novel framework for the "ergodic coverage" problem by decoupling trajectory ergodicity from density matching. By combining a simple, analytically constructed latent trajectory with a learned optimal-transport pushforward map (via Conditional Flow Matching), the authors generate continuous trajectories that provably match target spatial densities while seamlessly incorporating complex physical and operational constraints. This approach shifts the heavy computational burden offline, allowing real-time, open-loop deployment across multi-agent fleets without per-agent retraining.

What Problem Does This Paper Address?

In robotic exploration, search-and-rescue, and UAV-assisted data harvesting, agents often need to cover an area such that the time they spend in any given region is proportional to that region's importance or "target density"—a challenge known as ergodic coverage.

For flying agents like UAVs, this task is exceptionally difficult. Trajectories must not only match complex, non-uniform spatial densities but also respect tight energy budgets, acceleration limits, and no-fly zones (NFZs).

Existing solutions fall into two problematic categories:

  1. Online Optimization Methods: These re-optimize trajectories on the fly. Their computational cost scales poorly with longer time horizons, requiring fresh, expensive recalculations for every new target density, agent, or environmental change.
  2. Bespoke Analytical Methods: These offer elegant mathematical convergence proofs but are highly rigid. Introducing a new constraint (like a new no-fly zone) requires completely re-deriving the underlying mathematical design from scratch.

The authors tackle this dilemma by asking: Can we design a method that is computationally cheap at runtime, handles arbitrary differentiable constraints modularly, and still provides rigorous, provable coverage guarantees?

Methods

The core innovation of this paper is a two-stage pipeline that completely decouples the geometry of the trajectory from the target density matching:

  1. The Latent Ergodic Trajectory: The authors analytically construct a simple, deterministic, back-and-forth radial trajectory $\mathbf{z}(t)$ on a simple annular (donut-shaped) latent domain $D_\delta$. Because of its i.i.d. cycle structure, this latent trajectory is structurally guaranteed to achieve exact uniform ergodicity.
  2. The Learned Pushforward Map: Instead of optimizing a trajectory directly, the authors train a neural network velocity field ($v_\theta$) offline using Optimal Transport Conditional Flow Matching (OT-CFM). This network learns a pushforward map $G_\theta$ that warps the uniform latent occupancy onto the complex, real-world target density ($f_{\text{target}}$).

The final deployed trajectory is simply the composition: $\mathbf{x}(t) = G_\theta(\mathbf{z}(t))$.

Figure 1: Two-stage pipeline. The latent trajectory provides structural ergodicity (i.i.d. cycles, uniform density); the learned map transforms it to match the prescribed target density. Theoretical guarantees (Theorems 1–3) bound energy, convergence, and approximation error.

Handling Constraints Modularly

Because the mapping is parameterized by a neural network, operational constraints (such as no-fly zones or acceleration ceilings) can be appended directly to the offline training loss as differentiable soft penalties:

$$\mathcal{L}_{\text{total}}(\theta) = \mathcal{L}_{\text{CFM}}(\theta) + \lambda_{\text{nfz}} \mathcal{R}_{\text{nfz}}(\theta) + \lambda_{\text{acc}} \mathcal{R}_{\text{acc}}(\theta)$$

This eliminates the need to re-derive control laws when constraints change; the network simply learns a map that routes around obstacles or smooths out sharp turns.

Datasets

The authors validated their approach on both synthetic and real-world benchmarks:

  • Synthetic Targets: Three custom environments designed to isolate specific theoretical mechanisms: a smooth Gaussian mixture (for density matching), a discontinuous binary 75/25 density map (for demand-proportional allocation), and a Gaussian mixture interrupted by an off-center circular no-fly zone.
  • Milano UAV Coverage Dataset: A real-world benchmark constructed from cell-tower activity data over Milan, Italy, representing realistic spatial demand for wireless connectivity. This dataset was evaluated under two challenging no-fly configurations: a single large exclusion disc (1D) and a multi-disc setup with four disjoint exclusion zones (MD).

Key Insights and Ideas

  • Ergodicity is Preserved Under Pushforwards: The foundational mathematical insight is that asymptotic ergodicity transfers under any measurable pushforward map. By ensuring the latent trajectory is perfectly ergodic by design, the neural network only needs to solve a static spatial mapping problem, bypassing complex mixing-time analyses entirely.
  • Amortization and Fleet Reuse: Because the map $G_\theta$ is trained offline and depends only on the target density and constraints, a single trained network can be shared across an entire fleet of $N$ agents. Each agent runs an independent latent trajectory through the same map, achieving a collective convergence rate of $O(1/\sqrt{NK})$ with zero online optimization or inter-agent communication.
  • Open-Loop, Privacy-Preserving Deployment: At runtime, generating the trajectory requires only a single forward pass through the network per timestep ($O(1)$ or $O(T_{\text{NFE}})$ cost). It operates entirely open-loop, meaning the UAV does not need real-time tracking or environmental feedback, making it ideal for communication-limited or privacy-sensitive scenarios.

Key Results

The proposed OT-CFM framework was compared against several competitive baselines, including spectral methods (TOES), analytical time-warping, and concurrent flow-matching control techniques (FMEC).

Quantitative Performance on the Milano Dataset

As shown in the headline results, the proposed method demonstrates superior Pareto trade-offs across coverage fidelity ($\rho$), energy efficiency ($\bar{P}$), and constraint satisfaction:

Table 1: Headline metrics on Milano under two no-fly configurations: single-disc (1D) and multi-disc (MD). Mean±std over 3 seeds; best per column among coverage-competitive methods (ρ ≥0.5); ‡ achieves low violation at degraded coverage. Full coverage, energy, and NFZ tables in Appendix N.1.
  • Highest Coverage & Lowest Violations: The OT-CFM +NFZ variant achieved the highest density correlation ($\rho = 0.865$ for 1D, $0.911$ for MD) while reducing no-fly zone incursions to near-zero ($0.011\%$ and $0.189\%$), representing up to a 200× reduction in violations compared to unconstrained flow matching.
  • Energy Efficiency: The OT-CFM +E variant successfully minimized aerodynamic power consumption, yielding a mean power of ~510W—nearly 4× lower than unconstrained baselines.
  • Computational Efficiency: While optimization-based baselines like TOES required hours of per-trajectory computation, the proposed method achieved deployment decisions in milliseconds via a single forward pass.
Table 2: Qualitative comparison with existing ergodic trajectory design methods. Quantitative real- data results: §4.2; column definitions, TNFE semantics, and detailed row qualifications: Appendix L.

Limitations and Future Work

While the framework provides strong end-to-end coverage bounds, the authors note a few key limitations:

  • Soft vs. Hard Constraints: Constraints like no-fly zones are currently enforced via soft penalties in the loss function. For safety-critical missions where boundary violations must strictly be zero, the system requires an additional hard-feasibility projection layer or control barrier function wrapper.
  • Topology Mismatch Residual: Mapping an annular latent domain to a simply connected target support introduces an unavoidable topological mismatch, resulting in a small $O(\delta)$ coverage error near the boundaries.
  • 2D Open-Loop Focus: The current experimental validation is restricted to 2D open-loop execution. Extending the framework to handle 3D environments (e.g., altitude variations), time-varying target densities, and closed-loop feedback corrections for wind disturbances remains an open direction for future research.

Summary updated

BibTeX
@inproceedings{aghazadeh2026ergodic,
  author = {Ehsan Aghazadeh and Masoud Malekzadeh and Ahmad Ghasemi and Hossein Pishro-Nik},
  title = {{Ergodic Trajectory Design by Learned Pushforward Maps: Provable Coverage via Conditional Flow Matching}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xKCytZZNNd},
}
Figure