Okapi: Generalising Better by Making Statistical Matches Match
Not on the map. Why?
Abstract (arXiv)
We propose Okapi, a simple, efficient, and general method for robust semi-supervised learning based on online statistical matching. Our method uses a nearest-neighbours-based matching procedure to generate cross-domain views for a consistency loss, while eliminating statistical outliers. In order to perform the online matching in a runtime- and memory-efficient way, we draw upon the self-supervised literature and combine a memory bank with a slow-moving momentum encoder. The consistency loss is applied within the feature space, rather than on the predictive distribution, making the method agnostic to both the modality and the task in question. We experiment on the WILDS 2.0 datasets Sagawa et al., which significantly expands the range of modalities, applications, and shifts available for studying and benchmarking real-world unsupervised adaptation. Contrary to Sagawa et al., we show that it is in fact possible to leverage additional unlabelled data to improve upon empirical risk minimisation (ERM) results with the right method. Our method outperforms the baseline methods in terms of out-of-distribution (OOD) generalisation on the iWildCam (a multi-class classification task) and PovertyMap (a regression task) image datasets as well as the CivilComments (a binary classification task) text dataset. Furthermore, from a qualitative perspective, we show the matches obtained from the learned encoder are strongly semantically related. Code for our paper is publicly available at https://github.com/wearepal/okapi/.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 56 of its 88 references that are in the map. First posted on arXiv 7 Nov 2022.
Builds on
56 of 88 references.
References · 56
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,712
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
38 more
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022A ConvNet for the 2020scited by 3,545
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2016Equality of Opportunity in Supervised Learningcited by 2,000
- 2019Invariant Risk Minimizationcited by 1,832
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2018BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learningcited by 1,282
- 2022CoCa: Contrastive Captioners are Image-Text Foundation Modelscited by 1,265
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 718
- 2014Certifying and removing disparate impactcited by 715
- 2013Domain Generalization via Invariant Feature Representationcited by 622
- 2018A Reductions Approach to Fair Classificationcited by 585
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
- 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
- 2018Learning Adversarially Fair and Transferable Representationscited by 353
- 2021With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representationscited by 324
- 2020Environment Inference for Invariant Learningcited by 306
- 2014Learning with Pseudo-Ensemblescited by 241
- 2018Empirical Risk Minimization under Fairness Constraintscited by 226
- 2020Domain Generalization using Causal Matchingcited by 224
- 2019Flexibly Fair Representation Learning by Disentanglementcited by 196
- 2021Simple data balancing achieves competitive worst-group-accuracycited by 177
- 2021A Fine-Grained Analysis on Distribution Shiftcited by 171
- 2020The iWildCam 2020 Competition Datasetcited by 86
- 2021Extending the WILDS Benchmark for Unsupervised Adaptationcited by 85
- 2022Vision Models Are More Robust And Fair When Pretrained On Uncurated Images Without Supervisioncited by 80
- 2020Towards Domain-Agnostic Contrastive Learningcited by 75
- 2021The Evolution of Out-of-Distribution Robustness Throughout Fine-Tuningcited by 74
- 2021Mean Shift for Self-Supervised Learningcited by 65
- 2019Operationalizing Individual Fairness with Pairwise Fair Representationscited by 64
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 1.
2 papers.