arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.17541cs.AIcs.CL
收藏

数据特征化:通过无监督数据重构揭示自然语言特征

Dataset Featurization: Uncovering Natural Language Features through Unsupervised Data Reconstruction

University College London(伦敦大学学院);ERA Fellowship(ERA 奖学金);Delft University of Technology(代尔夫特理工大学);UK AI Security Institute(英国人工智能安全研究所)

Michal Bravansky, Vaclav Kubon, Suhas Hariharan, Robert Kirk

AI总结:

提出一种与领域无关的无监督数据特征化方法,通过评估LLM重构原始数据的能力优化二元特征选择,实现对特征数量的精确控制,并在越狱策略和人类偏好对齐任务中表现出与人工标注相当的准确性与扩展性。

摘要:

解释数据是现代研究的核心。大型语言模型(LLMs)在提供此类数据的自然语言解释方面展现出潜力,然而简单的特征提取方法(如提示)往往无法为多样化数据集生成准确且通用的描述,且缺乏对粒度和规模的控制。为解决这些局限性,我们提出了一种与领域无关的数据特征化方法,该方法能精确控制提取的特征数量,同时保持与人工标注相当的紧凑且具描述性的表示。我们的方法通过评估LLM使用这些特征重构原始数据的能力,来优化信息性二元特征的选择。我们展示了其在数据集建模任务中的有效性,并通过两个案例研究进行了验证:(1)构建越狱策略的特征表示,紧凑地捕获更大规模人工设计攻击的有效性和多样性;以及(2)自动化发现符合人类偏好的特征,实现了与人工设计特征相当的准确性和鲁棒性。此外,我们展示了该流程具有有效的扩展性,随着采样更多特征而不断改善,使其适用于大型且多样化的数据集。

英文摘要:

Interpreting data is central to modern research. Large language models (LLMs) show promise in providing such natural language interpretations of data, yet simple feature extraction methods such as prompting often fail to produce accurate and versatile descriptions for diverse datasets and lack control over granularity and scale. To address these limitations, we propose a domain-agnostic method for dataset featurization that provides precise control over the number of features extracted while maintaining compact and descriptive representations comparable to human labeling. Our method optimizes the selection of informative binary features by evaluating the ability of an LLM to reconstruct the original data using those features. We demonstrate its effectiveness in dataset modeling tasks and through two case studies: (1) Constructing a feature representation of jailbreak tactics that compactly captures both the effectiveness and diversity of a larger set of human-crafted attacks; and (2) automating the discovery of features that align with human preferences, achieving accuracy and robustness comparable to human-crafted features. Moreover, we show that the pipeline scales effectively, improving as additional features are sampled, making it suitable for large and diverse datasets.

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

↑