Proceedings

Identifying and Reusing Learnwares Across Different Label Spaces

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5734-5742.

https://doi.org/10.24963/ijcai.2025/638

Abstract

The learnware paradigm focuses on leveraging numerous established high-performing models to solve machine learning tasks instead of starting from scratch. As the key concept of this paradigm, a learnware consists of a well-trained model of any structure and a specification that characterizes the model's capabilities, allowing it to be identified and reused for future tasks. Given the existence of numerous real-world models trained on diverse label spaces, effectively identifying and combining these models to address tasks involving previously unseen label spaces represents a critical challenge in this paradigm. In this paper, we make the first attempt to identify and reuse effective learnware combinations for tackling learning tasks across different label spaces, extending their applicability beyond the original purposes of individual learnwares. To this end, we introduce a statistical class-wise specification for establishing similarity relations between various label spaces. Leveraging these relations, we model the utility of a learnware combination as a minimum-cost maximum-flow problem, and further develop fine-grained learnware identification and assembly methods. Extensive experiments with thousands of heterogeneous models validate our approach, demonstrating that reusing identified learnware combinations can outperform both training from scratch and fine-tuning a generic pre-trained model.

  1. [Ben-David et al., 2006] Shai Ben-David, John Blitzer, Koby Crammer, and Fernando Pereira. Analysis of repre- sentations for domain adaptation. In Advances in Neural Information Processing Systems 19, pages 137-144, 2006.
  2. [Bossard et al., 2014] Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101 -mining discriminative com- ponents with random forests. In Proceedings of the 13th European Conference on Computer Vision, pages 446- 461, 2014.
  3. [Cao et al., 2019] Zhangjie Cao, Kaichao You, Mingsheng Long, Jianmin Wang, and Qiang Yang. Learning to trans- fer examples for partial domain adaptation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2985-2994, 2019.
  4. [Cheng et al., 2017] Gong Cheng, Junwei Han, and Xiao- qiang Lu. Remote sensing image scene classification: Benchmark and state of the art. Proceedings of the IEEE, 105(10):1865-1883, 2017.
  5. [Cimpoi et al., 2014] Mircea Cimpoi, Subhransu Maji, Ia- sonas Kokkinos, Sammy Mohamed, and Andrea Vedaldi. Describing textures in the wild. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recog- nition, pages 3606-3613, 2014.
  6. [Ding et al., 2022] Yao-Xiang Ding, Xi-Zhu Wu, Kun Zhou, and Zhi-Hua Zhou. Pre-trained model reusability eval- uation for small-data transfer learning. In Advances in Neural Information Processing Systems 35, pages 37389- 37400, 2022.
  7. [Dosovitskiy et al., 2021] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Min- derer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Trans- formers for image recognition at scale. In Proceedings of the 9th International Conference on Learning Representa- tions, 2021.
  8. [Edmonds and Karp, 1972] Jack Edmonds and Richard M. Karp. Theoretical improvements in algorithmic effi- ciency for network flow problems. Journal of the ACM, 19(2):248-264, 1972.
  9. [Guo et al., 2023] Lan-Zhe Guo, Zhi Zhou, Yu-Feng Li, and Zhi-Hua Zhou. Identifying useful learnwares for hetero- geneous label spaces. In Proceedings of the 40th Inter- national Conference on Machine Learning, pages 12122- 12131, 2023.
  10. [He et al., 2016] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 770-778, 2016.
  11. [Helber et al., 2019] Patrick Helber, Benjamin Bischke, An- dreas Dengel, and Damian Borth. EuroSAT: A novel dataset and deep learning benchmark for land use and land cover classification. IEEE Journal of Selected Top- ics in Applied Earth Observations and Remote Sensing, 12(7):2217-2226, 2019.
  12. [Hu et al., 2022] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In Proceedings of the 10th International Conference on Learning Representations, 2022.
  13. [Ke et al., 2017] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. LightGBM: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems 30, pages 3146-3154, 2017.
  14. [Krizhevsky and Hinton, 2009] Alex Krizhevsky and Geof- frey Hinton. Learning multiple layers of features from tiny images. Technical Report, University of Toronto, 2009.
  15. [Lei et al., 2024] Hao-Yi Lei, Zhi-Hao Tan, and Zhi-Hua Zhou. On the ability of developers' training data preser- vation of learnware. In Advances in Neural Information Processing Systems 37, pages 36471-36513, 2024.
  16. [Li et al., 2004] Fei-Fei Li, Rob Fergus, and Pietro Perona. Learning generative visual models from few training ex- amples: An incremental bayesian approach tested on 101 object categories. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pages 178-178, 2004.
  17. [Li et al., 2013] Nan Li, Ivor W. Tsang, and Zhi-Hua Zhou. Efficient optimization of performance measures by clas- sifier adaptation. IEEE Transactions on Pattern Analysis and Machine Intelligence, 35(6):1370-1382, 2013.
  18. [Liu et al., 2024] Jian-Dong Liu, Zhi-Hao Tan, and Zhi-Hua Zhou. Towards making learnware specification and market evolvable. In Proceedings of the 38th AAAI Conference on Artificial Intelligence, pages 13909-13917, 2024.
  19. [Luo et al., 2017] Zelun Luo, Yuliang Zou, Judy Hoffman, and Fei-Fei Li. Label efficient learning of transferable representations acrosss domains and tasks. In Advances in Neural Information Processing Systems 30, pages 165- 177, 2017.
  20. [Netzer et al., 2011] Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Baolin Wu, Andrew Y Ng, et al. Reading digits in natural images with unsupervised feature learning. In Advances in Neural Information Precessing Systems 24 Workshops, 2011.
  21. [Nilsback and Zisserman, 2008] Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In Proceedings of the 6th In- dian Conference on Computer Vision, Graphics & Image Processing, pages 722-729, 2008.
  22. [Pan and Yang, 2010] Sinno Jialin Pan and Qiang Yang. A survey on transfer learning. IEEE Transactions on Knowl- edge and Data Engineering, 22(10):1345-1359, 2010.
  23. [Parkhi et al., 2012] Omkar M. Parkhi, Andrea Vedaldi, An- drew Zisserman, and C. V. Jawahar. Cats and dogs. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 3498-3505, 2012.
  24. [Qin et al., 2024] Yujia Qin, Shihao Liang, Yining Ye, Kun- lun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, Xian- gru Tang, Bill Qian, Sihan Zhao, Lauren Hong, Runchu Tian, Ruobing Xie, Jie Zhou, Mark Gerstein, Dahai Li, Zhiyuan Liu, and Maosong Sun. ToolLLM: Facilitating large language models to master 16000+ real-world apis. In Proceedings of the 12th International Conference on Learning Representations, 2024.
  25. [Russakovsky et al., 2015] Olga Russakovsky, Jia Deng, Hao Su, Jonathan Krause, Sanjeev Satheesh, Sean Ma, Zhiheng Huang, Andrej Karpathy, Aditya Khosla, Michael S. Bernstein, Alexander C. Berg, and Fei-Fei Li. ImageNet large scale visual recognition challenge. In- ternational Journal of Computer Vision, 115(3):211-252, 2015.
  26. [Saito et al., 2018] Kuniaki Saito, Shohei Yamamoto, Yoshi- taka Ushiku, and Tatsuya Harada. Open set domain adap- tation by backpropagation. In Proceedings of the Eu- ropean Conference on Computer Vision, pages 156-171, 2018.
  27. [Shen et al., 2023] Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. Hug- gingGPT: Solving AI tasks with ChatGPT and its friends in Hugging Face. In Advances in Neural Information Pro- cessing Systems 36, pages 38154-38180, 2023.
  28. [Smola et al., 2007] Alexander J. Smola, Arthur Gretton, Le Song, and Bernhard Schölkopf. A Hilbert space em- bedding for distributions. In Proceedings of the 18th In- ternational Conference on Algorithmic Learning Theory, pages 13-31, 2007.
  29. [Tan et al., 2023] Peng Tan, Zhi-Hao Tan, Yuan Jiang, and Zhi-Hua Zhou. Handling learnwares developed from het- erogeneous feature spaces without auxiliary data. In Pro- ceedings of the 32nd International Joint Conference on Ar- tificial Intelligence, pages 4235-4243, 2023. IJCAI
  30. [Tan et al., 2024a] Peng Tan, Hai-Tian Liu, Zhi-Hao Tan, and Zhi-Hua Zhou. Handling learnwares from heteroge- neous feature spaces with explicit label exploitation. In Advances in Neural Information Processing Systems 37, pages 12767-12795, 2024.
  31. [Tan et al., 2024b] Zhi-Hao Tan, Jian-Dong Liu, Xiao-Dong Bi, Peng Tan, Qin-Cheng Zheng, Hai-Tian Liu, Yi Xie, Xiao-Chuan Zou, Yang Yu, and Zhi-Hua Zhou. Beim- ingwu: A learnware dock system. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 5773-5782, 2024.
  32. [Vanschoren et al., 2013] Joaquin Vanschoren, Jan N Van Rijn, Bernd Bischl, and Luis Torgo. OpenML: networked science in machine learning. ACM SIGKDD Explorations Newsletter, 15(2):49-60, 2013.
  33. [Wah et al., 2011] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech- ucsd birds-200-2011 dataset. Technical Report CNS-TR- 2011-001, California Institute of Technology, 2011.
  34. [Wolpert, 1992] David H. Wolpert. Stacked generalization. Neural Networks, 5(2):241-259, 1992.
  35. [Wu et al., 2023] Xi-Zhu Wu, Wenkai Xu, Song Liu, and Zhi-Hua Zhou. Model reuse with reduced kernel mean embedding specification. IEEE Transactions on Knowl- edge and Data Engineering, 35(1):699-710, 2023.
  36. [Xia et al., 2017] Gui-Song Xia, Jingwen Hu, Fan Hu, Baoguang Shi, Xiang Bai, Yanfei Zhong, Liangpei Zhang, and Xiaoqiang Lu. AID: A benchmark data set for performance evaluation of aerial scene classification. IEEE Transactions on Geoscience and Remote Sensing, 55(7):3965-3981, 2017.
  37. [Xie et al., 2023] Yi Xie, Zhi-Hao Tan, Yuan Jiang, and Zhi- Hua Zhou. Identifying helpful learnwares without exam- ining the whole market. In Proceedings of the 26th Eu- ropean Conference on Artificial Intelligence, pages 2752- 2759, 2023.
  38. [You et al., 2021] Kaichao You, Yong Liu, Jianmin Wang, and Mingsheng Long. LogME: practical assessment of pre-trained models for transfer learning. In Proceedings of the 38th International Conference on Machine Learning, pages 12133-12143, 2021.
  39. [Zhang et al., 2023] Yi-Kai Zhang, Ting-Ji Huang, Yao- Xiang Ding, De-Chuan Zhan, and Han-Jia Ye. Model spi- der: Learning to rank pre-trained models efficiently. In Ad- vances in Neural Information Processing Systems, pages 13692-13719, 2023.
  40. [Zhao et al., 2020] Peng Zhao, Le-Wen Cai, and Zhi-Hua Zhou. Handling concept drift via model reuse. Machine Learning, 109(3):533-568, 2020.
  41. [Zhou and Tan, 2024] Zhi-Hua Zhou and Zhi-Hao Tan. Learnware: Small models do big. Science China Infor- mation Sciences, 67(1):112102, 2024.
  42. [Zhou, 2016] Zhi-Hua Zhou. Learnware: on the future of machine learning. Frontiers of Computer Science, 10(4):589-590, 2016.
  43. [Zhou, 2025] Zhi-Hua Zhou. Ensemble Methods: Founda- tions and Algorithms. CRC Press, 2nd edition, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards