Skip to main content
QUICK REVIEW

[Paper Review] IntFormer: Predicting pedestrian intention with the aid of the Transformer architecture

Javier Lorenzo, I. Parra|arXiv (Cornell University)|May 18, 2021
Autonomous Vehicle Technology and SafetyEngineering17 references15 citations
TL;DR

IntFormer proposes a lightweight, real-time pedestrian intention prediction model using a Transformer-based architecture fused with RubiksNet for video feature encoding. It achieves state-of-the-art performance (AUC: 0.823) on the PIE benchmark with 8× smaller model size and 96% faster training than prior methods, highlighting ego-vehicle speed as the most predictive input feature.

ABSTRACT

Understanding pedestrian crossing behavior is an essential goal in intelligent vehicle development, leading to an improvement in their security and traffic flow. In this paper, we developed a method called IntFormer. It is based on transformer architecture and a novel convolutional video classification model called RubiksNet. Following the evaluation procedure in a recent benchmark, we show that our model reaches state-of-the-art results with good performance ($\approx 40$ seq. per second) and size ($8 imes $smaller than the best performing model), making it suitable for real-time usage. We also explore each of the input features, finding that ego-vehicle speed is the most important variable, possibly due to the similarity in crossing cases in PIE dataset.

Motivation & Objective

  • To develop a real-time, efficient model for pedestrian intention prediction in urban autonomous driving scenarios.
  • To improve performance and reduce computational cost compared to existing state-of-the-art models like PCPA.
  • To investigate the relative importance of various input features—such as ego-vehicle speed, bounding box coordinates, pose keypoints, and image crops—on prediction accuracy.
  • To optimize training efficiency through novel optimization techniques and reduced model size.
  • To provide a robust, generalizable solution suitable for deployment in intelligent vehicles.

Proposed method

  • IntFormer employs a hybrid architecture combining RubiksNet for encoding image-based features (e.g., cropped bounding boxes) and a Transformer encoder for non-image sequential data (e.g., ego-vehicle speed, bounding box coordinates, pose keypoints).
  • The model processes input sequences of 16 frames (at 30 fps) to predict pedestrian crossing intention within a 1–2 second horizon (Time to Event, TTE).
  • Feature fusion is performed after separate encoding, enabling the model to integrate spatial (image) and temporal (non-image) cues effectively.
  • A novel training schedule with advanced optimization techniques reduces training time to under 13 minutes on PIE, compared to 8 hours for PCPA.
  • The model is evaluated using the official benchmark from [6], which standardizes evaluation on both PIE and JAAD datasets.
  • Input features are systematically ablated to assess their individual and combined contributions to performance.

Experimental results

Research questions

  • RQ1How does the proposed IntFormer model compare in performance and efficiency to existing state-of-the-art models like PCPA on the PIE and JAAD benchmarks?
  • RQ2Which input features—ego-vehicle speed, bounding box coordinates, pose keypoints, or image crops—are most predictive of pedestrian crossing intention?
  • RQ3To what extent does combining image and non-image features improve prediction accuracy, and which combination yields optimal results?
  • RQ4Can a smaller, faster model achieve state-of-the-art performance while remaining suitable for real-time deployment in intelligent vehicles?
  • RQ5Why does ego-vehicle speed emerge as the most influential single feature, and what does this imply about pedestrian behavior patterns in the PIE dataset?

Key findings

  • IntFormer achieves state-of-the-art performance on the PIE benchmark with an AUC of 0.823, outperforming PCPA and other baselines.
  • The model is 8× smaller than the best-performing model (PCPA) and trains in under 13 minutes, representing a 96% reduction in training time compared to PCPA.
  • Ego-vehicle speed alone achieves the highest individual performance (AUC: 0.817), suggesting strong correlation between speed changes and pedestrian crossing behavior.
  • Bounding box coordinates and ego-vehicle speed together yield the best combined performance, indicating that low-dimensional motion cues are highly informative.
  • Pose keypoint features alone perform no better than random chance (AUC: 0.500), likely due to precomputed detection errors and occlusions.
  • Image crops (bounding box images) significantly improve performance when fused with non-image features, demonstrating the value of contextual visual information.

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.