条件采样的黑盒去偏框架
A Black-Box Debiasing Framework for Conditional Sampling
AI总结:
本文提出一种黑盒去偏框架,通过将算法视为黑盒生成带权重的样本,对条件采样中因非线性导致的偏差进行高阶近似修正,在不增大方差的前提下提升了采样准确性。
摘要:
条件采样是贝叶斯统计和生成建模中的一项基本任务。考虑对于某个观测值 $y^*$,从后验分布 $P_{X|Y=y^*}$ 中采样的问题,其中似然 $P_{Y|X}$ 是已知的,并且给定从未知先验分布 $π_X$ 中抽取的 $n$ 个独立同分布样本 $D=\{X_i\}_{i=1}^n$。假设当 $\hatπ_{X^n}$ 是训练数据的经验分布时,$f(\hatπ_{X^n})$ 是由算法(例如条件生成模型或贝叶斯规则)生成的后验样本的分布。尽管对训练数据 $D$ 的随机性取平均后,我们有 $\mathbb{E}_D\left(\hatπ_{X^n}\right)= π_X$,但由于 $f$ 的非线性,我们并不能得到 $\mathbb{E}_D\left\{f(\hatπ_{X^n})\right\}= f(π_X)$,从而导致了偏差。在本文中,我们提出了一种黑盒去偏方案,提高了这种朴素插入方法的准确性。对于任意整数 $k$,在似然有界且 $f$ 平滑的条件下,我们生成样本 $\hat{X}^{(1)},\dots,\hat{X}^{(k)}$ 和权重 $w_1,\dots,w_k$,使得 $\sum_{i=1}^k w_iP_{\hat{X}^{(i)}}$ 成为 $f(π_X)$ 的 $k$ 阶近似,其中生成过程将 $f$ 视为黑盒。我们的生成过程在对训练数据随机性取平均时实现了更高的准确性,且未增大方差,这可以解释为在生成模型中改善了记忆能力而不损害泛化能力。
英文摘要:
Conditional sampling is a fundamental task in Bayesian statistics and generative modeling. Consider the problem of sampling from the posterior distribution $P_{X|Y=y^*}$ for some observation $y^*$, where the likelihood $P_{Y|X}$ is known, and we are given $n$ i.i.d. samples $D=\{X_i\}_{i=1}^n$ drawn from an unknown prior distribution $π_X$. Suppose that $f(\hatπ_{X^n})$ is the distribution of a posterior sample generated by an algorithm (e.g. a conditional generative model or the Bayes rule) when $\hatπ_{X^n}$ is the empirical distribution of the training data. Although averaging over the randomness of the training data $D$, we have $\mathbb{E}_D\left(\hatπ_{X^n}\right)= π_X$, we do not have $\mathbb{E}_D\left\{f(\hatπ_{X^n})\right\}= f(π_X)$ due to the nonlinearity of $f$, leading to a bias. In this paper we propose a black-box debiasing scheme that improves the accuracy of such a naive plug-in approach. For any integer $k$ and under boundedness of the likelihood and smoothness of $f$, we generate samples $\hat{X}^{(1)},\dots,\hat{X}^{(k)}$ and weights $w_1,\dots,w_k$ such that $\sum_{i=1}^kw_iP_{\hat{X}^{(i)}}$ is a $k$-th order approximation of $f(π_X)$, where the generation process treats $f$ as a black-box. Our generation process achieves higher accuracy when averaged over the randomness of the training data, without degrading the variance, which can be interpreted as improving memorization without compromising generalization in generative models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。