Action Keypoint Network for Efficient Video Recognition

Xu Chen, Yahong Han, Xiaohan Wang, Yifan Sun, Yi Yang · DOI

TL;DR

AK-Net (Action Keypoint Network) significantly boosts video recognition efficiency by treating informative spatial-temporal features as a sparse "point cloud." By selecting only the most relevant points across space and time and processing them with compact 1D convolutions, it reduces computational costs by up to 15% while maintaining or even improving accuracy over state-of-the-art baselines.

What Problem Does This Paper Address?

Video recognition is computationally expensive because videos are massive, redundant data structures. Most current "dynamic" recognition methods try to save computation by either skipping entire frames (temporal selection) or cropping fixed-size patches (spatial selection).

The authors argue these approaches are too rigid. Action-relevant information rarely fits neatly into a square box or a single frame; it’s usually scattered across both space and time in arbitrary shapes. Processing fixed crops still leaves a lot of "dead weight" (background or irrelevant frames) in the pipeline. AK-Net aims to solve this by moving to a point-wise granularity, selecting only the most informative pixels from feature maps regardless of their shape or timing.

Comparison of AK-Net's flexible selection vs. traditional fixed-shape methods.

Methods

AK-Net transforms a standard video recognition backbone (like TSM or TDN) into a two-stage pipeline:

  1. Action Keypoint Selection: The video is fed into the early layers of a backbone. At a specific intermediate layer, the model generates a spatial-temporal heatmap using a channel-wise attention mechanism (similar to Squeeze-and-Excitation). It then selects the top $N$ "action keypoints"—individual pixels in the feature map with the highest scores. To ensure the model learns to pick the right points, the authors use an auxiliary classification head and a quadratic regularization term to encourage sparse, confident selections.

  2. Point Cloud Classification: Once the points are selected, the original 3D grid structure is lost. AK-Net treats these points as a point cloud.

  3. Ranking: To help the network understand the relationship between points, they are sorted into a 1D sequence based on their coordinates ($x, y, t$).

  4. Transformation: A light sub-network aligns these point features and their coordinates.
  5. 1D Convolution: The remaining layers of the backbone are converted from 2D/3D convolutions into 1D convolutions that operate on this ordered sequence. This "compaction" is where the bulk of the computational savings occurs.
The overall AK-Net pipeline, showing the transition from feature maps to a ranked point cloud.

Datasets

The authors evaluated AK-Net on three challenging benchmarks:

  • Something-Something v1 & v2: Large-scale datasets focused on human-object interactions where temporal ordering is critical.
  • Diving48: A fine-grained dataset of competitive diving, requiring precise modeling of long-term dynamics across different stages of a dive.

Key Insights and Ideas

  • Arbitrary Shapes Win: By selecting points rather than boxes, AK-Net can capture motion information at any location, making it much more flexible for diverse actions.
  • 1D Compaction: Converting 2D kernels to 1D counterparts (e.g., a $3 \times 3$ kernel becomes a $1 \times 3$ kernel) significantly reduces GFLOPs without changing the underlying network topology.
  • Ranking is Crucial: Without the ranking step, the 1D convolutions struggle because they lose the "local continuity" of the video. Sorting points by their spatial-temporal coordinates restores this context.
  • Tunable Efficiency: The "separating layer" (where you switch from full feature maps to keypoints) acts as a dial. Choosing an earlier layer (like res2) prioritizes speed, while a later layer (like res4) prioritizes accuracy.
Fig. 3. Illustration of the feature extraction for action keypoints. The selected points (blue) will first be ranked (red arrows) to reserve the relative local continuity. Then we transform (orange arrow) them by jointly considering their coordinates and features. Finally, we process these point features using 1D convolution layers.

Key Results

AK-Net consistently improves upon its baselines across all datasets:

  • Efficiency: On Something-Something V2, AK-Net reduces the computational cost of TSM and TDN by 13% and 15%, respectively, while slightly increasing accuracy.
  • Performance vs. 3D CNNs: AK-Net$_{TDN}$ outperforms the classic I3D model by 10.9% on Something-Something V1 while using 9.8x less computation.
  • Sparsity: The model is remarkably robust; it can outperform the baseline using only 10% of the total points in the feature map.
  • Fine-grained Accuracy: On Diving48, AK-Net improved accuracy by up to 2.4% over the baseline, proving its strength in modeling complex, fine-grained temporal dynamics.

Limitations and Future Work

  • Non-Differentiable Selection: The top-$N$ selection process is inherently non-differentiable. While the authors mitigate this with auxiliary heads, it complicates the training process.
  • Two-Stage Training: Currently, the model requires a two-stage training regime (pre-training the backbone, then fine-tuning the AK-Net modules), which is less streamlined than end-to-end training.
  • Hardware Latency: While GFLOPs are significantly reduced, the paper does not provide extensive benchmarks for actual wall-clock latency on specific hardware (like GPUs or mobile CPUs), where sparse operations can sometimes be less efficient than dense ones.

Summary updated

BibTeX
@misc{chen2022action,
  author = {Xu Chen and Yahong Han and Xiaohan Wang and Yifan Sun and Yi Yang},
  title = {{Action Keypoint Network for Efficient Video Recognition}},
  year = {2022},
  eprint = {2201.06304},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.06304},
}
Figure