ParkFormer: A Transformer-Based Parking Policy with Goal Embedding and Pedestrian-Aware Control

Jun Fu, Bin Tian, Haonan Chen, Shi Meng, Tingting Yao
6/20/2025
cs.CVcs.AI

Official code: little-snail-f/ParkFormer (17 stars, last commit 2025-06-03).

Abstract

Autonomous parking plays a vital role in intelligent vehicle systems, particularly in constrained urban environments where high-precision control is required. While traditional rule-based parking systems struggle with environmental uncertainties and lack adaptability in crowded or dynamic scenes, human drivers demonstrate the ability to park intuitively without explicit modeling. Inspired by this observation, we propose a Transformer-based end-to-end framework for autonomous parking that learns from expert demonstrations. The network takes as input surround-view camera images, goal-point representations, ego vehicle motion, and pedestrian trajectories. It outputs discrete control sequences including throttle, braking, steering, and gear selection. A novel cross-attention module integrates BEV features with target points, and a GRU-based pedestrian predictor enhances safety by modeling dynamic obstacles. We validate our method on the CARLA 0.9.14 simulator in both vertical and parallel parking scenarios. Experiments show our model achieves a high success rate of 96.57\%, with average positional and orientation errors of 0.21 meters and 0.41 degrees, respectively. The ablation studies further demonstrate the effectiveness of key modules such as pedestrian prediction and goal-point attention fusion. The code and dataset will be released at: https://github.com/little-snail-f/ParkFormer.

View on arXivView PDF

Code Implementations(1)

175PythonApr 29, 20251 years ago

Similar Papers

Cite this paper

@article{fu2025parkformer,
  title  = {ParkFormer: A Transformer-Based Parking Policy with Goal Embedding and Pedestrian-Aware Control},
  author = {Jun Fu and Bin Tian and Haonan Chen and Shi Meng and Tingting Yao},
  year   = {2025},
  eprint = {2506.16856},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.16856v1}
}

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/2506.16856.svg)](https://codeofpaper.com/paper/2506.16856)

Discussion