Reproduce “Scaling Laws for Adversarial Attacks on Language Model Activations” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Stanislav Fort

The authors test whether perturbing a language model’s internal activations can steer its next-token predictions toward a chosen continuation. They optimize perturbations at input positions and measure target-token accuracy across models from 33M to 2.8B parameters. Results show a linear scaling with effective activation control; Pythia estimates require 15–25 input-control bits per output bit, unlike Phi-1’s 49.0 ± 2.6.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.