Interpreting Code Variable Roles via Sparse Autoencoders
October 20, 2026
This study uses a taxonomy of eleven variable roles, such as accumulation and traversal, to evaluate LLM understanding across five languages. Findings show that residual probes on model activations outperform individual SAE features in recovering these functional distinctions.
HOW THIS AFFECTS YOU
●
researcherThis provides a framework for evaluating how well models represent programmatic logic internally.