arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.00869stat.MLcs.LG
收藏

使用多项逻辑回归估计高差异分布之间的密度比

Estimating the Density Ratio between Distributions with High Discrepancy using Multinomial Logistic Regression

MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室);IBM Research(IBM研究院);MIT(麻省理工学院);Amazon(亚马逊公司);University of Edinburgh(爱丁堡大学)

Akash Srivastava, Seungwook Han, Kai Xu, Benjamin Rhodes, Michael U. Gutmann

AI总结:

针对高分离度分布下二分类密度比估计因分布偏移效果差的问题,提出基于多分类逻辑回归的估计方法,通过辅助密度桥接分布,在多任务上性能优于现有方法。

摘要:

密度比$p/q$的函数在机器学习中被广泛用于量化两个分布$p$和$q$之间的差异。对于高维分布,基于二分类的密度比估计器已展现出巨大潜力。然而,当密度分布完全分离时,使用二分类器估计密度比极具挑战性。在本研究中,我们证明了当前最先进的密度比估计器在分布完全分离的场景下表现不佳,并指出这是由训练与评估阶段的分布偏移导致的。我们提出了一种替代方法,该方法利用多分类进行密度比估计,且不会受到分布偏移问题的影响。该方法使用一组辅助密度$\{m_k\_k=1}^K$,并训练一个多分类逻辑回归模型,将来自$p$、$q$和$\{m_k\_k=1}^K$的样本划分为$K+2$个类别。我们证明,若构造的这些辅助密度与$p$和$q$存在重叠,那么多分类逻辑回归能够在这$K+2$个分布中任意一个的定义域上估计$\text{log }p/q$,并解决当前最先进方法存在的分布偏移问题。我们在合成数据集和真实数据集上将所提方法与最先进的密度比估计器进行了对比,结果表明其在密度比估计、互信息估计和表示学习任务上性能更优。代码链接:https://www.blackswhan.com/mdre/

英文摘要:

Functions of the ratio of the densities $p/q$ are widely used in machine learning to quantify the discrepancy between the two distributions $p$ and $q$. For high-dimensional distributions, binary classification-based density ratio estimators have shown great promise. However, when densities are well separated, estimating the density ratio with a binary classifier is challenging. In this work, we show that the state-of-the-art density ratio estimators perform poorly on well-separated cases and demonstrate that this is due to distribution shifts between training and evaluation time. We present an alternative method that leverages multi-class classification for density ratio estimation and does not suffer from distribution shift issues. The method uses a set of auxiliary densities $\{m_k\}_{k=1}^K$ and trains a multi-class logistic regression to classify the samples from $p, q$, and $\{m_k\}_{k=1}^K$ into $K+2$ classes. We show that if these auxiliary densities are constructed such that they overlap with $p$ and $q$, then a multi-class logistic regression allows for estimating $\log p/q$ on the domain of any of the $K+2$ distributions and resolves the distribution shift problems of the current state-of-the-art methods. We compare our method to state-of-the-art density ratio estimators on both synthetic and real datasets and demonstrate its superior performance on the tasks of density ratio estimation, mutual information estimation, and representation learning. Code: https://www.blackswhan.com/mdre/

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

↑