Future Object Detection with Spatiotemporal Transformers

Adam Tonderski, Joakim Johnander, Christoffer Petersson, Kalle Åström
4/21/2022
cs.CVcs.LG
transformer-attention

Official code: atonderski/future-object-detection (4 stars, Python, last commit 2022-12-07).

Abstract

We propose the task Future Object Detection, in which the goal is to predict the bounding boxes for all visible objects in a future video frame. While this task involves recognizing temporal and kinematic patterns, in addition to the semantic and geometric ones, it only requires annotations in the standard form for individual, single (future) frames, in contrast to expensive full sequence annotations.

Show full abstract

We propose to tackle this task with an end-to-end method, in which a detection transformer is trained to directly output the future objects. In order to make accurate predictions about the future, it is necessary to capture the dynamics in the scene, both object motion and the movement of the ego-camera. To this end, we extend existing detection transformers in two ways. First, we experiment with three different mechanisms that enable the network to spatiotemporally process multiple frames. Second, we provide ego-motion information to the model in a learnable manner. We show that both of these extensions improve the future object detection performance substantially. Our final approach learns to capture the dynamics and makes predictions on par with an oracle for prediction horizons up to 100 ms, and outperforms all baselines for longer prediction horizons. By visualizing the attention maps, we observe that a form of tracking emerges within the network. Code is available at github.com/atonderski/future-object-detection.

View on arXivView PDF

Code Implementations(1)

This is the official repository for "Future Object Detection with Spatiotemporal Transformer"

40Python, Jupyter NotebookOct 12, 20223 years ago

Similar Papers

Cite this paper

@article{tonderski2022future,
  title  = {Future Object Detection with Spatiotemporal Transformers},
  author = {Adam Tonderski and Joakim Johnander and Christoffer Petersson and Kalle Åström},
  year   = {2022},
  eprint = {2204.10321},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.10321}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.10321.svg)](https://codeofpaper.com/paper/2204.10321)

Discussion