Manuscript Offprint
arXiv:2610.33338TinyFlow: Breaking the Warping Bottleneck for Edge Optical Flow
Xiao'ao Song and Chahat Deep Singh
University of Colorado, Boulder
(a)

TinyFlow Output
Image pair
Edge-Aware Neural Network Training
Ground Truth
(b)
(c)
Fig. 1: TinyFlow. (a) Our warp-free optical flow network with only 1.26M parameters utilizes a pair of input images to predict dense, accurate optical flow on edge AI accelerators. (b) Sintel Clean dataset: TinyFlow has the lowest EPE with 54% fewer parameters than EdgeFlowNet and the smallest quantization gap 0.16 vs. 0.29 (EdgeFlowNet) / +0.72 (NanoFlowNet), evaluated on px images. (c) Flow-only monocular VO on real UZH-FPV dataset (colors as in (b), ground truth in black): TinyFlow INT8 reaches 2.04 m ATE vs. 2.41 m (EdgeFlowNet) and 15.84 m (NanoFlowNet).
Abstract—High-performance optical flow networks are difficult to deploy on resource-constrained edge accelerators because their iterative refinement warps features by the current flow, which relies on flow-dependent resampling and data-dependent memory access. We present TinyFlow, a 1.26M-parameter warp-free optical flow network that preserves iterative coarse-to-fine refinement by replacing the warp with a fixed-window correlation over constant offsets, so the whole network compiles as a single static INT8 graph. Quantization-aware fine-tuning, warp-teacher distillation, and model souping reduce the Float32-to-INT8 penalty to below 0.2 end-point error (EPE) on MPI-Sintel. TinyFlow outperforms EdgeFlowNet and NanoFlowNet on Sintel Clean, Sintel Final, and FlyingChairs in both Float32 and INT8, while using 54% fewer parameters than EdgeFlowNet, and our INT8 model achieves 6.29/7.13 EPE on Sintel Clean/Final. In flow-only monocular visual odometry on TartanAir and UZH-FPV, the same INT8 model yields the lowest trajectory error on seven of eleven sequences.
I. INTRODUCTION
Before a robot can act on what it sees, it has to know what is moving, and dense optical flow answers that question at every pixel. Optical flow is crucial for navigation [1], visual odometry [2], structure from motion [3], object tracking [4] and dynamic scene understanding [5] and much more. Learning-based estimators have raised its accuracy far beyond classical methods, but they are designed and evaluated on desktop GPUs. Their memory and compute cost place them out of reach of the onboard processors of small robots.
With the need for onboard perception growing, autonomous drones and mobile systems must perceive the world in real time on low-power hardware. Several works have pushed vision models such as optical flow and depth networks onto such platforms. Bouwmeester et al. [6] ran dense optical flow on a Bitcraze Crazyflie nano quadcopter with a GAP8 microcontroller. Singh et al. [7] reached 4.5 Hz depth prediction for palm-sized drones on a Raspberry Pi Compute Module 4. Raju et al. [8] reported 100 Hz optical flow at UINT8 precision on a Google Coral Edge TPU drawing 1.08 W, and Krispin-Avraham et al. [9] deployed 3D object detection on a Hailo-8 accelerator at roughly 5 Hz.
Deployable optical flow has so far meant giving up the mechanism that makes optical flow accurate. Every network that runs on an edge accelerator today, like NanoFlowNet [6] and EdgeFlowNet [8], is a single feed-forward pass, and every network at the top of the accuracy benchmarks is iterative. Iterative estimators refine their prediction in a loop that warps features by the current flow before each correction, usually through grid_sample, so that each step only has to resolve the motion that remains. That warp reads memory at addresses computed from the data at run time, and an accelerator that executes a fixed dataflow graph has no way to perform it. Deployable networks therefore leave out iterative refinement, and their lower accuracy follows from that omission rather than from their smaller size.
To address this limitation, we propose TinyFlow, a 1.26M-parameter optical flow network that keeps the iterative refinement loop and removes the warp. Instead of warping features by the current flow, TinyFlow correlates the two frames over a fixed window of constant offsets, so the flow estimate selects among channel values rather than steering memory addresses. The data dependence that makes warping undeployable does not disappear. It moves into ordinary arithmetic. As a result, the entire network exports, quantizes, and compiles for edge AI accelerators (Fig. 1).
The primary contributions are as follows:
- We propose TinyFlow, a 1.26M-parameter warp-free
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
The authors are with the Perception, Robotics, AI, Sensing (PRAISe) Lab, University of Colorado, Boulder, CO, USA. Email: {xiaoao.song, chahat.singh}@colorado.edu.
optical flow network that retains iterative refinement and compiles to a single static INT8 graph.
-
We demonstrate that quantization-aware fine-tuning with warp-teacher distillation and model souping together reduce the Float32 to INT8 penalty from over 1.0 to below 0.2 EPE on Sintel dataset.
-
We show that TinyFlow outperforms EdgeFlowNet and NanoFlowNet on Sintel and FlyingChairs in both Float32 and INT8 with 54% fewer parameters than EdgeFlowNet.
Lightweight and edge optical flow. LiteFlowNet3 [14] and FastFlowNet [15] reduce the cost of the pyramid design but retain warping. DCVNet [16] avoids warping with dilated cost volumes that widen the search range at fixed cost. NeuFlow [17] targets larger embedded GPUs such as NVIDIA Jetson boards: NeuFlow v1 warps second-frame features with grid_sample, and NeuFlow v2 replaces the warp with a flow-indexed grid_sample lookup into a correlation pyramid on every iteration. Both also build a global correlation with a dense matrix product and a softmax. These operations run well on a GPU-class device such as the Jetson Orin Nano that their paper targets, but none belongs to the vocabulary of a static-dataflow INT8 accelerator. NanoFlowNet [6] runs on a GAP8 microcontroller at and EdgeFlowNet [8] reaches 100 FPS at about one watt on a Coral Edge TPU and are the closest works to ours in terms of model size. Both fit an accelerator by removing warping and iteration entirely and predicting flow in a single pass. TinyFlow instead re-expresses the refinement mechanism in a compile-legal form and keeps the accuracy that comes with it.
Quantization. Jacob et al. [18] formalized integer-arithmetic inference with per-channel weight scales and fake quantization during training. Knowledge distillation [19] transfers accuracy from a larger teacher, and model soups [20] average checkpoints in weight space. TinyFlow combines the three for deployment. Quantization-aware fine-tuning distills from a warp-based teacher that the accelerator itself cannot run, a soup averages the resulting checkpoints, and checkpoint selection uses quantized rather than float accuracy.
III. TINYFLOW FRAMEWORK
A. Problem Formulation
A camera captures two consecutive RGB frames and , each in . Let us say a pixel at position in moves to position in , so the optical flow is its displacement measured in pixels. We estimate the flow at three scales , each downsampled by a factor of to . Estimation starts at the coarsest scale, and each finer scale refines the result of the one before it.
B. The Problem with Dynamic Resampling
Various optical flow methods refine the flow by warping features of the second frame under the current estimate. Let denote the feature map that a learned encoder extracts from frame at scale , with channels at the spatial resolution and of that scale. The warp is defined as , which brings the second frame's features into alignment with the first before the next correction. Evaluating the right-hand side requires bilinear resampling at coordinates shifted by the flow, which are in general non-integer, and is commonly implemented with operators such as grid_sample.
Edge accelerators and Neural Processing Units or NPUs [21] handle this operation poorly. It requires memory reads that depend on the input, together with spatial sampling primitives that compilation toolchains frequently do not support because the access pattern is not fixed at compile time [6], [8]. When the operator is not supported, the network either fails to compile or the warp executes on the host CPU and the accelerator's throughput advantage is lost. Our goal is therefore to retain coarse-to-fine flow estimation while building an inference graph that compiles for edge accelerators, without any need for dynamic resampling in the forward pass.
Fig. 2 shows the architecture that meets this goal.
C. Multi-Scale Feature Representation
A shared encoder produces the feature pyramid introduced above, , from each input image , with indexing the frame and the scale. Its layers are depthwise-separable convolutions with pointwise nonlinearities, which keep the parameter count small and quantize well.
Correlation is sensitive to the magnitude of the features it compares. The usual remedy is to normalize each pixel's feature vector, .
Although this normalization is effective in floating-point training, it introduces channel reduction plus nonlinear and data-dependent normalization that are less hardware-friendly. Therefore, before computing correlation, we pass the features through a small learnable projector,
where C is the number of channels at that scale. The projector serves the same purpose and holds the correlation values inside a bounded range. Batch normalization limits the
(a) TinyFlow Architecture

① Stride-2 ① Bilinear Upsample 1×1 Feature Projector Ⅲ Concatenation + Separable Correlation (Fixed kernel with search radius r, no warping) + Residual Flow Update
Fig. 2: TinyFlow architecture. (a) A shared encoder builds a multi-scale feature pyramid; separable correlation matches the features at each scale and the flow is refined coarse-to-fine. (b) The backbone encoder is built from lightweight feature-extraction blocks of depth-wise and point-wise convolutions. (c) The three flow prediction heads have the same architecture but separate weights.
magnitude of each feature, and the division by removes the growth of an inner product with the number of channels. The convolution starts as an identity, so training begins from plain correlation and departs from it only when a learned projection helps. This is also quantization-friendly, since the convolution, the batch normalization, and the fixed scale fuse into one integer-legal operation. All correlations in this paper are computed after this projection unless stated otherwise.
D. Warp-Free Matching via Fixed-Window Correlation
The next step is to match the projected pyramids across the two frames without any flow-dependent resampling. Rather than building a residual cost volume [12] around warped features, we correlate the two feature maps directly over a fixed window of offsets,
where is the inner product over channels and is the offset set. In practice we compute only the two axis marginals of this volume,
where . So every spatial location carries correlation channels rather than , and the update block learns to combine the two marginals. Every offset is a constant fixed at compile time, so the volume is an array of plainly shifted inner products and involves no data-dependent addressing.
- Relationship to Warping: A warped residual cost volume has the form
For integer flow, , this volume is a shifted read of the fixed one,
For the full window, warping therefore adds no matching evidence that the fixed volume does not already contain. Its only effect is to recenter the search window on the current estimate. For the axis marginals we compute, the same holds along each axis when the orthogonal component of the residual displacement is small relative to the smoothness of the features across that axis, which the coarse-to-fine schedule below is designed to keep true. We keep the window centered at zero and make the radii large enough that the true displacement does not leave it. The design question is how large the radii must be.
- Capture Range: One correlation offset at scale corresponds to pixels at full resolution, so a radius reaches pixels along each axis. The window contains the true displacement whenever both of its components are at most in magnitude, that is . Because only the axis marginals are computed, the match is found within that window only if the features also vary slowly across the orthogonal axis over the residual displacement. Coarse-to-fine refinement provides both conditions. Each scale starts from the upsampled coarser estimate, so its window only has to capture the residual displacement that estimate leaves behind, and that residual is smaller at every level. Large radii therefore belong to the coarse scales, where the grid is small and the added correlation channels are cheap, while the fine scales use small radii. We use , and , which cover , and pixels along each axis respectively.
E. Coarse-to-Fine Warp-Free Flow Estimation
The cost volumes of the previous section supply the matching evidence at different scales s. This section combines these matches into optical flow. Estimation begins at the coarsest scale. The cost volume of Eq. (3) is concatenated with the first-frame features, , and a small convolutional head regresses the initial flow . The scaled hyperbolic tangent limits the output to pixels.
Each finer scale starts from the estimate above it, upsampled to initialize , where is bilinear upsampling and the factor of two keeps the flow in pixel units of the finer grid. A weight-tied update block then refines the estimate over steps, with during training. Every step regresses a bounded correction and adds it to the running estimate, , with:
The cost volume is computed once per scale and is never recentered. The current flow enters the update block as an input channel instead, so the data dependence that warping places in memory addresses is carried in feature values, which is ordinary arithmetic. Each correction is limited to pixels in the same way as the initial flow, with , and . Because every step is bounded, the total flow a scale can add is at most pixels, so the numeric range of every flow tensor is known before training. This keeps the regression stable and makes the tensors representable in 8-bit encodings. The final prediction is at quarter resolution, which is bilinearly upsampled to full resolution for evaluation.
F. Edge-Compilable Correlation
The estimator rests on the marginals of Eq. (3), and it is deployable because they need no dynamic indexing. Gathering a -wide strip of around every pixel exports as an indexing operator that edge toolchains reject. A shift by a constant offset is instead a convolution with a one-hot kernel, so each marginal becomes three fixed-weight layers. A convolution with one-hot kernels produces the shifted copies of every channel of , laid out offset-major so that copy holds channel at offset . A convolution with one-hot weights replicates in the same layout, an elementwise product multiplies the two, and a grouped convolution with unit weights and groups sums the channels of each offset, which is exactly Eq. (3). The layout is essential. A depthwise shift convolution emits the copies channel-major, with the offset varying fastest, and the same grouped reduction then sums contiguous blocks that span every offset of a few channels, so each output is a product of with a box-filtered rather than an inner product at one offset. No weight in the construction is learned and no memory address depends on the input. To the compiler the volume is ordinary Conv and Mul layers; the one-hot shift compiles to a dense layer of weights, which is the cost that keeps large windows at the coarse scales.
G. Training Objective
Let be the ground-truth flow at full resolution. Its version at scale is , where is bilinear downsampling to the grid and the division converts the values to that grid's pixel units. denotes the final estimate at scale , which is for .
- Robust Supervision: Each flow component is penalized with the Charbonnier function , with and , which behaves like on large errors and is smooth at zero. Summed over the two components and averaged over the pixel grid , the data loss at scale is
- Deep Supervision: Every iterate of Eq. (6) is supervised, so each step of the weight-tied block receives its own gradient, with later iterates weighted more,
- Edge-Aware Smoothness: Let be the grayscale first frame bilinearly downsampled to quarter resolution, the finite-difference gradient along , and an edge weight with . The finest flow is regularized by
which favors smooth flow in homogeneous regions and relaxes the penalty across image edges. The total loss is therefore:
with for all scales, , and . The fine-tuning stage described later adds a distillation term.
H. Quantization-Aware Training (QAT)
The objective of Eq. (10) yields an accurate Float32 network, but the deployed network runs in INT8. Quantizing a trained checkpoint after the fact is not sufficient. Post-training quantization of our base checkpoint raises Sintel Clean EPE (in px) from 6.92 in Float32 to 8.09 in INT8, a penalty of 1.17, because weights trained in floating point have never had to tolerate rounding. We therefore fine-tune under simulated quantization. Fake-quantization nodes are inserted at exactly the points where the accelerator compiler will quantize, with per-channel symmetric INT8 weights and per-tensor asymmetric UINT8 activations, and gradients pass through them with the straight-through estimator [18]. The weights adapt to 8-bit arithmetic during training rather than meeting it for the first time at export.
Two further measures act on the same stage: (i) First, the quantized network learns from a teacher as well as from ground truth. The teacher is a warped variant of TinyFlow that performs grid_sample warping. It is more accurate than the warp-free network, and although it cannot be deployed, it can guide training. Following knowledge distillation [19], we penalize the distance between the two quarter-resolution flows,
where is the teacher's flow. This term is added to Eq. (10) with weight between 0.25 and 0.5 across the fine-tuning stages. (ii) Second, float and quantized accuracy do not rank checkpoints the same way, so we select checkpoints and average them [20] by their INT8 accuracy rather than their float accuracy. Training uses FlyingChairs throughout, with FlyingThings3D added for fine-tuning. MPI-Sintel is used only for testing, never for training, fine-tuning, or calibration. Together, these measures reduce the quantization penalty from over +1.0 EPE to below +0.2 EPE. Sintel Clean EPE increases only from 6.13 to 6.29 and Final from 6.95 to 7.13.
IV. RESULTS
A. Training Setup
We train our TinyFlow model with a learning rate of and run quantization-aware fine-tuning at . All experiments use a desktop PC with an AMD Ryzen 7 9800X3D CPU, 32 GB of RAM, and an NVIDIA GeForce™ RTX 5080 GPU. We report end point error in px on Sintel Clean, Sintel Final, and the FlyingChairs validation split, together with parameter counts. Finally, we test the models on a Hailo-8 AI accelerator mounted via PCIe on a Raspberry Pi 5 with 16 GB of RAM. Quantization uses the standard Hailo optimization (optimization level 1) with Hailo Dataflow Compiler (DFC) 3.34.0, and the quantized models run on HailoRT 4.23.0.
B. Training Mixture, Model Souping, and Inference
Three further steps improve accuracy without changing the architecture. (i) First, FlyingThings3D [22] is mixed into the FlyingChairs [10] fine-tuning data. Its larger displacements supply supervision that FlyingChairs lacks, and at deploy iterations this stage lowers Sintel Clean EPE from 6.58 to 6.13. (ii) Second, we build a model soup [20] by averaging the weights of the three best fine-tuning epochs into a single checkpoint. The soup outperforms each of its ingredients on both passes. The three epochs score 6.27, 6.37 and 6.21 on Sintel Clean and 7.21, 7.06 and 7.12 on Final, while their average scores 6.13 and 6.95. (iii) Third, we increase the number of refinement iterations at inference. The update blocks at the 1/8 and 1/4 scales are weight-tied, so the same weights are applied more times with no retraining. Training uses four iterations at each scale and we deploy with eight, which lowers Sintel Clean EPE by about 0.5 while leaving the final pass unchanged. Beyond eight the Clean pass gains only marginally and the Final pass degrades, so eight is the operating point.
C. Optical Flow Benchmark Evaluation
Table I shows that TinyFlow outperforms EdgeFlowNet on every benchmark in both precisions while using 54% fewer parameters (1.26M against 2.75M). Under INT8 it reaches 6.29/7.13 EPE on Sintel Clean and Final against 6.46/7.62 for EdgeFlowNet, and its FlyingChairs EPE is 31% lower (2.71 against 3.91). TinyFlow also leads NanoFlowNet by a wide margin, even though NanoFlowNet is evaluated at its most favorable setting, the native 112×160 input, because its accuracy collapses at 384×512. FlowNetS is more accurate on the mean but uses about 30× more parameters (38.7M), and NeuFlow v2 is more accurate still but depends on flow-dependent resampling, so neither can be deployed on the edge accelerators that this paper targets. Among the deployable models, TinyFlow offers the best trade-off between accuracy and size. The > 3px metric reports the percentage of pixels whose EPE exceeds 3 px, with lower values indicating fewer large-error predictions. TinyFlow achieves 20.6% and 21.1% under F32 and INT8, respectively. These are the second-best results overall, behind only NeuFlow v2.
TABLE I: Trained on FlyingChairs and FlyingThings3D. Tested on MPI-Sintel and FlyingChairs validation set. Reference models are shown for context and are outside the deployable comparison. Underlined values mark the best reference-model result in each column. Bold marks the best deployable value in each column within each precision, teal for F32 and orange for INT8.
| Model | Params | Prec. | EPE | >3px (%) | ||
|---|---|---|---|---|---|---|
| Sintel Clean | Sintel Final | Chairs | ||||
| Large reference models. Shown for context. | ||||||
| FlowNetS | 38.7M | F32 | 4.86 | 6.38 | 1.85 | 22.9 |
| NeuFlow v2 | 9.03M | F32 | 1.59 | 2.91 | 1.27 | 6.4 |
| Deployable models. Compile to a single static INT8 graph. | ||||||
| EdgeFlowNet | 2.75M | F32 | 6.17 | 7.30 | 3.59 | 21.2 |
| INT8 | 6.46 | 7.62 | 3.91 | 22.1 | ||
| NanoFlowNet | 0.17M | F32 | 7.71 | 8.76 | 6.02 | 38.8 |
| INT8 | 7.99 | 8.68 | 6.28 | 40.7 | ||
| TinyFlow (Ours) | 1.26M | F32 | 6.13 | 6.95 | 2.66 | 20.6 |
| INT8 | 6.29 | 7.13 | 2.71 | 21.1 | ||
All models are evaluated on px images except NanoFlowNet, which is evaluated at its native resolution of px. At NanoFlowNet collapses to 20.7/22.5 EPE respectively.
Table II separates the aggregate by ground-truth motion magnitude. The first two bins ( and ) hold roughly 90% of Sintel pixels. On Sintel Clean, under INT8 TinyFlow leads every deployable model on both, beating EdgeFlowNet by 0.07 EPE below 10 px and by 1.23 EPE between 10 and 40 px, where it also edges the 30× larger FlowNetS. NanoFlowNet is the worst across all bins, but degrades the least beyond 128 px, suggesting that its error is spread more evenly rather than growing sharply with motion magnitude. EdgeFlowNet retains a small edge in the 40 to 80 px bin, by 0.51 EPE, and TinyFlow leads again from 80 to 128 px and beyond. On Sintel Final, the advantage of TinyFlow at large motion is even more pronounced. Except for the < 10 px bin, TinyFlow outperforms the other deployable models across every motion range in both F32 and INT8, with the gap generally widening as motion increases. In the 80–128 px bin, TinyFlow reduces EPE relative to EdgeFlowNet by 6.37 in F32 and 4.18 in INT8. Beyond 128 px, the margin over EdgeFlowNet reaches 14.4 EPE in both precisions. It also beats NanoFlowNet by retaining substantial margins of 22.7 EPE in F32 and 20.8 EPE in INT8. On both passes, FlowNetS keeps its advantage only above 40 px, and NeuFlow v2 leads every bin by a wide margin, which locates the cost of the deployment constraint in the correlation window's reach rather than in capacity.
Fig. 3 qualitatively illustrates the differences in the flow fields. On FlyingChairs, TinyFlow preserves the overall
FlyingChairs (Validation Set)
Sintel Clean (Test Set)
Sintel Final (Test Set)

Fig. 3: Qualitative comparison. Hue encodes flow direction and brightness encodes magnitude, normalized per row to the ground truth's scale. The first column shows the inputs, with the first row from FlyingChairs validation, followed by four rows each from the Sintel Clean and Final test sets, and the second column shows the corresponding ground-truth flow. The remaining columns show FlowNetS, NeuFlow v2, EdgeFlowNet, NanoFlowNet, and TinyFlow (ours), each rendered by the predictor that produced its numbers in Table I. FlowNetS and NeuFlow v2 are reference models outside the deployable comparison. Rows are the lowest-EPE frame of each scene under TinyFlow, chosen among scenes with visible object motion. TinyFlow recovers the cleanest and sharpest motion segments among the deployable models at the smallest parameter count, EdgeFlowNet fragments large motion, and NanoFlowNet produces structured noise.
object silhouette and produces a spatially coherent flow field close to the ground truth. EdgeFlowNet introduces a large erroneous motion region on the upper part of the object, while NanoFlowNet produces strongly inconsistent and noisy flow within the object. Across the four Sintel Clean rows, TinyFlow preserves coherent motion regions with sharp boundaries. On bandage_1 (second Clean row), it keeps the overlapping bodies as separate motion regions, while NanoFlowNet produces a blurred and noisy flow field. The advantage is most pronounced on market_6 (fourth Clean row), where TinyFlow preserves the large foreground motion that EdgeFlowNet fragments into inconsistent patches, reaching 2.68 EPE against 6.79. NanoFlowNet also shows substantial structured noise across the Clean examples and has higher EPE than TinyFlow on all four rows. Despite having about fewer parameters, TinyFlow also achieves lower EPE than FlowNetS on all four Sintel Clean rows. The four Sintel Final rows add motion blur and atmospheric effects. TinyFlow keeps clear and coherent motion boundaries on ambush_5 (second Final row), while NanoFlowNet produces blurred fields with strong structured noise. On bandage_1 (fourth Final row), TinyFlow preserves the foreground motion more coherently, whereas EdgeFlowNet introduces visible fragmentation and NanoFlowNet remains noisy. Across all four Final rows, TinyFlow achieves lower EPE than both EdgeFlowNet and NanoFlowNet. It also reaches lower EPE than FlowNetS on three of the four rows despite having about fewer parameters. NeuFlow v2 comes closest to the ground truth on every row, illustrating the accuracy gained when deployment constraints are removed.
We deploy these models on a Raspberry Pi 5 with a Hailo-8 AI accelerator. On this setup, TinyFlow (1.26 M parameters) runs at 10.5 FPS with 5.76 EPE on a 100-pair Sintel Clean sample, measured on the same chip and frames as EdgeFlowNet (2.75 M, 64 FPS, 6.38 EPE) and NanoFlowNet (0.17 M, 190 FPS, 7.50 EPE). Iterative refinement therefore improves accuracy at the cost of latency while the parameter count remains below that of EdgeFlowNet.
D. Visual Odometry Evaluation
Dense flow on a small robot is rarely the end product, so we test whether the ranking of Table I survives a downstream task. Table III reports flow-only monocular visual odometry (VO) on eight synthetic TartanAir trajectories [23] and three real UZH-FPV drone flights [24]. Every deployable model runs at INT8 and feeds the same five-point RANSAC pose estimator, no depth is used, and the translation scale is
(a) UZH-FPV outdoor forward 1
TinyFlow 2.04 m
EdgeFlowNet 2.41 m
NanoFlowNet 15.84 m

(b) TartanAir japanesealley P005
TinyFlow 0.59 m
EdgeFlowNet 1.05 m
NanoFlowNet 4.53 m

(c) TartanAir amusement P007
TinyFlow 2.23 m
EdgeFlowNet 3.87 m
NanoFlowNet 8.88 m

(d) TartanAir oldtown P004
TinyFlow 1.71 m
EdgeFlowNet 2.12 m
NanoFlowNet 6.06 m

Fig. 4: Flow-only visual odometry trajectories at INT8. Estimated paths of TinyFlow (orange), EdgeFlowNet (blue) and NanoFlowNet (purple) against the ground truth (black) for one UZH-FPV flight (a) and three TartanAir trajectories (b)–(d), with each model's ATE from Table III. The black dot marks the start of the trajectory. TinyFlow stays on the ground-truth path through loops and sharp turns, EdgeFlowNet drifts on the return legs, and NanoFlowNet leaves the path.
TABLE II: EPE by ground-truth motion magnitude (px) on Sintel Clean and Final, fine bins. Every model except NanoFlowNet receives a input and EPE is measured at the full ground-truth resolution, pixel-weighted within each bin. NanoFlowNet is evaluated at its native resolution of px. Reference models are shown for context and are outside the deployable comparison. Underlined values mark the best reference-model result in each column. Bold marks the best deployable value in each column within each precision, teal for F32 and orange for INT8.
| Model | Prec. | |||||
|---|---|---|---|---|---|---|
| Sintel Clean | ||||||
| FlowNetS | F32 | 1.30 | 6.35 | 16.45 | 30.67 | 98.69 |
| NeuFlow v2 | F32 | 0.45 | 2.01 | 4.79 | 8.67 | 40.97 |
| EdgeFlowNet | F32 | 1.11 | 7.10 | 21.42 | 53.56 | 146.6 |
| INT8 | 1.39 | 7.43 | 21.67 | 53.88 | 147.2 | |
| NanoFlowNet | F32 | 1.20 | 9.82 | 40.11 | 71.18 | 154.2 |
| INT8 | 1.54 | 11.25 | 42.19 | 72.97 | 154.0 | |
| TinyFlow | F32 | 1.24 | 6.06 | 21.86 | 51.99 | 137.2 |
| INT8 | 1.32 | 6.20 | 22.18 | 53.30 | 137.6 | |
| Sintel Final | ||||||
| FlowNetS | F32 | 1.78 | 9.27 | 21.77 | 35.37 | 111.2 |
| NeuFlow v2 | F32 | 0.64 | 3.41 | 10.56 | 16.88 | 78.71 |
| EdgeFlowNet | F32 | 1.47 | 9.23 | 26.17 | 58.15 | 147.2 |
| INT8 | 1.73 | 9.71 | 26.27 | 59.12 | 147.9 | |
| NanoFlowNet | F32 | 1.74 | 11.31 | 38.30 | 72.42 | 155.5 |
| INT8 | 2.04 | 12.55 | 42.19 | 75.07 | 154.3 | |
| TinyFlow | F32 | 1.70 | 8.95 | 25.19 | 51.78 | 132.8 |
| INT8 | 1.80 | 8.91 | 25.23 | 54.94 | 133.5 | |
taken from the ground truth, so the metrics measure only how well the flow constrains the camera rotation and the direction of travel. On TartanAir, TinyFlow has the lowest ATE on six of the eight sequences and the lowest mean on all three metrics, 2.46 m, 0.28° and 23.9° against 2.56 m, 0.29° and 26.1° for EdgeFlowNet, with the largest margins on japanesealley_P005 and amusement_P007, where its ATE is 44% and 42% lower. NanoFlowNet drifts 2.7× as far as TinyFlow and doubles its direction error, so the structured noise seen in Fig. 3 turns directly into pose error. The rendered ground-truth flow through the same estimator gives 0.26 m mean ATE, an order of magnitude below every TABLE III: Flow-only monocular visual odometry with the INT8 models on eight TartanAir trajectories and three UZH-FPV flights. The estimation method is described in Sec. IV-D. ATE is the position RMSE in metres after SE(3) alignment. Rot. is the median per-frame rotation error and Dir. the mean per-frame translation direction error, both in degrees. GT is the rendered ground-truth flow through the same estimator. Means are unweighted over sequences. Bold marks the best deployable value in each column. TartanAir: factory = abandonedfactory P001, amuse. = amusement P007, gascola = gascola P001, alley = japanesealley P005, neighb. = neighborhood P002, oldtown = oldtown P004, forest = seasonsforest P003, soulcity = soulcity P003. UZH-FPV: in_45_2 = indoor_45_2, in_fwd_3 = indoor_forward_3, out_fwd_1 = outdoor_forward_1.
| Seq. | TinyFlow (Ours) | EdgeFlowNet | NanoFlowNet | GT | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ATE↓ | Rot.↓ | Dir.↓ | ATE↓ | Rot.↓ | Dir.↓ | ATE↓ | Rot.↓ | Dir.↓ | ATE | |
| TartanAir, synthetic | ||||||||||
| factory | 5.20 | 0.31 | 28.4 | 3.49 | 0.37 | 29.6 | 9.36 | 0.99 | 56.8 | 0.80 |
| amuse. | 2.23 | 0.21 | 25.7 | 3.87 | 0.21 | 28.8 | 8.88 | 0.56 | 47.2 | 0.62 |
| gascola | 1.72 | 0.21 | 31.9 | 1.88 | 0.21 | 37.3 | 3.86 | 0.46 | 54.5 | 0.09 |
| alley | 0.59 | 0.27 | 14.5 | 1.05 | 0.29 | 19.2 | 4.53 | 0.98 | 44.3 | 0.07 |
| neighb. | 4.88 | 0.30 | 34.2 | 5.37 | 0.28 | 33.0 | 11.72 | 0.95 | 62.7 | 0.27 |
| oldtown | 1.71 | 0.26 | 22.5 | 2.12 | 0.30 | 25.8 | 6.06 | 0.78 | 48.9 | 0.13 |
| forest | 0.72 | 0.26 | 14.5 | 0.73 | 0.24 | 13.0 | 3.13 | 0.66 | 33.8 | 0.04 |
| soulcity | 2.60 | 0.44 | 19.8 | 1.99 | 0.40 | 21.9 | 5.68 | 1.10 | 44.6 | 0.04 |
| Mean | 2.46 | 0.28 | 23.9 | 2.56 | 0.29 | 26.1 | 6.65 | 0.81 | 49.1 | 0.26 |
| UZH-FPV, real drone flights | ||||||||||
| in_45_2 | 9.37 | 0.60 | 22.9 | 8.21 | 0.60 | 25.0 | 10.86 | 3.00 | 42.3 | - |
| in_fwd_3 | 4.53 | 0.33 | 9.2 | 2.14 | 0.34 | 6.7 | 9.24 | 0.78 | 32.3 | - |
| out_fwd_1 | 2.04 | 0.16 | 4.5 | 2.41 | 0.17 | 4.8 | 15.84 | 0.44 | 25.9 | - |
| Mean | 5.32 | 0.37 | 12.2 | 4.25 | 0.37 | 12.2 | 11.98 | 1.41 | 33.5 | - |
learned model, so the remaining error lies in the flow rather than in the estimator. On the real flights the result is mixed. TinyFlow is best on all three metrics on outdoor_forward_1 (2.04 m against 2.41 m) and the two models tie in mean rotation and direction error (0.37°, 12.2°), but EdgeFlowNet drifts less on the two indoor flights and has the lower mean ATE, 4.25 m against 5.32 m. Over all eleven sequences TinyFlow has the lowest ATE on seven, EdgeFlowNet on four and NanoFlowNet on none.
Fig. 4 overlays four of the estimated paths on the ground truth. TinyFlow follows the repeated loops of the outdoor flight (a) and the sharp turns of japanesealley (b), where EdgeFlowNet is offset on the return legs; on amusement (c)
TABLE IV: EPE of the INT8 models under illumination change applied to the second frame only, on a fixed 209-pair Sintel Clean subset. We test various gamma, brightness scaling and image offset levels. NanoFlowNet runs at its native as in Table I.
| Model | Gamma | Brightness | Offset | ||||||
|---|---|---|---|---|---|---|---|---|---|
| None | 0.70 | 0.85 | 1.20 | 1.50 | 0.80 | 1.25 | +20 | -20 | |
| EdgeFlowNet | 6.02 | 60.92 | 29.00 | 41.94 | 60.05 | 40.38 | 26.99 | 52.05 | 50.55 |
| NanoFlowNet | 7.73 | 90.12 | 17.78 | 23.17 | 61.68 | 21.16 | 20.24 | 75.15 | 41.38 |
| TinyFlow (Ours) | 5.65 | 6.78 | 5.92 | 6.08 | 6.67 | 6.29 | 8.99 | 6.29 | 6.57 |

Fig. 5: One Sintel Clean pair, unchanged and with gamma 1.5, brightness scaling by 0.8 and an offset of +20 applied to the second frame. The first column shows the second frame each model receives. All flow models run INT8 variants.
EdgeFlowNet veers off near the end of the route, and on oldtown (d) both models follow the route with TinyFlow closer at the turns. NanoFlowNet wanders off the path in every panel. The VO results thus confirm the EPE ranking: among the deployable models, TinyFlow produces the flow most consistent with the camera motion at the smallest parameter count.
E. Robustness to Illumination Change
Benchmarks render both frames under identical lighting, whereas auto-exposure on a moving robot changes the brightness of the second frame relative to the first. We apply gamma, brightness scaling and an additive offset to the second frame of a fixed 209-pair Sintel Clean subset and leave the ground truth untouched (Table IV). TinyFlow stays within 5.92 to 8.99 EPE across all eight conditions. EdgeFlowNet rises to 27 to 61 and NanoFlowNet to 18 to 90. Fig. 5 shows the failure on one frame. TinyFlow moves from 0.90 to at most 1.12 EPE under the three changes, while EdgeFlowNet predicts flow up to four times the true magnitude. We attribute this to the tanh-bounded update heads, which limit the flow TinyFlow can emit regardless of how far the features shift. With these experiments, we demonstrate that TinyFlow is robust to such illumination changes.
V. CONCLUSION
TinyFlow is an edge-deployable 1.26M-parameter optical flow network that retains iterative refinement and removes warping. Its fixed-window correlation carries the data dependence of warping in channel values rather than in memory addresses. We demonstrate that TinyFlow outperforms EdgeFlowNet on Sintel Clean, Sintel Final, and FlyingChairs in both precisions with 54% fewer parameters, and leads NanoFlowNet by a wide margin at every motion magnitude. The ranking carries over to flow-only visual odometry, where TinyFlow has the lowest ATE on seven of the eleven TartanAir and UZH-FPV sequences.
REFERENCES
[1] H. Chao, Y. Gu, and M. Napolitano, “A survey of optical flow techniques for robotics navigation applications,” Journal of Intelligent & Robotic Systems, vol. 73, no. 1, pp. 361–372, 2014.
[2] T. Pandey, D. Pena, J. Byrne, and D. Moloney, “Leveraging deep learning for visual odometry using optical flow,” Sensors, vol. 21, no. 4, p. 1313, 2021.
[3] J. L. Schönberger and J.-M. Frahm, “Structure-from-motion revisited,” in IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 4104–4113.
[4] S. Karpuzov, G. Petkov, S. Ilieva, A. Petkov, and S. Kalitzin, "Object tracking based on optical flow reconstruction of motion-group parameters," Information, vol. 15, no. 6, p. 296, 2024.
[5] C. Luo, “Motion learning for dynamic scene understanding,” Ph.D. dissertation, Johns Hopkins University, 2022.
[6] R. J. Bouwmeester, F. Paredes-Vallés, and G. C. H. E. de Croon, "NanoFlowNet: Real-time dense optical flow on a nano quadcopter," in IEEE International Conference on Robotics and Automation (ICRA), 2023, pp. 1996–2003.
[7] C. D. Singh, B. He, C. Fermüller, C. Metzler, and Y. Aloimonos, "Minimal perception: Enabling autonomy in resource-constrained robots," Frontiers in Robotics and AI, vol. 11, p. 1431826, 2024.
[8] S. R. K. Pinnama Raju, R. Singh, M. Velmurugan, and N. J. Sanket, "EdgeFlowNet: 100FPS@1W dense optical flow for tiny mobile robots," IEEE Robotics and Automation Letters, vol. 10, no. 1, pp. 128–135, 2025.
[9] I. Krispin-Avraham, R. Orfaig, and B.-Z. Bobrovsky, “Real-time 3D object detection using InnovizOne LiDAR and low-power Hailo-8 AI accelerator,” arXiv preprint arXiv:2412.05594, 2024.
[10] A. Dosovitskiy, P. Fischer, E. Ilg, P. Häusser, C. Hazirbas, V. Golkov, P. van der Smagt, D. Cremers, and T. Brox, “FlowNet: Learning optical flow with convolutional networks,” in IEEE International Conference on Computer Vision (ICCV), 2015, pp. 2758–2766.
[11] E. Ilg, N. Mayer, T. Saikia, M. Keuper, A. Dosovitskiy, and T. Brox, “FlowNet 2.0: Evolution of optical flow estimation with deep networks,” in IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017, pp. 2462–2470.
[12] D. Sun, X. Yang, M.-Y. Liu, and J. Kautz, “PWC-Net: CNNs for optical flow using pyramid, warping, and cost volume,” in IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018, pp. 8934–8943.
[13] Z. Teed and J. Deng, “RAFT: Recurrent all-pairs field transforms for optical flow,” in European Conference on Computer Vision (ECCV), 2020, pp. 402–419.
[14] T.-W. Hui and C. C. Tang, “LiteFlowNet3: Resolving correspondence ambiguity for more accurate optical flow estimation,” in European Conference on Computer Vision (ECCV), 2020, pp. 169–184.
[15] L. Kong, C. Shen, and J. Yang, “FastFlowNet: A lightweight network for fast optical flow estimation,” in IEEE International Conference on Robotics and Automation (ICRA), 2021, pp. 10310–10316.
[16] H. Jiang and E. Learned-Miller, “DCVNet: Dilated cost volume networks for fast optical flow,” in IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), 2023, pp. 5139–5146.
[17] Z. Zhang, A. Gupta, H. Jiang, and H. Singh, “NeuFlow-V2: Push high-efficiency optical flow to the limit,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2025, pp. 2479–2485.
[18] B. Jacob, S. Kligys, B. Chen, M. Zhu, M. Tang, A. Howard, H. Adam, and D. Kalenichenko, “Quantization and training of neural networks for efficient integer-arithmetic-only inference,” in IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018, pp. 2704–2713.
[19] G. Hinton, O. Vinyals, and J. Dean, “Distilling the knowledge in a neural network,” arXiv preprint arXiv:1503.02531, 2015.
[20] M. Wortsman, G. Ilharco, S. Y. Gadre, R. Roelofs, R. Gontijo-Lopes, A. S. Morcos, H. Namkoong, A. Farhadi, Y. Carmon, S. Kornblith, and L. Schmidt, “Model soups: Averaging weights of multiple fine-tuned models improves accuracy without increasing inference time,” in International Conference on Machine Learning (ICML), 2022, pp. 23965–23998.
[21] A. Reuther, P. Michaleas, M. Jones, V. Gadepally, S. Samsi, and J. Kepner, “AI and ML accelerator survey and trends,” in IEEE High Performance Extreme Computing Conference (HPEC), 2022.
[22] N. Mayer, E. Ilg, P. Häusser, P. Fischer, D. Cremers, A. Dosovitskiy, and T. Brox, “A large dataset to train convolutional networks for disparity, optical flow, and scene flow estimation,” in IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 4040–4048.
[23] W. Wang, D. Zhu, X. Wang, Y. Hu, Y. Qiu, C. Wang, Y. Hu, A. Kapoor, and S. Scherer, “TartanAir: A dataset to push the limits of visual SLAM,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2020, pp. 4909–4916.
[24] J. Delmerico, T. Cieslewski, H. Rebecq, M. Faessler, and D. Scaramuzza, “Are we ready for autonomous drone racing? The UZH-FPV drone racing dataset,” in IEEE International Conference on Robotics and Automation (ICRA), 2019, pp. 6713–6719.