Han Li, Xiaoshuai Sun, Chenyi Lei, Jiayi Ji, Yiwei Ma, Zihan Liang, Ben Chen, Zhipeng Qian, Huangyu Dai, Yufei Ma
We lifted 9 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| qzp2018/CSMCIR | canonical | 5 of 9 |
| Function | Status | Where it lives |
|---|---|---|
| collate_fn | Ran | qzp2018/CSMCIR/src/data_utils_csmcir.py pointer only (licence: NONE) · get_code("b6c1f837e6faaeba") |
| getAttMap | Ran | qzp2018/CSMCIR/src/lavis/common/gradcam.py pointer only (licence: NONE) · get_code("7d214655954e2bc6") |
| main_process | Ran | qzp2018/CSMCIR/src/lavis/common/dist_utils.py pointer only (licence: NONE) · get_code("98589643273920ba") |
| node_to_dict | Ran | qzp2018/CSMCIR/src/lavis/common/config.py pointer only (licence: NONE) · get_code("791c72070c0b1cfb") |
| str2bool | Ran | qzp2018/CSMCIR/src/cirr_test_submission_csmcir.py pointer only (licence: NONE) · get_code("7c508037b40522af") |
| calculate_blip_parameters | Not yet run | qzp2018/CSMCIR/src/blip_fine_tune_2_csmcir.py pointer only (licence: NONE) · get_code("56e33e39141001a3") |
| download_cached_file | Not yet run | qzp2018/CSMCIR/src/lavis/common/dist_utils.py pointer only (licence: NONE) · get_code("643539116e049080") |
| squarepad_transform | Not yet run | qzp2018/CSMCIR/src/data_utils_csmcir.py pointer only (licence: NONE) · get_code("65021e0b25e8fe04") |
| targetpad_transform | Not yet run | qzp2018/CSMCIR/src/data_utils_csmcir.py pointer only (licence: NONE) · get_code("bcd92b2283e5bb7e") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Composed Image Retrieval (CIR) enables users to search for target images using both a reference image and manipulation text, offering substantial advantages over single-modality retrieval systems. However, existing CIR methods suffer from representation space fragmentation: queries and targets comprise heterogeneous modalities and are processed by distinct encoders, forcing models to bridge misaligned representation spaces only through post-hoc alignment, which fundamentally limits retrieval performance. As evidenced by t-SNE visualization in Fig. 2(a), this architectural asymmetry manifests as three distinct, well-separated clusters in the feature space, directly demonstrating how heterogeneous modalities and architectural asymmetry create fundamentally misaligned representation spaces from initialization. In this work, we propose CSMCIR, a unified representation framework that achieves efficient query-target alignment through three synergistic components. First, we introduce a Multi-level Chain-of-Thought (MCoT) prompting strategy that guides Multimodal Large Language Models to generate discriminative, semantically compatible captions for target images, establishing modal symmetry. Building upon this, we design a symmetric dualtower architecture where both query and target sides utilize the identical shared-parameter Q-Former for cross-modal encoding, ensuring consistent feature representations and further reducing the alignment gap. Finally, this architectural symmetry enables an entropy-based, temporally dynamic Memory Bank strategy that provides high-quality negative samples while maintaining consistency with the evolving model state. Extensive experiments on four datasets demonstrate that our CSMCIR achieves state-of-the-art performance with superior training efficiency. Our code is availabe at https://github.com/qzp2018/CSMCIR.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2601.03728")
get_code_for_paper("2601.03728")
have("2601.03728")
Connect an agent — have() is free.