RepMatch:量化表示空间中的跨实例相似性
RepMatch: Quantifying Cross-Instance Similarities in Representation Space
AI总结:
提出RepMatch方法,通过比较模型编码的知识量化训练实例子集间的相似性,支持跨数据集分析,能有效比较数据集、识别代表性子集并揭示挑战数据集的构建启发式规则。
摘要:
数据集分析技术的进步使得分析和表征训练数据实例的方法更加复杂,通常根据“难度”等属性对数据进行分类。在本研究中,我们提出了RepMatch,一种通过相似性视角来表征数据的新方法。RepMatch通过比较在数据子集上训练的模型所编码的知识,来量化训练实例子集之间的相似性,克服了现有分析方法仅关注单个实例且局限于数据集内分析的局限性。我们的框架允许进行更广泛的评估,支持对任意实例子集进行相似性比较,同时支持数据集对数据集和实例对数据集的分析。我们在多个NLP任务、数据集和模型上验证了RepMatch的有效性。通过大量实验,我们证明RepMatch能够有效比较数据集,识别出数据集中更具代表性的子集(相比同等规模的随机子集,其训练效果更优),并揭示一些挑战数据集构建背后的启发式规则。
英文摘要:
Advances in dataset analysis techniques have enabled more sophisticated approaches to analyzing and characterizing training data instances, often categorizing data based on attributes such as ``difficulty''. In this work, we introduce RepMatch, a novel method that characterizes data through the lens of similarity. RepMatch quantifies the similarity between subsets of training instances by comparing the knowledge encoded in models trained on them, overcoming the limitations of existing analysis methods that focus solely on individual instances and are restricted to within-dataset analysis. Our framework allows for a broader evaluation, enabling similarity comparisons across arbitrary subsets of instances, supporting both dataset-to-dataset and instance-to-dataset analyses. We validate the effectiveness of RepMatch across multiple NLP tasks, datasets, and models. Through extensive experimentation, we demonstrate that RepMatch can effectively compare datasets, identify more representative subsets of a dataset (that lead to better performance than randomly selected subsets of equivalent size), and uncover heuristics underlying the construction of some challenge datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。