Skip to main content
QUICK REVIEW

[Paper Review] Model Reuse with Reduced Kernel Mean Embedding Specification

Xi-Zhu Wu, Wenkai Xu|Bristol Research (University of Bristol)|Jan 20, 2020
Privacy-Preserving Technologies in DataComputer Science30 references4 citations
TL;DR

This paper proposes using reduced kernel mean embedding (RKME) as a privacy-preserving specification for pre-trained machine learning models, enabling model reuse without access to raw training data. The two-phase framework—uploading RKME specifications and deploying them via MMD-based matching—demonstrates effective model selection under both task-recurrent and instance-recurrent assumptions, with superior performance in a real industrial regression task at Huawei while preserving data privacy.

ABSTRACT

Given a publicly available pool of machine learning models constructed for various tasks, when a user plans to build a model for her own machine learning application, is it possible to build upon models in the pool such that the previous efforts on these existing models can be reused rather than starting from scratch? Here, a grand challenge is how to find models that are helpful for the current application, without accessing the raw training data for the models in the pool. In this paper, we present a two-phase framework. In the upload phase, when a model is uploading into the pool, we construct a reduced kernel mean embedding (RKME) as a specification for the model. Then in the deployment phase, the relatedness of the current task and pre-trained models will be measured based on the value of the RKME specification. Theoretical results and extensive experiments validate the effectiveness of our approach.

Motivation & Objective

  • To address the challenge of reusing pre-trained models without accessing their raw training data, ensuring data privacy.
  • To develop a specification method that enables effective identification of reusable models for new tasks.
  • To formalize and validate two assumptions—task-recurrent and instance-recurrent—under which model reuse is feasible.
  • To demonstrate the practical viability of the approach in a real-world industrial regression project.

Proposed method

  • Construct a reduced kernel mean embedding (RKME) from the training data distribution during the upload phase, representing the data distribution without exposing raw examples.
  • Use maximum mean discrepancy (MMD) to measure similarity between the current task and pre-trained models under the task-recurrent assumption.
  • Under the instance-recurrent assumption, generate auxiliary data via kernel herding to mimic the current task’s distribution and train a selector to identify the best model per test instance.
  • Apply the RKME specification in the deployment phase to select optimal pre-trained models based on distributional similarity, without accessing original training data.
  • Use a two-phase pipeline: upload (specification generation) and deployment (model selection), with RKME as the core specification mechanism.
  • Leverage kernel herding for efficient and representative sampling in the generation of auxiliary data during instance-recurrent inference.

Experimental results

Research questions

  • RQ1Can a model specification be constructed such that it enables model reuse without exposing raw training data?
  • RQ2How can the similarity between a new task and pre-trained models be measured when only the model’s specification is available?
  • RQ3Under what distributional assumptions (e.g., task-recurrent or instance-recurrent) can effective model reuse be achieved?
  • RQ4Can RKME-based specification outperform existing model reuse and transfer learning methods in terms of accuracy and privacy?

Key findings

  • The proposed RKME-based framework achieves state-of-the-art performance in a real-world regression task at Huawei, with RMSE of 0.0279, outperforming model reuse baselines RAND and AVG.
  • Our method achieves 52.05% F1-score on the 3f1 metric and 80.82% on 3p30, surpassing non-private transfer learning methods like mSDA and KMM in some metrics while preserving data privacy.
  • The instance-recurrent procedure with kernel herding-generated auxiliary data enables accurate model selection even when the current task is a mixture of previously solved tasks.
  • The framework maintains data privacy by ensuring no raw training data is exposed after RKME specification construction, satisfying the inaccessibility requirement.
  • Experiments show that as the number of mixing tasks decreases, the method can preclude impossible output classes by selecting appropriate pre-trained models, improving robustness.
  • The RKME specification enables effective model reuse under both task-recurrent and instance-recurrent assumptions, with theoretical and empirical validation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.