[Paper Review] ExpertMatcher: Automating ML Model Selection for Clients using Hidden Representations
This paper proposes ExpertMatcher-HR, a method for automating machine learning model selection in distributed systems without sharing raw client data. It uses independently trained autoencoders on clients and servers to extract and compare hidden representations via cosine similarity, achieving near-synonymous performance to data-sharing baselines—99.3% average accuracy in coarse-level assignment and 71.4% in fine-grained classification—while preserving privacy and reducing bandwidth.
Recently, there has been the development of Split Learning, a framework for distributed computation where model components are split between the client and server (Vepakomma et al., 2018b). As Split Learning scales to include many different model components, there needs to be a method of matching client-side model components with the best server-side model components. A solution to this problem was introduced in the ExpertMatcher (Sharma et al., 2019) framework, which uses autoencoders to match raw data to models. In this work, we propose an extension of ExpertMatcher, where matching can be performed without the need to share the client's raw data representation. The technique is applicable to situations where there are local clients and centralized expert ML models, but the sharing of raw data is constrained.
Motivation & Objective
- Address the challenge of assigning the most relevant expert ML model to client data in a privacy-preserving manner.
- Overcome limitations of existing ExpertMatcher approaches that require sharing raw client data, which raises privacy, security, and storage concerns.
- Enable efficient and scalable model selection in distributed learning frameworks like Split Learning, where raw data cannot be transferred.
- Maintain high model assignment accuracy using only intermediate hidden representations instead of raw inputs.
- Demonstrate feasibility and performance of the method across diverse data modalities including images, text, sensor data, and medical imaging.
Proposed method
- Train separate autoencoders (AEs) on both client and server sides using non-overlapping but similarly distributed data.
- Extract intermediate hidden representations from client data using the client-side autoencoder and share only these encoded features.
- Compute average hidden representations (μk) for each expert model’s training dataset on the server and for each client’s dataset on the client side.
- Assign models using maximum cosine similarity between the client’s encoded representation and the server’s precomputed average representations.
- Perform coarse-level assignment (dataset-level) and fine-grained assignment (class-level) using the same similarity-based matching mechanism.
- Ensure model weight initialization consistency across client and server AEs to promote convergence to similar representations despite independent training.
Experimental results
Research questions
- RQ1Can expert model selection be accurately performed without sharing raw client data, using only hidden representations?
- RQ2How does the performance of model assignment via hidden representations compare to methods that require raw data sharing?
- RQ3To what extent do independently trained autoencoders on different data distributions still produce comparable hidden representations for matching?
- RQ4What is the impact of limited client-side data on fine-grained class assignment accuracy?
- RQ5Can the proposed method scale to multiple clients and diverse data types while maintaining privacy and efficiency?
Key findings
- The proposed method achieves 99.30% average accuracy in coarse-level dataset assignment across six datasets, comparable to Sharma et al. (2019) which shares raw data.
- For fine-grained class assignment, the method achieves 71.4% accuracy on MNIST (vs. 84.36% in the baseline), demonstrating a performance drop due to smaller client-side training data.
- Despite independent training on non-overlapping data, autoencoders produce hidden representations that are highly similar in cosine space, enabling effective matching.
- The approach maintains strong performance even with 100% client data privacy, as only low-dimensional encoded features are shared.
- Performance remains robust across diverse data types, including MNIST, STL-10, HAR, Reuters, NLOS, and Diabetic Retinopathy.
- The method is scalable to multiple clients and supports both coarse and fine-grained model selection without raw data transfer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.