Lightweight Cross-Modal Retrieval: An Improved Method of MobileCLIP for Small and Medium-Sized Asset Databases
Abstract
With the popularity of mobile terminals and embedded devices, the demand for end-to-end deployment of cross modal lightweight retrieval model has surged. As the current mainstream lightweight cross modal model, MobileCLIP has the advantages of small parameters and high reasoning efficiency, but in the landing of small and medium-sized private asset libraries with a sample size of 1k-10k, there are two core pain points, namely, serious over fitting of small sample fine-tuning and insufficient semantic adaptation in the vertical domain, which can not meet the application requirements of the real scene. Based on the framework of MobileCLIP, this paper proposes an improved scheme of anti overfitting optimization, domain semantic adaptation and low computing power deployment, which reduces the overfitting degree of the model to 18.73% in the small database scenario. After the end-to-side adaptation of the training quantization and structured channel pruning after 8bit, the model parameter decreases by 65.0%, the reasoning speed increases by 1.78 times, the memory footprint decreases by 65.0%, and the accuracy loss rate is only 4.13%. The balance between high precision and low computing power deployment is achieved in the small database scenario. In the future, in-depth research can be carried out around multi domain dynamic adaptation, noise robustness improvement and multimodal scene expansion.
References
- Y. Zhang, Z. Li, F. Wang. "Research on digital media cross-modal retrieval method based on CLIP model." Computer Applications and Software, 2024, 41(3): 156-162.
- J. Chen, M. Liu, M. Zhou. "Lightweight optimization of image semantic retrieval model for low computing power devices." Information Technology, 2023, 47(12): 67-72.
- Q. Lin, W. Zhao, L. Sun. "Design and implementation of digital media vector retrieval engine based on FAISS." Computer Engineering and Applications, 2023, 59(20): 112-118.
- M. Dehghani, A. Jaegle, C. R. Ruiz, et al. "MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2024: 23245-23255.
- J. Tian. "Research on lightweight cross-modal retrieval method." Xi'an University of Electronic Science and Technology, 2023.
- J. Zhao, Y. Zhou, H. Wu. "Research on knowledge distillation lightweight method of CLIP model." Computer Engineering, 2024, 50(2): 98-104.
- M. Dehghani, L. A. Hendricks, J. Alayrac, et al. "MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, 12: 24242-24252.
- H. Wang, M. Li, M. Liu. "Design and implementation of cross-modal retrieval system in digital media asset library." Information Technology, 2024, 48(2): 56-62.
- A. Radford, K. Narasimhan, T. Salimans, et al. "Learning Transferable Visual Models From Natural Language Supervision." International Conference on Machine Learning, PMLR, 2021: 8748-8763.
- P. Bergmann, K. Batzner, M. Fauser, et al. "The MVTec Anomaly Detection Dataset: A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection." International Journal of Computer Vision, 2021, 129(4): 1038-1059.
- K. Wu, H. Peng, Z. Zhou, B. Xiao, M. Liu, L. Yuan, H. Xuan, M. Valenzuela, X. Chen, X. Wang, H. Chao, and H. Hu. "TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritance." Proceedings of the IEEE/CVF International Conference on Computer Vision, 2023: 9904-9914.
- Y. Wang, T. Wang, C. Tang, C. Yu, Z. Zang, M. Zhang, S. Huang, and J. Lv. "Dual Prompt Learning for Adapting Vision-Language Models to Downstream Image-Text Retrieval." Proceedings of the IEEE International Conference on Multimedia and Expo, 2025: 1-6.