Gaussian Process Probes (GPP) for Uncertainty-Aware Probing

Zi Wang, Alexander Ku, Jason Baldridge, Thomas L. Griffiths, Been Kim
5/29/2023
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Understanding which concepts models can and cannot represent has been fundamental to many tasks: from effective and responsible use of models to detecting out of distribution data. We introduce Gaussian process probes (GPP), a unified and simple framework for probing and measuring uncertainty about concepts represented by models. As a Bayesian extension of linear probing methods, GPP asks what kind of distribution over classifiers (of concepts) is induced by the model. This distribution can be used to measure both what the model represents and how confident the probe is about what the model represents. GPP can be applied to any pre-trained model with vector representations of inputs (e.g., activations). It does not require access to training data, gradients, or the architecture. We validate GPP on datasets containing both synthetic and real images. Our experiments show it can (1) probe a model's representations of concepts even with a very small number of examples, (2) accurately measure both epistemic uncertainty (how confident the probe is) and aleatory uncertainty (how fuzzy the concepts are to the model), and (3) detect out of distribution data using those uncertainty measures as well as classic methods do. By using Gaussian processes to expand what probing can offer, GPP provides a data-efficient, versatile and uncertainty-aware tool for understanding and evaluating the capabilities of machine learning models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2023gaussian,
  title  = {Gaussian Process Probes (GPP) for Uncertainty-Aware Probing},
  author = {Zi Wang and Alexander Ku and Jason Baldridge and Thomas L. Griffiths and Been Kim},
  year   = {2023},
  eprint = {2305.18213},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.18213v2},
  journal = {NEURIPS 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.18213.svg)](https://codeofpaper.com/paper/2305.18213)

Discussion