r/MachineLearning • • 8h ago

Research Which token logits rise or fall after a small parameter change? Testing DV-Lens [R]

I'm a co-author of DV-Lens. We wanted to test a prediction you can make from a weight matrix: if you perturb a particular parameter direction, which tokens should become more likely on the next step?

We estimate how the output logits respond to changes in each attention or feed-forward module on a reference set of prompts. That gives each parameter column a signed score for every token. We then apply a small perturbation and compare the predicted signs with the changes we actually measure.

Across 720 test cases from nine models, the signs agreed on 98.0% of vocabulary coordinates on average. Predicting the exact top movers was harder. For attention keys, for example, only about 21% of the tokens in the predicted top and bottom 32 also appeared in the corresponding measured sets. I'd be interested in how other people evaluate lenses when the sign is right but the ranking shifts.

Paper and per-module results, Table 2

3 Upvotes

0 comments sorted by