Out-of-Distributed Semantic Pruning for Robust Semi-Supervised Learning

Yu Wang, Pengchong Qiao, Chang Liu, Guoli Song, Xiawu Zheng +1 more
2/14/2026

No official code found. Best implementation: rain305f/OSP (22 stars, last commit 2023-06-11).

Abstract

Recent advances in robust semi-supervised learning (SSL) typically filter out-of-distribution (OOD) information at the sample level. We argue that an overlooked problem of robust SSL is its corrupted information on semantic level, practically limiting the development of the field. In this paper, we take an initial step to explore and propose a unified framework termed OOD Semantic Pruning (OSP), which aims at pruning OOD semantics out from in-distribution (ID) features. Specifically, (i) we propose an aliasing OOD matching module to pair each ID sample with an OOD sample with semantic overlap. (ii) We design a soft orthogonality regularization, which first transforms each ID feature by suppressing its semantic component that is collinear with paired OOD sample. It then forces the predictions before and after soft orthogonality decomposition to be consistent. Being practically simple, our method shows a strong performance in OOD detection and ID classification on challenging benchmarks. In particular, OSP surpasses the previous state-of-the-art by 13.7% on accuracy for ID classification and 5.9% on AUROC for OOD detection on TinyImageNet dataset. The source codes are publicly available at https://github.com/rain305f/OSP.

View on arXivView PDF

Code Implementations(1)

rain305f/OSPCommunity100%

[CVPR 2023] Out-of-Distributed Semantic Pruning for Robust Semi-Supervised Learning

222PythonMar 16, 20233 years ago

Similar Papers

Cite this paper

@article{wang2026outofdistributed,
  title  = {Out-of-Distributed Semantic Pruning for Robust Semi-Supervised Learning},
  author = {Yu Wang and Pengchong Qiao and Chang Liu and Guoli Song and Xiawu Zheng and Jie Chen},
  year   = {2026},
  eprint = {2305.18158},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2305.18158},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.18158.svg)](https://codeofpaper.com/paper/2305.18158)

Discussion