English

Automated Feature Labeling with Token-Space Gradient Descent

Machine Learning 2025-04-02 v1

Abstract

We present a novel approach to feature labeling using gradient descent in token-space. While existing methods typically use language models to generate hypotheses about feature meanings, our method directly optimizes label representations by using a language model as a discriminator to predict feature activations. We formulate this as a multi-objective optimization problem in token-space, balancing prediction accuracy, entropy minimization, and linguistic naturalness. Our proof-of-concept experiments demonstrate successful convergence to interpretable single-token labels across diverse domains, including features for detecting animals, mammals, Chinese text, and numbers. Although our current implementation is constrained to single-token labels and relatively simple features, the results suggest that token-space gradient descent could become a valuable addition to the interpretability researcher's toolkit.

Keywords

Cite

@article{arxiv.2504.00754,
  title  = {Automated Feature Labeling with Token-Space Gradient Descent},
  author = {Julian Schulz and Seamus Fallows},
  journal= {arXiv preprint arXiv:2504.00754},
  year   = {2025}
}

Comments

10 pages, 4 figures, Building Trust Workshop ICLR 2025

R2 v1 2026-06-28T22:42:21.584Z