Zero-shot Recognition of Complex Action Sequences

Jonathan D. Jones, Tae Soo Kim, Michael Peven, Jin Bai, Zihao Xiao, Yi Zhang, Weichao Qiu, Alan L. Yuille, Gregory D. Hager

Abstract

There are many realistic applications of activity recognition where the set of potential activity descriptions is combinatorially large. This makes end-to-end supervised training of a recognition system impractical as no training set is practically able to encompass the entire label set. In this paper, we present an approach to fine-grained recognition that models activities as compositions of dynamic action signatures. This compositional approach allows us to reframe fine-grained recognition as zero-shot activity recognition, where a detector is composed "on the fly" from simple first-principles state machines supported by deep-learned components. We evaluate our method on the Olympic Sports and UCF101 datasets, where our model establishes a new state of the art under multiple experimental paradigms. We also extend this method to form a unique framework for zero-shot joint segmentation and classification of activities in video and demonstrate the first results in zero-shot decoding of complex action sequences on a widely-used surgical dataset. Lastly, we show that we can use off-the-shelf object detectors to recognize activities in completely de-novo settings with no additional training.

Introduction

In computer vision, fine-grained activity recognition presents a significant challenge due to the combinatorial explosion of possible event descriptions. Identifying a specific sequence, such as a person approaching a vehicle and placing an object, requires modeling a vast array of actors, attributes, and temporal relationships. Traditional supervised learning methods, which rely on thousands of labeled examples for every possible action, are often impractical because collecting exhaustive datasets for every niche scenario is impossible.

Furthermore, existing zero-shot learning (ZSL) methods typically rely on static signatures—identifying the presence of an attribute like a "car" within a video frame. However, actions are inherently dynamic. For instance, "entering a car" and "exiting a car" may appear identical if analyzed only for the presence of a person and a vehicle; the distinction lies entirely in the temporal order of state changes. To address this, we propose DASZL (Dynamic Action Signatures for Zero-shot Learning).

The DASZL Framework

Instead of treating an action as a single monolithic label, DASZL treats it as a composition of simpler states managed by Weighted Finite State Transducers (WFSTs). The framework consists of three primary components:

  1. Logic Acceptors: These are state machines that define the "rules" of an action. For example, "Entering" is defined as a sequence where a person exists and then ceases to exist within the frame, occurring alongside a vehicle constraint.
  2. Observation Transducers: These components take raw outputs from neural network attribute detectors—which provide probabilities over time—and convert them into a format compatible with the state machine.
  3. Composition & Decoding: The system mathematically composes the logic and observations. It then utilizes the Viterbi algorithm to identify the "best path" through the machine. The resulting path score indicates the likelihood that the video matches the hypothesized action.
System architecture of DASZL, showing the pipeline from raw video to total activity score via attribute detection and transducer composition.

This architecture allows for "on-the-fly" model construction. Users can define new actions using basic building blocks, and the system can recognize them immediately without requiring additional training data.

Modeling Dynamic Signatures

The core innovation of DASZL is the realization that fine-grained actions are better described by changes in state than by static features. By explicitly modeling "Start," "End," "Persistence," and "Absence," the model gains significant discriminative power. This structured logic is more robust than end-to-end deep learning for complex interactions.

Example of composing a logic transducer for 'Person disappears' with an observation transducer to decode the most likely action sequence.

Experimental Evaluation

We evaluated DASZL across four diverse datasets to demonstrate its versatility:

  • Olympic Sports & UCF101: On the Olympic Sports dataset, DASZL achieved 74.2% accuracy in zero-shot settings, a substantial improvement over the previous state-of-the-art of approximately 65%.
  • JIGSAWS: Using this surgical dataset, the model provided the first-ever zero-shot results for decoding complex robotic suturing sequences, establishing a strong baseline for joint segmentation and classification.
  • DIVA: In challenging real-world security scenarios involving human-object interactions, DASZL achieved 85.0% accuracy. Notably, this zero-shot approach using off-the-shelf object detectors (like Mask R-CNN) outperformed a fully supervised Temporal Shift Module (TSM), which reached only 63.7%.

Conclusion

DASZL demonstrates that compositionality and temporal logic are powerful tools for zero-shot activity recognition. By moving away from "black box" models toward structured, first-principles state machines, we can recognize complex actions in de-novo settings. While the current system relies on hand-specified logic, future work may involve learning these state machine structures directly from natural language or unlabeled data. As underlying attribute detectors improve, the efficacy of this logic-based reasoning framework is expected to scale accordingly.

Summary updated

BibTeX
@misc{jones2019zero,
  author = {Jonathan D. Jones and Tae Soo Kim and Michael Peven and Jin Bai and Zihao Xiao and Yi Zhang and Weichao Qiu and Alan L. Yuille and Gregory D. Hager},
  title = {{Zero-shot Recognition of Complex Action Sequences}},
  year = {2019},
  eprint = {1912.03613},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.03613},
}
Figure