Introduction
In computer vision, while images are static 2D entities, videos introduce a third dimension: time. Capturing temporal dynamics efficiently remains a significant challenge. Traditional 2D CNNs are computationally efficient but fail to capture temporal order, treating videos as unordered collections of frames. Conversely, 3D CNNs effectively capture motion but suffer from high computational costs, large parameter counts, and a tendency to overfit. Optical flow methods provide motion cues but require expensive pre-processing. The Temporal Interlacing Network (TIN) addresses these issues by embedding temporal information directly into spatial representations through a simple, plug-and-play operator.
Methodology: The Temporal Interlacing Module
The core innovation of TIN is the Deformable Shift Module, which "interlaces" features across frames without the overhead of 3D convolutions. Unlike previous methods like the Temporal Shift Module (TSM) that use fixed shifts, TIN employs a learnable mechanism to determine optimal temporal offsets.
The process involves three primary steps:
- Channel Splitting: The input feature map is divided into several groups along the channel dimension.
- Learned Offsets (OffsetNet): A small sub-network calculates differentiable, fractional offsets for each group. This allows the model to sample features from precise temporal points rather than being restricted to integer frame shifts.
- Temporal-wise Sampling: Linear interpolation is used to mingle features from adjacent frames into the current frame's representation.
This interlacing process is mathematically equivalent to a regularized temporal convolution network (r-TCN) but operates at a fraction of the computational cost.
Experimental Setup
TIN was evaluated on several benchmarks categorized by their temporal requirements:
- Temporal-Sensitive: Something-Something (V1 & V2) and Jester, where action order (e.g., "pushing left" vs. "pushing right") is critical.
- Temporal-Insensitive: Kinetics-600, UCF101, and HMDB51, which rely more on spatial context.
- Large-Scale: Multi-Moments in Time (MMiT), containing over one million short video clips.
Key Results and Discussion
TIN demonstrates a superior trade-off between accuracy and efficiency compared to existing state-of-the-art models. On the Something-Something V1 benchmark, TIN achieved 4% higher accuracy than TSM with 6x less latency.
An ensemble version of TIN secured 1st place in the ICCV 2019 Multi-Moments in Time challenge. Furthermore, on Something-Something V1, TIN reached 47.0% Top-1 accuracy, a massive improvement over the 2D TSN baseline of 19.7%, highlighting its effectiveness in capturing complex temporal dynamics.
Visualizing the learned offsets revealed that shallow layers maintain offsets near zero to preserve spatial structure, while deeper layers develop larger offsets to model complex temporal relationships. This hierarchical learning suggests that the network naturally prioritizes spatial features early on and temporal context later.
Conclusion
The Temporal Interlacing Network provides a highly efficient, "pluggable" solution for video understanding. By replacing fixed shifts with learnable, differentiable interlacing, TIN allows standard 2D architectures to achieve 3D-level performance with minimal overhead. While currently focused on short-term modeling (8-16 frames), future work may explore adaptive group splitting and integration with long-range modeling architectures like Transformers.
Summary updated