在大型深度神经网络的训练中,需要海量的训练数据。为了满足这一需求,数据通常从多个领域收集,例如 Wikipedia 和 GitHub。这些领域在数据质量及其所提供信息的多样性方面具有异质性。这就提出了一个问题:我们应该在多大程度上依赖每个领域。已有若干方法尝试通过启发式或近似方法为每个数据领域分配采样权重来解决这一问题。作为深入理解数据混合作用的第一步,本工作通过研究两类权重重新审视该问题:采样权重,用于控制每个领域在一个批次中的贡献比例;以及损失权重,用于在训练过程中缩放来自每个领域的损失。通过对线性回归的严格研究,我们表明这两类权重发挥着互补的作用。首先,它们可以降低迭代方法(如随机梯度下降 SGD)中梯度估计的方差。其次,它们可以通过缩小泛化差距来提升泛化性能。我们为这些论断提供了理论和实证支持。我们进一步研究了采样权重与损失权重的联合动态,考察如何将它们结合起来以同时获得两方面的贡献。
英文摘要:
In the training of large deep neural networks, there is a need for vast amounts of training data. To meet this need, data is collected from multiple domains, such as Wikipedia and GitHub. These domains are heterogeneous in both data quality and the diversity of information they provide. This raises the question of how much we should rely on each domain. Several methods have attempted to address this issue by assigning sampling weights to each data domain using heuristics or approximations. As a first step toward a deeper understanding of the role of data mixing, this work revisits the problem by studying two kinds of weights: sampling weights, which control how much each domain contributes in a batch, and loss weights, which scale the loss from each domain during training. Through a rigorous study of linear regression, we show that these two weights play complementary roles. First, they can reduce the variance of gradient estimates in iterative methods such as stochastic gradient descent (SGD). Second, they can improve generalization performance by reducing the generalization gap. We provide both theoretical and empirical support for these claims. We further study the joint dynamics of sampling weights and loss weights, examining how they can be combined to capture both contributions.
Dimension-Wise Importance Sampling Weight Clipping for Sample-Efficient Reinforcement Learning
KAIST(韩国科学技术院)
在诸如近端策略优化(PPO)的基于重要性采样(IS)的强化学习算法中,IS权重通常被裁剪以避免学习中的大方差。然而,从裁剪统计的政策更新引起大的偏见,在任务中具有高的动作维度,和偏见裁剪使得它很难重用旧的样本与大的IS权重。在本文中,我们认为PPO,一个代表性的政策算法,并提出了其改进的维度上的IS权重裁剪,分别剪辑每个动作维度的IS权重,以避免大的偏见,并自适应地控制IS权重绑定从当前策略的策略更新。这种新技术能够有效地学习高动作维度的任务,并重复使用旧的样本,如在离策略学习,以提高样本效率。数值实验结果表明,该算法在各种Open AI Gym任务中的性能优于PPO和其他RL算法。
Controlling Privacy Loss in Sampling Schemes: an Analysis of Stratified and Cluster Sampling
Boston University(波士顿大学);Institute for Employment Research(就业研究所);University of Maryland(马里兰大学);Apple(苹果公司);Harvard John A. Paulson School of Engineering and Applied Sciences(哈佛大学约翰·A·保尔森工程与应用科学学院)
Hyper-Representations as Generative Models: Sampling Unseen Neural Network Weights
University of St.Gallen(圣加仑大学);Samsung - SAIT AI Lab(三星SAIT人工智能实验室);Institut de Robòtica i Informàtica Industrial(工业机器人与信息技术研究所);Universitat Politècnica de Catalunya(加泰罗尼亚理工大学)