arXiv:2611.05205cs.CVNov 2026

Manuscript Offprint

arXiv:2611.05205

TAQ-MOTR: Tracking-Aware Detection Query Formation for End-to-End Multiple Object Tracking

Hanyang Liu, Hong Zhang, Ding Yuan, Yang Han, Yifan Yang

Abstract

Tracking-by-propagation (TBP) methods perform end-to-end multi-object tracking by propagating track queries across frames, jointly handling detection and identity association without heuristic post-processing while naturally modeling temporal information. However, as detection and association are tightly coupled, detection queries in TBP are expected to discover currently untracked objects and provide complementary current-frame evidence for challenging tracks whose queries and identities are retained. Existing methods largely inherit detection-query formation from single-frame detection and construct such queries before the decoder with little awareness of trajectory states. Consequently, currently untracked objects may be missed, while challenging tracked objects with reduced visibility under occlusion may lack complementary evidence, causing association failures or duplicate responses. To address these issues, we propose TAQ-MOTR, a tracking-aware detection query formation framework that employs a pre-decoder Hybrid Query Generator (HQG) to fuse current-frame image features, track memory, and learnable memory. By conditioning detection queries on trajectory states, TAQ-MOTR adapts them to the discovery of currently untracked objects and tracked-object complementation. We further introduce a training-only auxiliary detection branch whose one-to-one label assignment is decoupled from that of the main tracking branch, providing additional detection supervision to

∗^{*}Corresponding author

Email addresses: hanyangliu@buaa.edu.cn (Hanyang Liu), dmrzhang@buaa.edu.cn (Hong Zhang), dyuan@buaa.edu.cn (Ding Yuan), hanyang2022@buaa.edu.cn (Yang Han), stephenyoung@buaa.edu.cn (Yifan Yang) strengthen the shared HQG and decoder for the discovery of currently untracked objects. TAQ-MOTR improves performance on DanceTrack, SportsMOT, and BFT, achieving 72.0 HOTA, 63.1 AssA, and 76.6 IDF1 on the DanceTrack test set. Code is available at https://github.com/Magicmiya/TAQ-MOTR.

Keywords: Multi-object tracking, End-to-end, Tracking-by-propagation, Query formation, Tracking-aware

1. Introduction

Multi-object tracking (MOT) aims to localize objects of interest in a video and preserve their identities across frames. It supports applications in autonomous driving, intelligent transportation, video surveillance [1, 2], and sports analytics [3]. A central challenge in MOT is to jointly handle object discovery and identity preservation under complex motion, occlusion, and appearance variation. Traditional methods usually follow the Tracking-by-Detection (TBD) paradigm, which first detects objects frame by frame and then associates detections over time. Although representative methods such as ByteTrack [4] are effective, their detectors are optimized mainly for frame-level recognition and are not explicitly conditioned on trajectory states, making detection errors directly affect association.

Inspired by DETR-style detectors [5], recent end-to-end MOT methods extend query-based set prediction to videos by propagating identity-preserving track queries across frames [6, 7, 8]. We refer to this family as Tracking-by-Propagation (TBP). Unlike DETR object queries, which detect all objects in a single image, TBP detection queries operate alongside propagated track queries that maintain existing trajectories. They therefore serve two roles: discovering currently untracked objects and supplying complementary current-frame evidence to challenging retained tracks. Here, currently untracked objects are those without a maintained track query, including newly appearing objects and previously observed objects that have not been initialized or whose tracks have been terminated. Temporarily lost objects with retained track queries remain tracked, even if no tracking result is output in the current frame. Under identity-preserving one-to-one assignment, ground-truth objects associated with propagated track queries are reserved for those queries, leaving detection queries with positive labels only from currently untracked objects. This imbalanced label assignment leaves the detection component insufficiently trained, contributing to the conflict between detection and association [9].

Figure

Figure 1: Detection query formation before decoding. (a) MOTR: learnable queries; (b) MOTRv2: detector-guided queries; (c) TAQ-MOTR: tracking-aware queries. The comparison highlights current-frame information, trajectory-state priors, and learnable embeddings.

Existing TBP methods use different query-initialization strategies to support object discovery. MOTR [8] initializes detection queries with learnable content and positional embeddings (Fig. 1(a)). Building on learnable query embeddings, MOTRv2 [10] uses boxes and confidence scores from a pretrained external detector to initialize detection queries (Fig. 1(b)). This introduces current-frame information indirectly and reduces the tracker's detection burden, but requires an additional detector. Neither strategy conditions detection query formation on existing trajectory states; distinguishing tracked from currently untracked objects still relies on subsequent interaction with track queries in the decoder.

Motivated by visual search studies showing that human visual attention is guided by task demands toward informative regions [11, 12], we seek to align detection query formation with current tracking needs. We therefore propose TAQ-MOTR, a tracking-aware detection query formation framework for end-to-end MOT (Fig. 1(c)). Its Hybrid Query Generator (HQG) initializes proposals from image features and refines them through attention to learnable memory acquired from training data and track memory from previous-frame tracks. After scoring and Top-K selection, the resulting detection queries are aware of already tracked objects before bidirectional interaction with track queries in the decoder, helping focus detection on currently untracked objects.

Furthermore, we add a training-only auxiliary detection branch to improve detection-side learning under sparse supervision. It reuses the image-based detection proposals and shares HQG and decoder parameters with the main branch, but excludes track memory and blocks interaction with the main queries through attention masks. Its proposal and decoder predictions are independently matched to all current-frame ground-truth objects, preserving one-to-one assignment within each branch and supervising HQG and the decoder through their respective losses. This design supports joint optimization within the end-to-end tracker without an external detector or additional trainable parameters, and the auxiliary branch is removed at inference.

We evaluate TAQ-MOTR on DanceTrack [13], SportsMOT [3], and BFT [14], achieving the highest HOTA among the compared TBP methods on all three benchmarks. The association gains and competitive detection performance support the benefit of forming detection queries with awareness of existing track states.

The main contributions of this work are summarized as follows:

We propose TAQ-MOTR to make detection query formation tracking-aware in TBP-based MOT. It introduces trajectory-state conditioning before decoder interaction, enabling detection queries to adapt to their shifted role in query propagation while retaining the unified TBP decoding framework.

  • We design a Hybrid Query Generator (HQG) that integrates image feature proposals, track memory, and learnable memory to form tracking-aware detection queries before decoding, enabling them to focus on tracking-relevant regions for the discovery of currently untracked objects and complementary evidence provision.

  • We introduce a training-only auxiliary detection branch with a stage-wise training strategy to provide additional detection supervision through decoupled label assignments between the auxiliary and main tracking branches. By strengthening detection query learning without competing with track queries for labels, this branch improves detection quality and further benefits identity association.

References (38)