HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

NP-Match: When Neural Processes meet Semi-Supervised Learning

Jianfeng Wang Thomas Lukasiewicz Daniela Massiceti Xiaolin Hu Vladimir Pavlovic Alexandros Neophytou

NP-Match: When Neural Processes meet Semi-Supervised Learning

Abstract

Semi-supervised learning (SSL) has been widely explored in recent years, and it is an effective way of leveraging unlabeled data to reduce the reliance on labeled data. In this work, we adjust neural processes (NPs) to the semi-supervised image classification task, resulting in a new method named NP-Match. NP-Match is suited to this task for two reasons. Firstly, NP-Match implicitly compares data points when making predictions, and as a result, the prediction of each unlabeled data point is affected by the labeled data points that are similar to it, which improves the quality of pseudo-labels. Secondly, NP-Match is able to estimate uncertainty that can be used as a tool for selecting unlabeled samples with reliable pseudo-labels. Compared with uncertainty-based SSL methods implemented with Monte Carlo (MC) dropout, NP-Match estimates uncertainty with much less computational overhead, which can save time at both the training and the testing phases. We conducted extensive experiments on four public datasets, and NP-Match outperforms state-of-the-art (SOTA) results or achieves competitive results on them, which shows the effectiveness of NP-Match and its potential for SSL.

Code Repositories

jianf-wang/np-match
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
semi-supervised-image-classification-on-2NP-Match(ResNet-50)
Top 1 Accuracy: 58.22%
semi-supervised-image-classification-on-cifarNP-Match
Percentage error: 4.11±0.02
semi-supervised-image-classification-on-cifarUPS (wrn-28-2)
Percentage error: 4.25
semi-supervised-image-classification-on-cifar-2NP-Match
Percentage error: 21.22
semi-supervised-image-classification-on-cifar-6NP-Match
Percentage error: 4.87
semi-supervised-image-classification-on-cifar-7NP-Match
Percentage error: 4.91
semi-supervised-image-classification-on-cifar-8NP-Match
Percentage error: 38.67
semi-supervised-image-classification-on-cifar-9NP-Match
Percentage error: 26.03
semi-supervised-image-classification-on-stl-1NP-Match
Accuracy: 94.53
semi-supervised-image-classification-on-stl-3NP-Match
Accuracy: 85.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp