Papers
Topics
Authors
Recent
Search
2000 character limit reached

Temporal Squeeze Pooling (TS)

Updated 2 February 2026
  • Temporal Squeeze Pooling (TS) is a video representation technique that compresses long video clips into compact embeddings using adaptive, learnable projections.
  • It reduces computational and memory costs by fusing temporal information into squeezed images or channel-fused tensors while preserving key motion dynamics.
  • TS pooling integrates with architectures like TeSNet and SqueezeTime, demonstrating improved accuracy and efficiency on benchmarks such as UCF101 and Kinetics-400.

Temporal Squeeze Pooling (TS) refers to a class of operations for video representation learning that compress the temporal dimension of video clips into compact, information-preserving forms suitable for efficient and effective recognition. Two prominent instantiations—the original TS pooling for spatio-temporal aggregation in standard CNN backbones (Huang et al., 2020) and its reinterpretation as “squeezing time into channel” for mobile video understanding (Zhai et al., 2024)—demonstrate both the generality and technical nuance of the approach. TS pooling employs learnable, input-adaptive projections to map long sequences either into a small set of “squeezed images” or into fused channel representations, while providing mechanisms to recover and emphasize temporal dynamics.

1. Motivation and Underlying Principles

The core motivation underlying TS pooling is to address the redundancy and inefficiency inherent in conventional video encodings. Long video clips, typically containing tens or hundreds of frames, include substantial temporal redundancy due to static backgrounds and repeated appearance, while salient, discriminative motion cues are temporally sparse. Existing paradigms—such as 3D convolutions that treat time as an explicit axis, or dynamic image summarization collapsing an entire clip into a single pseudo-frame—can either lead to prohibitive computational footprints or substantial loss of fine-grained temporal information.

TS pooling fundamentally seeks to compress a sequence of KK frames (XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}) into a low-dimensional embedding of DKD \ll K discriminative projections. These projections can manifest as either a set of “squeezed images” (if maintaining spatial structure) or as a channel-fused tensor in which temporal variation is encoded across feature dimensions. Importantly, modern formulations employ adaptive, input-conditioned transformations, allowing the network to emphasize task-relevant temporal structures rather than static background content.

2. Mathematical Formulation of TS Pooling Layers

In the canonical TS pooling layer for spatio-temporal feature reduction (Huang et al., 2020), the operation proceeds as follows:

  • Squeeze Step: Compute a per-frame global descriptor by averaging all pixels and channels for each frame xkx_k, yielding zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l) and zRK\mathbf{z} \in \mathbb{R}^K.
  • Excitation Step: Generate a projection subspace via a two-layer, fully connected “squeeze-and-excitation” block:

u=δ2(W2δ1(W1z))RKDu = \delta_2(W_2\,\delta_1(W_1\,\mathbf{z})) \in \mathbb{R}^{K D}

where W1W_1, W2W_2 are learnable matrices, δ1\delta_1 is Sigmoid, and XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}0 is LeakyReLU; XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}1 is reshaped and column-independence is enforced, yielding XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}2.

  • Projection Step: Each pixel trajectory through time XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}3 (for all XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}4) is least-squares-projected onto the XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}5-dimensional subspace:

XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}6

The concatenated XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}7 is reshaped into squeezed images XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}8.

For “time-to-channel" operations (Zhai et al., 2024), the temporal axis is fused into channels by reshaping XRK×C×H×WX \in \mathbb{R}^{K \times C \times H \times W}9 to DKD \ll K0, optionally followed by a 2D convolution mapping to DKD \ll K1 output channels. This operation removes explicit temporal structure, requiring subsequent channel-time learning blocks to restore the useful parts of temporal modeling.

3. Architectures and Integration into Video Networks

TeSNet

In TeSNet, the temporal squeeze pooling layers are embedded into an Inception-ResNet-V2 backbone (pre-trained on ImageNet) for two-stream video classification (RGB and TV-L1 optical flow). TS layers can be positioned at the input (directly after raw frames) or after convolutional blocks, with the output “squeezed images” fed through the backbone as standard images.

  • Configurations:
    • Single TS after input: DKD \ll K2 frames DKD \ll K3 TS (DKD \ll K4) DKD \ll K5 full CNN (shared weights for DKD \ll K6 compressed frames).
    • Pyramidal TS: TS at input (DKD \ll K7), deeper TS at a later block (DKD \ll K8).
  • Output handling: Each squeezed image is treated as a conventional image input; backbone feature maps are pooled and fused for classification.

SqueezeTime with Channel–Time Learning (CTL) Blocks

In mobile-centric architectures, the temporal axis is squeezed into channel dimensions for maximal efficiency. The CTL block then restores and refines temporal dynamics. Each residual CTL block comprises:

  • Bottleneck form:

DKD \ll K9

with xkx_k0 reduction ratio.

  • CTL core:

xkx_k1

  • Temporal-Focus Convolution (TFC) branch: Channel-wise importance weighting computed via a global max pool and two-layer MLP followed by sigmoid, reweighting a standard 2D xkx_k2 conv per channel.
  • Inter-Temporal Object Interaction (IOI) branch: Recovers temporal position and enables interaction across pseudo-temporal (fused) channels, using learnable temporal positional encodings and large-kernel convolutions across collapsed temporal axes.

4. Computational Complexity and Memory Efficiency

TS pooling enables substantial reductions in both flops and memory:

  • Original TS pooling: Projects xkx_k3-frame video to xkx_k4 squeezed frames (xkx_k5), with little to no increase in parameter or runtime cost. When integrated as an input layer, downstream operations are fully shared among squeezed images.
  • Time-to-channel pooling: Replaces all xkx_k6-axis convolutions with 2D convolutions on xkx_k7 input channels:

xkx_k8

eliminating the xkx_k9 factor present in zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)0D convolutional cost. Peak activation memory similarly drops from zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)1 to zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)2 at the first stage, and only zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)3 thereafter. The empirical result is a near zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)4-fold memory and computation saving relative to conventional 3D CNNs.

5. Empirical Evaluation and Ablation Analyses

Temporal Squeeze pooling demonstrates considerable efficacy across multiple video recognition benchmarks:

Benchmark Model/Config RGB (%) OF (%) Combined (%)
UCF101 Baseline (single frame, IncResNet-V2) 83.5 85.4 92.5
TSN (3 frames) 85.0 85.1 92.9
TeSNet (64, zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)5=16, zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)6=4) 87.8 88.2 95.2
HMDB51 TeSNet (avg. 3 splits) -- -- 71.5

For TeSNet, the best single-layer setting is an input-level TS with zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)7 (85.4% top-1 on UCF101, split 1), with two-layer designs offering further tradeoffs between accuracy and computational expense (Huang et al., 2020). Ablations indicate that increasing the number of frames zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)8 improves performance (e.g., zk=1HWCi,j,lxk(i,j,l)z_k = \frac{1}{HWC}\sum_{i,j,l} x_k(i,j,l)9 yields 85.3%, zRK\mathbf{z} \in \mathbb{R}^K0 yields 87.8%).

In SqueezeTime (Zhai et al., 2024), within mobile constraints (≈5.5 GFLOPs, 16 frames, zRK\mathbf{z} \in \mathbb{R}^K1 input), the approach delivers higher Top-1 accuracy (71.6% on Kinetics-400) than competing mobile methods and achieves GPU throughput of 903 clips/s, over 80% faster than the nearest baseline. Memory and latency savings are equally significant—e.g., throughput, CPU latency, and downstream fine-tuning for temporal action detection are all improved.

6. Characteristics and Interpretation of Squeezed Outputs

The output of TS pooling comprises a low-dimensional set of images (“squeezed images” or “fused channel tensors”) that visually and semantically partition scene content:

  • For zRK\mathbf{z} \in \mathbb{R}^K2, zRK\mathbf{z} \in \mathbb{R}^K3: One squeezed image will typically correspond to the static background, while the other highlights moving objects as salient, motion-blur-like features.
  • When clips contain little movement, both outputs approximate the average scene, reflecting subtle temporal variation.
  • Multiple squeezed images can recover multiple modes of temporal variation, in contrast to the inherent information loss of single dynamic image summarization.

In channel-fused representations, the subsequent CTL blocks facilitate the restoration of explicit temporal reasoning necessary for recognition tasks, making this approach highly suitable for computationally constrained environments.

7. Training Procedures and Optimization

Training TS pooling models involves specific objectives and hyperparameters:

  • Loss functions:

    • Squeeze reconstruction loss:

    zRK\mathbf{z} \in \mathbb{R}^K4 - Final loss:

    zRK\mathbf{z} \in \mathbb{R}^K5

with typical weights zRK\mathbf{z} \in \mathbb{R}^K6, zRK\mathbf{z} \in \mathbb{R}^K7.

  • Optimization: SGD (batch size 32, momentum 0.9), dropout 0.5.
  • Learning rates: 0.001 for RGB, 0.005 for optical flow, with zRK\mathbf{z} \in \mathbb{R}^K8 decay on validation plateau.
  • Input: zRK\mathbf{z} \in \mathbb{R}^K9 (TeSNet), u=δ2(W2δ1(W1z))RKDu = \delta_2(W_2\,\delta_1(W_1\,\mathbf{z})) \in \mathbb{R}^{K D}0 (SqueezeTime); u=δ2(W2δ1(W1z))RKDu = \delta_2(W_2\,\delta_1(W_1\,\mathbf{z})) \in \mathbb{R}^{K D}1 typically 16–64 frames.

In summary, Temporal Squeeze pooling formalizes an efficient, learnable reduction of temporal dimensionality in video representation learning, balancing compactness with preservation of discriminative temporal cues. The methodology demonstrates strong empirical results and broad applicability, particularly for resource-constrained video understanding (Huang et al., 2020, Zhai et al., 2024).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Temporal Squeeze Pooling (TS).