HARP: Training-Free Interpretability for Neural Networks with Retrieval.

Sriram Balasubramanian, Soheil Feizi· July 21, 2026 View original

Summary

This paper introduces HARP, a training-free interpretability method that uses an LLM agent equipped with a vector database of activations and manipulation tools. HARP outperforms training-based methods in concept discovery and model steering, demonstrating that retrieval alone can yield deep insights.

Interpreting the internal workings of neural networks typically involves methods ranging from simple, training-free techniques like linear probes to more complex, training-intensive approaches such as SAEs (Sparse Autoencoders) and activation oracles. Training-based methods are often considered more powerful due to their reliance on large activation datasets. This raises a fundamental question: do these expensive methods truly uncover insights that are not already present or recoverable from the training data itself? To investigate this, researchers developed HARP (Hypothesis-driven Agentic Retrieval and Probing). HARP equips a large language model (LLM) agent with a vector database containing neural network activations paired with their textual contexts. The agent also has tools to manipulate these activations, such as projecting out directions, computing differences, and averaging. The HARP agent iteratively queries the database, formulates hypotheses from the retrieved samples, and then validates these hypotheses by constructing linear probes. Remarkably, despite being entirely training-free, HARP surpassed both activation oracles and SAE-based agents in several key interpretability tasks, including concept discovery, concept detection, model steering, and secret elicitation. Its training-free nature also makes HARP significantly more cost-effective and flexible, allowing new datasets to be indexed on demand. These findings suggest that current training-based interpretability methods may not yet extract insights beyond their training data, prompting a need for new benchmarks that explicitly demand such deeper insights.

Why it matters

For AI researchers and engineers, HARP offers a more efficient and flexible approach to model interpretability, potentially reducing computational costs and accelerating the understanding of complex neural network behaviors without extensive retraining.

How to implement this in your domain

  1. 1Explore integrating HARP or similar retrieval-based interpretability techniques into your AI model analysis workflows.
  2. 2Develop vector databases of activations and their contexts for your models to enable training-free interpretability.
  3. 3Utilize LLM agents with tool-use capabilities to automate hypothesis generation and validation for model understanding.
  4. 4Consider the implications of training-free interpretability for reducing computational overhead in AI development and deployment.

Who benefits

AI/ML ResearchSoftware DevelopmentCybersecurityHealthcareFinance

Key takeaways

  • HARP is a training-free method for neural network interpretability using an LLM agent and activation database.
  • It outperforms training-based methods in concept discovery, detection, model steering, and secret elicitation.
  • The approach is significantly cheaper and more flexible, allowing on-demand indexing of new data.
  • Current training-based interpretability methods may not extract insights beyond their training data.

Original post by Sriram Balasubramanian, Soheil Feizi

"arXiv:2607.16448v1 Announce Type: new Abstract: Interpretability methods for neural network activations span a wide cost spectrum, from cheap, training-free techniques (such as linear probes, PCA, SVD) to more expensive training-based ones (such as SAEs and activation oracles). T…"

View on X

Originally posted by Sriram Balasubramanian, Soheil Feizi on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses