Learning Compatible Multi-Prize Subnetworks for Asymmetric Retrieval

Yushuai Sun, Zikun Zhou, D. Jiang, Yaowei Wang, Jun Yu +2 more
4/1/2025
2 citations

Official code: Bunny-Black/PrunNet (10 stars, Python, last commit 2025-04-16).

Abstract

Asymmetric retrieval is a typical scenario in real-world retrieval systems, where compatible models of varying capacities are deployed on platforms with different resource configurations. Existing methods generally train pre-defined networks or subnetworks with capacities specifically designed for pre-determined platforms, using compatible learning.

Show full abstract

Nevertheless, these methods suffer from limited flexibility for multi-platform deployment. For example, when introducing a new platform into the retrieval systems, developers have to train an additional model at an appropriate capacity that is compatible with existing models via backward-compatible learning. In this paper, we propose a Prunable Network with self-compatibility, which allows developers to generate compatible subnetworks at any desired capacity through post-training pruning. Thus it allows the creation of a sparse subnetwork matching the resources of the new platform without additional training. Specifically, we optimize both the architecture and weight of subnetworks at different capacities within a dense network in compatible learning. We also design a conflict-aware gradient integration scheme to handle the gradient conflicts between the dense network and subnetworks during compatible learning. Extensive experiments on diverse benchmarks and visual backbones demonstrate the effectiveness of our method. The code will be made publicly available.

View on arXivView PDF

Code Implementations(1)

cvpr 2025 PrunNet

101Python, ShellApr 16, 20251 years ago

Similar Papers

Cite this paper

@article{sun2025learning,
  title  = {Learning Compatible Multi-Prize Subnetworks for Asymmetric Retrieval},
  author = {Yushuai Sun and Zikun Zhou and D. Jiang and Yaowei Wang and Jun Yu and Guangming Lu and Wenjie Pei},
  year   = {2025},
  eprint = {2504.11879},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2504.11879},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.11879.svg)](https://codeofpaper.com/paper/2504.11879)

Discussion