Saved in:
Bibliographic Details
Main Authors: Bravansky, Michal, Kubon, Vaclav, Hariharan, Suhas, Kirk, Robert
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.17541
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918037910716416
author Bravansky, Michal
Kubon, Vaclav
Hariharan, Suhas
Kirk, Robert
author_facet Bravansky, Michal
Kubon, Vaclav
Hariharan, Suhas
Kirk, Robert
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2502_17541
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dataset Featurization: Uncovering Natural Language Features through Unsupervised Data Reconstruction
Bravansky, Michal
Kubon, Vaclav
Hariharan, Suhas
Kirk, Robert
Artificial Intelligence
Computation and Language
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.
title Dataset Featurization: Uncovering Natural Language Features through Unsupervised Data Reconstruction
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2502.17541