Bi-level Alignment for Cross-Domain Crowd Counting

Shenjian Gong, Shanshan Zhang, Jian Yang, Dengxin Dai, Bernt Schiele
5/12/2022
cs.CV

Official code: Yankeegsj/BLA (10 stars, Python, last commit 2022-03-15).

Abstract

Recently, crowd density estimation has received increasing attention. The main challenge for this task is to achieve high-quality manual annotations on a large amount of training data.

Show full abstract

To avoid reliance on such annotations, previous works apply unsupervised domain adaptation (UDA) techniques by transferring knowledge learned from easily accessible synthetic data to real-world datasets. However, current state-of-the-art methods either rely on external data for training an auxiliary task or apply an expensive coarse-to-fine estimation. In this work, we aim to develop a new adversarial learning based method, which is simple and efficient to apply. To reduce the domain gap between the synthetic and real data, we design a bi-level alignment framework (BLA) consisting of (1) task-driven data alignment and (2) fine-grained feature alignment. In contrast to previous domain augmentation methods, we introduce AutoML to search for an optimal transform on source, which well serves for the downstream task. On the other hand, we do fine-grained alignment for foreground and background separately to alleviate the alignment difficulty. We evaluate our approach on five real-world crowd counting benchmarks, where we outperform existing approaches by a large margin. Also, our approach is simple, easy to implement and efficient to apply. The code is publicly available at https://github.com/Yankeegsj/BLA.

View on arXivView PDF

Code Implementations(1)

Yankeegsj/BLAOfficial100%
101Python, ShellSep 3, 20214 years ago

Similar Papers

Cite this paper

@article{gong2022bilevel,
  title  = {Bi-level Alignment for Cross-Domain Crowd Counting},
  author = {Shenjian Gong and Shanshan Zhang and Jian Yang and Dengxin Dai and Bernt Schiele},
  year   = {2022},
  eprint = {2205.05844},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.05844}
}

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

Discussion