Integrated Motion Paths for Cheap Video Temporal Convolution

Video networks spend most of their extra cost over image networks on the time axis. Dense 3D convolutions inflate compute by up to 27x (X3D). Cheaper factorized alternatives also have a flaw: they combine features at the same pixel location across frames, even though the object that was there has since moved. Trajectory convolution (Trajectory Convolution for Action Recognition) fixes this by aggregating features along motion paths. The cost is a motion estimate between every pair of frames, and the paths break wherever optical flow breaks, for example under occlusion, blur or low texture. We propose to obtain these paths the way hybrid physics models obtain trajectories. A cheap kinematic prior, "keep moving at the velocity you were last measured at," integrates positions forward from a motion estimate taken only every few frames. A small learned term adds a correction for what the prior gets wrong.

The idea borrows from residual dynamics learning. In that literature a known equation supplies the bulk of the dynamics and a neural network learns only the discrepancy. The setting closest to ours is NeurVec, which takes large, cheap solver steps and lets a small network predict the error those steps introduce. In two sentences: motion paths for video temporal convolution need not be measured at every frame. They can be integrated from sparse velocity estimates under a constant-velocity prior plus a learned correction, which should cut motion-estimation cost, degrade gracefully when flow fails, and let one trained model run at different frame rates.

Core Claim

Our claim is that a residual-integrated trajectory is a better operating point for alignment-aware temporal aggregation than per-frame measured flow. Here a residual-integrated trajectory means a path produced by stepping a kinematic prior and adding a learned correction. The comparison is on accuracy per unit of motion-estimation compute, on robustness when flow is corrupted, and on transfer across frame sampling rates.

Concretely, let $p_j$ be the position of a tracked feature location at frame $j$. Let $v_k$ be a velocity field estimated once at keyframe $k$, which covers frames $j = k, \dots, k+K-1$. Let $F_j$ be the frame-$j$ feature map. The path is

$$p_{j+1} = p_j + \Delta t \,\big[\, v_k(p_j) + g_\theta\big(F_j(p_j),\, (j-k)\Delta t\big) \big],$$

where $\Delta t$ is the time between sampled frames. The function $g_\theta$ is a lightweight network, a few $1\times1$ convolutions applied to features sampled bilinearly at the current position. It outputs a displacement correction. Temporal convolution is then applied to features gathered along $\{p_j\}$, exactly as in trajectory convolution. Because $\Delta t$ appears explicitly, a model trained at one frame stride can be run at another stride by changing $\Delta t$. This is the same continuous-time property that Stochastic Latent Residual Video Prediction obtains for a global latent vector. Here it applies to spatially distributed paths.

Relation to Prior Work

Two papers motivate the proposal by exposing the gap. Trajectory Convolution for Action Recognition aligns temporal convolution to TV-L1 or MotionNet flow and gains about ten points over S3D on Something-Something V1. It has no motion model to fall back on when flow fails, and it reports degradation at very shallow and very deep layers. STH mixes $1\times3\times3$ and $3\times1\times1$ channel groups. That makes it cheap and strong, but its temporal channels still aggregate at fixed coordinates. We keep trajectory convolution's alignment and change only how paths are produced.

Three papers supply the method. NeurVec adds a learned correction to coarse integration steps of low-dimensional ODEs. We apply the same principle to millions of feature-level paths. Our coarse step is a kinematic extrapolation rather than a truncated Taylor series. Advection Augmented Convolutional Neural Networks shows that a semi-Lagrangian transport operator moves features across long distances in one step. It was evaluated only on physics simulation and frame prediction, and it transports features rather than gathering them for recognition. The additive-correction work on cardiac models (Simultaneous data assimilation and cardiac electrophysiology model correction) and on slider-crank mechanics (Neural Network Augmented Physics Models) supplies the evidence that restricting the network to a residual buys data efficiency.

One paper constrains the design. How (Not) to Hybridize Neural and Mechanistic Models warns that an unconstrained residual will absorb dynamics that belong to the prior. In our case, $g_\theta$ could learn to ignore $v_k$ entirely and become a free deformable offset. We therefore penalize $\lambda\,\|g_\theta\|^2$ and measure directly how much path displacement comes from the prior versus the residual.

Research Program

We build the operator as a drop-in temporal block in a 2D ResNet-50 backbone initialized from ImageNet. It is placed in the middle stages, where trajectory convolution reportedly works best. Velocity at keyframes comes from the same lightweight on-the-fly flow network TrajectoryNet uses. This keeps the motion estimator fixed and isolates the path mechanism. Following TrajectoryNet's finding, displacements are downsampled to deeper stages by max pooling. The keyframe interval $K$ is the main knob. $K=1$ recovers per-frame measured trajectories, and we sweep $K \in \{1,2,4,8\}$ to trace an accuracy-versus-motion-cost curve.

We will also analyze where the learned correction is large. Our hypothesis is that it should be large at occlusion boundaries and during accelerations, and near zero on smooth motion. If instead the correction is uniformly large, the prior is not doing work and the identifiability concern is realized.

A controlled diagnostic precedes the large benchmarks. On Moving MNIST the generator gives exact digit trajectories, including bounces and occlusions. There we measure path error against ground truth with no classification confound, and we can corrupt flow at chosen frames.

Baselines

The naive reference points are TSN, the plain 2D network with temporal averaging, and the same backbone with zero-cost temporal shifting as in Temporal Shift Reinforcement Learning. They tell us how much any temporal modeling buys. The file reports TSN at 19.7% top-1 on Something-Something V1 (STH). For the shift baseline we found no reported Something-Something result on Lacuna, so we will run it ourselves.

The strongest existing competitor on this exact question is trajectory convolution with per-frame flow, because it is the method whose cost and brittleness we claim to improve. It reports 44.0% top-1 on Something-Something V1 and 79.8% on Kinetics-400 (Trajectory Convolution for Action Recognition).

The strongest efficiency-oriented competitor is STH. It reports 46.8% top-1 on Something-Something V1 (STH), and it is the number to beat on accuracy per FLOP. On Kinetics-400, X3D-XL's 79.1% (X3D) is the efficiency reference. All baselines will be re-run in our codebase with identical backbone, frame count (8 and 16), input resolution, augmentation, schedule and number of tuning trials. Cited numbers are reported alongside to check our reproductions.

Two ablations isolate the key ingredient. The first, prior-only, sets $g_\theta = 0* and is equivalent to sparse flow with constant-velocity extrapolation. The second, *residual-only*, removes $v_k$ so that $g_\theta$ predicts paths from features alone, essentially learned deformable temporal offsets.

Beating the field means two things. At $K \geq 4$, the method must match or exceed our reproduced per-frame trajectory convolution on Something-Something V1 with measurably less motion-estimation compute. It must also strictly beat both ablations. Matching STH's accuracy at comparable FLOPs would be a bonus, not the core claim.

Why not just…?

Why not just compute flow sparsely and interpolate linearly? This is our prior-only ablation, and it is a real threat. If constant-velocity extrapolation from keyframes already matches per-frame trajectories, the learned correction is unnecessary and the honest conclusion is "sparse flow suffices." We expect it to fail where motion accelerates or objects reverse, such as the bounces in Moving MNIST or "pushing something so it falls" in Something-Something. The ablation measures that directly. If the gap is negligible, we will report the simpler method as the result.

Why not just learn deformable temporal offsets with no physics at all? This is the residual-only ablation. Free offsets are flexible but have no motion continuity. The hybrid-modeling literature, including the data-efficiency results of DGNet and the stochastic-dynamics analysis in Learning Partially Known Stochastic Dynamics with Empirical PAC Bayes, predicts that a prior helps most when data is limited. We therefore compare the two ablations at 10%, 25% and 100% of the Something-Something training set, and also under frame-stride shift, where free offsets have no $\Delta t$ to rescale.

Why not just use factorized (2+1)D or channel-interleaved convolution? These avoid motion estimation entirely and are very efficient. STH's 46.8% exceeds TrajectoryNet's 44.0%, so alignment alone is not obviously worth its cost. That is exactly why our claim targets the motion-estimation budget rather than raw accuracy. The decisive evidence is the accuracy-versus-cost curve against STH at matched FLOPs, together with the frame-stride transfer test, where fixed $3\times1\times1$ kernels cannot adapt.

Why not just use per-frame optical flow warping as in NetWarp? NetWarp is fast per block but reports being limited to one previous frame by training memory. It also inherits flow failures. Our integration reuses one velocity estimate across $K$ frames, so the cost of measuring motion over the clip falls by roughly a factor of $K$. The flow-corruption test below checks whether that comes with robustness or with fragility.

Proposed Experiments

On Moving MNIST we will measure endpoint error of integrated paths against generator ground truth, as a function of $K$, at bounce frames and at occluded frames. The decisive check is whether the residual reduces error specifically at bounces relative to prior-only.

On Something-Something V1 we will report top-1 accuracy against the baselines above, with GFLOPs and measured latency separated into backbone and motion-estimation components. We will not assume TrajectoryNet's "<10% overhead" figure includes flow estimation, since the file does not say so. Kinetics-400 serves as a check that gains are not confined to motion-centric data, where appearance usually dominates.

Two stress tests decide the robustness and continuous-time claims. In the first, we corrupt the flow input at test time on a fraction of frames with blur and synthetic occluders. A method that integrates a prior should lose less accuracy than per-frame trajectory convolution. In the second, we train at one frame stride and test at half and double stride, rescaling $\Delta t$ only. Our method should degrade less than STH, temporal shift and residual-only offsets.

Finally, the identifiability check reports the ratio of residual to prior displacement across layers and across data regimes. If the residual dominates everywhere, we will conclude the kinematic prior is not being used. That would be a negative result about hybridizing motion priors in recognition networks, worth reporting as such.