arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2305.18213cs.LGcs.AI
收藏

用于不确定性感知探测的高斯过程探针(Gaussian Process Probes, GPP)

Gaussian Process Probes (GPP) for Uncertainty-Aware Probing

Google DeepMind(谷歌DeepMind);Princeton University(普林斯顿大学)

Zi Wang, Alexander Ku, Jason Baldridge, Thomas L. Griffiths, Been Kim

AI总结:

本研究提出高斯过程探针(GPP)这一贝叶斯框架,可在仅需少量样本、无需访问训练数据等信息的情况下,探测预训练模型的概念表示并度量两类不确定性,还能有效检测分布外数据,为模型能力评估提供高效通用的不确定性感知工具。

摘要:

理解模型能够表示和无法表示哪些概念,是诸多任务的基础:从模型的有效且负责任使用,到分布外数据检测。我们提出高斯过程探针(Gaussian process probes, GPP),这是一个统一且简洁的框架,用于探测和度量与模型所表示概念相关的不确定性。作为线性探测方法的贝叶斯扩展,GPP探究模型会诱导出怎样的概念分类器分布。该分布既可用于度量模型表示的内容,也可用于度量探针对模型表示内容的置信程度。GPP可应用于任何具备输入向量表示(如激活值)的预训练模型,无需访问训练数据、梯度或模型架构。我们在包含合成图像与真实图像的数据集上验证了GPP的性能。实验表明,它能够:(1)仅用极少量样本即可探测模型的概念表示;(2)准确度量认知不确定性(即探针的置信程度)和偶然不确定性(即概念对模型的模糊程度);(3)利用这些不确定性度量检测分布外数据,效果与经典方法相当。通过使用高斯过程拓展探测方法的能力边界,GPP为理解和评估机器学习模型的能力提供了一种数据高效、通用且具备不确定性感知的工具。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑