FlowATC: Aircraft Trajectory Prediction via Flow Matching

arXiv cs.LG Papers

Summary

The paper introduces a flow-matching model for predicting aircraft trajectories using ADS-B data, achieving superior performance over traditional methods in probabilistic trajectory prediction.

arXiv:2609.16528v1 Announce Type: new Abstract: Building accurate decision-support tools for next-generation air traffic control requires robust trajectory prediction models. We present a flow-matching architecture trained exclusively on historical aircraft trajectories, with no route labels or chart supervision. Trained on 1.15 million Automatic Dependent Surveillance-Broadcast trajectory windows collected over the San Francisco Bay Area, the model generates aircraft trajectory distributions that closely match historical traffic, reproducing known airspace structure around San Francisco Airport such as the shape of SFO's published NIITE FOUR departure procedure. Our model is trained directly on the native, irregular ADS-B sampling interval. Trajectory prediction is cast as sequence inpainting using a block-causal Transformer that denoises future state tokens conditioned on the observed history using Conditional Flow Matching or Denoising Diffusion Probabilistic Models. We compare our architecture against constant-velocity, deterministic-Long Short Term Memory, and Conditional Variational Autoencoders baselines. At matched parameter count, CFM outperforms DDPM by 11-26% in minADE@20, and both generative objectives surpass the CVAE baseline by 31-41%. We further show that the error degrades gracefully with prediction horizon, and the architecture remains effective when retrained on temporally decimated feeds. Lastly, we sample $K$ independent completions, yielding spatial probabilistic occupancy estimates that can serve as input to downstream conflict-risk estimation.
Original Article
View Cached Full Text

Cached at: 09/16/26, 08:54 AM

# FlowATC: Aircraft Trajectory Prediction via Flow Matching
Source: [https://arxiv.org/html/2609.16528](https://arxiv.org/html/2609.16528)
Alexandre M\. BayenNote:Professor, Department of Electrical Engineering and Computer Sciences, University of California, Berkeley\.Affiliation:University of California, Berkeley, Berkeley, CA 94720, USA

###### Abstract

Building accurate decision\-support tools for next generation air traffic control requires robust trajectory prediction models\. We present a flow\-matching architecture trained exclusively on historical aircraft trajectories, with no route labels or chart supervision\. Trained on 1\.15 million Automatic Dependent Surveillance–Broadcast trajectory windows collected over the San Francisco Bay Area, the model generates aircraft trajectory distributions that closely match historical traffic, reproducing known airspace structure around San Francisco Airport such as the shape of SFO’s published NIITE FOUR departure procedure\. Our model is trained directly on the native, irregular ADS\-B sampling interval\. Trajectory prediction is cast as sequence inpainting using a block\-causal Transformer that denoises future state tokens conditioned on the observed history using Conditional Flow Matching or Denoising Diffusion Probabilistic Models\. We compare our architecture against constant\-velocity, deterministic\-Long Short Term Memory, and Conditional Variational Autoencoders baselines\. At matched parameter count, CFM outperforms DDPM by 11–26% in minADE@20, and both generative objectives surpass the CVAE baseline by 31–41%\. We further show that the error degrades gracefully with prediction horizon, and the architecture remains effective when retrained on temporally decimated feeds\. Lastly, we sampleKKindependent completions, yielding spatial probabilistic occupancy estimates that can serve as input to downstream conflict\-risk estimation\.

## Nomenclature

𝐗\\mathbf\{X\}=trajectory window,T×FT\\times Farray of ADS\-B samples𝐗obs\\mathbf\{X\}^\{\\text\{obs\}\}=observation prefix, firstTobsT\_\{\\text\{obs\}\}steps𝐗fut\\mathbf\{X\}^\{\\text\{fut\}\}=future suffix, nextTfutT\_\{\\text\{fut\}\}steps to predictTT=total sequence lengthFF=features per timestepϕ,λ\\phi,\\lambda=geodetic latitude and longitudedd=Transformer hidden dimensionuθu\_\{\\theta\}=CFM velocity field networkpi=\(xi,yi\)p\_\{i\}=\(x\_\{i\},y\_\{i\}\)=Lateral position at trajectory timestepiiKK=number of samples in best\-of\-KKevaluationminADE@​K\\text\{minADE@\}K=min\-over\-KKaverage displacement error, mminFDE@​K\\text\{minFDE@\}K=min\-over\-KKfinal displacement error, mNLL@​n\\text\{NLL@\}n=KDE negative log\-likelihood at future stepnn
## 1Introduction

Low altitudeair traffic control\(ATC\) relies on accurate short\-horizon aircraft trajectory prediction to maintain safe separation\.Automatic Dependent Surveillance–Broadcast\(ADS\-B\) data provides continuous position updates across theNational Airspace System\(NAS\), yet forecasting where an aircraft will be in the next two minutes remains hard\. A flight on a standardSan Francisco\(SFO\) arrival may turn left or continue straight depending on runway assignment and traffic sequencing, both invisible from position data alone\. Prediction is therefore inherently multimodal, meaning a single observed history is consistent with several physically plausible futures \(or modes\)\[[9](https://arxiv.org/html/2609.16528#bib.bib8),[14](https://arxiv.org/html/2609.16528#bib.bib9),[20](https://arxiv.org/html/2609.16528#bib.bib23)\]\. The quantity that matters operationally is not only where an aircraft will be, but how probable a conflict is at that location, which calls for a predictor that returns a full distribution over futures rather than a single point estimate\[[15](https://arxiv.org/html/2609.16528#bib.bib14),[11](https://arxiv.org/html/2609.16528#bib.bib12),[6](https://arxiv.org/html/2609.16528#bib.bib18)\]\.

The generative\-modelling toolkit powering recent advances in image synthesis and robot motion planning transfers naturally to continuous trajectory data\.Denoising Diffusion Probabilistic Models\(DDPM\)\[[8](https://arxiv.org/html/2609.16528#bib.bib1)\]learn to reverse a Markov noising chain and, with theDenoising Diffusion Implicit Models\(DDIM\) sampler\[[16](https://arxiv.org/html/2609.16528#bib.bib2)\], generate high\-quality samples in a handful of steps\.Conditional Flow Matching\(CFM\)\[[12](https://arxiv.org/html/2609.16528#bib.bib3)\]is a more direct alternative regressing a velocity field that transports Gaussian noise to data along straight\-line paths, giving a simpler training objective and fewer integration steps\. Both families produce samples rather than point estimates\. GeneratingKKindependent samples at inference yields a distribution over future positions that covers the inherently multimodal space of plausible aircraft states even when the model is conditioned on a single input modality\. The Transformer architecture\[[19](https://arxiv.org/html/2609.16528#bib.bib6)\]represents data as a set of tokens coupled by self\-attention\. This tokenized view is attractive for trajectory prediction for two reasons: it is flexible \(heterogeneous inputs, i\.e\., positions, time deltas, and, in the future, ATC voice or weather fields, are simply additional tokens\) and fast on modern hardware\. Crucially, theDiffusion Transformer\(DiT\)\[[13](https://arxiv.org/html/2609.16528#bib.bib5)\]shows that a Transformer backbone, with the generation step injected throughAdaptive Layer Normalization\(AdaLN\), is an excellent denoiser for diffusion\. Specifically, we exploit exactly this synergy: a DiT style backbone hooks up cleanly with both DDPM and CFM, letting us frame trajectory prediction as token\-level inpainting\.

### Related work

Classical predictors fall into at least four families\.*Kinematic*models \(e\.g\. constant velocity / constant turn\) propagate the last observed state forward under a motion assumption; they are interpretable and fast but produce a single deterministic forecast which does not take into account surrounding airspace information\. We use constant velocity as a lower bound as it provides a good estimate of the order of magnitude of the error for such prediction tasks\.*Deterministic neural*models, typically an LSTM/Gated Recurrent Unit \(GRU\) encoder–decoder or a Transformer regressor\[[18](https://arxiv.org/html/2609.16528#bib.bib10),[23](https://arxiv.org/html/2609.16528#bib.bib11),[22](https://arxiv.org/html/2609.16528#bib.bib16)\], learn data driven dynamics but still emit one trajectory per query, suppressing the uncertainty that matters for safety\.*Direct multimodal*predictors instead decode a fixed set of plausible trajectory hypotheses\. ASCENT\[[14](https://arxiv.org/html/2609.16528#bib.bib9)\], for example, uses a Transformer encoder with learnable mode queries to predict multiple 3D future trajectories together with associated mode scores in non\-towered terminal airspace, achieving strong best\-of\-KKperformance on the TrajAir benchmark\. Unlike stochastic generative models, however, such approaches represent multimodality through a finite set of explicitly decoded hypotheses rather than by sampling from a continuous conditional distribution\.*Probabilistic generative*models output a distribution:Conditional Variational Autoencoders\(CVAE\) such as Trajectron\+\+\[[15](https://arxiv.org/html/2609.16528#bib.bib14)\]are widely used probabilistic baselines for multimodal trajectory forecasting, sampling a latent variable to produce diverse futures\. In autonomous driving, diffusion\-based predictors have recently emerged as a strong alternative to CVAEs\. By iteratively denoising noise samples to in distribution data, this technique offers a probabilistic approach to prediction tasks\. MotionDiffuser\[[11](https://arxiv.org/html/2609.16528#bib.bib12)\]applies DDPM to multi\-agent road\-traffic forecasting and shows that diffusion captures multimodal distributions without trajectory anchors\. Diffusion has also been applied directly to aircraft trajectory prediction: Yin et al\.\[[21](https://arxiv.org/html/2609.16528#bib.bib22)\]combine the aircraft’s history with contextual information representing intent and environmental conditions in a diffusion\-based decoder, evaluated at Singapore Changi Airport, and GooDFlight\[[20](https://arxiv.org/html/2609.16528#bib.bib23)\]first estimates goal positions, then generates diverse trajectories with a goal\-guided diffusion decoder\. In the aerospace domain, Briden et al\.\[[2](https://arxiv.org/html/2609.16528#bib.bib13)\]apply diffusion to spacecraft descent planning, framing trajectory solutions as composable probability density functions; our setting is complementary, targeting probabilistic prediction of civil aircraft from surveillance observations, where maneuver structure is governed by ATC procedures rather than road geometry\. More recently, diffusion models have also been widely adopted for robot motion planning:[Janner et al\. \[10\]](https://arxiv.org/html/2609.16528#bib.bib17)showed that full action trajectories can be generated by iterative denoising guided by reward functions\.

Closest to the present work in generative formulation, Figuet et al\.\[[6](https://arxiv.org/html/2609.16528#bib.bib18)\]apply Conditional Flow Matching to short\-term aircraft trajectory prediction, using a Transformer encoder–decoder pair\. Their study targets en\-route traffic above FL195 in Swiss Free Route Airspace, in an aircraft\-centric frame normalized to the last observed state, with absolute position provided as an explicit 8\-dimensional context vector rather than encoded in the trajectory features directly\. ADS\-B is resampled to a uniform 1 Hz grid\. Our study is complementary along four axes\. First, we target low\-altitude terminal airspace, where published procedures dictate maneuver structure and traffic mixes commercial and general aviation; we retain absolute Cartesian coordinates so this structure can be learned without chart supervision \(Section[7](https://arxiv.org/html/2609.16528#S7)\)\. Second, we predict a≈\\approx128 s horizon at the native, irregular ADS\-B sampling rate, rather than on a resampled grid\. Third, we replace the encoder–decoder pair with a single DiT that ingests clean and noisy tokens by concatenation, casting the task as sequence inpainting\. Fourth, we benchmark CFM against CVAE and DDPM at matched capacity across three model scales, isolating the contribution of the objective itself\.

Our novel contributions include the following:

1. \(i\)A sequence\-inpainting architecture concatenating observed and noisy tokens, block\-causal self\-attention, AdaLN time conditioning allowing a DiT to address trajectory completion without an intermediate encoder\.
2. \(ii\)Benchmarking constant\-velocity, deterministic LSTM, and CVAE \(Trajectron\+\+\) baselines against DDPM and CFM variants of the same backbone, and showing that CFM is substantially more accurate at equal parameter count\.
3. \(iii\)Characterizing operational flexibility: graceful degradation over the horizon, retraining on lower\-rate streams, extrapolation beyond the training horizon, and inference cost\.
4. \(iv\)Showing that FlowATC recovers Bay Area airspace structure without chart supervision and that its output distribution is accurate: at airspace branch points it reproduces the distribution of maneuvers actually flown and gives each aircraft a close to calibrated distribution over its next maneuver\.

## 2Methodology

![Refer to caption](https://arxiv.org/html/2609.16528v1/adsb_geofence.png)Figure 1:Geographic coverage of the ADS\-B collection used for the present work\. The dashed circle shows the6060nautical\-mile radius geofence centered on San Francisco Bay \(37\.75∘37\.75^\{\\circ\}N,122\.25∘122\.25^\{\\circ\}W, red dot\)\. Black dots mark the airports referenced in this study\. The Cartesian coordinate frame used for trajectory representation \(Eq\. \([13](https://arxiv.org/html/2609.16528#Ax1.E13)\)\) is centered on SFO \(37\.6213∘37\.6213^\{\\circ\}N,122\.3790∘122\.3790^\{\\circ\}W\)\.### 2\.1Aircraft Trajectory Data

ADS\-B is a cooperative surveillance technology in which an aircraft periodically broadcasts its own state: identity, position, altitude, velocity, and vertical rate, derived primarily from onboard Global Navigation Satellite System \(GNSS\)\. The broadcasts are received by a dense network of ground stations and can be aggregated by public feeds, making ADS\-B a high\-coverage, low\-cost source of trajectory data over busy terminal airspace\. We collect ADS\-B continuously from the ADS\-B LOL live feed \([adsb\.lol](https://adsb.lol/)\) using the native API that queries aircraft states every2​s2\\,sover a circular geofence of 60 nautical miles radius centered at37\.75∘37\.75^\{\\circ\}N,122\.25∘122\.25^\{\\circ\}W \(San Francisco Bay\)\. The scraper records, for each aircraft, the ICAO24 transponder code, callsign, Unix timestamp, longitude, latitude, barometric altitude, ground speed, true track, and vertical rate\. Collection ran for 12 days, 10–22 April 2026, yielding 21,515,794 raw state vectors\. The geofence and the airports referenced in this study are shown in Fig\.[1](https://arxiv.org/html/2609.16528#S2.F1); dataset statistics are summarized in Table[1](https://arxiv.org/html/2609.16528#S2.T1)\.

The collection spans a broad mix of Bay Area traffic \(shares below by unique aircraft\): large commercial aircraft \(ICAO category A3, 41\.8%\), light general aviation \(A1, 32\.1%\), heavy aircraft such as B747/A380 \(A5, 10\.8%\), and lighter traffic \(remaining 15\.3%\)\.

Table 1:Bay Area ADS\-B dataset statistics\.
### 2\.2Trajectory processing

Raw ADS\-B state vectors are segmented into continuous flight segments and windowed into 86\-point sequences\. Each window is split into a 43\-point observed prefix and a 43\-point future suffix to predict\. The choice of a two\-minute history and forecast horizon follows from discussions with pilots, who identified a 2\-minute lookahead as the operationally relevant horizon\. For maneuver prediction, each 43\-point half spans roughly128128s on average\.

We project geodetic coordinates onto a local tangent\-plane Cartesian frame centered on SFO, yielding a 6\-dimensional feature vector\(x,y,z,vx,vy,vz\)\(x,y,z,v\_\{x\},v\_\{y\},v\_\{z\}\)entirely in meters or meters per second\. Because absolute Cartesian coordinates encode geographic position, the model implicitly learns location\-specific structure \(e\.g\. that a south\-westbound aircraft aty≈−15y\\approx\-15km is on SFO final approach\)\. Each feature is independently z\-score normalized using training\-split statistics\.

Rather than resampling to a fixed grid, we expose the native, irregular ADS\-B timing to the network directly via a learned time\-delta embedding; full preprocessing details are given in Appendix[B](https://arxiv.org/html/2609.16528#Ax1.SS2)\.

## 3Evaluation

Predicting distributions over aircraft trajectories has until recently received moderate attention in the ATM literature\[[22](https://arxiv.org/html/2609.16528#bib.bib16)\], though generative formulations are now emerging\[[6](https://arxiv.org/html/2609.16528#bib.bib18)\]\. To account for the inherently multi\-modal aspect of trajectories, encompassing the different acceptable maneuvers at some given point, this distributional point of view is necessary and is hard to measure in practice\. Building upon Salzmann et al\.’s Trajectron\+\+\[[15](https://arxiv.org/html/2609.16528#bib.bib14)\], we chose to evaluate our models on best ofKKforAverage/Final Displacement Error\(ADE/FDE\) andKernel Density Estimation Negative Log Likelihood\(KDE\-NLL\)\.

### 3\.1Average and Final Displacement Error

Let𝐩n=\(xn,yn\)∈ℝ2\\mathbf\{p\}\_\{n\}=\(x\_\{n\},y\_\{n\}\)\\in\\mathbb\{R\}^\{2\}denote the horizontal Cartesian position at future stepnn, extracted from𝐗fut\{\\mathbf\{X\}^\{\\text\{fut\}\}\}\. Because the variance on the vertical axis is secondary to horizontal variations, we chose to computeznz\_\{n\}separately\. Average displacement error accounts for how close the sampled trajectory is from the ground truth\.

ADE=1Tfut​∑n‖𝐩^n−𝐩n‖2\\text\{ADE\}=\\frac\{1\}\{T\_\{\\text\{fut\}\}\}\\sum\_\{n\}\\\|\\hat\{\\mathbf\{p\}\}\_\{n\}\-\\mathbf\{p\}\_\{n\}\\\|\_\{2\}\(1\)
Note that this definition requires both predicted and ground\-truth trajectories to share the same timestamps at each stepnn\. In decimation experiments where the input sequence is downsampled, timestamp correspondence is preserved naturally\. However, when predictions are requested at timestamps absent from the ground truth, the ground\-truth positions𝐩n\\mathbf\{p\}\_\{n\}are obtained by linear interpolation to the desired evaluation points\. To assess how far predictions drift at a fixed horizon, we report the Final Displacement Error, defined as the Euclidean distance between the predicted and ground\-truth positions at the last future stepTfutT\_\{\\text\{fut\}\}:

FDE=‖𝐩^Tfut−𝐩Tfut‖2\\text\{FDE\}=\\\|\\hat\{\\mathbf\{p\}\}\_\{T\_\{\\text\{fut\}\}\}\-\\mathbf\{p\}\_\{T\_\{\\text\{fut\}\}\}\\\|\_\{2\}\(2\)Because of the irregular ADS\-B sampling, the final token is on average128​s128\\,\\text\{s\}in the future, with the central 80% of windows spanning\[95​s,165​s\]\[95\\,\\text\{s\},\\,165\\,\\text\{s\}\], which equates to approximately one and a half to three minutes ahead\.

### 3\.2Best of K

ADE and FDE alone are well suited for deterministic trajectory forecasting, where a single predicted trajectory is compared against the ground truth\. In our setting, however, the future is genuinely multimodal: given the same observed prefix, an aircraft may initiate a left or right turn, continue en route, or enter a holding pattern, all equally valid outcomes invisible from position data alone\. A deterministic metric would penalize any model that hedges across modes, even if one of its samples matches the ground truth closely\. We therefore adopt the best\-of\-KKvariants, minADE@KKand minFDE@KK, standard in the multimodal forecasting literature\[[15](https://arxiv.org/html/2609.16528#bib.bib14),[11](https://arxiv.org/html/2609.16528#bib.bib12)\]:

minADE@​K=mink⁡1Tfut​∑n‖𝐩^n\(k\)−𝐩n‖2,minFDE@​K=mink⁡‖𝐩^Tfut\(k\)−𝐩Tfut‖2\.\\text\{minADE@\}K=\\min\_\{k\}\\frac\{1\}\{T\_\{\\text\{fut\}\}\}\\sum\_\{n\}\\\|\\hat\{\\mathbf\{p\}\}^\{\(k\)\}\_\{n\}\-\\mathbf\{p\}\_\{n\}\\\|\_\{2\},\\quad\\text\{minFDE@\}K=\\min\_\{k\}\\\|\\hat\{\\mathbf\{p\}\}^\{\(k\)\}\_\{T\_\{\\text\{fut\}\}\}\-\\mathbf\{p\}\_\{T\_\{\\text\{fut\}\}\}\\\|\_\{2\}\.\(3\)
These metrics reward sample coverage: a model with good coverage places at least one sample close to the ground truth, and needs fewer samples to do so\. We reportK∈\{1,5,20\}K\\in\\\{1,5,20\\\}, which quantifies how quickly additional samples improve coverage\.

### 3\.3Density Calibration

![Refer to caption](https://arxiv.org/html/2609.16528v1/kde_ade_illustration.png)Figure 2:Four syntheticK=20K\{=\}20sample\-cloud scenarios, with the actual minFDE@20 and KDE NLL computed via Eq\. \([4](https://arxiv.org/html/2609.16528#S3.E4)\)\. \(a\) Sharp and calibrated: both metrics agree\. \(b\) Multimodal and calibrated: two equally plausible maneuvers; the bimodal density scores well against*either*outcome \(NLLA=15\.5\{\}\_\{A\}\{=\}15\.5, NLLB=14\.9\{\}\_\{B\}\{=\}14\.9nats\), \(c\) Sharp but displaced: over\-confidence makes the NLL diverge even though the samples are tightly clustered\. \(d\) Hyper\-diffuse: spreading the samples widely keeps minFDE@20 comparable to \(b\), yet the likelihood assigned to the true outcome is markedly lower everywhere\.Best\-of\-KKdisplacement errors reward coverage, whether at least one sample lands near the ground truth, but say nothing about how the remaining probability mass is distributed\[[17](https://arxiv.org/html/2609.16528#bib.bib20)\]\. A model that places one sample on target and scatters the otherK−1K\-1arbitrarily attains the sameminADE@​K\\text\{minADE@\}Kas one whose entire sample cloud tightly brackets the truth, yet only the latter yields a density usable for conflict detection \(Fig\.[2](https://arxiv.org/html/2609.16528#S3.F2)\)\. To assess the quality of the full predicted distribution, we adopt the kernel\-density negative log\-likelihood \(KDE\-NLL\), a widely used distributional evaluation metric in multimodal trajectory forecasting\[[15](https://arxiv.org/html/2609.16528#bib.bib14)\]\.

At a future stepnnwe drawK=50K=50independent completions and retain their horizontal positions\{𝐩^n\(k\)\}k=1K⊂ℝ2\\\{\\hat\{\\mathbf\{p\}\}^\{\(k\)\}\_\{n\}\\\}\_\{k=1\}^\{K\}\\subset\\mathbb\{R\}^\{2\}\. We fit a Gaussian kernel density estimate with Scott’s\-rule bandwidth,

f^n\(𝐩\)=1K∑k=1K𝒩\(𝐩;𝐩^n\(k\),hn2𝚺^n\),hn=K−1/\(d\+4\)=K−1/6,\\hat\{f\}\_\{n\}\(\\mathbf\{p\}\)=\\frac\{1\}\{K\}\\sum\_\{k=1\}^\{K\}\\mathcal\{N\}\\\!\\bigl\(\\mathbf\{p\};\\,\\hat\{\\mathbf\{p\}\}^\{\(k\)\}\_\{n\},\\,h\_\{n\}^\{2\}\\,\\hat\{\\boldsymbol\{\\Sigma\}\}\_\{n\}\\bigr\),\\qquad h\_\{n\}=K^\{\-1/\(d\+4\)\}=K^\{\-1/6\},\(4\)
whered=2d=2,𝚺^n\\hat\{\\boldsymbol\{\\Sigma\}\}\_\{n\}is the empirical covariance of theKKsamples, andhnh\_\{n\}is the Scott factor\.111A minimum bandwidth floor of 50 m per dimension is applied so that a degenerate \(collapsed\) sample cloud does not drive the NLL to−∞\-\\infty\.We then report the negative log\-likelihood of the ground\-truth position under this density,

NLL@​n=−log⁡f^n​\(𝐩n\),\\text\{NLL@\}n=\-\\log\\hat\{f\}\_\{n\}\(\\mathbf\{p\}\_\{n\}\),\(5\)averaged over the test set \(lower is better\)\.

The log score is strictly proper\[[7](https://arxiv.org/html/2609.16528#bib.bib15)\]\. The finite\-KKkernel estimate used here approximates it, with a Scott bandwidth and a floor, so we treat it as an approximate log\-density score that jointly reflects sharpness and calibration rather than as an exactly proper rule\. It rewards sharpness \(concentrating mass\), but penalizes over\-confidence, since a tight cluster that excludes the ground truth drivesf^n​\(𝐩n\)→0\\hat\{f\}\_\{n\}\(\\mathbf\{p\}\_\{n\}\)\\to 0and the score diverges\. It thus captures exactly what best\-of\-KKmisses: whether the model assigns calibrated probability to where the aircraft actually goes\. We evaluate NLL at the 10th, 20th, and 43rd future steps to track calibration as uncertainty accumulates over the horizon; as with the displacement metrics, the vertical axis is handled separately and the density is estimated in the horizontal plane\.

## 4Baseline Architectures

We compare against three baselines spanning the kinematic, deterministic\-neural, and probabilistic\-generative families\. All baselines consume the same 43\-point observed prefix and predict the same 43\-point future suffix, enabling a like\-for\-like comparison\.

### 4\.1Constant Velocity

Theconstant\-velocity\(CV\) model propagates the last observed state forward at constant velocity\. Lettnt\_\{n\}denote the \(irregular\) timestamp of the sample at sequence indexnn, and letTobsT\_\{\\text\{obs\}\}index the last observed sample\. The predicted position at sequence indexTobs\+kT\_\{\\text\{obs\}\}\+kis

𝐩^Tobs\+k=𝐩Tobs\+\(tTobs\+k−tTobs\)𝐯Tobs,k=1,…,Tfut,\\hat\{\\mathbf\{p\}\}\_\{T\_\{\\text\{obs\}\}\+k\}=\\mathbf\{p\}\_\{T\_\{\\text\{obs\}\}\}\+\\bigl\(t\_\{T\_\{\\text\{obs\}\}\+k\}\-t\_\{T\_\{\\text\{obs\}\}\}\\bigr\)\\,\\mathbf\{v\}\_\{T\_\{\\text\{obs\}\}\},\\qquad k=1,\\dots,T\_\{\\text\{fut\}\},\(6\)where𝐩Tobs\\mathbf\{p\}\_\{T\_\{\\text\{obs\}\}\}and𝐯Tobs\\mathbf\{v\}\_\{T\_\{\\text\{obs\}\}\}are the last observed position and velocity\. The elapsed timetTobs\+k−tTobst\_\{T\_\{\\text\{obs\}\}\+k\}\-t\_\{T\_\{\\text\{obs\}\}\}is read from the target timestamps and therefore accounts for the irregular ADS\-B sampling, while the position indexTobs\+kT\_\{\\text\{obs\}\}\+kremains a discrete sequence index\. CV requires no training, is interpretable, and is the natural lower bound that any structure\-aware model must beat\. Being deterministic, its best\-of\-KKmetrics are constant inKK\.

### 4\.2Deterministic LSTM Encoder–GRU Decoder

The deterministic neural baseline is a recurrent encoder–decoder\. An LSTM encoder ingests the 43 observed tokens and produces a context vector; a GRU decoder then autoregressively rolls out the 43 future states\. At each decoder step, the elapsed time since the start of the observation window is concatenated to the decoder input, letting the network condition its rollout on the irregular ADS\-B sampling rather than assuming a fixed step\. The model is trained with mean\-squared error on the future per\-step displacements \(deltas\), integrated at inference to recover absolute Cartesian positions\. Because the output is a single trajectory, the model is deterministic and its @KKmetrics again collapse to theK=1K=1values\.

### 4\.3Conditional Variational Autoencoder \(Trajectron\+\+\)

The strongest non\-diffusion baseline is a Conditional Variational Autoencoder in the style of Trajectron\+\+\[[15](https://arxiv.org/html/2609.16528#bib.bib14)\], a widely used probabilistic approach to multimodal trajectory forecasting\. A recurrent encoder summarizes the observed past into a conditioning vector; a latent variable captures the discrete and continuous modes of the future \(e\.g\. turn vs\. straight\); and a recurrent decoder generates a future trajectory conditioned jointly on the past and a latent sample\. DrawingKKindependent latent samples yieldsKKdiverse trajectories, so, unlike CV and the deterministic LSTM, the CVAE supports genuine best\-of\-KKevaluation and density estimation, and serves as our probabilistic non\-diffusion reference\.

## 5FlowATC: Generative Inpainting with Flow Matching

### 5\.1Problem Formulation

Let\(𝐗obs,𝐗fut\)∼pdata\(\\mathbf\{X\}^\{\\text\{obs\}\},\\mathbf\{X\}^\{\\text\{fut\}\}\)\\sim p\_\{\\text\{data\}\}denote a pair of observed prefix and future suffix drawn from the \(unknown\) joint distribution of Bay Area traffic, with𝐗obs∈ℝTobs×F\\mathbf\{X\}^\{\\text\{obs\}\}\\in\\mathbb\{R\}^\{T\_\{\\text\{obs\}\}\\times F\}and𝐗fut∈ℝTfut×F\\mathbf\{X\}^\{\\text\{fut\}\}\\in\\mathbb\{R\}^\{T\_\{\\text\{fut\}\}\\times F\}\. Because runway assignment, controller instructions, and traffic sequencing are not observable in𝐗obs\\mathbf\{X\}^\{\\text\{obs\}\}, the conditional lawp⁡\(𝐗fut∣𝐗obs\)p\(\\mathbf\{X\}^\{\\text\{fut\}\}\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\)is in general multimodal: several distinct futures carry non\-negligible probability mass\. The object we seek is therefore not a point estimate but a sampler for this conditional distribution, that is, a mechanism producing𝐗^fut∼p\(⋅∣𝐗obs\)\\hat\{\\mathbf\{X\}\}^\{\\text\{fut\}\}\\sim p\(\\cdot\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\), from which any downstream quantity \(conflict probability, occupancy density, best ofKKforecasts\) can be estimated by Monte Carlo\.

This requirement is not merely a preference: any deterministic predictorfθf\_\{\\theta\}trained with mean squared error converges, at the population optimum, to the conditional mean,

arg⁡minf​𝔼\(𝐗obs,𝐗fut\)​‖f⁡\(𝐗obs\)−𝐗fut‖22=𝔼⁡\[𝐗fut∣𝐗obs\],\\arg\\min\_\{f\}\\;\\mathbb\{E\}\_\{\(\\mathbf\{X\}^\{\\text\{obs\}\},\\mathbf\{X\}^\{\\text\{fut\}\}\)\}\\bigl\\\|f\(\\mathbf\{X\}^\{\\text\{obs\}\}\)\-\\mathbf\{X\}^\{\\text\{fut\}\}\\bigr\\\|\_\{2\}^\{2\}\\;=\\;\\mathbb\{E\}\\bigl\[\\mathbf\{X\}^\{\\text\{fut\}\}\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\\bigr\],\(7\)by the standardL2L^\{2\}projection property of conditional expectation\. Whenp⁡\(𝐗fut∣𝐗obs\)p\(\\mathbf\{X\}^\{\\text\{fut\}\}\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\)has two modes, say a left turn and a continued straight leg, their average is a trajectory that belongs to neither mode and may be physically implausible\. The deterministic baselines of Section[4](https://arxiv.org/html/2609.16528#S4)are thus limited by construction, independently of their capacity: they solve a different \(and, under multimodality, ill\-suited\) problem\.

Conditional Flow Matching sidesteps this by regressing a velocity fielduθu\_\{\\theta\}rather than a trajectory\. Fix𝐗obs\\mathbf\{X\}^\{\\text\{obs\}\}, draw𝐱0∼𝒩⁡\(𝟎,𝐈\)\\mathbf\{x\}\_\{0\}\\sim\\mathcal\{N\}\(\\mathbf\{0\},\\mathbf\{I\}\)and𝐱1=𝐗fut∼p\(⋅∣𝐗obs\)\\mathbf\{x\}\_\{1\}=\\mathbf\{X\}^\{\\text\{fut\}\}\\sim p\(\\cdot\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\), and define the linear interpolant𝐱t=\(1−t\)​𝐱0\+t​𝐱1\\mathbf\{x\}\_\{t\}=\(1\-t\)\\,\\mathbf\{x\}\_\{0\}\+t\\,\\mathbf\{x\}\_\{1\}\. The population CFM objective regressesuθ​\(𝐱t,t∣𝐗obs\)u\_\{\\theta\}\(\\mathbf\{x\}\_\{t\},t\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\)onto the pair conditional velocity\(𝐱1−𝐱0\)\(\\mathbf\{x\}\_\{1\}\-\\mathbf\{x\}\_\{0\}\)\. Because the squared loss is minimized pointwise by a conditional expectation, its unique population minimizer is the marginal velocity field

u⋆\(𝐱,t∣𝐗obs\)=𝔼\[𝐱1−𝐱0\|𝐱t=𝐱,𝐗obs\],u^\{\\star\}\(\\mathbf\{x\},t\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\)\\;=\\;\\mathbb\{E\}\\bigl\[\\,\\mathbf\{x\}\_\{1\}\-\\mathbf\{x\}\_\{0\}\\;\\big\|\\;\\mathbf\{x\}\_\{t\}=\\mathbf\{x\},\\;\\mathbf\{X\}^\{\\text\{obs\}\}\\bigr\],\(8\)and it is a standard result of the flow matching literature\[[12](https://arxiv.org/html/2609.16528#bib.bib3),[1](https://arxiv.org/html/2609.16528#bib.bib4)\]that the probability flow of this field, namely the solution of𝐱˙=u⋆​\(𝐱,t∣𝐗obs\)\\dot\{\\mathbf\{x\}\}=u^\{\\star\}\(\\mathbf\{x\},t\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\)initialized at𝐱⁡\(0\)∼𝒩⁡\(𝟎,𝐈\)\\mathbf\{x\}\(0\)\\sim\\mathcal\{N\}\(\\mathbf\{0\},\\mathbf\{I\}\), has marginal law exactlyp\(⋅∣𝐗obs\)p\(\\cdot\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\)att=1t=1\. In other words, exactly minimizing the CFM loss and exactly integrating the learned field is equivalent to sampling from the true conditional distribution of futures\. Multimodality is preserved automatically: distinct noise draws𝐱0\\mathbf\{x\}\_\{0\}are transported to distinct modes, and no averaging across modes ever occurs\.

### 5\.2The DiT Backbone

Following the Diffusion Transformer \(DiT\) framework\[[13](https://arxiv.org/html/2609.16528#bib.bib5)\], the denoiser is a stack of Transformer blocks with the generation step \(flow timet∈\[0,1\]t\\in\[0,1\]\) injected into every block through Adaptive Layer Normalization \(AdaLN\)\. Let𝐡∈ℝd\\mathbf\{h\}\\in\\mathbb\{R\}^\{d\}denote a token’s hidden representation entering a sub\-layer, withμ⁡\(𝐡\)\\mu\(\\mathbf\{h\}\)andσ⁡\(𝐡\)\\sigma\(\\mathbf\{h\}\)its mean and standard deviation taken over the feature dimensiondd\(per\-token normalization\)\. A small MLP mapsttto scale and shift parametersγ⁡\(t\),β⁡\(t\)∈ℝd\\gamma\(t\),\\beta\(t\)\\in\\mathbb\{R\}^\{d\}, applied via the same AdaLN mechanism at each of the two sub\-layers \(self\-attention and feed\-forward\) through independently learned MLP heads:

AdaLN​\(𝐡,t\)=γ⁡\(t\)⋅𝐡−μ⁡\(𝐡\)σ⁡\(𝐡\)\+β⁡\(t\)\.\\text\{AdaLN\}\(\\mathbf\{h\},t\)=\\gamma\(t\)\\cdot\\frac\{\\mathbf\{h\}\-\\mu\(\\mathbf\{h\}\)\}\{\\sigma\(\\mathbf\{h\}\)\}\+\\beta\(t\)\.\(9\)The core block operation is multi\-head self\-attention; for tokens𝐙∈ℝT×d\\mathbf\{Z\}\\in\\mathbb\{R\}^\{T\\times d\}, split intoHHheads of dimensiondk=d/Hd\_\{k\}=d/H,

Attn​\(𝐙\)=softmax​\(𝐐𝐊⊤dk\)​𝐕,𝐐,𝐊,𝐕=𝐙​WQ,𝐙​WK,𝐙​WV,\\text\{Attn\}\(\\mathbf\{Z\}\)=\\text\{softmax\}\\\!\\left\(\\frac\{\\mathbf\{Q\}\\mathbf\{K\}^\{\\top\}\}\{\\sqrt\{d\_\{k\}\}\}\\right\)\\mathbf\{V\},\\quad\\mathbf\{Q\},\\mathbf\{K\},\\mathbf\{V\}=\\mathbf\{Z\}W\_\{Q\},\\,\\mathbf\{Z\}W\_\{K\},\\,\\mathbf\{Z\}W\_\{V\},\(10\)
Attention is block\-causal: observed tokens are prevented from attending to the noisy future tokens, while future tokens attend freely to the observed prefix and to one another\. Writing𝐀∈\{0,−∞\}T×T\\mathbf\{A\}\\in\\\{0,\-\\infty\\\}^\{T\\times T\}for the additive mask applied to the attention logits before the softmax,Ai​j=−∞A\_\{ij\}=\-\\inftyiffi<Tobsi<T\_\{\\text\{obs\}\}andj≥Tobsj\\geq T\_\{\\text\{obs\}\}, and00otherwise\. The observed representation is therefore independent of the noise realisation, while the future block keeps the full bidirectional attention motivated above, since all its tokens share the same noise level\. The future timestamps supplied throughtrelt\_\{\\text\{rel\}\}are query times: they state when a prediction is requested and carry no information about the aircraft’s future state\.

Figure[3](https://arxiv.org/html/2609.16528#S5.F3)shows the full architecture\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/architecture.png)Figure 3:FlowATC DiT\[[13](https://arxiv.org/html/2609.16528#bib.bib5)\]architecture overview\.
### 5\.3Trajectory as an Image: Inpainting the Future

We represent each 86\-step window as a6×866\\times 86feature\-time matrix, in effect a one\-channel “image” of the trajectory\. The firstTobs=43T\_\{\\text\{obs\}\}=43tokens carry the observed \(clean\) state vectors; the lastTfut=43T\_\{\\text\{fut\}\}=43tokens are initialized with Gaussian noise and treated as the masked region to be inpainted \(Fig\.[4](https://arxiv.org/html/2609.16528#S5.F4)\)\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/token_grid_bw.png)Figure 4:Trajectory represented as a6×866\\times 86feature\-time matrix\. The observed prefix \(solid, left of dashed line\) provides context tokens; the noisy future suffix \(light, right\) is the region to be inpainted by the flow\-matching model\.Both theTobsT\_\{\\text\{obs\}\}clean observation tokens and theTfutT\_\{\\text\{fut\}\}noisy future tokens are embedded by a shared linear projection and concatenated into a single sequence of lengthT=86T=86:

𝐙=\[Win𝐗obs∥Win𝐗~fut\]∈ℝT×d\.\\mathbf\{Z\}=\\bigl\[W\_\{\\text\{in\}\}\\,\\mathbf\{X\}^\{\\text\{obs\}\}\\;\\\|\\;W\_\{\\text\{in\}\}\\,\\tilde\{\\mathbf\{X\}\}^\{\\text\{fut\}\}\\bigr\]\\in\\mathbb\{R\}^\{T\\times d\}\.\(11\)The observed past is thus injected purely by concatenation: no separate encoder is needed\. Because the past enters only as additional tokens, the architecture is a natural substrate for further conditioning: any extra signal \(ATC voice, weather fields, charts\) can be appended as context tokens without changing the loss or the inpainting mechanism\. Because all future tokens are denoised at the same noise leveltt, there is no temporal ordering to preserve within the future block, so attending freely helps the model produce spatially consistent trajectories\. Only theTfutT\_\{\\text\{fut\}\}future positions are read off for the loss or the next integration step\.

In addition to the AdaLN diffusion\-time conditioning, each token receives a sinusoidal time embedding of its prediction date: the time offset of that token within the window which is added to the token representation\. This lets the model distinguish near\-future from far future positions even though all future tokens are denoised simultaneously\.

The velocity fielduθ​\(𝐱,t\)u\_\{\\theta\}\(\\mathbf\{x\},t\)is trained on the straight\-line interpolation between Gaussian noise and the target future:

ℒCFM=𝔼t,𝐱0,𝐗fut​‖uθ​\(\(1−t\)​𝐱0\+t​𝐗fut,t∣𝐗obs\)−\(𝐗fut−𝐱0\)‖22,\\mathcal\{L\}\_\{\\text\{CFM\}\}=\\mathbb\{E\}\_\{t,\\,\\mathbf\{x\}\_\{0\},\\,\\mathbf\{X\}^\{\\text\{fut\}\}\}\\Bigl\\\|u\_\{\\theta\}\\\!\\bigl\(\(1\-t\)\\mathbf\{x\}\_\{0\}\+t\\mathbf\{X\}^\{\\text\{fut\}\},\\;t\\mid\\mathbf\{X\}^\{\\text\{obs\}\}\\bigr\)\-\(\\mathbf\{X\}^\{\\text\{fut\}\}\-\\mathbf\{x\}\_\{0\}\)\\Bigr\\\|\_\{2\}^\{2\},\(12\)with𝐱0∼𝒩⁡\(𝟎,𝐈\)\\mathbf\{x\}\_\{0\}\\sim\\mathcal\{N\}\(\\mathbf\{0\},\\mathbf\{I\}\)andt∼LogitNormal​\(1\.0,1\.0\)t\\sim\\text\{LogitNormal\}\(1\.0,1\.0\)\. At inference, Euler integration fromt=0t=0tot=1t=1in 20 steps produces one trajectory sample; repeating with independent noise draws yieldsKKdiverse completions\. We refer to this flow\-matching\-trained model as FlowATC\. The same backbone is also trained with a DDPM objective\[[8](https://arxiv.org/html/2609.16528#bib.bib1)\]\(1000 forward steps, cosine schedule, DDIM sampling\) as a baseline\.

All CFM and DDPM variants share a Transformer backbone \(multi\-head self\-attention, feed\-forward factor 4, dropout 0\.1\) with the layer/head/width counts of Table[2](https://arxiv.org/html/2609.16528#S5.T2)\. Training uses AdamW \(β1=0\.9\\beta\_\{1\}=0\.9,β2=0\.999\\beta\_\{2\}=0\.999, weight decay10−210^\{\-2\}, learning rate10−410^\{\-4\}\) with a 1000\-step linear warm\-up, batch size 512, for up to 200 epochs on a single GPU\. Exponential Moving Average weights \(decay 0\.9999\) are used at inference\.

Latency is the wall\-clock time to answer one request: a single input sequence \(batch size 1\) for whichK=20K\{=\}20samples are drawn in parallel, using 20 Euler steps for flow models and 100 DDIM steps for diffusion models\. It is measured in float32 on a single NVIDIA RTX 4000 Ada, averaged over at least 30 requests after 10 warm\-up requests\.

Table 2:Flow model architecture configurations\.

## 6Results

DrawingKKcompletions and coloring each by its final\-point KDE density yields a fan of plausible futures \(Fig\.[5](https://arxiv.org/html/2609.16528#S6.F5)\); the corresponding final\-point density forms spatial probabilistic occupancy estimates that can serve as an input to downstream conflict\-risk estimation \(Fig\.[6](https://arxiv.org/html/2609.16528#S6.F6)\)\. For straight en\-route segments the density is narrow and elongated along the track; for aircraft entering an approach turn it broadens laterally, capturing genuine uncertainty about the turn\-initiation point\. In all cases the high\-density region brackets the ground\-truth final position\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/FanPlot1.png)Figure 5:Predicted trajectory fan \(K=20K=20samples\)\. Blue: observed past; Green: ground\-truth future; purple–yellow: predicted final\-point density \(purple = low, yellow = high\)\.![Refer to caption](https://arxiv.org/html/2609.16528v1/StraightKDE.png)\(a\)Straight en\-route
![Refer to caption](https://arxiv.org/html/2609.16528v1/TurnKDE.png)\(b\)Turn
![Refer to caption](https://arxiv.org/html/2609.16528v1/HoldingKDE.png)\(c\)Holding entry

Figure 6:Final\-position probability density maps \(K=20K=20samples, Gaussian KDE, Scott bandwidth\)\. Dashed blue: observed past; dashed green: ground\-truth future; solid heatmap: sampled trajectories; green star: ground\-truth final position; yellow–red: predicted final\-point density \(light = low, dark = high\)\. Density width correlates with the complexity of the anticipated maneuver\.### 6\.1Model Comparison

Table[3](https://arxiv.org/html/2609.16528#S6.T3)compares all five model variants at matched capacity \(1\.5 M parameters\) on the held\-out test set\. LSTM\-Det improves over CV mainly on FDE \(2748\.5 m vs\. 3480\.2 m,−21%\-21\\%\), reflecting that a learned decoder curves its rollout toward typical approach geometry rather than extrapolating a straight line; the ADE gain is comparatively modest \(1305\.3 m vs\. 1343\.6 m\), since most of the 43\-step horizon is still well approximated by locally linear motion\. AtK=1K=1, the generative models do*not*outperform the deterministic baselines outright: Diffusion Tiny \(1370\.6/3183\.3\) is in fact the worst model in the table on minADE@1, and Flow Tiny \(1313\.5/3147\.7\) is comparable to CV\. Panel \(a\) of Fig\.[7](https://arxiv.org/html/2609.16528#S6.F7)shows this is a genuine crossover in horizon, not just an artefact of the final step: CV, LSTM, Diffusion, and Flow all start near zero displacement and grow withnn, while CVAE starts at∼\\sim500 m even atn=1n\{=\}1and grows far more slowly, overtaking the other four models only aroundn≈15n\\approx 15–20\. This is expected rather than a failure mode: a single diffusion or flow draw is one stochastic sample from the predicted distribution, not a mean or mode estimate, so it inherits the full spread of the multimodal posterior from the very first future step\. CVAE’s early offset has a different origin, isolated in Appendix[D](https://arxiv.org/html/2609.16528#Ax1.SS4): it is decoder output variance rather than a mispredicted mean, and the model cannot shed this noise for free as doing so collapses minADE@20 instead, since its discrete latent supplies little diversity conditional on a single observed history\. The generative models only become competitive once they are allowed to hedge across samples\.

Table 3:Model comparison at equal capacity \(1\.5 M parameters\)\. 43 obs→\\to43 fut steps \(≈128\\approx 128s horizon\),N=63,016N=63\{,\}016test trajectories\. Distances in metres±\\pmSEM\. KDE NLL in nats \(lower is better for all columns\)\.Bold= best value per column\.The picture reverses sharply byK=20K=20: Flow Tiny \(390\.5/686\.1\) and Diffusion Tiny \(459\.9/828\.1\) both surpass CVAE \(662\.9/1240\.9\) by a wide margin,41%41\\%and31%31\\%lower minADE@20 respectively\. Panel \(b\) of Fig\.[7](https://arxiv.org/html/2609.16528#S6.F7)shows this advantage holds across the full horizon, not just atn=43n\{=\}43: flow and diffusion separate from CVAE as early asK=5K\{=\}5\(Appendix[E](https://arxiv.org/html/2609.16528#Ax1.SS5)\), and the gap widens monotonically withnnthroughK=20K\{=\}20\. This indicates that the diffusion/flow sample cloud covers the true multimodal distribution more efficiently than the CVAE’s discrete\-latent mixture; fewer samples are wasted on implausible modes, so additional draws pay off faster at every horizon, not only at the end of the window\.

The NLL@nncolumns tell a complementary story about distributional quality rather than best\-case coverage\. All three generative models are similar at the 10\-step horizon \(13\.4–14\.6 nats\), but diverge sharply by the 43\-step horizon, as panel \(c\) of Fig\.[7](https://arxiv.org/html/2609.16528#S6.F7)makes clear: CVAE’s calibration curve bends upward steeply aftern≈20n\\approx 20, while Diffusion Tiny and Flow Tiny remain nearly flat over the same range\. CVAE’s NLL@43 \(31\.7\) corresponds to a kernel density at the realized endpoint roughlye13\.6≈8×105e^\{13\.6\}\\approx 8\\times 10^\{5\}times smaller than Flow Tiny’s \(18\.1\), meaning that even though CVAE’s best\-of\-20 samples can land close to the ground truth, its*full*predicted density is comparatively poorly calibrated at long horizons\.

Table 4:Vertical error at matched capacity \(1\.5 M parameters\) on the held\-out test set, in metres, mean±\\pmSEM over 63,016 windows\. The altitude axis is evaluated separately from the horizontal metrics of Table[3](https://arxiv.org/html/2609.16528#S6.T3); the deterministic baselines are constant inKK\.Comparing the two generative objectives directly, CFM \(Flow Tiny\) beats DDPM \(Diffusion Tiny\) on every column:15%15\\%lower minADE@20 \(390\.5 vs\. 459\.9\),17%17\\%lower minFDE@20, and consistently lower NLL at all three horizons\. In this matched\-capacity comparison CFM consistently outperforms DDPM; since capacity is held fixed, the gap points to the training objective rather than to model size, though we report single runs and do not quantify seed variance, a point we revisit at scale in Section[6\.2](https://arxiv.org/html/2609.16528#S6.SS2)\.

Table[4](https://arxiv.org/html/2609.16528#S6.T4)reports the vertical axis, evaluated separately\. It reproduces the horizontal narrative rather than adding a new one\. AtK=1K\{=\}1the deterministic LSTM is the most accurate model \(78\.4±0\.478\.4\_\{\\pm 0\.4\}m against94\.2±0\.594\.2\_\{\\pm 0\.5\}m for Flow Tiny\), since a single stochastic draw again inherits the spread of the predicted distribution rather than estimating its mean\. ByK=20K\{=\}20the ordering reverses: Flow Tiny reaches25\.0±0\.225\.0\_\{\\pm 0\.2\}m against28\.3±0\.228\.3\_\{\\pm 0\.2\}m for Diffusion Tiny and43\.8±0\.343\.8\_\{\\pm 0\.3\}m for the CVAE, a43%43\\%reduction over the latter, close to the41%41\\%measured horizontally\. Altitude at a two\-minute horizon is dominated by the discrete choice to level off, climb or descend, precisely the kind of branching a single point estimate cannot represent\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/degradation.png)Figure 7:Prediction error and calibration across sample budget and future horizon\. \(a\)–\(b\) Minimum displacement error atK∈\{1,20\}K\\in\\\{1,20\\\}\. \(c\) Density calibration for the two stochastic generative models \(CV and the deterministic LSTM are excluded: their point estimate has no associated density\)\. The fullK∈1,5,20K\\in\{1,5,20\}sweep is given in Appendix[E](https://arxiv.org/html/2609.16528#Ax1.SS5), Fig\.[17](https://arxiv.org/html/2609.16528#Ax1.F17)\.
### 6\.2Scaling

Table 5:Flow Matching vs\. Diffusion scaling\. 43 obs→\\to43 fut steps \(≈128\\approx 128s horizon\),N=63,016N=63\{,\}016test trajectories\. Distances in metres±\\pmSEM\. KDE NLL in nats\.Bold= best within each architecture family\.Table[5](https://arxiv.org/html/2609.16528#S6.T5)reports both CFM and DDPM across three model sizes\. FlowATC’s minADE@20 improves sharply from Tiny to Small \(390\.5→306\.1390\.5\\to 306\.1m,−21\.6%\-21\.6\\%\) but plateaus from Small to Large \(306\.1→307\.4306\.1\\to 307\.4m,\+0\.4%\+0\.4\\%\), and minFDE@20 shows the same pattern \(568\.7→576\.8568\.7\\to 576\.8m\)\. This suggests CFM saturates the information available in the 12\-day dataset by around 7 M parameters, approaching a data\-limited rather than capacity\-limited regime\. The saturation has an operational corollary: Flow Small reaches the same minADE@20 as Flow Large \(306\.1306\.1vs307\.4307\.4m\) at2\.3×2\.3\\timeslower latency \(67\.067\.0vs157\.1157\.1ms per request, Table[6](https://arxiv.org/html/2609.16528#S6.T6)\), so capacity beyond7\.17\.1M buys nothing but cost on this dataset\.

DDPM shows the opposite trend: minADE@20 improves steadily at every step \(459\.9→412\.7→344\.0459\.9\\to 412\.7\\to 344\.0m,−10\.3%\-10\.3\\%then−16\.6%\-16\.6\\%\), with its largest single gain occurring exactly where flow stalls\. Because DDPM has a harder denoising objective, this is consistent with DDPM still being capacity\-limited at 20\.7 M parameters where CFM is not\. Consequently, the relative advantage of CFM over DDPM on minADE@20 is not monotonic in model size:15%15\\%at Tiny, widening to26%26\\%at Small, then narrowing to11%11\\%at Large as DDPM catches up \(each measured as the reduction in minADE@20 relative to DDPM at matched capacity\)\. At the sizes tested here, CFM remains strictly better at every scale, but DDPM’s steeper scaling curve suggests the gap would continue to narrow, or close, at larger capacity than we evaluate\.

The KDE NLL columns decouple from minADE/minFDE in an interesting way: FlowATC’s NLL@43 is*best*at Tiny \(18\.1 nats\) and degrades with scale \(20\.2 nats at both Small and Large\), even as displacement error improves\. Larger FlowATC models thus produce sample clouds that are more accurate on average but slightly less well calibrated at long horizons, a reminder that best\-of\-KKaccuracy and distributional calibration are related but distinct properties, and that scaling helps one without guaranteeing the other\.

### 6\.3Extrapolation to Future Timesteps

Because the prediction\-date embedding conditions each future token on its time offset within the window rather than on a fixed step count, the model can be queried at prediction dates beyond theTfut=43T\_\{\\text\{fut\}\}=43horizon seen during training, simply by resampling the embedding at longer offsets without retraining or architectural changes\. We probe this by overwriting thetrelt\_\{\\text\{rel\}\}timing channel with virtual timestamps spanning target horizons up to360360s \(roughly three times the native≈128\\approx\\\!128s horizon\), stitching three shards \(Hmax∈\{90,180,360\}H\_\{\\max\}\\in\\\{90,180,360\\\}s\) to keep good temporal resolution across the full range\. Ground truth beyond the observation window is obtained by cubic\-spline interpolation of the continuing raw ADS\-B trajectory: a window contributes at a given horizon only if its flight actually extends that far, and horizons where fewer than half the windows qualify are dropped, a filter that does not bind here since85%85\\%of windows still have a continuing track at360360s\. Appendix[G](https://arxiv.org/html/2609.16528#Ax1.SS7)gives the full protocol, including a visible estimator\-seam artefact at the shard boundaries that reflects a change of estimator, not of model behavior\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/horizon_coverage.png)Figure 8:Portion of test windows reaching a given future horizon\.Figure[9](https://arxiv.org/html/2609.16528#S6.F9)reports minADE@KK\(panels a–b\) and KDE NLL \(panel c\) as a function of elapsed time since the last observation, from00to360360s, for CVAE, Diffusion Tiny, and Flow Tiny \(all 1\.5 M parameters\)\. The gray shading reports a distinct quantity: the fraction of test windows whose native 43\-token future span alone reaches that horizon,96%96\\%at9090s but16%16\\%at150150s and under1%1\\%at360360s \(Fig\.[8](https://arxiv.org/html/2609.16528#S6.F8)\)\. Beyond roughly150150s the comparison therefore rests on the interpolated continuation of each flight rather than on tokens the observation window itself contains\.

The diffusion\-based models degrade faster than CVAE at long horizons when only a single sample is drawn \(K=1K\{=\}1, panel a\); onceK≥5K\\geq 5\(panel b showsK=20K\{=\}20, the fullK=5K\{=\}5curve is in Appendix[G](https://arxiv.org/html/2609.16528#Ax1.SS7)\) Flow remains the most accurate model across the full horizon, and only CVAE’sK=1K\{=\}1curve overtakes it beyond≈200\\approx 200s\. This is an artefact of the models being queried at time offsets never seen during training: the future block still contains 43 tokens, but the prediction dates attached to them lie beyond the training horizon, whereas CVAE’s autoregressive decoder rolls out to arbitrary length by construction\.

Panel \(c\) shows why this apparent CVAE advantage is misleading\. KDE\-NLL, which tests whether a model’s uncertainty keeps pace with its actual error independent of its size, plateaus at≈20\\approx\\\!20nats for Diffusion and Flow fromt≈150t\\approx 150s onward\. Their sample clouds widen in step with the true uncertainty even as displacement error keeps growing \(panel b\) while CVAE’s NLL diverges to≈60\\approx\\\!60nats byt=360t=360s\. CVAE’s lower displacement error beyond≈200\\approx 200s therefore reflects a single sampled trajectory landing closer to the truth on average, not a predicted distribution that knows how uncertain it should be: exactly the failure mode best\-of\-KKmetrics cannot detect and KDE\-NLL is designed to catch\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/extrapolation_error.png)Figure 9:Extrapolation error and calibration beyond the training horizon\. \(a\)–\(b\) minDisp@KKforK∈\{1,20\}K\\in\\\{1,20\\\}\. \(c\) KDE NLL\. Gray shading \(right axis\): fraction of test windows with native ground\-truth coverage\. The fullK∈\{1,5,20\}K\\in\\\{1,5,20\\\}sweep is given in Appendix[G](https://arxiv.org/html/2609.16528#Ax1.SS7)\.
### 6\.4Operational Robustness

Real ADS\-B receivers report at rates that vary with receiver quality and congestion\. To test whether the architecture remains effective at coarser temporal resolution, we retrain the flow model at strides of 2, 4, and 8 \(effective intervals≈5\\approx 5,1010,2020s\): a dedicated model per stride, not one fixed model queried at variable resolution, since obs\_len and fut\_len must change with the token count\. Stride\-2 costs\+4\.9%\+4\.9\\%in minADE@20 while roughly halving inference time; stride\-8 costs\+44\.4%\+44\.4\\%but runs5\.0×5\.0\\timesfaster\. Near\-term calibration \(NLL@10\) is essentially unaffected across strides; long\-horizon calibration degrades more than the displacement numbers alone suggest, since NLL is a log\-likelihood\. The architecture thus degrades gracefully across temporal resolutions and is cheap to redeploy for a receiver’s typical rate \(full results and discussion in Appendix[F](https://arxiv.org/html/2609.16528#Ax1.SS6), Table[8](https://arxiv.org/html/2609.16528#Ax1.T8)\)\.

Table 6:Inference cost and monitoring capacity on one NVIDIA RTX 4000 Ada \(float32\)\. Latency: one request \(a single input sequence, batch size 1\),KKsamples drawn in parallel, 20 Euler steps \(CFM\) or 100 DDIM steps \(DDPM\)\. Throughput: best over concurrent requests, atK=20K\{=\}20\. Aircraft per GPU: throughput×\\times3 s, the mean ADS\-B update interval, i\.e\. aircraft whose forecast can be refreshed at every update\.≥\\geq: the card was not saturated at the largest concurrency tested \(1024\)\.Because one request already occupies the GPU, batching several aircraft into a single forward pass barely raises throughput for the Transformer models: one RTX 4000 Ada serves about 50 aircraft per second with Flow Tiny \(one 20\-sample forecast each\), 7 with Flow Large and 1\.4 with Diffusion Large \(Table[6](https://arxiv.org/html/2609.16528#S6.T6)\)\. At the33s mean ADS\-B update interval, a single GPU therefore keeps the forecasts of roughly 150 aircraft current with Flow Tiny, or 20 with Flow Large, and independent requests can be spread over further GPUs as traffic grows\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/hist_length.png)Figure 10:Displacement error as a function of retained observation history\. minFDE@5 \(mean±\\pmSEM,N=2000N\{=\}2000\) as the observed prefix is shrunk from 43 points \(nkeepn\_\{\\text\{keep\}\}\) to progressively shorter spans; the earliest43−nkeep43\-n\_\{\\text\{keep\}\}tokens are frozen \(repeated from the earliest retained sample\) since the backbone’s positional embeddings fix the input length at 43\. Error is essentially flat down tonkeep≈21n\_\{\\text\{keep\}\}\\approx 21and rises sharply belownkeep≈15n\_\{\\text\{keep\}\}\\approx 15\.The observed prefix can also be shortened at inference without retraining, by freezing the oldest tokens \(repeated from the earliest retained observation\) rather than truncating the fixed\-length input\. Figure[10](https://arxiv.org/html/2609.16528#S6.F10)reports minFDE@5 as the retained historynkeepn\_\{\\text\{keep\}\}shrinks from 43 to 2 points \(N=2000N\{=\}2000windows per level,≈1\.4\\approx\\\!1\.4million forward passes in total\): error stays essentially flat down tonkeep≈21n\_\{\\text\{keep\}\}\\approx 21\(half the window, under5%5\\%cost\) and rises sharply belownkeep≈15n\_\{\\text\{keep\}\}\\approx 15, reaching2\.6×2\.6\\timesthe full\-history error atnkeep=2n\_\{\\text\{keep\}\}=2\. Because the frozen prefix is also mildly out\-of\-distribution relative to training data, this should be read as a conservative upper bound on the true cost of a genuinely shorter history\.

## 7Spatial Bias

Without any chart or procedure supervision, FlowATC reproduces known Bay Area airspace structure such as approach turns, holding patterns, and descent profiles\. This can be done by understanding the latent structures from the absolute Cartesian coordinates which encode geographic position\. We examine this in three complementary ways: a catalogue of recurring turn geometries and their geographic relationship to published airspace procedures \(A\), qualitative evidence that the model’s sampled trajectories reproduce them \(B\), and a quantitative comparison, at branch points where traffic divides, of the maneuvers FlowATC samples against those actually flown, including by aircraft that do not turn \(C\)\.

### 7\.1Identifying Recurring Turn Patterns From ADS\-B Trajectories

To evaluate whether the model reproduces location\-specific maneuver structure, we use an independent catalogue of recurring turns built from ADS\-B trajectories; all counts and evaluations below use its events from the collection of Section[2](https://arxiv.org/html/2609.16528#S2)\. A turn is defined as the transition between two locally stable ground\-track segments\. The catalogue is derived directly from observed trajectories and is not used during model training; the full detection, classification, and grouping protocol is given in Appendix[H](https://arxiv.org/html/2609.16528#Ax1.SS8)\. Each turn is then associated geographically with published FAA navigation references using its detected start point\. A turn with exactly one nearby reference within 1 nautical mile is assigned to the isolated\-fix population, whereas a turn with multiple nearby references is assigned to the clustered/regional population\. This association should be interpreted as spatial proximity rather than evidence that a particular fix, controller instruction, or published procedure caused the maneuver\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/NIITE_pattern_zoomed.png)\(a\)Turn pattern associated with the fix HLHRS\.
![Refer to caption](https://arxiv.org/html/2609.16528v1/NIITE_L_noT2.png)\(b\)Full trajectory context of the recurring pattern\.
![Refer to caption](https://arxiv.org/html/2609.16528v1/NIITE4.NIITE.png)\(c\)NIITE FOUR departure chart\.

Figure 11:Recurring departure geometry recovered from ADS\-B trajectories near SFO\.\(a\)Turn pattern associated with the fix HLHRS\.\(b\)Wider trajectory context of the recurring pattern\.\(c\)The broad corridor and branching structure of the NIITE FOUR departure are visible in the extracted ADS\-B pattern visualisations\. Chart source: Federal Aviation Administration\[[4](https://arxiv.org/html/2609.16528#bib.bib19)\]The resulting catalog contains 433 recurring patterns and 32,765 non\-overlapping turn events: 229 isolated\-fix patterns comprising 12,076 events, and 204 clustered/regional patterns comprising 20,689 events\. Each pattern is annotated with a pattern identifier, an associated fix or regional fix set, turn direction, central turn angle, empirical angular tolerance, qualitative compactness label, and event count\. Compactness is reported as sharp, moderate, or broad\. Beyond cataloguing frequent turns, grouping trajectories by recurring local geometry provides an empirical representation of the maneuver modes available at specific locations in the airspace\. These modes often align with published procedure corridors, although geometry and fix proximity alone do not uniquely identify the procedure assigned to an individual flight\.

Figure[11](https://arxiv.org/html/2609.16528#S7.F11)illustrates this relationship for one recurring SFO departure pattern\. The pattern is namedHLHRS\_l1because HLHRS is the only eligible navigation reference within the association radius of its detected turn start location\. This name denotes geographic proximity and does not imply that HLHRS caused the maneuver or is part of the corresponding published procedure\. Nevertheless, the observed trajectory corridor is broadly consistent with the NIITE FOUR departure shown alongside it\.

The catalogue is designed to record recurring turns, so it contains only aircraft that turned\. Evaluating a predictor requires the complementary view: every aircraft arriving at a decision point, whatever it does next\. We therefore build on the catalogue to define branch points and collect all passages through them, recording the heading change actually flown, which is zero for aircraft that continue straight\. At the 28 branch points retained for evaluation, a third of the 2,329 test passages fly a catalogued turn of that point and a third continue straight; the others fly maneuvers that the catalogue, restricted by design to recurring turns near navigation references, does not retain there\.

### 7\.2Qualitative Evidence of Learned Spatial Bias

The turn\-pattern catalogue of Section[7\.1](https://arxiv.org/html/2609.16528#S7.SS1)provides a reference set of geographically recurring maneuvers against which model behavior can be inspected qualitatively\. In this subsection, we compare extracted turn patterns with sampled futures from FlowATC in order to assess whether the model reproduces not only plausible trajectories, but also the spatially structured branching behavior observed in the ADS\-B data\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/fork_noT2.png)\(a\)Recurring SFO departure patternsCA0048andHLHRS\_l1\.
![Refer to caption](https://arxiv.org/html/2609.16528v1/HLHRS_prediction_noT2.png)\(b\)Flow model samples forHLHRS\_l1test and validation events\.

Figure 12:Multimodal departure structure near SFO\.\(a\)The recurring patternsCA0048\(n=1,408n\{=\}1\{,\}408\) andHLHRS\_l1\(n=375n\{=\}375\) share a similar initial right turn departure geometry before diverging\. Lowercasenndenotes the total number of occurrences in the turn pattern catalogue\. TheCA0048trajectories continue the turn toward an eastbound continuation, whereasHLHRS\_l1cuts the initial turn shorter, continues farther north, and subsequently forms the identified left turn pattern\.\(b\)Predictions forN=40N\{=\}40distinctHLHRS\_l1turn events \(15 test \+ 25 validation\), with validation added because only 15 test aircraft yielded eligible prediction cases for this pattern\.K=20K\{=\}20sampled futures per event\. Blue shows the last 12 of the 43 observed points displayed for clarity, green the ground truth future, and red the model samples\.Figure[12](https://arxiv.org/html/2609.16528#S7.F12)shows a representative two\-mode example near San Francisco International Airport \(SFO\)\. The reference catalogue contains two departure patterns with similar initial geometry: clustered patternCA0048\(n=1,408n=1\{,\}408\) andHLHRS\_l1\(n=375n=375\)\. Both depart SFO and initially execute a similar right turn, but their later geometries diverge\. TheCA0048trajectories maintain the turn for longer and continue predominantly eastward, whereasHLHRS\_l1cuts the initial turn shorter, continues farther north, and subsequently forms a left\-turn pattern\. The corresponding predictions are constructed from test and validation cases belonging only toHLHRS\_l1\. Even in this setting, FlowATC samples populate both the northbound and eastbound continuations before the trajectories become fully distinguishable, indicating that FlowATC preserves multimodal uncertainty when the observed history is still compatible with more than one learned continuation\. At the same time, the ground\-truth future remains covered by a substantial subset of the samples\.

A more complex example is shown in Fig\.[13](https://arxiv.org/html/2609.16528#S7.F13), where six recurring turn patterns and a derived No Turn cohort share a similar inbound segment and then diverge into a fan\-shaped set of continuations near Daly City\. The catalogue identifies the following turn patterns in this region:CA0012\(n=1,125n=1\{,\}125\),CA0011\(n=274n=274\),CA0005\(n=168n=168\),CA0004\(n=105n=105\),CA0003\(n=127n=127\), andCA0017\(n=861n=861\)\. In addition, the visualization includes a No Turn cohort \(n=322n=322\), comprising historical flights that share the same incoming corridor and continue through the branching region without entering one of the detected turn patterns\. The associated prediction panels show two separate test subsets, built fromN=40N=40\(CA0012\) andN=29N=29\(CA0017\) distinct turn events withK=20K=20sampled futures per event\. In both cases, conditioned on the shared incoming geometry, FlowATC samples across several plausible outgoing branches while still covering the ground\-truth continuation\. However, not all branches are populated equally\. The predictions concentrate most strongly on the historically dominant continuations, which are the patterns CA0012, CA0017 and straight continuation\. This suggests that the observed prefix does not fully disambiguate the downstream branch, so FlowATC spreads probability mass over the modes roughly in proportion to how often each is flown \(Section[7\.3](https://arxiv.org/html/2609.16528#S7.SS3)\)\. Supporting this interpretation, the branches overlap substantially in turn\-start altitude and speed, indicating that the preference for some continuations over others is not cleanly explained by simple kinematic separation\. Overall, this behavior suggests that FlowATC has learned that the relevant uncertainty is not purely pointwise, but is organized around a discrete set of geographically recurring maneuver modes\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/fan_noT2.png)\(a\)Six recurring catalogue patterns\.
![Refer to caption](https://arxiv.org/html/2609.16528v1/daly_left_noT2.png)\(b\)Flow\-model samples forCA0012test events\.
![Refer to caption](https://arxiv.org/html/2609.16528v1/daly_right_noT2.png)\(c\)Flow\-model samples forCA0017test events\.

Figure 13:A fan\-shaped multimodal branching region near Daly City\.\(a\)Six recurring catalogue patterns and a derived*No Turn*cohort share a similar incoming trajectory before diverging into distinct continuations:CA0012\(n=1,125n=1\{,\}125\),CA0011\(n=274n=274\),CA0005\(n=168n=168\),CA0004\(n=105n=105\),CA0003\(n=127n=127\),CA0017\(n=861n=861\), and*No Turn*\(n=322n=322\)\. Lowercasenndenotes the total number of occurrences in the turn pattern catalogue\. The*No Turn*group is a visualization\-only cohort of historical flights that traverse the shared incoming corridor and continue through the branching region without entering one of the detected turn patterns\.\(b\)–\(c\)Flow\-model predictions for two separate test\-only subsets\. Panel\(b\)showsN=40N=40distinctCA0012turn events, and panel\(c\)showsN=29N=29distinctCA0017turn events, withK=20K=20sampled futures per event\. Blue shows the last 12 of the 43 observed points displayed for clarity, green the ground\-truth future, and red the model samples\.Taken together, these examples provide qualitative evidence that FlowATC learns location\-specific airspace structure from trajectory data alone\. Rather than collapsing toward an average future, it places samples across multiple historically observed maneuver modes when the observed history remains ambiguous\. These qualitative observations motivate the quantitative evaluation at branch points of Section[7\.3](https://arxiv.org/html/2609.16528#S7.SS3)\.

### 7\.3Probabilistic Reproduction of maneuvers at Branch Points

Displacement error and KDE\-NLL measure where probability mass lands in space, but neither asks whether the model reproduces the maneuver actually flown: at a given decision point, how often aircraft turn, how sharply, and with what spread\. The branch passages of Section[7\.1](https://arxiv.org/html/2609.16528#S7.SS1)provide the reference needed to ask this directly, and, unlike the cataloged events, they include the aircraft that do not turn\.

A branch point merges cataloged patterns lying within 1\.5 NM of each other whose incoming headings differ by at most30∘30^\{\\circ\}\. A passage is selected from the observed history only: at the last observed point, the aircraft heads within30∘30^\{\\circ\}of the branch point’s incoming heading, points at it, would reach it within 15 to 90 s at its current speed, and flies within the altitude band of the aircraft that fly its cataloged turns\. One window is kept per passage\. The altitude condition removes cruise overflights far above the procedure, which would otherwise inflate the share of straight flight\. The outcomeθ\\thetais the net heading change, unwrapped along the path, from the end of the observation until the path leaves a 4 NM disc around the branch point\. The same function is applied to the observed future and to each of theK=50K\{=\}50completions drawn by FlowATC, so the model and its reference are measured on the same footing\. On passages that fly a cataloged turn,θ\\thetarecovers the cataloged angle to a median error of1\.0∘1\.0^\{\\circ\}without using the catalog’s turn timing\. We evaluate the 28 branch points that have at least 40 such passages in the held\-out test split, 2,329 passages in total; the full protocol is given in Appendix[I](https://arxiv.org/html/2609.16528#Ax1.SS9)\.

Figure 14:Observed and sampled maneuver distributions at the six branch points with the most test passages\. Gray bars: share of observed test passages per bin of net heading changeθ\\theta\(left turns negative, right turns positive, straight flight near zero\)\. Green line: share of FlowATC samples \(Flow Large,K=50K\{=\}50per passage\) in the same bins\. Titles give the number of passagesnn, the 1\-Wasserstein distanceW1W\_\{1\}between the two distributions, the value an ideal history\-blind sampler would reach on this test set, and the observed and predicted shares of straight flight \(\|θ\|<10∘\|\\theta\|<10^\{\\circ\}\)\. The horizontal range covers the 1st to 99th percentiles of both distributions\. No catalogue information enters the figure\.We first ask whether FlowATC reproduces the distribution of maneuvers flown at each branch point, pooled over all aircraft that reach it\. Figure[14](https://arxiv.org/html/2609.16528#S7.F14)overlays the observed and sampled distributions ofθ\\thetaat the six branch points with the most test passages; all 28 are shown in Appendix[I](https://arxiv.org/html/2609.16528#Ax1.SS9), Fig\.[20](https://arxiv.org/html/2609.16528#Ax1.F20)\. FlowATC places its mass on the same modes, at the same angles and with comparable weights, including the three\-branch fan near Daly City, and its share of straight flight matches the observed one within a few percentage points in every panel\. Across the 28 branch points,W1W\_\{1\}between the pooled sampled and observed outcomes averages3\.3∘3\.3^\{\\circ\}, weighted by passages\. This distance cannot vanish on a finite test set: an ideal sampler drawing from the true distribution of each branch point would itself score about3\.8∘3\.8^\{\\circ\}\. FlowATC reaches that level at 16 of the 28 branch points, and predicts a straight\-through share of32\.2%32\.2\\%against32\.9%32\.9\\%observed, with a correlation of0\.990\.99across branch points\.

Reproducing the pooled distribution does not require using the history: a sampler that ignored each aircraft and drew from the distribution of its branch point would do so as well\. We therefore score each passage individually with the fair ensemble continuous ranked probability score \(CRPS\)\[[5](https://arxiv.org/html/2609.16528#bib.bib21)\], a fair finite\-ensemble score that compares theKKsampled outcomes of one passage with the outcome actually flown, rewarding both accuracy and appropriate spread; for a single deterministic prediction it reduces to the absolute error\. The reference is a history\-blind sampler that, for each passage, draws from the observed outcomes of all other passages at the same branch point: it knows the exact test distribution but nothing about the aircraft\. FlowATC reduces its CRPS by47%47\\%\(95% bootstrap interval over branch points: 36 to62%62\\%\), is better on82%82\\%of passages, and improves on it at all 28 branch points \(Table[7](https://arxiv.org/html/2609.16528#S7.T7)\)\. Its sampled intervals are close to calibrated: the central 80% interval contains the observed outcome for81%81\\%of passages and the central 95% interval for92%92\\%, so its tails are slightly too narrow\. FlowATC thus reproduces maneuvers at two levels: marginally, as the distribution of what all aircraft reaching a branch point do, and conditionally, as a close to calibrated distributionfor each aircraft given its observed history\.

Table 7:maneuver fidelity at the 28 branch points \(N=2,329N\{=\}2\{,\}329test passages,K=50K\{=\}50samples each\)\.W1W\_\{1\}: 1\-Wasserstein distance between pooled sampled and observed outcomes, averaged over branch points weighted by passages\. Straight: share of outcomes with\|θ\|<10∘\|\\theta\|<10^\{\\circ\}\(observed:32\.9%32\.9\\%\)\. CRPS skill: relative CRPS reduction against the history\-blind sampler, with 95% bootstrap interval over branch points\. Coverage: share of observed outcomes inside the central 80% and 95% sample intervals\.ModelParamsW1W\_\{1\}\(deg\)Straight \(%\)CRPS skillCov\. 80%Cov\. 95%Flow Large20\.7 M3\.3\\mathbf\{3\.3\}32\.232\.20\.47\\mathbf\{0\.47\}\[0\.36, 0\.62\]81\.281\.291\.991\.9Flow Small7\.1 M3\.73\.733\.133\.10\.410\.41\[0\.30, 0\.58\]80\.980\.993\.393\.3Flow Tiny1\.5 M9\.69\.637\.337\.30\.250\.25\[0\.12, 0\.44\]84\.484\.496\.096\.0CVAE1\.5 M10\.410\.431\.431\.40\.250\.25\[0\.13, 0\.44\]74\.074\.083\.683\.6History\-blind sampler—3\.83\.832\.932\.900——Catalogued angles only—27\.227\.20\.00\.0−0\.92\-0\.92\[−1\.81\-1\.81,−0\.35\-0\.35\]——Always straight—37\.137\.1100100−1\.35\-1\.35——Table[7](https://arxiv.org/html/2609.16528#S7.T7)mirrors the ordering of Section[6](https://arxiv.org/html/2609.16528#S6)\. Flow Small is almost as good as Flow Large, with a CRPS skill of41%41\\%against47%47\\%, consistent with the saturation observed in Section[6\.2](https://arxiv.org/html/2609.16528#S6.SS2), whereas Flow Tiny and the CVAE reach only25%25\\%and roughly triple the marginal distance\. The CVAE is also the only model whose intervals are clearly too narrow: its central 95% interval covers84%84\\%of outcomes\. Drawing from the cataloged turn angles alone does worse than the history\-blind sampler, because, by design, it describes only the aircraft that turn\.

## 8Conclusion

We presented FlowATC, a flow\-matching architecture for aircraft trajectory prediction that frames the task as sequence inpainting\. By concatenating observed and noisy tokens in a single DiT conditioned through AdaLN, FlowATC samples from the conditional distribution of future trajectories given the observed past\. Four findings stand out\. First, best\-of\-KKaccuracy and distributional calibration are related but distinct properties, and generative models dominate deterministic and kinematic baselines primarily on the former: at matched capacity, CFM and DDPM both surpass the CVAE baseline by3131–41%41\\%on minADE@20, while a single sample from either is no better, and sometimes worse, than a deterministic point estimate\.KKindependent samples are what turn this single\-sample weakness into a calibrated spatial density over future positions that can serve as an input to downstream conflict\-risk estimation\. Second, CFM is consistently the strongest objective at matched parameter count, outperforming DDPM by1111–26%26\\%in minADE@20 across the model sizes we test, though the gap narrows as both objectives scale, with DDPM’s steeper scaling curve suggesting it may close entirely beyond the capacities evaluated here\. Third, FlowATC is operationally flexible along several axes: error degrades gracefully within the training horizon, temporal decimation to stride 2 costs under5%5\\%in minADE@20 while roughly halving inference time, and stride 8 gives a5×5\\timesspeedup at a44%44\\%accuracy cost\. Queried beyond the training horizon, FlowATC remains the most accurate model up to 360 s once several samples are drawn, and its calibration stays stable where the CVAE’s diverges\.

Lastly, FlowATC learns airspace structure without chart or procedure supervision: approach turns, holding patterns, and descent profiles emerge from data alone\. At 28 branch points where traffic divides, it reproduces the distribution of maneuvers actually flown, including the third of aircraft that continue straight, and gives each aircraft a close to calibrated distribution that improves on a history\-blind sampler by47%47\\%in CRPS\.

### Future Work

FlowATC, in its current single\-modality form, is designed as the first stage of a multi\-modal predictor\. Because the past enters only as additional context tokens, three conditioning streams can be appended without changing the loss or the inpainting mechanism:

1. 1\.ATC voice instructions: radio transcripts from Bay Area towers carry controller intent at maneuver initiation points; aligning voice embeddings with the trajectory space\[[3](https://arxiv.org/html/2609.16528#bib.bib7)\]should sharpen the posterior at turn points\.
2. 2\.Weather fields: wind forecasts and SIGMET polygons tokenized as additional context;
3. 3\.FAA airspace structure: the named fixes and directed procedure edges \(STARs, SIDs, airways, holding patterns\) of the Bay Area encoded as a graph conditioning signal\.

Each modality is expected to reduce density variance precisely at decision points where a single observed history is consistent with multiple controller instructions\. A further stream is the flight plan itself: planned trajectories could be inserted conditionally into the future tokens as additional information\.

## Funding Sources

This work was funded by École Polytechnique\. Mathurin Petit was hosted at CITRIS and the Banatao Institute, University of California, Berkeley, under the Visiting Scholar Researcher program\.

## Acknowledgments

We thank Professor Trevor Darrell and Jiahui Lei from the Berkeley Artificial Intelligence Research Lab \(BAIR\) for their advice regarding trajectory\-applied flow motion\. We would also like to thank Tom Davis and John Robinson from Crown Innovations LLC, Parimal Kopardekar and James Murphy of NASA Ames Research Center, and Dragos Margineantu from Boeing for their insightful discussions regarding next\-generation airspace decision support tools\. We also thank Professor Hans\-Ludger Dienel from Technische Universität Berlin for coordinating with UC Berkeley\.

## References

- \[1\]\(2025\)Stochastic interpolants: a unifying framework for flows and diffusions\.Journal of Machine Learning Research26\(209\),pp\. 1–80\.Cited by:[§5\.1](https://arxiv.org/html/2609.16528#S5.SS1.p3.2)\.
- \[2\]J\. Briden, B\. Johnson, R\. Linares, and A\. Cauligi\(2025\)Diffusion policies for generative modeling of spacecraft trajectories\.InAIAA SCITECH 2025 Forum,Note:AIAA Paper 2025\-2775External Links:[Document](https://dx.doi.org/10.2514/6.2025-2775)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1)\.
- \[3\]L\. Brusset, M\. Petit, J\. Kam, and A\. Bayen\(2026\)V2TATC: a joint voice\-trajectory embedding framework and dataset for air traffic controller situational awareness\.arXiv preprint arXiv:2608\.28981\.External Links:2608\.28981,[Link](https://arxiv.org/abs/2608.28981)Cited by:[item 1](https://arxiv.org/html/2609.16528#S8.I1.i1.p1.1)\.
- \[4\]Federal Aviation Administration\(2026\)NIITE FOUR DEPARTURE \(RNAV\) \(NIITE4\.NIITE\), San Francisco International Airport \(SFO\)\.Note:[https://www\.faa\.gov/aero\_docs/dtpp/2607/00375NIITE\.PDF](https://www.faa.gov/aero_docs/dtpp/2607/00375NIITE.PDF)FAA Terminal Procedures Publication, cycle 2607, effective 9 July–6 August 2026; procedure dated 11 July 2024; accessed 18 July 2026Cited by:[Figure 11](https://arxiv.org/html/2609.16528#S7.F11),[Figure 11](https://arxiv.org/html/2609.16528#S7.F11.7)\.
- \[5\]C\. A\. T\. Ferro\(2014\)Fair scores for ensemble forecasts\.Quarterly Journal of the Royal Meteorological Society140\(683\),pp\. 1917–1923\.External Links:[Document](https://dx.doi.org/10.1002/qj.2270)Cited by:[§7\.3](https://arxiv.org/html/2609.16528#S7.SS3.p4.1)\.
- \[6\]B\. Figuet, T\. Krauth, and S\. Barry\(2026\)Generative short\-term aircraft trajectory prediction with conditional flow matching\.Journal of Open Aviation Science4\(2\)\.External Links:[Document](https://dx.doi.org/10.59490/joas.2026.8468)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p2.1),[§1](https://arxiv.org/html/2609.16528#S1.p1.1),[§3](https://arxiv.org/html/2609.16528#S3.p1.1)\.
- \[7\]T\. Gneiting and A\. E\. Raftery\(2007\)Strictly proper scoring rules, prediction, and estimation\.Journal of the American Statistical Association102\(477\),pp\. 359–378\.External Links:[Document](https://dx.doi.org/10.1198/016214506000001437),https://doi\.org/10\.1198/016214506000001437Cited by:[§3\.3](https://arxiv.org/html/2609.16528#S3.SS3.p4.1)\.
- \[8\]J\. Ho, A\. Jain, and P\. Abbeel\(2020\)Denoising diffusion probabilistic models\.InAdvances in Neural Information Processing Systems,Vol\.33,pp\. 6840–6851\.Cited by:[§C](https://arxiv.org/html/2609.16528#Ax1.SS3.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p2.1),[§5\.3](https://arxiv.org/html/2609.16528#S5.SS3.p4.2)\.
- \[9\]B\. Ivanovic, E\. Schmerling, K\. Leung, and M\. Pavone\(2018\)Generative modeling of multimodal multi\-human behavior\.In2018 IEEE/RSJ International Conference on Intelligent Robots and Systems \(IROS\),pp\. 3088–3095\.External Links:[Document](https://dx.doi.org/10.1109/IROS.2018.8594393)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.p1.1)\.
- \[10\]M\. Janner, Y\. Du, J\. B\. Tenenbaum, and S\. Levine\(2022\)Planning with diffusion for flexible behavior synthesis\.InInternational Conference on Machine Learning \(ICML\),Vol\.162,pp\. 9902–9915\.Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1)\.
- \[11\]C\. M\. Jiang, A\. Cornman, C\. Park, B\. Sapp, Y\. Zhou, and D\. Anguelov\(2023\)MotionDiffuser: controllable multi\-agent motion prediction using diffusion\.InProceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition,pp\. 9644–9653\.External Links:[Document](https://dx.doi.org/10.1109/CVPR52729.2023.00930)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p1.1),[§3\.2](https://arxiv.org/html/2609.16528#S3.SS2.p1.1)\.
- \[12\]Y\. Lipman, R\. T\. Q\. Chen, H\. Ben\-Hamu, M\. Nickel, and M\. Le\(2023\)Flow matching for generative modeling\.InInternational Conference on Learning Representations,Cited by:[§C](https://arxiv.org/html/2609.16528#Ax1.SS3.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p2.1),[§5\.1](https://arxiv.org/html/2609.16528#S5.SS1.p3.2)\.
- \[13\]W\. Peebles and S\. Xie\(2023\)Scalable diffusion models with transformers\.InProceedings of the IEEE/CVF International Conference on Computer Vision,pp\. 4195–4205\.External Links:[Document](https://dx.doi.org/10.1109/ICCV51070.2023.00387)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.p2.1),[Figure 3](https://arxiv.org/html/2609.16528#S5.F3),[Figure 3](https://arxiv.org/html/2609.16528#S5.F3.4),[§5\.2](https://arxiv.org/html/2609.16528#S5.SS2.p1.1)\.
- \[14\]A\. Prutsch, D\. Schinagl, and H\. Possegger\(2026\)ASCENT: Transformer\-Based Aircraft Trajectory Prediction in Non\-Towered Terminal Airspace\.InProceedings of the IEEE International Conference on Robotics and Automation \(ICRA\),Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p1.1)\.
- \[15\]T\. Salzmann, B\. Ivanovic, P\. Chakravarty, and M\. Pavone\(2020\)Trajectron\+\+: dynamically\-feasible trajectory forecasting with heterogeneous data\.InEuropean Conference on Computer Vision \(ECCV\),pp\. 683–700\.External Links:[Document](https://dx.doi.org/10.1007/978-3-030-58523-5%5F40)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p1.1),[§3\.2](https://arxiv.org/html/2609.16528#S3.SS2.p1.1),[§3\.3](https://arxiv.org/html/2609.16528#S3.SS3.p1.1),[§3](https://arxiv.org/html/2609.16528#S3.p1.1),[§4\.3](https://arxiv.org/html/2609.16528#S4.SS3.p1.1)\.
- \[16\]J\. Song, C\. Meng, and S\. Ermon\(2021\)Denoising diffusion implicit models\.InInternational Conference on Learning Representations,Cited by:[§C](https://arxiv.org/html/2609.16528#Ax1.SS3.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p2.1)\.
- \[17\]L\. A\. Thiede and P\. P\. Brahma\(2019\)Analyzing the variety loss in the context of probabilistic trajectory prediction\.InProceedings of the IEEE/CVF International Conference on Computer Vision,pp\. 9954–9963\.External Links:[Document](https://dx.doi.org/10.1109/ICCV.2019.01005)Cited by:[§3\.3](https://arxiv.org/html/2609.16528#S3.SS3.p1.1)\.
- \[18\]Q\. Tong, J\. Hu, Y\. Chen, D\. Guo, and X\. Liu\(2023\)Long\-term trajectory prediction model based on transformer\.IEEE Access11,pp\. 143695–143703\.External Links:[Document](https://dx.doi.org/10.1109/ACCESS.2023.3343800)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1)\.
- \[19\]A\. Vaswani, N\. Shazeer, N\. Parmar, J\. Uszkoreit, L\. Jones, A\. N\. Gomez, Ł\. Kaiser, and I\. Polosukhin\(2017\)Attention is all you need\.InAdvances in Neural Information Processing Systems,Vol\.30,pp\. 5998–6008\.Cited by:[§B](https://arxiv.org/html/2609.16528#Ax1.SS2.p2.1),[§1](https://arxiv.org/html/2609.16528#S1.p2.1)\.
- \[20\]S\. Yang, L\. Liu, B\. Chen, S\. Cheng, Z\. Shi, and Z\. Zou\(2025\)GooDFlight: goal\-oriented diffusion model for flight trajectory prediction\.IEEE Transactions on Aerospace and Electronic Systems61\(3\),pp\. 7447–7465\.External Links:[Document](https://dx.doi.org/10.1109/TAES.2025.3536436)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1),[§1](https://arxiv.org/html/2609.16528#S1.p1.1)\.
- \[21\]Y\. Yin, S\. Zhang, Y\. Zhang, Y\. Zhang, and S\. Xiang\(2023\)Context\-aware aircraft trajectory prediction with diffusion models\.In2023 IEEE 26th International Conference on Intelligent Transportation Systems \(ITSC\),pp\. 5312–5317\.External Links:[Document](https://dx.doi.org/10.1109/ITSC57777.2023.10422124)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1)\.
- \[22\]W\. Zeng, X\. Chu, Z\. Xu, Y\. Liu, and Z\. Quan\(2022\)Aircraft 4D trajectory prediction in civil aviation: a review\.Aerospace9\(2\),pp\. 91\.External Links:[Document](https://dx.doi.org/10.3390/aerospace9020091)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1),[§3](https://arxiv.org/html/2609.16528#S3.p1.1)\.
- \[23\]Z\. Zhao, W\. Zeng, Z\. Quan, M\. Chen, and Z\. Yang\(2019\)Aircraft trajectory prediction using deep long short\-term memory networks\.InCICTP 2019,pp\. 124–135\.External Links:[Document](https://dx.doi.org/10.1061/9780784482292.012)Cited by:[§1](https://arxiv.org/html/2609.16528#S1.SSx1.p1.1)\.

## Appendices

The appendices collect supporting material that complements the main article and are useful for reproduction\.

### ARandom Sample of Flow\-Large Predictions on the Test Set

To complement the curated multimodal examples of Section[7](https://arxiv.org/html/2609.16528#S7), which are deliberately selected to illustrate branching behavior at known decision points, Figure[15](https://arxiv.org/html/2609.16528#Ax1.F15)shows an*uncurated*sample: 40 test windows drawn uniformly at random \(fixed seed, no cherry\-picking\), predicted by Flow Large \(20\.7 M parameters\) atK=20K\{=\}20with the same 20\-step Euler integration used throughout the paper\. For each panel, blue marks the observed history \(open circle: last observed point\); the dashed green line and star mark the ground\-truth future and its final position; theK=20K\{=\}20sampled trajectories are drawn as thin rays, coloured by the Gaussian KDE density \(Scott’s\-rule bandwidth, Eq\. \([4](https://arxiv.org/html/2609.16528#S3.E4)\)\) of their endpoint, with the same density shown as filled contours\.

The large majority of panels show the predicted density tightly bracketing the ground truth, on both straight segments and turns, including one holding pattern reproduced almost exactly\. A small minority \(2 of the 40 panels shown\) instead show the sampled density missing the realized outcome entirely\. This is not hidden or excluded: an honest sample from a genuinely uncertain predictor occasionally misses, and this is precisely the behavior that KDE\-NLL penalizes and that a best\-of\-KKfigure alone would let a model hide\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/appendix_trajectory_mosaic.png)Figure 15:Uncurated random sample of 40 test\-set predictions
### BData Preprocessing details

Raw CSV files are ingested per aircraft, deduplicated on timestamp, and segmented into continuous flight segments: a new segment begins whenever the callsign changes or the inter\-sample gap exceeds120120s\. Raw geodetic coordinates present three difficulties for neural processing: longitude is non\-linear \(one degree covers different physical distances at different latitudes\), true track is a circular variable \(359∘→0∘359^\{\\circ\}\\\!\\to\\\!0^\{\\circ\}\), and position and velocity live at incompatible scales\. We resolve these by projecting onto a local tangent\-plane Cartesian frame centered on SFO \(ϕ0=37\.6213∘\\phi\_\{0\}=37\.6213^\{\\circ\}N,λ0=122\.3790∘\\lambda\_\{0\}=122\.3790^\{\\circ\}W\):

x=\(R\+h\)​cos⁡ϕ⁡\(λ−λ0\),y=R⁡\(ϕ−ϕ0\),z=h,x=\(R\+h\)\\cos\\phi\\,\(\\lambda\-\\lambda\_\{0\}\),\\quad y=R\\,\(\\phi\-\\phi\_\{0\}\),\\quad z=h,\(13\)with velocity componentsvx=v​sin⁡θv\_\{x\}=v\\sin\\theta,vy=v​cos⁡θv\_\{y\}=v\\cos\\theta,vz=h˙v\_\{z\}=\\dot\{h\}\.222The altitude term\(R\+h\)\(R\+h\)appears in the east componentxxbut not in the north componentyy, where it would contribute a<0\.2%<0\.2\\%correction \(h≪Rh\\ll R\); this asymmetry has no practical effect on the meter\-scale features, which are z\-score normalized regardless\.Segments are windowed into 86\-point sequences with a stride of 10\.

To expose the true timing to the network, we compute, for each sample, the elapsed time since the start of its window, apply a sinusoidal embedding\[[19](https://arxiv.org/html/2609.16528#bib.bib6)\]to it, and pass the result through a small MLP before adding it to the corresponding input token\. Flight segments and windows that are entirely on the ground \(ADS\-Bon\_groundflag\) are discarded during preprocessing, together with a small number of windows containing corrupted altitude readings \(<−50<\-50m\); every retained window contains at least one airborne sample\. The train/validation/test split is drawn at the level of individual aircraft: the set of unique ICAO24 transponder codes is shuffled once with a fixed seed \(42\) and partitioned 85%/10%/5%, and every window belonging to a given aircraft is assigned entirely to a single split, preventing correlated windows from leaking across splits\.

### CFlow matching and DDPM

Diffusion models and flow matching are two families of generative models that learn to sample from a data distributionp⁡\(𝐱\)p\(\\mathbf\{x\}\)by reversing a noise corruption process; both can be made*conditional*by holding a context signal fixed while the target is denoised\. Denoising Diffusion Probabilistic Models\[[8](https://arxiv.org/html/2609.16528#bib.bib1)\]define a Markov chain that gradually adds Gaussian noise to a data sample overTdiffT\_\{\\text\{diff\}\}steps until it is indistinguishable from pure noise\. A network𝜺θ\\boldsymbol\{\\varepsilon\}\_\{\\theta\}is trained to predict the added noise, enabling step\-by\-step denoising from a pure\-noise sample at inference\. The number of inference steps can be reduced \(e\.g\. from 1000 to 100\) with the DDIM sampler\[[16](https://arxiv.org/html/2609.16528#bib.bib2)\]without significant quality loss\. Conditional Flow Matching\[[12](https://arxiv.org/html/2609.16528#bib.bib3)\]learns a velocity fielduθ​\(𝐱,t\)u\_\{\\theta\}\(\\mathbf\{x\},t\)that transports samples along straight\-line paths from a Gaussian base distribution \(t=0t=0\) to the data distribution \(t=1t=1\)\. The objective is simple and deterministic: at any interpolation𝐱t=\(1−t\)​𝐱0\+t​𝐱1\\mathbf\{x\}\_\{t\}=\(1\-t\)\\mathbf\{x\}\_\{0\}\+t\\mathbf\{x\}\_\{1\}, the target velocity is the constant\(𝐱1−𝐱0\)\(\\mathbf\{x\}\_\{1\}\-\\mathbf\{x\}\_\{0\}\)\. At inference, integrating the learned field with a few Euler steps produces a clean sample\. Compared to DDPM, CFM has a simpler loss, requires fewer steps, and yields straighter sampling trajectories in data space \(Fig\.[16](https://arxiv.org/html/2609.16528#Ax1.F16)\)\.

𝐱0∼𝒩\\mathbf\{x\}\_\{0\}\\\!\\sim\\\!\\mathcal\{N\}𝐱1∼pdata\\mathbf\{x\}\_\{1\}\\\!\\sim\\\!p\_\{\\text\{data\}\}Flow Matching\(straight paths\)𝐱T∼𝒩\\mathbf\{x\}\_\{T\}\\\!\\sim\\\!\\mathcal\{N\}𝐱0∼pdata\\mathbf\{x\}\_\{0\}\\\!\\sim\\\!p\_\{\\text\{data\}\}DDPM\(curved / multi\-step\)Figure 16:Conceptual comparison of Flow Matching and DDPM generation\. Flow Matching transports samples along straight conditional paths, requiring fewer integration steps and yielding a simpler training objective\. DDPM reverses a Markov noising chain along curved trajectories\.
### DCVAE Decoder Variance at the First Prediction Step

The CVAE’s near\-flat error curve at short horizon \(Fig\.[7](https://arxiv.org/html/2609.16528#S6.F7)a\) and its NLL divergence at long horizon share a common cause\. Decomposing the step\-1 prediction on the held\-out test set: the true one\-step displacement averages 311 m, the decoder’s conditional\-mean error is 111 m \(about twice the 56 m of constant velocity\), but the sampled Gaussian noise adds a furtherσ0≈605\\sigma\_\{0\}\\approx 605m horizontally\. Thisσ\\sigmasits at its trained floor \(≈\\approx50 m\) for every subsequent step, so the excess variance atn=1n\{=\}1is a boundary effect rather than a genuine displacement error\. Deterministic sampling \(only latent draw, no decoder noise\) confirms this: step\-1 minADE@1 drops from 542\.6 m to 118\.1 m\. The noise cannot simply be removed, however: because the prior places≈95%\\approx 95\\%of its mass on a single category for a given observed history \(12 of 25 categories carry non\-negligible mass in aggregate, but conditionally the latent is nearly one\-hot\), disabling decoder noise collapses minADE@20 back toward minADE@1 \(853\.4853\.4vs\.508\.2508\.2m\) instead of theKKdraws exploringKKdistinct futures\. The model’s cumulative time encoding contributes to this: the decoder can recover the local inter\-step gap forn≥1n\\geq 1by differencing two elapsed\-time values it received itself, but the very first future gap \(last observation to first prediction\) is reachable only through the compressed history encoding\. That defect, however, acts on the conditional mean, not on the decoder variance: atn=1n\{=\}1the mean is already within111111m of the truth whileσ0≈605\\sigma\_\{0\}\\approx 605m, so the offset is five times larger than any error the mean could contribute, and a better\-informed mean cannot remove it\. The best\-of\-KKcomparisons that carry our headline results are driven byσ\\sigmaand by the latent’s conditional diversity, neither of which depends on this input, so we do not expect a time\-corrected CVAE to change theK=20K\{=\}20ordering of Table[3](https://arxiv.org/html/2609.16528#S6.T3)\.

The same limitation applies architecturally to the deterministic LSTM baseline, which uses an identical no\-feedback decoder driven solely by cumulativetrelt\_\{\\rm rel\}; its own step\-1 error \(94\.394\.3m\) is nearly twice the steady per\-step increment observed from step 2 onward \(≈\\approx50 m\), consistent with the same missing local time gap\.

### EFullK∈\{1,5,20\}K\\in\\\{1,5,20\\\}Displacement Sweep

Figure[7](https://arxiv.org/html/2609.16528#S6.F7), in the main text, shows minDisp@1, minDisp@20 and density calibration only;K=5K\{=\}5is omitted there to keep the figure to three panels, since it sits between theK=1K\{=\}1andK=20K\{=\}20stories without adding a qualitatively new one\. Figure[17](https://arxiv.org/html/2609.16528#Ax1.F17)reports the complete sweep for completeness\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/degradation_full.png)Figure 17:FullK∈\{1,5,20\}K\\in\\\{1,5,20\\\}displacement\-error sweep, extending Fig\.[7](https://arxiv.org/html/2609.16528#S6.F7)with the intermediateK=5K\{=\}5panel\.
### FADS\-B Downsampling — Full Results

Because downsampling changes the physical time each future token represents, the KDE NLL columns of Table[8](https://arxiv.org/html/2609.16528#Ax1.T8)are evaluated at the token index whose horizon is closest to the stride\-1 reference rather than at a fixed token index \(see table caption for the resulting horizons\)\. Under this matched\-horizon comparison, NLL@43 rises from20\.220\.2to22\.222\.2–23\.023\.0nats across the three strides\. Because NLL is a log\-likelihood, this modest\-looking increase in nats corresponds to the ground\-truth density dropping by a factor ofe2\.0≈7\.4×e^\{2\.0\}\\\!\\approx\\\!7\.4\\times\(stride\-2\) toe2\.8≈16\.4×e^\{2\.8\}\\\!\\approx\\\!16\.4\\times\(stride\-4\), a substantially larger effective loss of calibration than the nat values alone suggest\. NLL@10, by contrast, is essentially unchanged and even improves slightly at stride\-8 \(12\.912\.9vs\.13\.313\.3nats,e−0\.4≈1\.5×e^\{\-0\.4\}\\\!\\approx\\\!1\.5\\times*more*likely\)\. The architecture retrains effectively on lower\-rate feeds, while the model’s confidence at long horizons becomes markedly less trustworthy under coarser sampling, even though the displacement\-error degradation \(Table[8](https://arxiv.org/html/2609.16528#Ax1.T8)\) looks comparable in relative terms across horizons\.

Table 8:Effect of temporal stride on Flow Large \(20\.7 M params\),N=63,016N=63\{,\}016test trajectories\. Distances in metres±\\pmSEM\. KDE NLL in nats, reported at the token whose physical horizon is nearest the stride\-1 reference \(n=10,20,43≈30,60,129n\{=\}10,20,43\\approx 30,60,129s\); stride models thus reach\{30,60,132\}\\\{30,60,132\\\}s \(stride 2\),\{36,60,132\}\\\{36,60,132\\\}s \(stride 4\) and\{24,48,120\}\\\{24,48,120\\\}s \(stride 8\)\. Bold = reference\.
### GFull Extrapolation Sweep and Shard\-Stitching Detail

Figure[9](https://arxiv.org/html/2609.16528#S6.F9)in the main text omits minDisp@5; Figure[18](https://arxiv.org/html/2609.16528#Ax1.F18)reports the completeK∈\{1,5,20\}K\\in\\\{1,5,20\\\}sweep\. BecauseΔ​tvirt=Hmax/43\\Delta t\_\{\\mathrm\{virt\}\}=H\_\{\\max\}/43is fixed onceHmaxH\_\{\\max\}is chosen, a single run only gives good local temporal resolution near its ownHmaxH\_\{\\max\}: a run withHmax=360H\_\{\\max\}=360s hasΔ​tvirt≈8\.4\\Delta t\_\{\\mathrm\{virt\}\}\\approx 8\.4s/token, under\-resolving the00–9090s range relative to a dedicatedHmax=90H\_\{\\max\}=90s run \(Δ​tvirt≈2\.1\\Delta t\_\{\\mathrm\{virt\}\}\\approx 2\.1s/token\)\. We therefore stitch three independent shards, each with its own 43\-token resampling and its ownK=50K\{=\}50posterior draws, keeping for each time band the shard with the finest resolution available:\(0,90\]\(0,90\]s fromHmax=90H\_\{\\max\}\{=\}90,\(90,180\]\(90,180\]s fromHmax=180H\_\{\\max\}\{=\}180,\(180,360\]\(180,360\]s fromHmax=360H\_\{\\max\}\{=\}360\. The visible seam at each band boundary \(most noticeable att≈180t\\approx 180s\) is not a change in model behavior but a change of estimator: the two shards on either side differ simultaneously in token resolution, in the finite\-sample statistics computed from a different draw of theKKposterior samples, and in which subset of test windows passes the coverage filter at that instant\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/extrapolation_error_full.png)Figure 18:FullK∈\{1,5,20\}K\\in\\\{1,5,20\\\}extrapolation sweep, extending Fig\.[9](https://arxiv.org/html/2609.16528#S6.F9)with the intermediateK=5K\{=\}5panel\.
### HTurn Catalogue: Detection, Classification, and Grouping Protocol

We first retain sustained airborne trajectory segments by requiring a geometric altitude of at least150​m150\\,\\mathrm\{m\}and a ground speed of at least25​m​s−125\\,\\mathrm\{m\\,s^\{\-1\}\}\. After filtering, gaps longer than30​s30\\,\\mathrm\{s\}split a track into separate segments, and segments containing fewer than five points are discarded\.

![Refer to caption](https://arxiv.org/html/2609.16528v1/turn_detection_schematic.png)Figure 19:A turn event is defined as the transition between two locally stable ground\-track segments\. The detected turn start and end delimit this transition, while the turn angle,Δ​ψ\\Delta\\psi, is the wrapped angular difference between the mean ground\-track directions of the pre\-turn and post\-turn stable segments\.The detector uses the ADS\-B\-reported true track, smoothed with a short circular moving average to avoid discontinuities at0∘/360∘0^\{\\circ\}/360^\{\\circ\}\. A stable segment is a sequence over which the pointwise ground\-track rate remains below0\.5∘​s−10\.5^\{\\circ\}\\,\\mathrm\{s\}^\{\-1\}and the cumulative drift from the initial course remains below6∘6^\{\\circ\}\. For two consecutive stable segments with circular\-mean directionsψ¯pre\\bar\{\\psi\}\_\{\\mathrm\{pre\}\}andψ¯post\\bar\{\\psi\}\_\{\\mathrm\{post\}\}, the signed turn angle is

Δ​ψ=\[\(ψ¯post−ψ¯pre\+180∘\)mod360∘\]−180∘\.\\Delta\\psi=\\left\[\\left\(\\bar\{\\psi\}\_\{\\mathrm\{post\}\}\-\\bar\{\\psi\}\_\{\\mathrm\{pre\}\}\+180^\{\\circ\}\\right\)\\bmod 360^\{\\circ\}\\right\]\-180^\{\\circ\}\.\(14\)
Positive and negative values denote right and left turns, respectively, and the interval between the two stable segments defines the detected turn start and end\. Changes of at least20∘20^\{\\circ\}are retained directly as major turns; smaller changes between10∘10^\{\\circ\}and20∘20^\{\\circ\}are retained only when the observed path geometry is consistent with the reported ground\-track change\. Smaller course adjustments are excluded from the pattern catalogue\. Extending the association rule of Section[7\.1](https://arxiv.org/html/2609.16528#S7.SS1), turns without an eligible navigation reference within 1 nautical mile are left unmatched and excluded from both pattern populations\. After detecting individual turn events, we group events that occur in the same local area and exhibit similar incoming and outgoing ground\-track directions, together with a similar overall signed ground\-track change,Δ​ψ\\Delta\\psi\. When a turn start is associated with a single navigation reference, patterns are formed at the fix level; in dense terminal regions with several nearby references, turns are grouped regionally\. Only recurring and geometrically coherent groups are retained as catalogue patterns, with limited manual review used to resolve evident duplicates or inconsistent cases\.

### IBranch Points, Passages and Scores

#### Branch points\.

Catalogued patterns with at least 60 events are located at the position of their associated fix \(isolated family\) or at the median start of their turns \(clustered family\)\. Patterns lying within 1\.5 NM of each other whose incoming headings differ by at most30∘30^\{\\circ\}are merged; the branch point’s incoming heading is the event\-weighted circular mean\. This yields 80 branch points\.

#### Passages\.

A window is a candidate passage if, at its last observed point, the aircraft is airborne \(altitude at least 150 m, ground speed at least 25 m s\-1, as in the catalogue\), heads within30∘30^\{\\circ\}of the incoming heading, has the branch point within25∘25^\{\\circ\}of its heading, and would reach it in 15 to 90 s at its current speed\. Candidate windows of the same aircraft separated by less than 900 s form one passage, represented by the window whose time to the branch point is closest to 25 s\. The altitude band of a branch point spans the 5th to 95th percentile, widened by 500 m, of the altitudes of training and validation passages that fly one of its catalogued turns; branch points with fewer than 10 such passages have no band\. Test passages outside the band are discarded\. The evaluation uses the 28 branch points with at least 40 remaining test passages\.

#### Outcome\.

Headings are computed over four\-step segments and unwrapped along the path, starting from the last observed heading\. The outcomeθ\\thetais the accumulated heading change at the first point, after the closest approach, where the path is more than 4 NM from the branch point\. When the path is still within the disc at the end of the window \(26\.9%26\.9\\%of test passages\) or never enters it \(0\.6%0\.6\\%\),θ\\thetais taken at the end of the window; the same rule applies to every sample\. On the 771 test passages that fly a catalogued turn of their branch point,θ\\thetamatches the catalogued angle to a median of1\.0∘1\.0^\{\\circ\}, and to within15∘15^\{\\circ\}for86%86\\%of them\.

#### Scores\.

W1W\_\{1\}compares theK​nKnpooled sampled outcomes of a branch point with itsnnobserved outcomes\. The level of an ideal history\-blind sampler is estimated as half the meanW1W\_\{1\}between two random halves of the observed outcomes, sinceW1W\_\{1\}betweennnempirical values and their law scales asn−1/2n^\{\-1/2\}; simulations on mixtures shaped like branch points agree within4%4\\%\. For a passage with samplesθ\(1\),…,θ\(K\)\\theta^\{\(1\)\},\\dots,\\theta^\{\(K\)\}and observed outcomeθ\\theta, the ensemble CRPS is

CRPS=1K​∑k\|θ\(k\)−θ\|−12​K​\(K−1\)​∑k≠l\|θ\(k\)−θ\(l\)\|\.\\mathrm\{CRPS\}=\\frac\{1\}\{K\}\\sum\_\{k\}\\bigl\|\\theta^\{\(k\)\}\-\\theta\\bigr\|\-\\frac\{1\}\{2K\(K\-1\)\}\\sum\_\{k\\neq l\}\\bigl\|\\theta^\{\(k\)\}\-\\theta^\{\(l\)\}\\bigr\|\.\(15\)The history\-blind sampler uses as ensemble the observed outcomes of all other test passages at the same branch point\. Bootstrap intervals resample branch points 1000 times\.

Figure 20:Observed and sampled maneuver distributions at all 28 evaluated branch points, sorted by number of test passages; construction as in Fig\.[14](https://arxiv.org/html/2609.16528#S7.F14)\. Titles giveW1W\_\{1\}, the ideal history\-blind level, and the observed and predicted shares of straight flight\.

Similar Articles

MintFlow: Minimal Trajectory Intervention for Constrained Flow Matching

arXiv cs.AI

The paper introduces MintFlow, a training-free constrained sampling framework for flow matching models that enforces constraints via minimal, closed-form perturbations of intermediate flow states, preserving the pretrained generative distribution better than state-of-the-art constrained methods.

Probabilistic Inversion with Flow Matching

arXiv cs.LG

This paper applies Flow Matching, a generative AI technique, to probabilistic inversion for seismic full-waveform inversion, demonstrating its effectiveness on synthetic datasets.

Multimarginal flow matching with optimal transport potentials

arXiv cs.LG

Proposes OTP-FM, a novel method for multimarginal flow matching that uses optimal transport potentials to softly steer flows through intermediate marginals, achieving state-of-the-art performance on single-cell RNA sequencing, oceanographic, and meteorological datasets.