[Paper Review] Neural Data Server: A Large-Scale Search Engine for Transfer Learning Data
Neural Data Server (NDS) is a large-scale search engine that recommends optimal pretraining data for transfer learning by indexing major public image datasets via a compact mixture-of-experts (MoE) model. It enables clients to achieve state-of-the-art performance on downstream tasks using only 20% of the full dataset size—demonstrating comparable or better accuracy than full-image pretraining while reducing training time and computational cost.
Transfer learning has proven to be a successful technique to train deep learning models in the domains where little training data is available. The dominant approach is to pretrain a model on a large generic dataset such as ImageNet and finetune its weights on the target domain. However, in the new era of an ever-increasing number of massive datasets, selecting the relevant data for pretraining is a critical issue. We introduce Neural Data Server (NDS), a large-scale search engine for finding the most useful transfer learning data to the target domain. NDS consists of a dataserver which indexes several large popular image datasets, and aims to recommend data to a client, an end-user with a target application with its own small labeled dataset. The dataserver represents large datasets with a much more compact mixture-of-experts model, and employs it to perform data search in a series of dataserver-client transactions at a low computational cost. We show the effectiveness of NDS in various transfer learning scenarios, demonstrating state-of-the-art performance on several target datasets and tasks such as image classification, object detection and instance segmentation. Neural Data Server is available as a web-service at http://aidemos.cs.toronto.edu/nds/.
Motivation & Objective
- Address the critical challenge of selecting the most relevant pretraining data from massive, ever-growing public datasets in transfer learning.
- Reduce the computational and financial burden of pretraining on large-scale datasets by enabling efficient, data-efficient selection of high-utility samples.
- Preserve client privacy by ensuring the client’s data is not exposed to the server during the recommendation process.
- Minimize online computation on the server to support high-throughput, scalable service for multiple clients in parallel.
- Enable effective transfer learning even in low-resource scenarios, including cases with no labeled data, by leveraging self-supervised pretraining on selected data.
Proposed method
- Index multiple large public image datasets (e.g., COCO, OpenImages) using a compact mixture-of-experts (MoE) model that captures data distribution patterns.
- Train the MoE model on the indexed datasets to learn expert-specific representations for different visual concepts.
- Use the client’s small labeled target dataset to evaluate each expert’s accuracy on the target task, serving as a proxy for data usefulness.
- Rank and recommend data samples from the server’s indexed datasets based on expert performance on the client’s data, prioritizing high-utility examples.
- Support both supervised and self-supervised pretraining by adapting the MoE model to different pretext tasks (e.g., instance discrimination, rotation prediction).
- Deliver recommendations as links to publicly available data, avoiding data hosting and ensuring compliance with licensing and privacy constraints.
Experimental results
Research questions
- RQ1Can a scalable, privacy-preserving search engine effectively identify the most useful pretraining data for a given target domain?
- RQ2To what extent can a compact MoE model accurately represent large-scale datasets and guide data selection for transfer learning?
- RQ3Does selecting a small, high-utility subset of data (e.g., 20%) yield better downstream performance than random sampling or full-dataset pretraining?
- RQ4How does the performance of NDS compare to standard ImageNet pretraining in terms of accuracy and efficiency across diverse downstream tasks?
- RQ5Can the NDS framework be generalized to self-supervised pretraining paradigms, and how does the choice of pretext task affect data selection effectiveness?
Key findings
- NDS achieves state-of-the-art performance on image classification, object detection, and instance segmentation tasks using only 20% of the full dataset size.
- On the Cityscapes dataset, NDS-selected pretraining data achieved a mask AP of 54.62% with 23K images, outperforming uniform sampling (54.01%) and matching full-dataset pretraining results with significantly reduced data volume.
- For self-supervised pretraining using RotNet, NDS-selected data improved performance by 0.31% over uniform sampling (72.85% vs. 72.59%), demonstrating effectiveness in contrastive learning settings.
- In MoCo pretraining, NDS-selected data achieved 61.49% top-1 accuracy on Oxford-IIIT Pets, outperforming uniform sampling (60.25%) and approaching full-dataset performance (67.54%).
- NDS reduced the required pretraining data from 538 GB to just 26 GB while achieving better or comparable performance than full-dataset pretraining, cutting training time from weeks to days.
- The method generalizes to zero-shot and self-supervised settings, showing consistent gains even when no labeled data is available for the client, by leveraging proxy task performance on the MoE model.
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.