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 .
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 of dimension , a learnable 1×1 convolution is applied to yield . The slice at each is reshaped into a kernel , which is convolved over the gallery feature at the corresponding position. Stacking these responses for all 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 , derived from the downsampled body mask:
- The original mask is pooled over patches:
- A spatial softmax normalizes these coarse mask sums:
During matching, the score for a pixel pair is weighted as follows:
where 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 :
- Forward-normalized score:
- Reverse-normalized and combined:
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 .
This mechanism explicitly penalizes one-way mismatches, increasing reliability under appearance changes.
5. Matching Workflow
A probe-gallery matching instance proceeds as follows:
- Extract , for both probe and gallery via respective branches.
- Fuse with attention to generate , .
- Generate query-adaptive filters from .
- Convolve each over to obtain raw responses.
- Compute pixel-level quality maps , and weight the responses.
- Apply bidirectional normalization as above.
- Aggregate with Bi-GMP, apply batch normalization, MLP, and sigmoid to yield the scalar similarity .
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:
- Triplet losses on both branches:
- Pairwise matching loss for QAConv-QA:
where if images and share the same ID.
The overall loss is:
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 absolute gain on PRCC over QAConv and 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).