Abstract
Deep Recurrent Neural Network architectures, though remarkably capable at modeling sequences, lack an intuitive high-level spatio-temporal structure. That is while many problems in computer vision inherently have an underlying high-level structure and can benefit from it. Spatiotemporal graphs are a popular tool for imposing such high-level intuitions in the formulation of real world problems. In this paper, we propose an approach for combining the power of high-level spatio-temporal graphs and sequence learning success of Recurrent Neural Networks (RNNs). We develop a scalable method for casting an arbitrary spatio-temporal graph as a rich RNN mixture that is feedforward, fully differentiable, and jointly trainable. The proposed method is generic and principled as it can be used for transforming any spatio-temporal graph through employing a certain set of well defined steps. The evaluations of the proposed approach on a diverse set of problems, ranging from modeling human motion to object interactions, shows improvement over the state-of-the-art with a large margin. We expect this method to empower new approaches to problem formulation through high-level spatio-temporal graphs and Recurrent Neural Networks.
Introduction
While Deep Recurrent Neural Networks (RNNs) are incredibly successful at modeling sequences, they are often treated as "black boxes" that lack an intuitive understanding of the physical world's structure. Conversely, spatio-temporal graphs (st-graphs) are excellent at representing how components—such as human limbs or objects in a kitchen—interact over space and time. Traditionally, these have been modeled using probabilistic frameworks like Conditional Random Fields (CRFs), which often struggle with complex, long-term dependencies.
The Structural-RNN (S-RNN) framework addresses this gap by providing a generic, scalable way to inject high-level structural "priors" into deep learning architectures. By automatically casting any st-graph into a rich, trainable mixture of RNNs, the model retains the flexibility of deep learning while benefiting from structured domain knowledge.
Methodology: The S-RNN Recipe
The core contribution is a principled approach for transforming an arbitrary st-graph into a Structural-RNN through four key steps:
- Factor Decomposition: The st-graph is broken down into its constituent factors: nodes (representing entities like a person or a microwave) and edges (representing interactions, such as a person "using" a microwave).
- RNN Assignment: Each factor is represented by an RNN. There are two types: nodeRNNs and edgeRNNs.
- Factor Sharing (Clique Templates): To ensure scalability, semantically similar components share parameters. For example, all "object" nodes share the same nodeRNN parameters, and all "human-object" interactions share the same edgeRNN parameters. This allows the model to handle a variable number of objects in a scene.
- Bipartite Architecture: The model is organized such that edgeRNNs process interaction features and pass their outputs to the corresponding nodeRNNs. The nodeRNNs then combine these interaction signals with their own temporal features to make a final prediction.
The resulting architecture is feedforward, fully differentiable, and can be trained jointly using standard backpropagation.
Evaluation and Results
The authors evaluated S-RNN on three distinct, challenging problems:
- Human 3.6M (H3.6m): Modeling and forecasting human poses. S-RNN significantly outperformed vanilla LSTMs and Encoder-Recurrent-Decoders (ERD), particularly in long-term forecasting (1000ms) where unstructured models often "drift" into physically impossible poses.
- CAD-120: Detecting sub-activities and anticipating object affordances. S-RNN improved the F1-score for affordance anticipation by 44% over previous st-graph CRF methods.
- Real-world Driving Data: Anticipating maneuvers (turns, lane changes) several seconds before they occur. S-RNN achieved higher precision and recall compared to the previous state-of-the-art AIO-HMM.
Key Insights
- Structure as a Regularizer: Forcing RNNs to follow the topology of an st-graph leads to more robust representations.
- Semantic Memory Cells: Internal states of the RNNs were found to represent high-level semantic sub-motions (e.g., "moving a hand toward the face") without explicit supervision.
- Modularity: The modular architecture allows for "mixing and match" components, such as swapping leg nodeRNNs to create physically plausible hybrid motions.
Conclusion and Future Work
S-RNN demonstrates that high-level structural intuition can be effectively combined with the sequence-learning power of RNNs. While the current framework requires manual graph design by experts, future research could focus on automatically discovering or learning the underlying graph structure from raw data. Additionally, exploring how S-RNN handles more complex, continuous interaction spaces in robotics remains an open area for investigation.
Summary updated