arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.11879cs.CV
收藏

学习用于非对称检索的兼容多精度子网

Learning Compatible Multi-Prize Subnetworks for Asymmetric Retrieval

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Pengcheng Laboratory(鹏城实验室)

Yushuai Sun, Zikun Zhou, Dongmei Jiang, Yaowei Wang, Jun Yu, Guangming Lu, Wenjie Pei

AI总结:

针对非对称检索多平台部署灵活性不足问题,提出自兼容可剪枝网络,通过训练后剪枝生成任意容量兼容子网,结合冲突感知梯度整合方案,实验验证其在多基准和视觉骨干上的有效性。

摘要:

非对称检索是现实检索系统中的典型场景,不同资源配置的平台部署不同容量的兼容模型。现有方法通常通过兼容学习训练预定义的网络或子网,其容量专为预定平台设计,但多平台部署灵活性有限。例如,引入新平台时,开发者需通过向后兼容学习额外训练一个与现有模型兼容的适当容量模型。本文提出自兼容可剪枝网络,通过训练后剪枝生成任意所需容量的兼容子网,无需额外训练即可创建匹配新平台资源的稀疏子网。具体而言,在兼容学习中优化密集网络内不同容量子网的架构和权重;设计冲突感知梯度整合方案,处理兼容学习中密集网络与子网间的梯度冲突。在多种基准和视觉骨干网络上的大量实验证明了该方法的有效性。代码和模型可在https://github.com/Bunny-Black/PrunNet获取。

英文摘要:

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. 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. Our code and model are available at https://github.com/Bunny-Black/PrunNet.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑