Toyota Smarthome Untrimmed: Real-World Untrimmed Videos for Activity Detection

Rui Dai, Srijan Das, Saurav Sharma, Luca Minciullo, Lorenzo Garattoni, Francois Bremond, Gianpiero FrancescaarXiv 2020

This paper introduces Toyota Smarthome Untrimmed (TSU), a large-scale dataset designed to push the boundaries of activity detection in real-world, unscripted environments. Alongside the dataset, the authors propose Attention Guided Net (AGNet), a multi-modal baseline that leverages temporal attention to better localize activities in long, complex video streams.

TL;DR

The authors present TSU, a massive untrimmed dataset of spontaneous daily activities performed by seniors, featuring real-world challenges like concurrent actions and high temporal variance. They also introduce AGNet, a novel architecture that uses 3D pose or optical flow to generate attention masks, significantly improving activity detection accuracy over existing state-of-the-art methods.

What Problem Does This Paper Address?

Most existing activity recognition datasets fall into two traps: they are either "trimmed" (short clips containing a single, isolated action) or "scripted" (actors following a rigid set of instructions). Neither reflects the messy reality of Activities of Daily Living (ADLs).

In a real home, activities are spontaneous: a person might start cutting bread, stop to answer the phone, and then resume—all while a television is on in the background. This creates several technical hurdles for computer vision:

  1. Concurrent Activities: Multiple actions happening at once.
  2. High Temporal Variance: A "writing" action might last 3 seconds or 5 minutes.
  3. Low Camera Framing: Unlike web videos where the subject is centered, home monitoring cameras often capture people at the edges of the frame or partially occluded.
  4. Composite vs. Elementary Actions: Distinguishing between a high-level activity like "having breakfast" and its constituent parts like "pouring milk."

Methods

The authors propose Attention Guided Net (AGNet) to tackle these challenges. The core idea is that different data modalities provide complementary information. While RGB frames provide rich object context, 3D poses or optical flow provide cleaner signals for motion and timing.

The Architecture:

  • Base Network: AGNet is built upon a Stacked Dilated Temporal Convolutional Network (SD-TCN). By using dilated convolutions with increasing rates, the network can capture both short-term local patterns and long-term global context.
  • Attention Module: This is the key innovation. A secondary stream (inputting 3D poses or optical flow) generates a temporal attention mask. This mask is applied to the primary RGB stream at multiple scales.
  • Refined Localization: The attention weights help the model "ignore" irrelevant background frames and focus on the precise boundaries (start and end times) of an activity.
Overview of the challenges in TSU, including camera framing, concurrent activities, and temporal variation.

Datasets

The primary contribution is the Toyota Smarthome Untrimmed (TSU) dataset:

  • Scope: 536 long videos (average 21 minutes each) totaling over 1,000 hours.
  • Participants: 18 senior volunteers (ages 60-80) recorded in a real smarthome.
  • Annotations: 51 activity classes, including both composite and elementary actions.
  • Modalities: RGB, Depth, and 3D Poses.

The authors also evaluate their method on the Charades dataset to demonstrate generalizability.

Key Insights and Ideas

  • Spontaneity is a Feature, Not a Bug: The authors argue that "unscripted" behavior is essential. In TSU, participants might make mistakes, repeat actions, or search for items, which provides a much harder—and more realistic—test for AI than scripted datasets like PKU-MMD.
  • Modality Synergy: The researchers found that 3D poses are excellent for filtering out background clutter in "pose-based" activities (like sitting down), while RGB is crucial for "object-based" activities (like distinguishing between drinking from a cup vs. a bottle).
  • The Framing Effect: In real-world monitoring, subjects are rarely centered. The authors show that using human-centric crops (via object detection) significantly boosts performance compared to standard center-cropping.
Spatial distribution of person locations across different datasets, showing TSU's low camera framing.

Key Results

  • TSU Benchmark: AGNet achieved a per-frame mean Average Precision (mAP) of 33.2% on the Cross-Subject protocol. This significantly outperformed standard baselines like I3D+Bottleneck (15.7%) and advanced models like MS-TCN (25.9%).
  • Charades Performance: On the popular Charades dataset, AGNet reached 22.9% mAP, setting a new state-of-the-art at the time of publication.
  • Multi-View Boost: By using synchronized video pairs (Joint-view TSU), the authors demonstrated that training with multiple camera angles further improves detection accuracy by roughly 4.6%.
Breakdown of activity types in TSU: composite, elementary, pose-based, and subtle motion.

Limitations and Future Work

While AGNet sets a new baseline, the authors acknowledge that a 33.2% mAP leaves significant room for improvement. The "long-tail" problem—where rare activities are much harder to detect than common ones—remains a major hurdle.

Future directions suggested include:

  • Modality Distillation: Training with multiple modalities (RGB + Pose) but performing inference using only RGB to reduce computational costs in deployment.
  • Weakly Supervised Learning: Exploring how to use labels for high-level composite activities to automatically learn the boundaries of the smaller elementary actions within them.
  • Long-tail Distribution: Developing specific strategies to handle the imbalance in how often certain activities occur in real life.

Summary updated

BibTeX
@misc{dai2020toyota,
  author = {Rui Dai and Srijan Das and Saurav Sharma and Luca Minciullo and Lorenzo Garattoni and Francois Bremond and Gianpiero Francesca},
  title = {{Toyota Smarthome Untrimmed: Real-World Untrimmed Videos for Activity Detection}},
  year = {2020},
  eprint = {2010.14982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.14982},
}
Figure