arXiv:2608.24154cs.CVAug 2026

Manuscript Offprint

arXiv:2608.24154

Rethinking Pre-Training and Augmentation for Zero-Shot Cross-City Object Detection

Long Hoang Pham, Quoc Pham-Nam Ho, Huy-Hung Nguyen, Duong Nguyen-Ngoc Tran, Ngoc Doan-Minh Huynh, Cu Quoc Le, Hoang-Khang Nguyen, Hyung-Min Jeon, Chi Dai Tran, Son Hong Phan, Duong Khac Vu, Trinh Le Ba Khanh, Jae Wook Jeon

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Long Hoang PhamID, Quoc Pham-Nam HoID, Huy-Hung Nguyen*ID, Duong Nguyen-Ngoc TranID, Ngoc Doan-Minh HuynhID, Cu Quoc LeID, Hoang Khang NguyenID, Hyung-Min Jeon, Chi Dai TranID, Son Hong PhanID, Duong Khac VuID, Trinh Le Ba KhanhID, and Jae Wook Jeon†ID

Automation Lab,

Department of Electrical and Computer Engineering,

Sungkyunkwan University, South Korea

{phlong,hpnquoc,huyhung91,jwjeon}@skku.edu

Abstract. Real-world deployment of traffic surveillance systems is bottlenecked by geographic domain shift, in which models trained in one city underperform when applied to an unseen target city. Conventional domain adaptation relies on hyperparameter-sensitive architectures or direct profiling of target data. Both are fundamentally precluded in privacy-conscious ecosystems that require completely blind training and evaluation loops. In this setting, we explore the effects of pre-training and augmentation in addressing the domain shift problem. Specifically, we propose a new modular training pipeline for object detection structured around two core orthogonal pillars: (1) a multi-dataset pre-training strategy featuring a class-agnostic objectness distillation to decouple structural vehicle geometry from semantic taxonomies, and (2) a domain-resilient augmentation stream featuring a novel Grayworld transformation that forces global attention heads to strip volatile chromatic shortcuts in favor of robust shape priors. When evaluated with the real-time transformer-based detector RF-DETR, our framework bridges cross-city distribution gaps while using limited GPU memory (16GB). Our optimized variants, RF-DETR-HR and RF-DETR-Grayworld, deliver a substantial empirical gain of +24.29 over the baseline, achieving 1st place (47.53 mAP) on the AI City Challenge Track 6 leaderboard. Code and data are available at: SKKUAutoLab/aic26_cross_city.

Keywords: Cross-city object detection · Domain adaptation · Privacy-preserving learning · Training-as-a-Service · Traffic surveillance system

1 Introduction

Real-world deployment of traffic surveillance systems (TSS) faces severe challenges from geographic domain shift. Object detectors perform well when trained and tested in the same location, but their accuracy drops sharply when applied to an unseen city with different road layouts, camera viewpoints, vehicle distributions, and environmental conditions [31, 45]. Despite the importance of this

L. H. Pham et al.

problem, robust cross-city generalization remains underexplored because large-scale surveillance data collection is constrained by privacy concerns.

To address this research gap, the 10th AI City Challenge (AIC2026) [35] Track 6 introduces a privacy-preserving benchmark using the Milestone Systems' Hafnia Training-as-a-Service (TaaS) platform [22]. In this setup, neither the source-city training data nor the target-city data can be accessed. Instead, methods must be containerized and run in fully blind training and inference loops. This setting requires practical, robust techniques rather than architecture scaling [30, 39, 44, 47, 48] or direct profiling of target data [7, 9, 16, 36, 41].

In this work, we develop a robust, modular training pipeline for Zero-Shot Cross-City Object Detection (ZCOD). To address geographic domain shift without heavy parameter overhead, our framework focuses on two key stages: data preparation and multi-stage optimization. First, we introduce a multi-dataset pre-training strategy governed by a class-agnostic objectness distillation pass. By collapsing heterogeneous label taxonomies into a single binary foreground representation, the model extracts rich geometric inductive biases about vehicle structural boundaries and avoids class alignment conflicts across domains. Second, we propose a domain-resilient chromatic augmentation stream called Grayworld augmentation. This method forces global self-attention heads to remove volatile, sensor-dependent photometric shortcuts and favor robust, shape-centric representation learning. Finally, we formulate a platform-optimized hyperparameter calibration strategy to enable efficient training of the state-of-the-art (SOTA) transformer detector, RF-DETR [30], within the strict 16GB GPU memory limit. Our optimized variants, RF-DETR-HR and RF-DETR-Grayworld, bridge cross-city distribution gaps and achieve significant mAP scores of 47.53 and 46.63, respectively. We also achieve SOTA results and secure 1st place on the AIC2026-Track 6 leaderboard [1].

Our core technical contributions are summarized as follows:

– We introduce a multi-dataset pre-training strategy with a class-agnostic objectness distillation pass to efficiently learn robust vehicle geometry.

– We present a domain-resilient augmentation pillar using a novel Grayworld transformation that forces global self-attention heads to remove transient chromatic shortcuts and favor robust shape priors.

– We construct two improved methods: RF-DETR-HR and RF-DETR-Grayworld, which achieve SOTA, 1st place performance (mAP 47.53) on the hidden evaluation benchmark.

References (44)