Thanks for the helpful comments and thoughtful feedback (and large time commitment). We sincerely appreciate your critique and address your concerns below.
> Manual circuits are not fully explained (definition, how they are computed, cost of computation, etc.) - manual circuits are used as reference during evaluation (line 405), and it is necessary to provide these details regarding them.
Sorry for the confusion! Details of the evaluated manual circuits were actually included in Appendix A. During this revision, we have additionally put in sentences in the main text to explain the manual circuits (line 58-59, line 119-121). To answer your question in full, the “manual” circuits we evaluated precede the existence of any “automated” circuit discovery algorithm, and the term “manual circuits” reflects that a substantial amount of direct human effort went into isolating the circuits that the papers [1-3] produce.
All of our “manual circuits” baselines are found by either manually examining the attention patterns of different attention heads or conducting ad-hoc task-specific analyses to decide the connectivity of a circuit. As such, there is no clear notion of runtime.
Unlike the focus of our paper, optimizing for a more efficient algorithm to obtain a circuit, those papers tried to answer different questions, through manual efforts, 1. Whether it is possible to find a circuit to explain a model’s behavior performing a given task and 2. Interpreting each attention heads’ functionality in the circuit.
> It is unclear how CD-T works for inference - is there a distinct circuit discovered for each inference datapoint, or is the circuit found on a broader scale, so as to tradeoff size vs. performance for a larger test set?
Apologies! In all the three dataset we evaluated [1-3], the authors define a narrow task, and then construct a dataset where the correct behavior is clearly known to elicit the circuit needed to “perform the task”. As such, our method naturally can be performed on a single inference datapoint, but to answer the question of “what circuit performs the task in general”, it is better to perform it on the mean activations over 10-100 example points to reduce variance in the result. Details on how to handle sequence position information to align different examples are found in [1]. In our experiments, to be comparable, we used the same example counts as prior work [1-3] to obtain the circuits, and the exact numbers were included in Appendix A. Section 3.3.1 (line 282-285) has also been adjusted to make this clearer.
> The authors are encouraged to discuss the practical utility of CD-T. Once their method yields a circuit, could additional analyses, such as on attention heads, be conducted? For instance, are there heads that consistently produce positive or negative outputs across all data points, or do the importance of attention heads vary based on input data characteristics?
Thank you for the suggestion! Some of the papers we use as our baselines have performed much of this interpretation analysis [1-3] to characterize functionality of attention head groups in a circuit. Since we are attempting to evaluate the same model on the same task, the question of whether specific nodes help or hurt task performance will necessarily be the same. Instead, our paper’s focus is on efficiently finding the circuit which emulates the original model’s performance, at which point known techniques can be used to interpret the found circuits. Section 3.3.1 (line 286-288) has been updated to make the nature of our contribution clearer.
> What transformer architecture is used for the experimental results?
Sorry for the confusion! This information was actually included in Appendix A in our submission. We test our algorithm on GPT-2-small for the IOI and Greater-than tasks, and on a 4-layer attention-only transformer for the Docstring task. These choices of models are the same as what were used in their original papers [1-3] to be comparable. Section 3.3.1 (line 285-286) has also been adjusted to clarify.
> Line 20: "CD-T is the first ---?" there seems to be a missing word here
Thank you for pointing out! This sentence has now been fixed.
Reference:
[1] Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small. Wang et al. 2023.
[2] How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model. Hanna et al. 2023.
[3] A circuit for Python docstrings in a 4-layer attention-only transformer. Haimersheim & Janiak. 2023.