Identifying and Reusing Learnwares Across Different Label Spaces
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 5734-5742.
https://doi.org/10.24963/ijcai.2025/638
Keywords
- Machine Learning: ML: Learnware/model reuse/transfer learning
- Machine Learning: ML: Classification
- Machine Learning: ML: Kernel methods
- Machine Learning: ML: Ensemble methods
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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [Krizhevsky and Hinton, 2009] Alex Krizhevsky and Geof- frey Hinton. Learning multiple layers of features from tiny images. Technical Report, University of Toronto, 2009.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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
- [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.
- [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.
- [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.
- [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.
- [Wolpert, 1992] David H. Wolpert. Stacked generalization. Neural Networks, 5(2):241-259, 1992.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [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.
- [Zhou, 2016] Zhi-Hua Zhou. Learnware: on the future of machine learning. Frontiers of Computer Science, 10(4):589-590, 2016.
- [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.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
Identifying and Reusing Learnwares Across Different Label Spaces
Jian-Dong Liu1,2 , Zhi-Hao Tan1,2 and Zhi-Hua Zhou1,2
1National Key Laboratory for Novel Software Technology, Nanjing University, China 2School of Artificial Intelligence, Nanjing University, China
{liujd, tanzh, zhouzh}@lamda.nju.edu.cn
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 nu-
merous real-world models trained on diverse la-
bel 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 dif-
ferent label spaces, extending their applicability
beyond the original purposes of individual learn-
wares. To this end, we introduce a statistical class-
wise specification for establishing similarity rela-
tions 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 learn-
ware identification and assembly methods. Exten-
sive experiments with thousands of heterogeneous
models validate our approach, demonstrating that
reusing identified learnware combinations can out-
perform both training from scratch and fine-tuning
a generic pre-trained model.
1 Introduction
Machine learning has achieved significant success in various practical fields, including medicine, robotics, and ecology. However, in classic machine learning paradigm, training a well-performing model from scratch still requires several challenging conditions, such as sufficient labeled data, adequate computational resources, and proficient training skills. Additionally, privacy and proprietary concerns obstruct data sharing among developers, limiting the potential of big models in many data-sensitive scenarios.
To tackle these issues simultaneously, learnware [Zhou, 2016; Zhou and Tan, 2024] was proposed for solving machine learning tasks in a novel paradigm. In this context, a learnware consists of a well-performing model of any structure and a specification which captures the model's specialty and utility in a certain representation, such as its statistical properties. Developers worldwide can submit their models trained on various tasks into a learnware dock system spontaneously, and the system helps generate specifications for each model to form learnwares. When facing a new user task, the system can identify and assemble helpful learnwares from all existing learnwares based on their specifications. The user can then reuse these learnwares with her own data to address her task instead of starting from scratch. It is important to note that the learnware dock system should not access the raw data of either model developers or users.

To realize the vision depicted above, the critical challenge of learnware paradigm is to effectively identify and assemble useful learnwares within a learnware dock system for new user tasks, without accessing raw data. The key to the solution is specification, the core of this paradigm. Recently, the reduced kernel mean embedding (RKME) specification [Zhou and Tan, 2024] was proposed, characterizing model capabilities via distribution information. Based on this specification, several learnware search and reuse algorithms have been developed, and the efficacy of specificationbased model selection and combination has been empirically and theoretically verified [Wu et al., 2023; Liu et al., 2024; Tan et al., 2024a]. However, considering that numerous existing models and future user tasks come from diverse label spaces, an important problem in the learnware paradigm is still unsolved: how to identify and reuse helpful learnware combinations for user tasks across different label spaces, which greatly limits the scope of the learnware dock system. To illustrate, consider a scenario shown in Figure 1, where a user needs to classify classes such as sheep, deer, horses, and dogs. Although the system does not possess a single learnware trained specifically for classifying these four classes, there exists a learnware combination whose label spaces collectively encompass the user's required label space. If these relevant learnwares can be identified and combined to address the user task, it would significantly expand the scope of user tasks that can be handled, enabling the reuse of the combination beyond the limits of individual learnwares. With the initial learnware dock system recently built [Tan et al., 2024b], tackling this problem has become more crucial.
In practice, the fundamental challenges of this problem mainly stem from two aspects: the unknown correspondence between different label spaces of learnwares and the user task, and the inability of the system to access raw data from model developers or users. Although accurate semantic information about each label space would make the problem easier, obtaining such information is particularly difficult due to the inherent ambiguity of natural language, the enormous number of learnwares in the system, and the additional complexity imposed on users in describing their requirements.
In this paper, to overcome these challenges without leveraging semantic information, our key insight is to represent model capabilities with statistical class-wise specifications and model the utility of a learnware combination to a user task from a perspective of class matching, thereby establishing relations between label spaces of each learnware and user tasks. Based on these relations, the system can handle user tasks involving previously unseen label spaces by identifying and assembling effective learnware combinations without access to raw user data. These learnwares collectively cover the required label space, providing an effective solution. The main contributions are summarized as follows:
- We make the first attempt to identify helpful learnware combinations across different label spaces to solve user tasks involving previously unseen label spaces, without accessing raw data from model developers or users. This enables the reuse of these combinations beyond the original purposes of individual learnwares, significantly expanding the scope of user tasks that can be handled.
- To represent a model's capabilities on each class, we extend the RKME specification into a class-wise version, capturing the conditional distribution and measuring similarity relations between different label spaces. Leveraging these relations, we model learnware combination utility for user tasks as minimum-cost maximum-
- flow problems, and further develop practical methods for identifying and reusing useful learnware combinations.
- Extensive experiments involving thousands of heterogeneous models validate the efficacy of our approach. Empirical results also show that reusing identified learnware combinations can outperform both training from scratch and fine-tuning a generic pre-trained model.
2 Problem Setup
The learnware paradigm consists of two stages: the submitting and deploying stages.
Submitting Stage. In this stage, N developers submit their models {fi}Ni=1 to the learnware dock system. Each model fi is trained on a dataset Di = (Xi, yi) over X × Yi, where Yi denotes the label space unique to model fi. In settings with heterogeneous label spaces, each model's label space Yi can be distinct. Additionally, along with the well-trained model fi, each developer also provides a specification Si to the system, which is generated with assistance from the system.
Deploying Stage. In this stage, the user possesses an unlabeled dataset Du = Xu defined over X, and the label space associated with her task is Yu, which differs from that of all learnwares, i.e., Yu ̸∈ {Yi}Ni=1 . Since there are various label spaces in the system, the user also has limited m labeled instances for each class in Yu. To tackle Du, the user submits task requirements Ru to the system, which then returns a helpful learnware combination {fi | i ∈ I} with the number constraint |I| ≤ M based on specifications {Si}Ni=1 . Subsequently, the user can solve her task by reusing these learnwares. The constraint about |I| is natural and practical since the computing resources and time required for reusing learnwares are directly proportional to the number of learnwares.
Note that the learnware dock system cannot access raw data of either model developers or users. Besides, due to the decoupling of heterogeneous features and labels, identifying heterogeneous models typically requires finding a unified feature space [Tan et al., 2023; Tan et al., 2024a] before addressing diverse label spaces. Thus, this study assumes all models operate in a unified feature space X and can naturally expand to heterogeneous feature and label spaces in the future.
3 Our Approach
In this section, we first introduce the statistical class-wise specification, which characterizes model capabilities on different classes. Building on this, we then detail our comprehensive solution, focusing on algorithms for learnware identification and reuse.
3.1 CharacterizingModel Capabilities
To effectively identify and assemble suitable model combinations across heterogeneous label spaces, the first step is to precisely characterize model capabilities on different classes. However, the lack of access to raw data frommodel developers or users poses a significant challenge.
The cornerstone of our solution is specification. While the RKME specification [Zhou and Tan, 2024] has shown efficacy in several learnware studies [Liu et al., 2024; Tan et al.,
2024a] by capturing the entire data distribution, the recent implementation [Wu et al., 2023] falls short in modeling the conditional data distribution for each class, restricting its efficacy in heterogeneous label space settings. To address this, we extend RKME into a class-wise version, the class-wise RKME specification, incorporating conditional distribution information and enabling accurate characterization of model capabilities on each class without exposing raw data.
Let ∆n = {β ∈ Rn | 1⊤β = 1, β ≥ 0} denote the n-dimensional simplex. For each class c ∈ Y, let Xc = [xc,1; xc,2; . . . ; xc,mc ] represent the subset of dataset D belonging to class c and correctly classified by model f. Then the class-wise RKME specification S = {(βc ∈ ∆n ,Zc ∈ X n )}c∈Y is generated by solving:
where k : X × X ↦→ R is a kernel function with reproducing kernel Hilbert space Hk, and ˆµc = 1 mc ∑mc i=1 k(xc,i, ·) is the empirical KME [Smola et al., 2007] of class c. The reduced set size n, much smaller than the size of original dataset D, is empirically set to 10 in experiments. Inspired by [Wu et al., 2023], we solve Eq. (1) using alternating optimization: βc is updated via quadratic programming, while Zc is optimized using gradient descent, as detailed in Algorithm 1.
Since the specification S is an extension of RKME across different classes, it retains the properties of RKME, such as protecting original data and providing robust defense against common inference attacks [Lei et al., 2024]. Furthermore, it incorporates conditional distribution information, as demonstrated in the following proposition with proof in Appendix C.
Proposition 1. Assume supx∈X k(x, x) < ∞. Let ˜µc = ∑nj=1 βc,jk(zc,j , ·). Then, ∀c ∈ Y, we have ∥ˆµc - ˜µc∥Hk = O(n-1/2 ), where n is the reduced set size of specification S.
As the empirical KME ˆµc captures the conditional distribution information of data correctly classified as class c by model f [Smola et al., 2007], Proposition 1 indicates that the specification S accurately characterizes model capabilities on different classes, enabling precise learnware identification. In the submitting stage, each developer generates the class-wise RKME specification Si with system assistance and submits the learnware (fi, Si) without disclosing their raw data.
3.2 Identifying Helpful Learnware Combinations
In the deploying stage, the user submits task requirements Ru to the system, expecting to receive helpful learnwares {fi}i∈I for her task Du, without leaking raw data. To achieve this, we first delve into the design of user task requirements and then present a practical learnware identification method.
User Task Requirements. Similar to model developers, the user can locally generate the class-wise RKME specification Su using her limited m labeled data per class in Yu. To better capture the task's statistical properties, we further enhance the requirements Ru by estimating class probabilities.
For the user task, let Xu ∈ X mu be the unlabeled dataset and {Xc ∈ X m}c∈Yu the labeled dataset. Utilizing kernel mean embedding techniques [Smola et al., 2007], we can estimate class probabilities w ∈ ∆|Yu| by solving the following
Algorithm 1 Specification Generation
Input: Local dataset D with label space Y, model f, kernel function k, specification size n, iteration T .
Output: The class-wise RKME specification S.
- 1: for c ∈ Y do
- 2: Obtain the data Xc in D that is correctly classified by model f as class c. Initialize Zc by running k-means clustering on Xc with the number of clusters set to n.
- 3: for t = 1 to T do
- 4: Update β(t) c by using standard quadratic programming tools to minimize Eq. (1).
- 5: Update Z(t) c by optimizing Eq. (1) with the gradient descent method.
- 6: end for
- 7: end for
- 8: S ← {(β(T) c ,Z(T) c )}c∈Y .
Algorithm 2 Multiple Learnware Identification
Input: Learnwares {(fi, Si)}Ni=1 , user's local dataset Xu and {Xc}c∈Yu , constants M, K, λ.
Output: Identified models {fi}i∈I.
- 1: Based on the local dataset, the user generates specification Su by solving Eq. (1) and estimates class probabilities w by solving Eq. (2), then submits task requirements Ru = (Su,w) to the system.
- 2: Initialize I ← {}, I0 ← {} and U(I0,Ru) ← 0.
- 3: for t = 1 toM do
- 4: Obtain It by solving Eq. (4) with the successive shortest path algorithm applied to the minimum-cost maximum-flow formulation of U(It, Ru).
- 5: If U(It, Ru) > U(I, Ru) then I ← It; else exit loop.
- 6: end for
- 7: The system returns the helpful models {fi}i∈I .
problem via standard quadratic programming tools:
where ˆµ = 1 mu ∑mu i=1 k(xu,i, ·) is the empirical KME of Xu, and k is the kernel function from Eq. (1). The specification Su and the class probabilities w together form the user requirements Ru = (Su, w), which describe statistical properties of the user task without exposing raw data, laying the foundation for establishing the relations between the heterogeneous label spaces of learnwares and the user task.
Learnware Identification. After receiving the requirements, the system is required to identify a useful learnware combination for the user task. Let U(I, Ru) denote the utility of a set of learnwares {fi}i∈I to the user requirements Ru, and the learnware identification process can be formulated as
To quantify U(I , Ru), we first measure the class similarity via the class-wise specification. Let Si = {(βc1 ∈ ∆n ,Zc1 ∈ X n )}c1∈Yi and Su = {(βc2 ∈ ∆n ,Zc2 ∈ X n )}c2∈Yu denote the specifications for the i-th learnware and the user task.

The similarity between class c1 of the learnware and class c2 of the user task, denoted as sim(Si,c1 , Su,c2 ), is defined as:
where constant λ ensures non-negative similarity, and the latter term represents the Maximum Mean Discrepancy (MMD) between two RKMEs in RKHS Hk. According to Proposition 1, this term quantifies the difference between the conditional distributions of the two classes.
Based on the similarity, we quantify U(I, Ru) from a perspective of class matching, aiming to identify learnwares whose combined label space fully covers the task label space. Specifically, we construct a bipartite graph with learnware classes on the left and user task classes on the right. The edge weight between class c1 of learnware fi and user class c2 is wc2 · sim(Si,c1 , Su,c2 ), where wc2 is the estimated probability of class c2. Since each user class may have multiple similar learnware classes, we constrain that each user class can be matched by at most K learnware classes. Let variable e(i) c1,c2 indicate whether class c1 of learnware fi is matched to user class c2. Then, the quantification of U(I,Ru) is modeled as the following optimization problem:
To solve this optimization problem, we transform it into an equivalent minimum-cost maximum-flow problem by treating the constraints as edge capacities and the negated edge weights as costs, as shown in Figure 2. The minimum cost can then be determined using the successive shortest path algorithm [Edmonds and Karp, 1972]. By taking the negative of this value, we obtain the maximum weight matching, which corresponds to the utility U(I,Ru). Further details of this modeling are provided in Appendix B.
Even with U(I,Ru) quantified, the problem in Eq. (3) remains NP-hard. To solve it practically, we employ a greedy algorithm to iteratively optimize Eq. (3). Specifically, at the t-th iteration, It = It-1 ∪ {i} is obtained by solving:
The entire process of learnware identification is detailed in Algorithm 2, and its efficiency is analyzed in the following theorem, with the proof provided in Appendix C.
Theorem 1. Assume the maximum size of the learnware label spaces maxi∈[N] |Yi| ≤ Cf and the size of the user task label space |Yu| = Cu. The time complexity of our learnware identification method is O (NCf C 2u log (Cf + Cu)).
Since Cf and Cu are typically treated as constants, the time complexity of our method scales linearly with N, the dominant term. In contrast, the existing method [Wu et al., 2023] for identifying multiple homogeneous learnwares has a time complexity of Ω(N 2 ), highlighting the efficiency of ours. Several methods can further accelerate our identification process. For instance, in the optimization of Eq. (4), traversing all indices i ∈ [N] can be sped up via parallel computing. Additionally, techniques such as anchor learnwares [Zhou and Tan, 2024; Xie et al., 2023] and specification index [Liu et al., 2024] can substantially reduce the number of candidate learnwares N, further enhancing identification efficiency.
3.3 Reusing Learnware Combinations
10 While the identification phase seeks to provide learnwares whose combined label space covers the task label space, the reuse phase focuses on aligning and assembling these learnwares with the user task in a fine-grained manner. This assembly can be achieved by learning from the user's local labeled data, naturally excluding the need for learnware specifications during reuse and further protecting developer data privacy. Since effective reuse methods vary greatly with model structure, we design practical methods tailored for both nondeep and deep learning models, ensuring broad applicability.
Let {fi : X ↦→R|Yi| }i∈I be the identified learnwares with diverse label spaces. For non-deep learning models (e.g., linear and tree-based), we employ methods inspired by stacking [Wolpert, 1992] and classifier adaptation [Li et al., 2013]. Specifically, we augment the original features with logit vectors predicted by learnwares, which represent class probabilities. For instance, if X is the raw data and I = {1, 2}, the augmented data are X′ = [X, f1(X), f2(X)], and a simple secondary classifier (e.g. logistic regression) is then trained on X′ . For deep learning models, each learnware is finetuned by freezing all layers except the last. Then an average ensemble method [Zhou, 2025] is applied, which averages the outputs of all learnwares for final predictions.
These proposed methods are computationally efficient with few learnable parameters. Moreover, they remain effective and robust even with limited labeled data, and improve continuously with more instances, as validated in Section 4.
4 Experiments
In this section, we develop thousands of models with diverse label spaces, spanning 22 real-world tabular and image scenarios. We compare with existing methods and conduct ablation studies to validate the efficacy of our approach.
| Scenario | #Task Classes | #Models | Random | From-scratch | Linear-proxy | RKME-task | RKME-instance | Ours |
|---|---|---|---|---|---|---|---|---|
| CJS | 6 | 20 | 99.23 ±0.37 | 97.12 ±1.20 | 99.32 ±0.26 | 99.15 ±0.64 | 99.54 ± 0.40 | 99.64 ± 0.00 |
| First-Order | 6 | 20 | 81.43 ±1.94 | 89.27 ±2.88 | 80.47 ±5.61 | 85.45 ±1.33 | 96.41 ± 2.23 | 97.96 ± 1.41 |
| Covertype | 7 | 35 | 53.45 ±2.52 | 38.71 ±2.81 | 66.71 ±13.3 | 80.85 ±3.62 | 90.45 ± 2.16 | 98.79 ± 0.53 |
| Fabert | 7 | 35 | 39.78 ±0.62 | 11.33 ±0.00 | 41.73 ±2.31 | 30.29 ±1.22 | 61.03 ± 1.44 | 65.48 ± 1.81 |
| Steel-Fault | 7 | 35 | 75.50 ±5.11 | 83.32 ±3.27 | 87.16 ±2.92 | 84.50 ±3.06 | 95.55 ± 0.92 | 97.03 ± 1.30 |
| MiceProtein | 8 | 56 | 92.72 ±2.04 | 84.26 ±2.91 | 91.48 ±1.93 | 92.50 ±1.93 | 93.52 ± 0.83 | 95.65 ± 1.19 |
| Otto-Product | 9 | 84 | 47.53 ±3.17 | 47.71 ±2.56 | 51.98 ±5.37 | 54.71 ±7.68 | 67.97 ± 5.58 | 84.60 ± 2.83 |
| Volkert | 10 | 120 | 90.79 ±2.17 | 80.00 ±1.87 | 91.84 ±1.35 | 89.95 ±1.26 | 94.90 ± 0.78 | 96.28 ± 1.16 |
| CTG | 10 | 120 | 61.22 ±2.45 | 64.05 ±2.74 | 67.16 ±4.90 | 61.07 ±3.13 | 71.81 ± 1.53 | 82.51 ± 1.03 |
| HAR | 12 | 220 | 92.84 ±1.50 | 91.29 ±1.37 | 93.12 ±0.79 | 93.45 ±1.78 | 92.93 ± 2.38 | 97.64 ± 0.28 |
| Scenario | #Task Classes | #Users | Random | From-scratch | Linear-proxy | RKME-task | RKME-instance | Ours |
|---|---|---|---|---|---|---|---|---|
| CJS | [4, 5] | 21 | 99.42 ±0.07 | 90.10 ±1.76 | 99.34 ±0.19 | 99.47 ±0.05 | 99.56 ± 0.03 | 99.66 ± 0.03 |
| First-Order | [4, 5] | 21 | 81.21 ±2.62 | 56.26 ±2.61 | 83.72 ±2.60 | 88.94 ±1.05 | 99.55 ± 0.13 | 98.95 ± 0.33 |
| Covertype | [5, 6] | 28 | 63.00 ±2.22 | 45.01 ±1.68 | 78.19 ±3.72 | 82.54 ±3.28 | 98.39 ± 0.40 | 98.10 ± 0.70 |
| Fabert | [5, 6] | 28 | 46.01 ±0.42 | 17.64 ±0.00 | 55.34 ±1.72 | 51.85 ±0.40 | 68.21 ± 0.95 | 70.05 ± 1.12 |
| Steel-Fault | [5, 6] | 28 | 80.31 ±1.09 | 85.65 ±0.33 | 90.53 ±1.24 | 90.51 ±0.54 | 97.03 ± 0.39 | 97.86 ± 0.25 |
| MiceProtein | [6, 7] | 36 | 93.61 ±1.42 | 86.02 ±1.24 | 93.73 ±1.55 | 93.91 ±1.27 | 97.29 ± 0.88 | 97.40 ± 0.53 |
| Otto-Product | [7, 8] | 45 | 53.04 ±0.98 | 48.94 ±0.51 | 59.54 ±1.20 | 65.24 ±1.46 | 83.27 ± 0.96 | 88.51 ± 0.62 |
| Volkert | [8, 9] | 55 | 90.80 ±0.40 | 83.25 ±0.62 | 92.40 ±0.44 | 92.10 ±0.22 | 95.58 ± 0.17 | 96.56 ± 0.38 |
| CTG | [8, 9] | 55 | 64.08 ±1.48 | 63.62 ±1.15 | 69.80 ±1.32 | 66.83 ±1.76 | 77.47 ± 1.57 | 84.59 ± 1.56 |
| HAR | [10, 11] | 78 | 93.04 ±0.51 | 90.69 ±0.77 | 94.96 ±0.38 | 94.07 ±0.58 | 94.07 ± 0.37 | 97.67 ± 0.23 |
4.1 Experimental Setup
Here we introduce some common experimental setups.
Evaluation. For a scenario with C users, methods are evaluated by the average classification accuracy ∑Ci=1 Acci/C, where Acci is the accuracy on the i-th user's unlabeled instances, which are unseen by all learnwares in the system.
Contenders. We compare our approach with five methods: two baselines, Random and From-scratch, and three related methods, RKME-task [Wu et al., 2023], RKME-instance [Wu et al., 2023], and Linear-proxy [Guo et al., 2023]. Random randomly selects a learnware. From-scratch trains a new model from scratch with user labeled data and the same training algorithm as learnwares. RKME-task and RKME-instance identify single and multiple learnwares, respectively, using basic RKME specifications. Linear-proxy reduces the submitted model into a linear proxy model for identification. Since these contenders cannot simultaneously handle tabular and image scenarios across different label spaces, we enhance them with the reuse methods proposed in Section 3.3.
Configuration. We set the specification size n to 10 and use a Gaussian kernel k(x1, x2) = exp(-γ∥x1 -x2∥22 ) with γ = 0.1. For learnware search, K is chosen from {2, 3, 4} for different datasets, with constants M = 5 and λ = 100.
4.2 Evaluation on Tabular Scenarios
Scenario Construction. For tabular scenarios, we develop 745 learnwares, each with a unique label space, derived from 10 real-world datasets on the OpenML [Vanschoren et al., 2013] platform, spanning various domains such as healthcare, industrial, and biological fields. For each dataset, we select three classes from all classes, explore all possible combinations, and train models using LightGBM [Ke et al., 2017] on the corresponding training data. For instance, for a dataset with 10 classes, we generate (10 3 ) = 120 models. This means most classes in user tasks are unseen by any single learnware.
User Task Covering All Classes. For each dataset, we test user tasks covering all classes, with each task Du including the test set and 10 labeled data per class from the training set. Table 1 summarizes results from five repeats, showing that our method outperforms all contenders and significantly surpasses From-scratch, demonstrating the advantages of reusing identified learnwares with limited labeled data.
User Task Covering Partial Classes. We further test user tasks covering subsets of all classes. For a dataset with C classes, each task includes a subset of C - 1 or C - 2 classes from the test data. For example, the HAR dataset of 12 classes yields (12 11) + (12 10) = 78 tasks. Table 2 reports an 8/2 win/lose record, showing our method's efficacy even when the label spaces of user tasks and learnwares partially overlap.
User Task with Increasing Labeled Data. To further explore the benefits of our method, we test cases where labeled data per class increases from 10 to 5,000, or all available data if fewer than 5,000. Figure 3 shows that our method outperforms From-scratch with thousands of labeled data per class and even with all labeled data in some scenarios. This suggests that reusing identified learnwares could be more effective than training from scratch, even with sufficient data.
4.3 Evaluation on Image Scenarios
Scenario Construction. For image scenarios, we develop 300 heterogeneous learnwares from 12 real-world datasets: EuroSAT [Helber et al., 2019], SVHN [Netzer et al., 2011], CIFAR10/100 [Krizhevsky and Hinton, 2009], AID [Xia et al., 2017], Pets [Parkhi et al., 2012], Resisc45 [Cheng et al., 2017], DTD [Cimpoi et al., 2014], Food [Bossard et al., 2014], Caltech101 [Li et al., 2004], Flowers [Nilsback and Zisserman, 2008], and CUB2011 [Wah et al., 2011]. These datasets span diverse domains, including plants, animals, and objects. For each dataset, we randomly select 20% to 50% of all classes and develop learnwares using corresponding training data. We perform 25 random selections per dataset, training ResNet50 [He et al., 2016] models for 100 epochs using the SGD optimizer, with the initial learning rate chosen from {0.1, 0.01, 0.001} and cosine annealing learning rate decay.

| Scenario | #Task Classes | Random | From-scratch | Linear-proxy | RKME-task | RKME-instance | ViT-ImageNet | Ours |
|---|---|---|---|---|---|---|---|---|
| SVHN | 10 | 38.89 ±0.64 | 12.72 ±0.67 | 41.36 ±9.88 | 41.54 ±2.54 | 35.87 ± 10.8 | 20.15 ± 1.71 | 78.19 ± 2.55 |
| CIFAR10 | 10 | 65.54 ±0.53 | 30.18 ±2.91 | 75.92 ±2.15 | 74.87 ±0.73 | 82.61 ± 4.70 | 85.44 ± 1.16 | 86.20 ± 2.64 |
| EuroSAT | 10 | 75.26 ±1.74 | 46.54 ±2.01 | 81.20 ±1.74 | 80.77 ±1.37 | 75.67 ± 4.57 | 78.50 ± 2.10 | 87.86 ± 1.34 |
| AID | 30 | 76.83 ±0.48 | 60.44 ±1.53 | 81.52 ±0.78 | 80.83 ±0.96 | 85.13 ± 1.21 | 71.92 ± 1.30 | 87.18 ± 0.90 |
| Pets | 37 | 86.41 ±1.02 | 76.84 ±2.28 | 87.23 ±0.56 | 87.10 ±0.81 | 88.34 ± 1.32 | 87.32 ± 0.37 | 89.28 ± 0.75 |
| Resisc45 | 45 | 68.62 ±0.44 | 40.32 ±1.77 | 76.32 ±0.64 | 73.45 ±0.75 | 77.06 ± 1.01 | 63.79 ± 1.14 | 83.42 ± 0.95 |
| DTD | 47 | 55.46 ±0.88 | 47.63 ±1.54 | 59.03 ±0.92 | 56.91 ±1.13 | 61.37 ± 0.91 | 55.05 ± 0.63 | 62.12 ± 1.02 |
| CIFAR100 | 100 | 54.10 ±0.25 | 20.25 ±0.88 | 58.62 ±0.83 | 57.93 ±0.62 | 66.80 ± 1.50 | 63.65 ± 0.53 | 68.16 ± 0.48 |
| Food | 101 | 53.21 ±0.50 | 26.26 ±0.64 | 59.00 ±0.38 | 58.38 ±0.29 | 67.32 ± 2.09 | 43.64 ± 0.85 | 68.49 ± 0.80 |
| Caltech101 | 101 | 84.91 ±0.65 | 82.38 ±0.60 | 86.45 ±1.66 | 86.52 ±0.94 | 88.62 ± 1.03 | 88.47 ± 0.85 | 89.38 ± 0.99 |
| Flowers | 102 | 83.12 ±0.53 | 69.61 ±2.39 | 86.41 ±0.39 | 85.36 ±0.71 | 91.05 ± 1.86 | 81.56 ± 0.88 | 93.83 ± 0.35 |
| CUB2011 | 200 | 58.86 ±0.24 | 47.48 ±1.20 | 64.02 ±0.27 | 61.95 ±0.38 | 68.76 ± 0.29 | 55.31 ± 0.45 | 68.98 ± 0.33 |
For specification generation, we use image features extracted by a generic pre-trained model, consistent with prior learnware studies [Wu et al., 2023; Guo et al., 2023]. Specifically, we apply a ViT-L/32 [Dosovitskiy et al., 2021] model pre-trained on ImageNet [Russakovsky et al., 2015]. For comparison, we introduce the ViT-ImageNet method, which fine-tunes the pre-trained model's last layer with user labeled data, aligning with our reuse strategy. We also compare with other fine-tuning methods, including full parameter tuning and LoRA [Hu et al., 2022], detailed in Appendix D.
User Task Covering All Classes. Consistent with Section 4.2, we test user tasks covering all classes of the test set. Table 3 shows the superiority of our method across all scenarios, suggesting that identifying and reusing small proprietary models is more effective than training from scratch or finetuning a generic pre-trained model in few-shot settings.
User Task Covering Partial Classes. We further test tasks covering subsets of all classes. For each dataset, we randomly select 70% to 90% of all classes, with their test data as the user task. This process is repeated ten times to generate ten unique user tasks per dataset. Table 4 shows that our method consistently outperforms others, even when the user task label space completely differs from that of existing learnwares.
User Task with Increasing Labeled Data. Consistent with Section 4.2, we test cases with increasing labeled data per class. Figure 4 presents the superiority of our method in most scenarios, even when all labeled data are accessible.
4.4 Ablation Studies
Estimation of Class Probabilities. We compare our method using estimated probabilities w versus uniform probabilities on user tasks covering all classes. In class-balanced scenarios like CIFAR100 and Food, our method matches the accuracy of uniform probabilities. In class-imbalanced scenarios, it outperforms uniform probabilities by 6%, and in the most imbalanced scenario, Covertype, it leads by 45%. These results show the necessity of our class probability estimation.
Number of Identified Learnwares. We analyze how varying numbers of identified learnwares affect performance, as shown in Figure 5. Performance improves with more learnwares, but with diminishing returns. Reusing five learnwares generally yields satisfactory results, though cases like CTG, Otto-Product, and CIFAR100 could be further improved. In practice, the number of identified learnwares should depend on task complexity and available computational resources.
5 RelatedWork
Learnware. The learnware paradigm [Zhou, 2016; Zhou and Tan, 2024] proposes to build a large model platform comprising numerous high-performing models, enabling users to leverage existing models for their tasks. Each model is assigned a specification that characterizes its capabilities, allowing it to be identified for new tasks. Using the RKME specification, homogeneous learnwares can be identified by matching their data distributions with user tasks [Wu et al., 2023]. This specification is proven to scarcely contain any original data and possesses robust defense against common CIF.-100DTD Food CUB Resisc SVHN Euro. AID CIF.-10 Pets Flo. Caltech inference attacks [Lei et al., 2024]. To support effective identification from numerous learnwares, an anchor-based mechanism [Xie et al., 2023] enables efficient identification, and an evolvable learnware specification [Liu et al., 2024] continuously enhances learnware characterization and identification as the system scales. For heterogeneous feature spaces, algorithms for searching and reusing learnwares are developed by learning a unified specification space [Tan et al., 2023; Tan et al., 2024a]. Recently, the first learnware dock system, Beimingwu [Tan et al., 2024b], was released, providing implementations for the entire process of learnware paradigm.
| Scenario | #Task Classes | Random | From-scratch | Linear-proxy | RKME-task | RKME-instance | ViT-ImageNet | Ours |
|---|---|---|---|---|---|---|---|---|
| SVHN | [7, 9] | 42.36 ±0.71 | 13.93 ±0.60 | 51.64 ±6.46 | 54.19 ±1.15 | 38.97 ± 5.59 | 23.41 ± 1.91 | 73.59 ± 3.29 |
| CIFAR10 | [7, 9] | 68.43 ±0.58 | 36.16 ±0.82 | 80.55 ±1.04 | 81.61 ±0.55 | 81.97 ± 1.59 | 87.01 ± 1.30 | 87.41 ± 1.24 |
| EuroSAT | [7, 9] | 77.52 ±1.70 | 54.52 ±3.39 | 85.07 ±1.59 | 82.62 ±1.21 | 80.23 ± 1.96 | 80.75 ± 2.01 | 88.97 ± 1.56 |
| AID | [21, 27] | 78.32 ±0.46 | 48.39 ±0.82 | 82.27 ±0.46 | 81.02 ±0.63 | 85.48 ± 0.52 | 73.93 ± 1.25 | 87.99 ± 0.55 |
| Pets | [25, 33] | 88.08 ±0.71 | 79.10 ±1.85 | 88.64 ±0.74 | 88.59 ±0.78 | 90.25 ± 0.61 | 88.96 ± 0.16 | 90.36 ± 0.74 |
| Resisc45 | [31, 40] | 71.48 ±0.43 | 47.16 ±0.91 | 78.75 ±0.59 | 76.07 ±0.60 | 78.87 ± 0.48 | 66.59 ± 0.97 | 85.35 ± 0.30 |
| DTD | [32, 42] | 58.66 ±0.90 | 51.82 ±0.84 | 61.75 ±0.58 | 60.72 ±0.84 | 63.83 ± 1.23 | 58.45 ± 0.84 | 65.40 ± 1.06 |
| CIFAR100 | [70, 90] | 56.97 ±0.24 | 21.16 ±0.74 | 61.69 ±0.58 | 62.14 ±0.36 | 68.87 ± 0.70 | 66.46 ± 0.48 | 70.85 ± 0.50 |
| Food | [70, 90] | 55.67 ±0.48 | 29.20 ±0.33 | 61.51 ±0.44 | 61.13 ±0.42 | 69.50 ± 0.40 | 45.81 ± 0.78 | 70.29 ± 0.36 |
| Caltech101 | [70, 90] | 86.04 ±0.76 | 83.30 ±0.52 | 87.85 ±1.30 | 87.40 ±1.13 | 89.23 ± 1.10 | 89.31 ± 0.89 | 90.40 ± 1.00 |
| Flowers | [71, 91] | 84.33 ±0.54 | 71.63 ±1.17 | 87.86 ±0.55 | 87.24 ±0.46 | 91.27 ± 0.58 | 82.91 ± 0.74 | 94.48 ± 0.18 |
| CUB2011 | [140, 180] | 61.84 ±0.21 | 49.23 ±0.61 | 66.88 ±0.31 | 66.31 ±0.17 | 70.88 ± 0.39 | 58.22 ± 0.52 | 71.43 ± 0.23 |


Figure 5: Average accuracy (%) on user tasks covering all classes in tabular and image scenarios, with 10 labeled instances per class, as the number of identified learnwares varies among {1, 3, 5, 7, 9}.
For heterogeneous label spaces, prior work [Guo et al., 2023] focuses on identifying a single learnware and requires a powerful public feature extractor, limiting its applicability especially in tabular scenarios. In contrast, our work makes the first attempt to identify and reuse effective learnware combinations across different label spaces, enabling broader applications of learnwares beyond their original purposes.
Utilizing Given Source Task(s) or Model(s). Domain adaptation [Ben-David et al., 2006], transfer learning [Pan and Yang, 2010], and model reuse [Zhao et al., 2020] focus on solving target tasks using given source task(s) or model(s). Several studies also explore heterogeneous label spaces, including disjoint label space transfer learning [Luo et al., 2017], open set domain adaptation [Saito et al., 2018], and partial domain adaptation [Cao et al., 2019]. While these fields assume the given models are helpful for the target task or require access to raw source data, the learnware paradigm differs significantly, as it aims to identify and assemble useful models from numerous ones in a data-preserving way.
Model Pools. Model pools and hubs, like Hugging Face, have rapidly grown, hosting over a million models managed with only semantic descriptions. Some works, such as HuggingGPT [Shen et al., 2023] and ToolLLM [Qin et al., 2024], attempt to identify models or tools via these descriptions. However, since machine learning models are functions mapping inputs to outputs, statistical specifications in the learnware paradigm are essential for capturing their implicit capabilities and enabling effective identification and reuse beyond their original purposes. Some studies also focus on assessing the reusability or transferability of pre-trained models without fine-tuning [You et al., 2021; Ding et al., 2022; Zhang et al., 2023], but these often require running all models on user data without considering data privacy, which is impractical in real-world scenarios with numerous models.
6 Conclusion
This paper presents the first attempt to identify and assemble helpful learnware combinations for user tasks across different label spaces without leaking raw data. To achieve this, we characterize model capabilities across classes and establish relationships between diverse label spaces, proposing a practical identification and reuse method to solve user tasks involving previously unseen label spaces. Extensive empirical evaluations validate the effectiveness of our approach.
Acknowledgments
This research was supported by NSFC (62250069) and the Collaborative Innovation Center of Novel Software Technology and Industrialization. The authors would like to thank Jia-Wei Shan and Tian Qin for helpful discussions, and ZiChen Zhao for his participation in preliminary experiments. We are also grateful to the anonymous reviewers for their helpful comments.
@inproceedings{ijcai2025p638,
title = {Identifying and Reusing Learnwares Across Different Label Spaces},
author = {Liu, Jian-Dong and Tan, Zhi-Hao and Zhou, Zhi-Hua},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {5734--5742},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/638},
url = {https://doi.org/10.24963/ijcai.2025/638},
}
TY - CPAPER TI - Identifying and Reusing Learnwares Across Different Label Spaces AU - Liu, Jian-Dong AU - Tan, Zhi-Hao AU - Zhou, Zhi-Hua T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 5734 EP - 5742 DO - 10.24963/ijcai.2025/638 UR - https://doi.org/10.24963/ijcai.2025/638 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards