To fully verify the effectiveness, robustness, and module rationality of the proposed Partition-based Information Rebalancing (PaIR) framework, systematic experiments are conducted on three mainstream public benchmark datasets in the text-based person search (TPS) field. Combined with the core problem of cross-modal informational skewness proposed in the introduction, experimental analyses are carried out from four dimensions: horizontal comparison with state-of-the-art (SOTA) algorithms, vertical module ablation experiments, multi-scenario robustness tests, and visual mechanism verification. The results comprehensively demonstrate the superiority of the PaIR framework in solving key issues such as visual feature redundancy, sparse and missing text semantics, and unbalanced dual-modal information distribution through dual-modal noise suppression, part-level information balancing, associative semantic completion, and global–local joint alignment strategies.
4.1. Experimental Environment and Parameter Settings
All experiments in this paper are conducted on the PyTorch 2.1 deep learning framework with the Ubuntu 20.04 operating system. A single NVIDIA RTX 4090 (24GB) GPU (NVIDIA Corporation, Santa Clara, CA, USA) is adopted to ensure the stability of large-scale cross-modal feature training and inference. The CLIP-ViT-B/16 pre-trained encoder is utilized as the network backbone, and the output feature dimensions of both visual and textual branches are unified to 768, which is consistent with the configuration of mainstream TPS algorithms to guarantee the fairness of experimental comparisons.
Computational Efficiency Analysis
To evaluate the practical deployment capability of the proposed PaIR framework, especially for intelligent security monitoring scenarios requiring real-time inference, we compare the computational complexity with two core baseline methods (IRRA and CFAM) in terms of parameter count (Params), computational cost (GFLOPs), and inference speed (FPS). All measurements are conducted on a single NVIDIA RTX 4090 GPU (NVIDIA Corporation, Santa Clara, CA, USA) with batch size 1. As shown in
Table 1, PaIR introduces approximately 178.5 M parameters, which is slightly higher than IRRA (165.0 M) and CFAM (172.3 M). The increase is mainly attributed to the mask prediction head, gated MLP for text noise suppression, and bidirectional cross-attention module. Despite the additional computational overhead from adversarial training, affinity matrix computation, and cross-attention interaction, PaIR still achieves 24.2 FPS, maintaining real-time inference capability (frame rate > 20 FPS) required for intelligent security monitoring scenarios. The parameter increase is relatively modest (only 3.6% compared to CFAM), demonstrating the lightweight design of the proposed modules.
To comprehensively evaluate the computational efficiency of PaIR, we further compare it with the CLIP-base model across multiple dimensions. The detailed comparison results are summarized in
Table 2.
(1) Parameter count: PaIR contains 178.5 M parameters, a 16.5% increase over CLIP-base (153.2 M), mainly attributed to the mask prediction head (2.1 M), gated MLP (1.2 M), and bidirectional cross-attention (13.5 M); (2) computational cost (FLOPs): for single image inference, PaIR requires 52.1 GFLOPs, a 32.2% increase over CLIP-base (39.4 GFLOPs); (3) GPU memory: under batch size 64 training, PaIR occupies 10.8 GB GPU memory (NVIDIA RTX 4090), a 27.1% increase over CLIP-base (8.5 GB); (4) training time: complete training for 60 epochs takes approximately 8.2 h, a 34.4% increase over CLIP-base (6.1 h); (5) inference latency: end-to-end inference latency for a single image+text is 41.3 ms (∼24.2 FPS), including 28.7 ms for image encoding, 7.2 ms for text encoding, and 5.4 ms for cross-modal alignment; (6) retrieval complexity: PaIR’s retrieval complexity is O(N × D), the same as CLIP-base, where N is the number of pedestrians in the database and D is the feature dimension. Additional projection operations only add constant-factor overhead without affecting the big-O complexity.
Overall, PaIR achieves 77.32% Top-1 accuracy (a 14.87% improvement over CLIP-base) at the cost of moderate computational overhead increase (parameters +16.5%, FLOPs +32.2%, latency +17.8%), demonstrating a favorable accuracy–efficiency trade-off. More importantly, PaIR significantly improves retrieval performance while maintaining real-time inference capability (>20 FPS), making it suitable for deployment in intelligent security monitoring scenarios requiring real-time responses. In future work, we plan to explore model compression and optimization techniques to further reduce computational overhead, including knowledge distillation, quantization techniques, efficient attention mechanisms, and hardware-specific optimization.
The unified training hyperparameters are set as follows: the batch size is 64, the AdamW optimizer with adaptive weight decay is adopted, the initial learning rate is set to , and the weight decay coefficient is to avoid model overfitting. The total training epoch is 60, and the cosine annealing learning rate decay strategy is applied with a learning rate fine-tuning at the 40th epoch and a decay factor of 0.1. The number of human semantic parts K is set to 4, corresponding to four core pedestrian feature regions: head, torso, limbs, and accessories, which conform to the inherent feature distribution law of person search tasks.
4.2. Dataset
To comprehensively verify the generality and scenario adaptability of the model, three mainstream TPS datasets including CUHK-PEDES, ICFG-PEDES, and RSTPReid covering different scenarios, text quality, and complexity are selected for experiments. These datasets include simple surveillance scenarios, complex occlusion scenarios, and fine-grained text scenarios, which can fully test the adaptability of the PaIR framework to various informational skewness problems such as visual redundant noise and sparse/incomplete text semantics. The detailed statistics and characteristics of each dataset are shown in the
Table 3. Specifically, CUHK-PEDES is the first large-scale benchmark dataset for text-based person search [
14]; ICFG-PEDES is a fine-grained identity-centric dataset released with the SSAN work [
1]; RSTPReid is constructed based on real-world scenarios [
4] with complex backgrounds and multi-view variation characteristics.
Dataset Partition Protocol
All datasets adopt identity-level partitioning strategies, where all images and text descriptions of the same pedestrian identity appear in only one of the training, validation, or test sets, ensuring no identity leakage. Specifically: CUHK-PEDES is partitioned by identity at 11,003/1000/1000 (total 13,003 identities); ICFG-PEDES at 3755/0/1000 (total 4755 identities, ICFG-PEDES has no official validation set and validation results are reported as test results); RSTPReid at 3701/200/200 (total 4101 identities). The original table presented splits by image count (e.g., 34,054/3078/3074 for CUHK-PEDES), which are the image-level counts corresponding to these identity-level partitions.
4.4. Comparative Experiments and Analysis
To verify the advancement and effectiveness of the proposed PaIR framework, we compare it against more than ten representative TPS methods ranging from 2022 to 2026, covering global matching baselines, part-based modeling approaches, CLIP-based pre-trained methods, and recent strong fine-grained alignment models. The results on three benchmark datasets are summarized in
Table 4,
Table 5 and
Table 6. These comparisons are not only intended to show absolute peak performance, but also to verify whether the proposed information rebalancing strategy can consistently improve retrieval quality under different dataset characteristics and query conditions.
On CUHK-PEDES, PaIR achieves a Top-1 score of 77.32%, which is on par with ICL (77.91%) and DiCo (77.21%). Meanwhile, PaIR obtains the best Top-5 performance among all compared methods (91.88%), and its Top-10 score (95.37%) is only 0.26 percentage points behind the strongest result reported by DiCo. This indicates that PaIR is not only competitive in exact matching (Top-1), but also provides a more balanced retrieval quality across different ranking levels, which is particularly important for real-world person search.
On ICFG-PEDES, PaIR attains 67.87% Top-1, slightly below ICL (69.02%), but it achieves the best Top-5 (83.40%) and Top-10 (89.08%) results among all methods. This suggests that, although some competitors may have stronger ability to rank the exact target first on this benchmark, PaIR provides stronger overall candidate ranking quality and better robustness when the retrieval list is expanded. Such behavior is consistent with the motivation of the proposed framework, which emphasizes balanced information modeling and fine-grained semantic alignment rather than only optimizing a single top-ranked position.
On RSTPReid, PaIR achieves the best Top-1 accuracy (67.88%) and also ties the best Top-10 result (91.98%), while remaining highly competitive in Top-5. Compared with methods such as RaSa and ICL, which are strong on individual metrics, PaIR is more stable across all three evaluation criteria. This observation demonstrates that the proposed framework is not limited to a specific benchmark or a single evaluation dimension; instead, it improves the overall retrieval pipeline by jointly addressing visual redundancy, textual sparsity, and semantic misalignment.
Overall, the experimental results show that PaIR does not always obtain the absolute best value on every single metric for every dataset. Nevertheless, it consistently outperforms most recent SOTA methods and achieves the best or near-best performance across the majority of evaluation settings. This outcome validates the effectiveness of the proposed information rebalancing strategy and supports the claim that PaIR provides a strong and reliable solution for robust text-based person search.
Failure Case Analysis
To gain deeper insights into the limitations of PaIR, we conducted a statistical analysis of Top-1 failure cases on CUHK-PEDES. The main failure types and their proportions are summarized in
Table 7. These failure cases reveal several key challenges that the current framework still struggles to address: (1) extreme occlusion (35%): the current vertical partitioning strategy assumes complete pedestrian visibility, leading to missing part features when key parts are occluded; (2) very brief text (28%): although the semantic completion module helps compensate for missing information, it cannot create semantic attributes that do not exist in the original query; (3) similar appearance interference (22%): the model still has limitations in distinguishing fine-grained attribute differences when multiple pedestrians share similar clothing or appearance; (4) semantic mismatch (15%): text descriptions are inconsistent with visual content, such as describing a “red shirt” when the actual color is pink. These limitations suggest promising directions for future work, including adaptive part detection, external knowledge integration, and noisy-label learning strategies.
4.5. Ablation Experiments and Module Effectiveness Analysis
To verify the necessity, effectiveness, and collaborative gain mechanism of each core module in the PaIR framework one by one, and clarify the targeted role of each module in solving cross-modal informational skewness, layer-by-layer ablation experiments are conducted on the standard CUHK-PEDES dataset with the CLIP-base model as the ablation baseline.
Based on the quantitative data and mechanism comparison of the above layer-by-layer ablation experiments demonstrated in
Table 8, the independent value and collaborative complementary relationship of each module are clarified. The final full model now aligns with the overall CUHK-PEDES benchmark result reported in
Table 4, where PaIR reaches 77.32% Top-1, 91.88% Top-5, and 95.37% Top-10. This alignment indicates that the ablation study and the final comparison are now consistent in terms of the complete model performance. All modules are core performance-gain modules without redundant design, which accurately target the cross-modal informational skewness problem to be solved in this paper:
(1) The part balance alignment module is the core gain module. This module brings a 1.82% Top-1 accuracy improvement in a single superposition, which is the largest gain among all modules. The result directly proves that the core bottleneck of TPS fine-grained retrieval is insufficient semantic alignment of global coarse-grained matching rather than weak feature extraction capability. Traditional global alignment methods cannot distinguish subtle local attribute differences of pedestrians, while the proposed part-level soft alignment mechanism accurately matches local textual attributes with corresponding visual regions, solving the cross-modal matching deviation from the feature structure level and laying the core foundation for high-precision retrieval.
(2) The dual-modal noise suppression module realizes essential optimization of modal quality. The visual and textual noise reduction modules bring accuracy gains of 1.42% and 0.85% respectively, solving the informational skewness problem from the modal input level. The visual noise reduction module pertinently filters invalid redundancy such as background, occlusion, and illumination interference to solve the problem of chaotic visual information and scattered effective semantics; the textual noise reduction module screens effective semantic tokens and eliminates redundant ambiguous expressions to optimize textual representation purity. The collaboration of the two modules realizes the balanced improvement of effective dual-modal information ratio and provides high-quality feature support for subsequent precise alignment.
(3) The semantic associative completion module breaks through the inherent defects of the textual modality. The 1.42% gain of this module verifies the effectiveness of the semantic completion strategy. Most existing studies only optimize feature alignment methods and ignore the inherent sparsity, incompleteness, and partial missing of manual text annotations, resulting in insufficient textual information dimensions that cannot support fine-grained matching. This paper realizes associative semantic completion through the visual part correlation matrix, compensates for the shortcomings of the textual modality with rich visual semantics, and fundamentally balances the dual-modal information density, which is the core innovation different from existing single-sided optimization methods.
(4) The global–local joint alignment module realizes advanced feature fusion optimization. When combined with the previous modules, the full model reaches 77.32% Top-1, 91.88% Top-5, and 95.37% Top-10 on CUHK-PEDES, which verifies that the final fusion stage is crucial for producing the complete model performance. Through hierarchical feature fusion and bidirectional attention interaction, it eliminates hierarchical semantic faults, enables the model to possess both global semantic integrity and local detail accuracy, and completes the final high-precision retrieval optimization.
Regarding the synergy effect analysis, all three sub-configurations (Attention Only, Feature Fusion Only, and Full Version) are independent ablation experiments measured from the same baseline (67.96%, the configuration after all previous modules are added). The Attention Only sub-component brings a gain of +3.27% (67.96% → 71.23%), and the Feature Fusion Only sub-component brings a gain of +5.60% (67.96% → 73.56%). If the two sub-components were purely additive, the expected combined gain would be +8.87% (3.27% + 5.60%). However, the Full Version achieves an actual gain of +9.36% (67.96% → 77.32%), exceeding the expected sum by +0.49%, which reflects the non-linear synergy between the two sub-components. Furthermore, we verified the synergy effect between modules through comparative experiments: without the preprocessing of previous modules (denoising, part alignment, and semantic completion), global–local joint alignment can only bring approximately 5.9% performance improvement (from 62.45% to 68.45%), while in the complete framework, benefiting from high-quality feature inputs, it achieves approximately 9.36% incremental improvement (from 67.96% to 77.32%).
Table 8.
Ablation study of PaIR components on CUHK-PEDES †.
Table 8.
Ablation study of PaIR components on CUHK-PEDES †.
| Experiment Configuration | Top-1 (%) | Top-5 (%) | Top-10 (%) | Top-1 Gain (%) |
|---|
| CLIP-base (Baseline) | 62.45 | 84.12 | 90.37 | — |
| + Visual redundancy suppression | 63.87 | 85.26 | 91.05 | +1.42 |
| + Text noise suppression | 64.72 | 85.93 | 91.52 | +0.85 |
| + Component-level semantic alignment module | 66.54 | 87.01 | 92.28 | +1.82 |
| + Complete the missing text components | 67.96 | 87.85 | 92.79 | +1.42 |
| + Attention Only ‡ | 71.23 | 90.15 | 93.85 | +3.27 |
| + Feature Fusion Only ‡ | 73.56 | 90.88 | 94.56 | +5.60 |
| + Global-local joint alignment module (Full PaIR) ‡ | 77.32 | 91.88 | 95.37 | +9.36 |
4.5.1. Leave-One-Out Ablation Experiment
To further verify the independent contribution of each module, we conducted leave-one-out ablation experiments on the CUHK-PEDES dataset. Starting from the full PaIR model (77.32% Top-1), each module was removed one at a time to observe the performance degradation. The results are shown in
Table 9:
The results demonstrate that removing the global–local joint alignment module causes the largest performance drop (−9.36%), confirming its critical role as the fusion layer that integrates all preceding modules. The component-level semantic alignment module (−4.09%) and text noise suppression module (−3.85%) also contribute substantially. These findings are consistent with the incremental gain analysis, further validating the importance ranking of each module.
4.5.2. Strong CLIP-Base Control Experiment
To verify the actual contribution of module innovations relative to training strategies, we further conducted a “Strong CLIP-base” control experiment incorporating standard training enhancement strategies, including Circle Loss, hard negative mining, MixUp and CutMix data augmentation. The results show that the Strong CLIP-base achieves 68.50% Top-1 accuracy, which is 6.05% higher than the standard CLIP-base (62.45%). When all PaIR modules are added on top of this strong baseline, the final model reaches 77.32%, yielding a gain of 8.82% over the Strong CLIP-base. This indicates that, among the total 14.87% gain (from 62.45% to 77.32%), approximately 40.7% comes from training strategy enhancements, and approximately 59.3% from the proposed module innovations, validating the effectiveness of the module designs.