Delta Sampling R-BERT for Limited Data and Low-Light Action Recognition

Sanchit Hira, Ritwik Das, Abhinav Modi, Daniil Pakhomov

Abstract

We present an approach to perform supervised action recognition in the dark, specifically evaluating our results on the ARID dataset. While most previous works focus on large, well-illuminated datasets like Kinetics and HMDB-51, we demonstrate that our model achieves a very low error rate even when trained on a much smaller dataset of dark videos. We explore various training and inference strategies, including domain transfer and a novel frame selection strategy. Our empirical results demonstrate that our approach outperforms previously published baseline models by 11%.

Introduction: The Challenge of Low-Light Recognition

Most computer vision models are "fair-weather" systems, performing optimally on well-illuminated datasets but failing in low-light conditions. Real-world applications—ranging from night-time security surveillance and autonomous driving to in-vivo medical imaging—require robust models capable of handling low contrast and high noise.

The primary hurdles in this domain are twofold:

  1. Visibility: In datasets like ARID (Action Recognition in the Dark), illuminance is so low that actions are nearly invisible to the human eye.
  2. Dataset Bias: Small datasets often exhibit "lopsided" distributions where models might "memorize" video lengths (e.g., a 50-frame running clip vs. a 100-frame sitting clip) instead of learning the actual action mechanics. This leads to poor generalization on real-world videos of varying lengths.

Proposed Methodology

To address these challenges, we propose a three-stage pipeline: Delta Sampling R-BERT.

The proposed Delta Sampling R-BERT pipeline, integrating Zero-DCE enhancement, Delta Sampling, and an R(2+1)D-BERT architecture.

1. Image Enhancement (Zero-DCE)

Instead of standard filters, we utilize Zero-Reference Deep Curve Estimation (Zero-DCE). This method learns to brighten images by estimating dynamic range adjustment curves without requiring paired (light/dark) data. This provides a flexible solution that brightens dark areas without over-exposing lighter regions, avoiding the artifacts often introduced by GAN-based methods.

2. Delta Sampling Strategy

To prevent the model from overfitting to specific frame counts, we introduced a randomized sampling rate. By calculating a base sampling rate ($N/T$) and adding a random "jitter" ($\delta$), we force the network to identify actions regardless of their temporal position or duration. If a sequence is shorter than the required input, it is padded with a randomized number of blank frames ($P_1$ and $P_2$). This acts as a form of temporal data augmentation that breaks the correlation between action class and video length.

3. Architecture (R-BERT)

The backbone uses R(2+1)D, which factorizes 3D convolutions into separate spatial and temporal components to simplify training. This is followed by a BERT (Transformer) layer. Unlike simple Global Average Pooling (TGAP), BERT utilizes temporal positional encodings, allowing the model to preserve the sequence and timing of movements. This is crucial for distinguishing between similar actions, such as "sitting" and "standing," which can appear identical if temporal order is ignored.

Experimental Results

The proposed Delta Sampling R-BERT was evaluated primarily on the ARID dataset, which contains 1,837 videos across 6 classes. We also utilized HMDB-51 for domain adaptation experiments to determine if "daytime" knowledge could improve "night-time" recognition.

Accuracy comparison of the proposed method against various baselines on the ARID dataset.

Our results indicate:

  • State-of-the-Art Performance: The Delta Sampling R-BERT achieved 90.46% accuracy on the ARID dataset, representing an 11% improvement over previous baselines.
  • Ablation Studies: Zero-DCE enhancement alone improved accuracy from 87.48% (no enhancement) to 90.46%.
  • Data Augmentation: Incorporating 1,420 videos from HMDB-51 in a fully supervised manner further increased accuracy to 93.73%.

Discussion and Limitations

While the model shows significant promise, certain constraints remain. Due to hardware limitations, frames were resized to $112 \times 112$, and training was conducted with a small batch size. Additionally, traditional Optical Flow was found to be detrimental due to high noise levels in low-light video, which complicates accurate flow estimation. Future work will focus on developing noise-robust motion descriptors specifically tailored for dark environments.

Summary updated

BibTeX
@inproceedings{hira2021delta,
  author = {Sanchit Hira and Ritwik Das and Abhinav Modi and Daniil Pakhomov},
  title = {{Delta Sampling R-BERT for Limited Data and Low-Light Action Recognition}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  url = {https://openreview.net/forum?id=3d2CQSovna},
}
Figure