A Bag-of-Prototypes Representation for Dataset-Level Applications
Weijie Tu, Weijian Deng, Tom Gedeon, Liang Zheng
Abstract
This work investigates dataset vectorization for two dataset-level tasks: assessing training set suitability and test set difficulty. The former measures how suitable a training set is for a target domain, while the latter studies how challenging a test set is for a learned model. Central to the two tasks is measuring the underlying relationship between datasets. This needs a desirable dataset vectorization scheme, which should preserve as much discriminative dataset information as possible so that the distance between the resulting dataset vectors can reflect dataset-to-dataset similarity. To this end, we propose a bag-of-prototypes (BoP) dataset representation that extends the image-level bag consisting of patch descriptors to dataset-level bag consisting of semantic prototypes. Specifically, we develop a codebook consisting of K prototypes clustered from a reference dataset. Given a dataset to be encoded, we quantize each of its image features to a certain prototype in the codebook and obtain a K-dimensional histogram. Without assuming access to dataset labels, the BoP representation provides rich characterization of the dataset semantic distribution. Furthermore, BoP representations cooperate well with Jensen-Shannon divergence for measuring dataset-todataset similarity. Although very simple, BoP consistently shows its advantage over existing representations on a series of benchmarks for two dataset-level tasks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Adaptive Calibrator Ensemble: Navigating Test Set Difficulty in Out-of-Distribution Scenarios cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Geometric Dataset Distances via Optimal Transport cites Task2Vec: Task Embedding for Meta-Learning
- CIFAR-10-Warehouse: Broad and More Realistic Testbeds in Model Generalization Analysis cites Moment Matching for Multi-Source Domain Adaptation
- MaNo: Exploiting Matrix Norm for Unsupervised Accuracy Estimation Under Distribution Shifts cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- MaNo: Exploiting Matrix Norm for Unsupervised Accuracy Estimation Under Distribution Shifts cites Moment Matching for Multi-Source Domain Adaptation
- MaNo: Exploiting Matrix Norm for Unsupervised Accuracy Estimation Under Distribution Shifts cites Energy-based Automated Model Evaluation
- Energy-based Automated Model Evaluation cites CIFAR-10-Warehouse: Broad and More Realistic Testbeds in Model Generalization Analysis
Cited by top-tier papers9
- Energy-based Automated Model EvaluationRu Peng, Heming Zou, Haobo Wang, Yawen Zeng et al.ICLR 2024 · 18 citations
- CIFAR-10-Warehouse: Broad and More Realistic Testbeds in Model Generalization AnalysisXiaoxiao Sun, Xingjian Leng, Zijian Wang, Yang Yang et al.ICLR 2024 · 17 citations
- Adaptive Calibrator Ensemble: Navigating Test Set Difficulty in Out-of-Distribution ScenariosYuli Zou, Weijian Deng, Liang ZhengICCV 2023 · 12 citations
- MaNo: Exploiting Matrix Norm for Unsupervised Accuracy Estimation Under Distribution ShiftsRenchunzi Xie, Ambroise Odonnat, Vasilii Feofanov, Weijian Deng et al.NeurIPS 2024 · 10 citations
- Locating What You Need: Towards Adapting Diffusion Models to OOD Concepts In-the-WildJianan Yang, Chenchao Gao, Zhiqing Xiao, Junbo Zhao et al.NeurIPS 2024 · 1 citation
Builds on18
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- AugMix: A Simple Data Processing Method to Improve Robustness and UncertaintyDan Hendrycks, Norman Mu, Ekin Dogus Cubuk, Barret Zoph et al.ICLR 2020 · 1,572 citations
- Task2Vec: Task Embedding for Meta-LearningAlessandro Achille, Michael Lam, Rahul Tewari, Avinash Ravichandran et al.ICCV 2019 · 359 citations
- Geometric Dataset Distances via Optimal TransportDavid Alvarez-Melis, Nicolò FusiNeurIPS 2020 · 267 citations
Related papers
- Transferability Estimation using Bhattacharyya Class SeparabilityMichal Pándy, Andrea Agostinelli, Jasper R. R. Uijlings, Vittorio Ferrari et al.CVPR 2022 · 50 citations
- Visual DNA: Representing and Comparing Images Using Distributions of Neuron ActivationsBenjamin Ramtoula, Matthew Gadd, Paul Newman, Daniele De MartiniCVPR 2023
- Adversarial Support AlignmentShangyuan Tong, Timur Garipov, Yang Zhang, Shiyu Chang et al.ICLR 2022 · 10 citations
- Quantifying Train-Evaluation Overlap with Nearest NeighborsGauri Kambhatla, Thuy Nguyen, Eunsol ChoiACL Findings 2023 · 2 citations
- Representation Topology Divergence: A Method for Comparing Neural Network RepresentationsSerguei Barannikov, Ilya Trofimov, Nikita Balabin, Evgeny BurnaevICML 2022 · 69 citations
