Abstract
The diversity of deep learning applications, datasets, and neural network architectures necessitates a careful selection of the architecture and data that match best to a target application. As an attempt to mitigate this dilemma, this paper investigates the idea of combining multiple trained neural networks using unlabeled data. In addition, combining multiple models into one can speed up the inference, result in stronger, more capable models, and allows us to select efficient device-friendly target network architectures. To this end, the proposed method makes use of generation, filtering, and aggregation of reliable pseudo-labels collected from unlabeled data. Our method supports using an arbitrary number of input models with arbitrary architectures and categories. Extensive performance evaluations demonstrated that our method is very effective. For example, for the task of object detection and without using any ground-truth labels, an EfficientDet-D0 trained on Pascal-VOC and an EfficientDet-D1 trained on COCO, can be combined to a RetinaNet-ResNet50 model, with a similar mAP as the supervised training. If fine-tuned in a semi-supervised setting, the combined model achieves +18.6%, +12.6%, and +8.1% mAP improvements over supervised training with 1%, 5%, and 10% of labels.
Introduction
In the current deep learning landscape, there is an abundance of pre-trained models, each specialized in different tasks or trained on different datasets. However, deploying multiple specialized models to perform various tasks is computationally expensive and inefficient. This paper addresses the "Model Composition" challenge: how to fuse these specialized models into a single, unified architecture without requiring the original labeled training data, which is often private or lost.
The authors propose a framework that treats existing models as "black-box" teachers. By using only unlabeled images and an inference API, they can create a single model that inherits the capabilities of its specialized parents—effectively creating a "union of skills" in an efficient, device-friendly target architecture.
Methodology
The proposed framework follows a four-stage pipeline that treats input models as black boxes:
1. Pseudo-label Generation
An unlabeled dataset is passed through all "input" models. Each model provides its best predictions (pseudo-labels) for the specific objects or categories it was trained to recognize.
2. Filtering and Aggregation
To mitigate noise, the system uses an entropy-based thresholding mechanism to discard "confused" or high-entropy predictions. The remaining labels are then aggregated to find consensus. For object detection, the system uses a majority voting strategy and Soft-NMS to refine overlapping bounding boxes and resolve conflicts between different teacher models.
3. Training
A fresh "target" model is trained on these aggregated pseudo-labels. A key advantage of this method is that it is architecture-agnostic; for example, an EfficientDet and a YOLO model can be combined into a RetinaNet optimized for mobile deployment.
Experimental Results
The authors evaluated their method across standard benchmarks including COCO, Pascal-VOC, and Open-Images-V5.
Performance and Scaling
In a scenario combining three specialized detectors, the unsupervised composed model achieved 32.6% mAP, remarkably close to the 35.1% mAP achieved by a fully supervised model. The framework also demonstrated scalability by successfully combining up to 10 different models trained on various data subsets.
Low-Data Regime Gains
One of the most significant findings was the model's performance in semi-supervised settings. When fine-tuned with only a small amount of ground-truth data, the composed model outperformed standard supervised training by a massive margin:
- 1% labels: +18.6% mAP improvement.
- 5% labels: +12.6% mAP improvement.
- 10% labels: +8.1% mAP improvement.
Conclusion
Model Composition offers a scalable, privacy-preserving, and architecture-agnostic way to unify AI capabilities. While the distribution of unlabeled data remains a factor—as extreme domain shifts can degrade pseudo-label quality—the method provides a robust solution for merging specialized models into efficient, multi-tasking architectures. This approach significantly reduces the barriers to deploying complex, multi-skill AI systems in resource-constrained environments.
Summary updated