Skip to main content
QUICK REVIEW

[Paper Review] Soft + Hardwired Attention: An LSTM Framework for Human Trajectory Prediction and Abnormal Event Detection

Tharindu Fernando, Simon Denman|arXiv (Cornell University)|Feb 18, 2017
Video Surveillance and Tracking MethodsComputer Science11 references19 citations
TL;DR

This paper proposes a novel LSTM-based framework that combines soft attention with hardwired attention to predict human trajectories and detect abnormal events in surveillance videos. By integrating learnable soft attention with handcrafted spatial attention weights, the model improves trajectory prediction accuracy in dense, complex environments and enables end-to-end abnormality detection without handcrafted features, outperforming state-of-the-art methods on two public datasets.

ABSTRACT

As humans we possess an intuitive ability for navigation which we master through years of practice; however existing approaches to model this trait for diverse tasks including monitoring pedestrian flow and detecting abnormal events have been limited by using a variety of hand-crafted features. Recent research in the area of deep-learning has demonstrated the power of learning features directly from the data; and related research in recurrent neural networks has shown exemplary results in sequence-to-sequence problems such as neural machine translation and neural image caption generation. Motivated by these approaches, we propose a novel method to predict the future motion of a pedestrian given a short history of their, and their neighbours, past behaviour. The novelty of the proposed method is the combined attention model which utilises both "soft attention" as well as "hard-wired" attention in order to map the trajectory information from the local neighbourhood to the future positions of the pedestrian of interest. We illustrate how a simple approximation of attention weights (i.e hard-wired) can be merged together with soft attention weights in order to make our model applicable for challenging real world scenarios with hundreds of neighbours. The navigational capability of the proposed method is tested on two challenging publicly available surveillance databases where our model outperforms the current-state-of-the-art methods. Additionally, we illustrate how the proposed architecture can be directly applied for the task of abnormal event detection without handcrafting the features.

Motivation & Objective

  • To address the challenge of accurately predicting pedestrian trajectories in complex, crowded environments with high observer density.
  • To improve trajectory prediction by combining soft attention (learned) with hardwired attention (spatially structured) for neighbor influence modeling.
  • To enable end-to-end abnormal event detection by leveraging LSTM hidden states without requiring manually engineered features.
  • To demonstrate the model’s robustness and generalization on real-world surveillance datasets with diverse crowd dynamics.

Proposed method

  • Uses an encoder-decoder LSTM architecture to model sequential pedestrian trajectories over time.
  • Applies soft attention to encode the pedestrian of interest’s own trajectory using a learned attention function.
  • Introduces hardwired attention weights to model the influence of neighboring pedestrians based on spatial proximity and relative position.
  • Merges soft and hardwired attention context vectors into a unified representation for future trajectory prediction.
  • Employs the hidden states of the LSTM encoder and decoder for clustering-based abnormal event detection using DBSCAN.
  • Trains the model end-to-end on observed trajectories to predict future paths and detect deviations from normal behavior.

Experimental results

Research questions

  • RQ1Can a hybrid attention mechanism combining soft and hardwired attention improve trajectory prediction in dense, complex crowd scenarios?
  • RQ2How effectively can the proposed model generalize to real-world surveillance data with high pedestrian density and dynamic interactions?
  • RQ3To what extent can LSTM hidden states be used to detect abnormal behavior without handcrafted features?
  • RQ4How does the model compare to state-of-the-art methods in terms of trajectory prediction accuracy and abnormality detection performance?

Key findings

  • The model achieved state-of-the-art performance on two public surveillance datasets, outperforming existing methods in trajectory prediction accuracy.
  • The hybrid attention mechanism significantly improved performance in scenarios with hundreds of neighbors, enabling scalability to real-world dense environments.
  • The model detected 47 out of 55 ground truth abnormal events (85.5% recall), outperforming the naive baseline which detected only 29 (52.7% recall).
  • False positives were primarily due to rare but non-abnormal behaviors such as sudden turns to buy tickets, indicating sensitivity to low-frequency patterns.
  • The approach successfully detected abnormal events involving sudden directional changes, circular motion, and abnormal velocities, even when predicted and observed paths were close.
  • The framework demonstrated strong generalization by enabling feature-free abnormal event detection through clustering of LSTM hidden states.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.