CodecMotion-OAD: Efficient Online Action Detection with Compressed-Domain Motion
Organizations: School of Information and Communication Engineering, Beijing University of Posts and Telecommunications, Beijing, China
Abstract
Online action detection (OAD) identifies ongoing actions in streaming videos. Many existing OAD systems combine RGB appearance with optical flow, but dense-flow extraction remains a major computational bottleneck. Codec motion vectors (MVs) are available during decoding, avoiding a separate optical-flow computation. On THUMOS'14, optical flow exceeds MVs by 11.2 mAP points with motion-only inputs, whereas the gap narrows to 3.7 points after RGB fusion, with the largest reduction in action-category discrimination. We propose CodecMotion-OAD, which replaces optical flow with decoder-provided MVs while retaining existing temporal detector architectures. Its two-stage training first aligns MV features with a pretrained flow-feature interface without action labels and then trains RGB+MV detectors using ground-truth labels and soft predictions from a frozen RGB+Flow teacher. To the best of our knowledge, this is the first application of codec MVs to frame-level OAD. On THUMOS'14 with MiniROAD, CodecMotion-OAD achieves 68.3 mAP versus 70.9 mAP for matched-distillation RGB+Flow, while reducing decoder-to-prediction processing time by 11.48-fold on CPU and 2.04-fold on GPU.
Figures & tables
| THUMOS’14 | Charades | |||||
| Detector | RGB | RGB+Flow | RGB+MV (ours) | RGB | RGB+Flow | RGB+MV (ours) |
| CMeRT | 59.7 | 70.8 | 68.6 | 14.7 | 15.4 | 15.5 |
| MiniROAD | 54.6 | 67.5 | 68.3 | 13.9 | 14.9 | 16.5 |
| LSTR | 59.1 | 69.6 | 67.9 | 13.3 | 13.7 | 14.9 |
| TeSTra | 60.1 | 70.5 | 68.3 | 12.1 | 12.5 | 13.8 |
| Source/state | Raw cos. | Ctr. cos. | mAP | |
| RAFT fixed | 0.578 | 0.306 | 0.290 | 64.2 |
| RAFT adapted | 0.721 | 0.277 | 0.232 | 60.2 |
| MV fixed | 0.456 | 0.066 | 0.206 | 63.7 |
| MV adapted | 0.828 | 0.623 | 0.407 | 68.3 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
| Configuration | mAP | ms/step |
| TV-L1 (persistent) Original Flow-ResNet50 Ground truth | 70.8 | 102.2 |
| RAFT-Large Fixed pretrained Flow-ResNet50 Ground truth | 64.2 | 120.5 |
| CodecMotion-OAD Adapted codec encoder Mixed teacher targets | 68.6 | 60.5 |
Temporal Action Detection
Temporal action detection identifies action categories and their start and end times in untrimmed video.
See all 41 papers