QAConv-QA: Quality-Aware Query-Adaptive Conv
- The paper introduces QAConv-QA, a pixel-level matching mechanism that adaptively generates convolution filters and enforces bidirectional constraints to robustly address clothes-changing re-identification.
- It integrates dual-branch feature extraction with multi-modal attention fusion to combine RGB and parsing cues, producing discriminative and clothing-invariant representations.
- Experiments on PRCC and LTCC benchmarks show significant performance gains, confirming the effectiveness of spatial quality weighting and bidirectional matching in noisy environments.
Quality-Aware Query-Adaptive Convolution (QAConv-QA) is a pixel-level matching framework developed to address the problem of clothes-changing person re-identification (CC-ReID), where traditional appearance cues become unreliable due to significant intra-identity clothing variations. QAConv-QA extends earlier query-adaptive convolution methods by incorporating spatially-varying quality weighting and enforcing bidirectional matching constraints, thereby enhancing robustness to clothing variation and background noise. The module is integrated into the broader QA-ReID architecture, which employs dual-branch feature extraction and multi-modal attention fusion to jointly leverage global appearance and clothing-invariant structural cues (Wang et al., 27 Jan 2026).
1. Integration within Dual-Branch Feature Extraction
QAConv-QA operates on fused feature maps within QA-ReID. Each image is passed through two parallel ResNet-50 branches truncated at stage-3: an RGB branch producing , and a parsing branch generating a binary body mask and extracting . A multi-modal attention module computes channel- and spatial-wise attention weights across the concatenated features . The fused features are obtained as:
- 1×1 convolution(), resulting in 0.
QAConv-QA is applied to pairs of these fused features from probe and gallery images to compute a fine-grained similarity score.
2. Query-Adaptive Convolution Filter Generation
QAConv-QA dynamically generates a local convolution kernel at each spatial position of the probe's fused feature map. Specifically, for the probe 1 of dimension 2, a learnable 1×1 convolution 3 is applied to yield 4. The slice at each 5 is reshaped into a kernel 6, which is convolved over the gallery feature 7 at the corresponding position. Stacking these responses for all 8 results in a raw pixel-to-pixel similarity tensor.
This procedure allows for localized, dynamic, query-conditioned matching, in contrast to global or fixed-filter approaches.
3. Pixel-Level Importance Weighting
Not all spatial locations in the feature map contribute equally to identity discrimination, especially under clothing changes and background clutter. QAConv-QA computes a spatial quality (or importance) map 9, derived from the downsampled body mask:
- The original mask 0 is pooled over 1 patches:
2
- A spatial softmax normalizes these coarse mask sums:
3
During matching, the score for a pixel pair 4 is weighted as follows:
5
where 6 denotes cosine similarity.
This weighting suppresses contributions from background and unreliable regions, emphasizing body structure over appearance.
4. Bidirectional Consistency Constraints
Single-directional similarity matching can yield high scores for spurious correspondences. QAConv-QA introduces bidirectional normalization to enforce mutual matching. For each pair 7:
- Forward-normalized score:
8
- Reverse-normalized and combined:
9
Only pairs that are the mutually most likely correspondences yield large contributions. A bidirectional global max-pooling (Bi-GMP) operation further aggregates the similarity map to a scalar, followed by batch normalization, an MLP, and sigmoid to produce a final match probability 0.
This mechanism explicitly penalizes one-way mismatches, increasing reliability under appearance changes.
5. Matching Workflow
A probe-gallery matching instance proceeds as follows:
- Extract 1, 2 for both probe and gallery via respective branches.
- Fuse with attention 3 to generate 4, 5.
- Generate 6 query-adaptive filters 7 from 8.
- Convolve each 9 over 0 to obtain raw responses.
- Compute pixel-level quality maps 1, 2 and weight the responses.
- Apply bidirectional normalization as above.
- Aggregate with Bi-GMP, apply batch normalization, MLP, and sigmoid to yield the scalar similarity 3.
6. Training Objectives and Loss Formulation
The QA-ReID framework containing QAConv-QA is trained end-to-end using three loss components:
- Cross-entropy identity losses on global pooled features of each branch:
4
- Triplet losses on both branches:
5
- Pairwise matching loss for QAConv-QA:
6
where 7 if images 8 and 9 share the same ID.
The overall loss is:
0
This joint objective encourages discriminative, identity-preserving representation in both color/texture and structure, and robust pixel-level matching under clothing changes.
7. Performance Analysis and Impact
Empirical results substantiate the effectiveness of QAConv-QA’s mechanisms in the CC-ReID setting. Experiments on PRCC and LTCC benchmarks show:
- Baseline fusion with plain QAConv (no pixel weighting, no bidirectional constraints) attains 61.4% Top-1 on PRCC and 41.1% on LTCC.
- Adding pixel weighting alone increases performance to 63.0% / 41.8%.
- Incorporating bidirectional matching singly yields 63.7% / 42.4% (value for LTCC inferred by juxtaposition, this suggests bidirectional constraints alone moderately help).
- The full QAConv-QA with both enhancements achieves 64.1% Top-1 on PRCC and 42.9% on LTCC, representing a 1 absolute gain on PRCC over QAConv and 2 over the strongest existing competitor.
The explicit use of spatial quality weighting and reciprocal normalization distinguishes QAConv-QA from conventional global-matchers and the original QAConv, leading to increased robustness against large clothing changes, background interference, and unreliable regions (Wang et al., 27 Jan 2026).