数据集制图:映射和诊断具有训练动态的数据集
Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamics
摘要:
大型数据集在NLP研究中已经变得司空见惯。然而,由于越来越强调数据数量,评估数据质量变得很困难。我们介绍数据地图-一个基于模型的工具来描述和诊断数据集。我们利用一个在很大程度上被忽视的信息源:在构建数据映射的训练过程中,模型在单个实例上的行为(训练动态)。这为每个示例产生了两个直观的度量-模型在真实类中的置信度,以及这种置信度在各个时期的变化-在单次训练中获得。在四个数据集上进行的实验表明,这些依赖于模型的度量揭示了数据图中的三个不同区域,每个区域都具有明显的特征。首先,我们的数据图显示了相对于模型的"模糊"区域的存在,这对分布外泛化贡献最大。第二,数据中人口最多的地区对于模型来说是“易学”的,在模型优化中起着重要的作用。最后,数据映射揭示了模型发现“难以学习”的实例的区域;这些通常对应于标记错误。我们的研究结果表明,从数据的数量到质量的重点转移可能会导致强大的模型和改进的分布外泛化。
英文摘要:
Large datasets have become commonplace in NLP research. However, the increased emphasis on data quantity has made it challenging to assess the quality of data. We introduce Data Maps---a model-based tool to characterize and diagnose datasets. We leverage a largely ignored source of information: the behavior of the model on individual instances during training (training dynamics) for building data maps. This yields two intuitive measures for each example---the model's confidence in the true class, and the variability of this confidence across epochs---obtained in a single run of training. Experiments across four datasets show that these model-dependent measures reveal three distinct regions in the data map, each with pronounced characteristics. First, our data maps show the presence of "ambiguous" regions with respect to the model, which contribute the most towards out-of-distribution generalization. Second, the most populous regions in the data are "easy to learn" for the model, and play an important role in model optimization. Finally, data maps uncover a region with instances that the model finds "hard to learn"; these often correspond to labeling errors. Our results indicate that a shift in focus from quantity to quality of data could lead to robust models and improved out-of-distribution generalization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。