TL;DR
If you want AI glasses or tiny microrobots to understand continuous video, you have to fit a temporal neural network into less than 0.5 MB of memory—about 10× smaller than what existing video models require. Tapped Feature Delays (TaFeDs) solves this by giving a standard 2D image network a tiny, rolling "memory cache" of compressed features from past frames, achieving the accuracy of heavy 3D video models with 9× less memory.
What Problem Does This Paper Address?
Real-world perception—like detecting who is speaking, recognizing a hand gesture, or dodging an obstacle—requires understanding motion across time. Normally, video models do this with 3D convolutions (or factorized (2+1)D convolutions), which process multi-frame clips at once. The catch? Storing high-dimensional activations across multiple frames blows past the ~0.5 MB on-chip memory limit of edge microcontrollers. Even compact 3D models like LR-ASD need 4.7 MB of active memory.
The standard workaround for ultra-low-memory devices is the Temporal Shift Module (TSM), which processes one frame at a time and shifts a slice of feature channels from the immediate previous frame ($t-1$) into the current frame. While cheap, TSM is nearsighted: its temporal receptive field is stuck at a single-step lookback. The authors ask: for the exact same byte budget, what if we keep a narrower slice of several past frames instead of a wide slice of just one?
Methods
TaFeDs turns a single-frame 2D CNN into a causal video model using two main ideas:
- The TaFeDs Architecture (Write, Read, Roll): Between selected 2D convolutional layers, TaFeDs inserts a lightweight rolling cache. At each step, a learned $1\times 1$ convolution ("write head") compresses the layer's $C_\ell$ channels into a narrow slice of $w_\ell = \max(1, \lfloor C_\ell/16 \rfloor)$ channels. When a new frame arrives, the layer reads a chosen set of past lags ("taps") from the cache and overwrites up to half of its current-frame channels with those historical features. The next spatial convolution then sees past and present features side-by-side. Finally, the cache rolls forward FIFO-style. Before the final classifier, a separate fully connected (FC) slot cache aggregates longer-term embeddings over the last 32 frames.
- Cache Allocation Algorithm (CAA): Deciding which layers should cache features, how many frames to keep, and which lags to tap is an intractable search problem. The authors formulate it as an approximate submodular knapsack problem. Naive greedy allocation (picking layers with the highest accuracy gain per byte) falls into a classic trap: deep layers have tiny spatial resolutions, making them cheap per byte, so greedy selection spends the whole budget on coarse deep layers and starves high-resolution early layers. CAA fixes this with a seeded greedy strategy:
- Step 1: Run a frozen 2D network and use a fast, closed-form ridge regression probe to measure each layer's "temporal reach" (how far back past frames actually help).
- Step 2: Commit a "seed" cache to the earliest highest-resolution layer that fits.
- Step 3: Greedily spend the remaining budget on other layers (up to 4 lags each) ranked by probe gain per byte.
Datasets
The authors evaluate TaFeDs across 8 benchmarks spanning 4 embedded-vision tasks:
- Active speaker detection: AVA, Ego4D
- Hand gesture recognition: IPN Hand (6-class and 13-class), Jester
- Online keystep/action recognition: EgoExo4D, MERL Shopping
- Obstacle prediction: Thymio robot recordings
Key Insights and Ideas
- Trading width for time: Keeping a 1/16th channel slice across multiple past frames costs the same memory as a wider slice of a single frame, but lets convolutions see motion across multiple time scales.
- The cache learns what to remember: In a spatial masking experiment on IPN Hand, masking out the hand only inside the historical cache (while leaving the current frame completely unmasked) caused TaFeDs's accuracy to plummet from 92.50% to 21.11% mAP. Conversely, masking out the background in the cache preserved 87.71% mAP. The cache isn't just buffering raw pixels—it selectively retains task-critical spatial semantics.
- Seeded greedy beats naive greedy: Analytically forcing an early, high-resolution seed cache before greedy allocation prevents the model from losing fine-grained motion cues.
Key Results
- Beating TSM at the same budget: Operating under an identical 444 kB memory footprint (on IPN 6-class), TaFeDs + CAA outperforms Online TSM by a median of 8.6 points across all 8 benchmarks.
- Matching 3D CNNs at 9× less memory: TaFeDs surpasses the heavier non-causal
Conv(2+1)Dbaseline (4,214 kB) on IPN, EgoExo4D, and Jester, and stays within 1.0 point on AVA (80.68 vs. 81.14 mAP), Ego4D, and Thymio. - Quantization-ready: Applying static INT8 post-training quantization degrades FP32 performance by at most 0.29 points (and slightly improves it on two tasks).
- Scaling up: When scaled beyond 0.5 MB in a non-causal setup, TaFeDs matches or beats unconstrained SOTA models (like ResNeXt-101 and MSN) while using 2.4× to 1,232× less memory.
Limitations and Future Work
- Training from scratch: Models are currently trained from scratch so the 2D backbone adapts to the cache, which limits deployment on complex datasets that rely on heavy pre-training. Adapting pre-trained 2D models with TaFeDs is an open next step.
- Probe assumptions: The theoretical guarantee (Theorem 1) assumes the frozen-feature linear probe ranks layers in the exact same order as their trained gain-per-byte—an assumption that holds well empirically but isn't provably guaranteed.
- Ultra-low precision: The paper assumes 8-bit quantization; pushing to 4-bit or binary weights/activations could introduce compounding quantization errors across recurrent cache reads.
Summary updated