Logical Distillation of Transformer Encoders
Update NeurIPS 2026 submission vcu7CdwIWi: 14 notes
@openreview[bot] · 2026-11-24 15:57 UTC · 36206ce22759 ·
reviews/openreview/vcu7cdwiwi/notes/cdovkb0g24.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/cdovkb0g24.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "cdOVKB0g24",+ "replyTo": "eNywrzMky9",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response for Reviewer ASV4",+ "comment": "We thank the reviewer for their positive assessment of the paper. In the following we discuss some of the weaknesses highlighted by the reviewer. And our proposal to improve them. We also refer the reviewer to the global reply to AC for more details.\n\n\n**W1. Related Work**\n\nWe will definitely move the related work section to the main body. And extend it to create a broader context and intuitive background for the paper. Please also check the global reply to AC on this.\n\n**W2. Practical Relevance.** \n\nITDT distillation uses transformer encoders to get an interpretable, symbolic model for sequence classification tasks. Our method delivers the concrete benefits:\n\nFirst, **a novel formally grounded method for learning interpretable logic-based models** from transformers, on four real peptide-classification tasks we distill ESM-2-T6 into compact LTL rules with **minimal accuracy loss** (Table 1). In our experiments **ITDTs preserve 94%-100% of the transformer accuracy.** The LLM-as-expert analysis shows that the recovered rules line up with broad known biochemical priors. e.g. arginine/lysine runs for cell-penetrating peptides and cysteine motifs for toxicity (Sec. 5, Appendix B.8). This turns an opaque protein language model into hypotheses a domain expert can read and test.\n\nSecond, **safety and inspection,** because the output is a symbolic LTL formula, its decision logic can be read, audited, and manipulated with formal-methods, potentially allowing a stronger notion of transparency than post-hoc feature attributions. Such tools can also allow getting formal explanations (like prime implicant explanations) for model behavior through a logical solver. \n\n**W3. Contribution of the paper.** Our work is the first method that can distill transformer encoders into Linear Temporal Logic formulas. Note that multiple works have shown that theoretical idealizations of transformer encoders can express LTL (e.g., [1,2]). ITDTs are the first practical method that can operationalize this theory and distill a transformer into an LTL formula. \n\nAt a theoretical level, we show that ITDTs can express any LTL formula of bounded temporal depth, and develop a layer-wise algorithm that distills transformer hidden representations into temporal formulas with increasing temporal depth. \n\nEmpirically, this recovers accurate formulas from soft-attention transformers and distills ESM-2-T6 on four real protein tasks, the ablations clearly show that both transformer supervision and temporal expansion materially improve performance. \n\nWe provide a border discussion on the contribution of the paper in comparison to Mechanistic Interpretability methods in reply to Reviewer pskH17.\n\n**Reply to Minor Comments:**\n\n- We will add disjunction to improve readability. However, negation and conjunction form a functionally complete set of Boolean connectives. Therefore, omitting disjunction as a primitive does not reduce the expressive power of the LTL language defined in the paper. \n\n- We agree that this sentence was too generic. We will expand on it. Barceló et al. [1] provide the starting point for our method: they show that hard-attention transformer encoders can express LTL through a layerwise construction. Li et al. [2] narrow the architectural gap by proving that fixed-precision, strictly masked soft-attention transformers without positional encodings are exactly as expressive as a past-only fragment of LTL. Yang et al. [3] provide a complementary bridge, showing that softmax attention can simulate hard-attention computations through temperature scaling, with the required temperature depending on the attention-score gap. Thus, the connection between transformers and temporal logic is not restricted entirely to hard attention: soft-attention transformers can directly express temporal-logic fragments and, under the conditions of Yang et al., simulate hard-attention constructions. For our approach, these results support transferring the layerwise temporal-depth inductive bias derived from hard-attention theory to the practical soft-attention encoders that we distill. Our experiments on LTL benchmarks then test this transfer empirically. We will clarify this point in the paper.\n\n\n[1] Barcelo et al. Logical languages accepted by transformer encoders with hard attention. ICLR 2024.\n\n[2] Jiaoda Li and Ryan Cotterell. Characterizing the expressivity of fixed-precision transformer language models. NeurIPS 2025.\n\n[3] Andy Yang, Lena Strobl, David Chiang, and Dana Angluin. Simulating hard attention using soft attention. TACL 2026."+ },+ "createdAt": "2026-07-29T01:18:52.516Z",+ "modifiedAt": "2026-11-19T16:43:43.746Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=cdOVKB0g24",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/e1jwla4zxb.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/e1jwla4zxb.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "e1jwLA4ZxB",+ "replyTo": "Nn5RhmSNyI",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Weaknesses reported by Reviewer X2C2",+ "comment": "**W1. Gap between Lasso and Ridge regression.** \n\nThe difference reflects the experimental design. The Ridge model in Table 1 is optimized for predictive accuracy without a sparsity penalty, whereas the Lasso experiment in Table 4 explicitly studies the trade-off between accuracy and sparsity. At the regularization strength used for the interpretability analysis (α=0.005) Lasso retains only about 70–120 non-zero-coefficient rules per dataset, making the strongest rules easier to isolate and interpret. As expected, this sparsity pressure reduces accuracy on ToxinPred 3.0 and AMP Scanner V2, while matching Ridge on ACP740 and slightly exceeding it on CPP924. **Nevertheless, the Lasso model retains over 90% of the teacher’s accuracy on every dataset.** We will make this trade-off explicit and cross-reference Table 4 when presenting the interpretability analysis.\n\n**W2.The LLM-as-expert results for interpretability vary substantially by seed**\n\nWe agree that the LLM-as-expert accuracy varies noticeably across seeds. We attribute this variance to a few factors:\n- ITDTs can learn many similar or redundant temporal features. Because the learned feature pool depends on the training seed, and because Lasso can select different representatives among highly correlated features, different runs may produce different sets of top-ranked rules while retaining similar predictive accuracy. This instability in the selected rules can contribute to the observed variation in the LLM-as-expert results. \n- the rules are passed to the model as raw logical expressions rather than being optimized for readability; \n- some rules are long and complex\n\nAll of these aspects reduces the reliability of the LLM's judgment; and there is inherent non-determinism in the model API. Despite this per-seed variability, the pipeline is clearly above random chance once averaged across seeds and the same conclusion holds for the extended experiment we added in response to [Q1]. **We therefore read the LLM-as-expert results as evidence of a consistent above-chance distribution-level signal rather than a per-seed guarantee, and we will state this scope explicitly in the text.**\n\n\n\n**W3. Complexity of rules.**\n\nWe agree that the distilled LTL rules can often be complex for humans. However, we would like to highlight that these are rules in a formal language that are machine readable and can be manipulated via formal tools, an advantage not shared by comparable interpretability methods for transformers."+ },+ "createdAt": "2026-07-29T00:46:56.232Z",+ "modifiedAt": "2026-11-19T16:43:43.770Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=e1jwLA4ZxB",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/eplriklfpv.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/eplriklfpv.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "EPLRikLFPv",+ "replyTo": "SfVrnr7vLO",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Reviewer pskH's questions on working of ITDTs and differences with Mechanistic Interpretability",+ "comment": "We thank the reviewer for engaging with our work and posing constructive questions. In the following, we attempt to answer the questions and also propose a corresponding change that may aid accessibility to a wider community.\n\n**Q1. Intuitively, how does ITDT work (Sections 3 and 4), and how do they explain transformers?**\n\nWe should first highlight that ITDTs goal is to distill an interpretable and accurate surrogate model for the data from the transformer. They are not intended to explain transformer components in the same way as MI. This is also expressed in Appendix C in the lines referred by the reviewer. We will move this discussion to the main body, with additional details. We refer the reviewer to our global response to AC for additional discussions on this aspect of ITDTs. \n\n\n**Bird-eye view.** \n\nTheoretical work on transformer expressivity shows that transformers can express logical formulas in Linear Temporal Logic (LTL). We distill real-world transformers into LTL formulas.\n\n**What can LTL express?** \n\nLTL is a temporal logic language that allows expressing sequence level and position level statements for strings. LTL allows talking about Boolean compositions of temporal properties. For instance, a string level LTL statement may say “at some place in the string there is a continuous run of threonin (T) followed by a cysteine (C)”, in LTL this can be written as “Eventually (T Until C)” – where Eventually and Until are temporal operators. \n\n**How do transformers express LTL?** \n\nEach transformer layer can express an additional temporal operator. For example, one layer might represent (T Until C), while the next could build on it to express (Eventually (T Until C)). The number of nested temporal operators is called temporal depth. Thus, increasing the number of transformer layers allows the model to represent formulas with greater temporal depth. This construction has been proven in [1]. \n\n**What do we do?** \n\nWe build ITDT to follow the inductive structure of the construction in [1] via layer-by-layer distillation. \n\nAt layer 1, we begin with atomic features like T and C, and all formulas of temporal depth 1, like (T Until C), we use these features to learn a decision tree that can predict the activations of transformers after layer 1. Note that each leaf of such a decision tree expresses an LTL formula with temporal depth 1. \n\nAt layer i+1, we use the leaves of the decision tree learnt from layer i, and we create a temporal expansion of these features, which means that if two leaves of layer i express, say (A Until B), and Eventually(C), then we create new features like (A Until B) Until (Eventually(C)) – note that this strictly increases the temporal depth of features by exactly 1. We then use these features to predict the activation of the transformer for layer i+1.\n\nIn this manner, we follow the transformer in a layer-by-layer fashion, making sure our symbolic formulas track the inner activations of the transformer at each layer. \n\nThe rules distilled from the last transformer layer are then used as input to a thresholded linear regression model that is used for classification. \n\nWe thus exploit the LTL inductive bias in the transformer to obtain an end-to-end distilled model expressed in formal logical formulas. \n\n\n**Q2. How do ITDTs differ from Mechanistic Interpretability methods?**\n\nITDTs are designed to distill an accurate and interpretable model of the data from a transformer model. Their interpretability emerges from their formal representation language, i.e., Linear Temporal Logic (LTL). Their design is grounded in theoretical results on transformer expressivity, which show that transformers can express LTL. A formal representation language allows a uniform representation that can be used across tasks. It allows a quantitative control on the complexity and expressivity (e.g., temporal depth, number of Boolean connectives etc.). It can be parsed, manipulated and queried through formal method based techniques.\n\nMechanistic Interpretability (MI) are a set of methods designed to interpret transformers behavior for a given task. MI explains how a transformer implements a computation internally, by identifying neurons, attention heads, residual directions that contribute to a prediction.\n\n\n**ITDTs provide a new representation language and an algorithm to distill a transformer into this language with minimal loss in accuracy.**\nMI and ITDTs are complementary approaches. \nAn ITDT is designed to distill a predictive model for the data expressed as LTL formulas, which is interpretable by design, and can potentially be used to interpret the transformer.\nMI is designed to interpret how a transformer functions, which can often provide an interpretable surrogate model. Using both could therefore map a human/machine readable behavioral rule to the transformer circuit responsible for it.\n\n[1] Barcelo et al. Logical languages accepted by transformer encoders with hard attention. ICLR 2024."+ },+ "createdAt": "2026-07-29T02:13:04.385Z",+ "modifiedAt": "2026-11-19T16:43:43.700Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=EPLRikLFPv",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/f8rljm0agj.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/f8rljm0agj.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "F8RlJM0AGJ",+ "replyTo": "LC9xueWG5M",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer pskH",+ "content": {+ "title": "Rebuttal Acknowledgement",+ "comment": "Thank you for the comments and clarifications. Your responses explaining the utility of the method, elaboration on limitations and related work, and comparison with ProtoMech are very thorough and resonate with me. With your empirical comparison, I am surprised that the ITDT F1 is actually higher than ESM2-8M in ACP740 and ToxinPred, and I'm wondering why this is the case. Assuming this is not an error, my concerns of the paper have largely been addressed. I encourage the authors to incorporate as much of this discussion into their paper, paying specific attention to the limitations and related work sections. As such, I will raise my score to a 4. I wish the authors the best of luck!"+ },+ "createdAt": "2026-07-31T00:49:34.621Z",+ "modifiedAt": "2026-11-19T16:43:43.655Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=F8RlJM0AGJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/fiktgfu0bj.json modified
+++ b/reviews/openreview/vcu7cdwiwi/notes/fiktgfu0bj.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair 4E4m","content": {- "metareview": "Reviewers are positive about the methodology, and two lean towards acceptance. The main concerns are about presentation and scope of interpretability, not correctness.\n\nThere is some disagreement about overall clarity, with one reviewer praising it while another citing it as a key limitation for the target audience (computation-biology). \n\nI’d also like to see the authors comment on related work mentioned by pskH — admittedly very recent (2026). Even so, the comparison would be illuminating.\n\nFinally, it would help to clarify the strengths and limitations of the method, which seems to vary a lot in different contexts -- dependence on random seed, why lasso is much less accurate than ridge on some datasets, and the potentially high complexity of rules.\n\nAfter author response and reviewer discussion, there have been some concerns about presentation, but there are plans for the authors to improve discussion of related work and reviewers remain largely positi"+ "metareview": "Reviewers are positive about the methodology, and two lean towards acceptance. The main concerns are about presentation and scope of interpretability, not correctness.\n\nThere is some disagreement about overall clarity, with one reviewer praising it while another citing it as a key limitation for the target audience (computation-biology). \n\nI’d also like to see the authors comment on related work mentioned by pskH — admittedly very recent (2026). Even so, the comparison would be illuminating.\n\nFinally, it would help to clarify the strengths and limitations of the method, which seems to vary a lot in different contexts -- dependence on random seed, why lasso is much less accurate than ridge on some datasets, and the potentially high complexity of rules.\n\nAfter author response and reviewer discussion, there have been some concerns about presentation, but there are plans for the authors to improve discussion of related work and reviewers remain largely positi",+ "final_justification": "After author response and reviewer discussion, the case for acceptance is even clearer. All three lean towards acceptance, authors have discussed improvements to clarity and comparisons to recent related work, and reviewers have maintained or raised their ratings.\n\nThere is a clear consensus here."},"createdAt": "2026-07-23T11:39:39.382Z",- "modifiedAt": "2026-11-18T15:22:37.050Z",+ "modifiedAt": "2026-11-19T05:01:35.424Z","url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=FiKtGfu0bJ","license": "CC-BY-4.0"}
reviews/openreview/vcu7cdwiwi/notes/jcmcltyirj.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/jcmcltyirj.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "Jcmcltyirj",+ "replyTo": "F8RlJM0AGJ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the positive re-assessment. The constructive critique presented by the reviewer will definitely help us to improve the accessibility and reach of our work.\n\n**Why do ITDTs sometimes outperform the teacher transformers?** ITDTs can sometimes provide a better inductive bias for the underlying task, and hence generalize better on the test data than the teacher itself. This is especially evident in our results on synthetic LTL benchmarks (see Table 3 in Appendix B), where although both transformers and ITDTs are at near perfect accuracy, the ITDTs (marginally) out-perform the teacher transformer on some formulas. We will add a small discussion on this aspect of ITDTs to the experiments section."+ },+ "createdAt": "2026-07-31T14:10:00.669Z",+ "modifiedAt": "2026-11-19T16:43:43.958Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=Jcmcltyirj",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/lc9xuewg5m.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/lc9xuewg5m.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "LC9xueWG5M",+ "replyTo": "SfVrnr7vLO",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to the third question and weaknesses presented by Reviewer pskH, and empirical comparison to ProtoMech",+ "comment": "**Q3. In your experiments, how long are the sequences (or sentences) you explained? Are there practical limitations for users who want to run this algorithm for their own unique setups?**\n\nOn the LTL benchmark, traces range from 10 to 100 tokens. Protein lengths are: CPP924, 10-61 (mean 20.6); ToxinPred 3.0, 4-35 (mean 22.0); ACP740, 11-97 (mean 26.4); and AMP Scanner V2, 11-183 (mean 34.4). Thus, our experiments cover sequences of roughly 4-200 tokens.\nSequence length affects cost because every candidate formula is evaluated at every position of every training sequence. For a fixed feature pool, this cost grows linearly with the total number of tokens. The more important scalability bottleneck is temporal expansion, which is quadratic in the number of formulas expanded. This number is controlled mainly by the vocabulary size, TDT depth (hence the number of leaves) and the number of transformer layers distilled.\nThese trade-offs are explicit. Our restricted expansion already avoids the full Boolean closure and temporally expands only the current tree’s leaves, while retaining earlier formulas. Users can further reduce tree depth or restrict the set of temporal operators, trading formula richness for runtime. **The method is therefore most suitable for short or moderately long sequences over small vocabularies, such as peptides. Very long sequences and large vocabularies, particularly natural language, remain important limitations.**\n\n**W1&3. Clarity [also see reply to AC]:** \n\nWe agree that some lack of context and clarity due to limited discussion of the related work can be easily ameliorated. We will do our best to move certain proofs into the appendix and include a broader discussion of related work. We will additionally expand the first paragraph of section 4 to substantially add intuition on Algorithm 1.\n\nAt the moment, Section 2.1 is written at the level of abstraction and examples similar to other works on the intersection of LTL and transformers [1,2,3]. However, we agree with the reviewer that we can significantly improve the reach and impact of our paper with better presentation for computational biologists. To this end, we will touch on a simple example from Appendix B.8 page 21, to give a real intuition about the type of rules discovered by our method in computational biology. \n\n**W2.** We thank the reviewer for pointing out two very relevant works. \n\n- We have added a discussion regarding these works in a global reply [see reply to AC]. However, we would like to highlight our goal to distill a highly accurate interpretable predictive model for the data using a transformer. Interpreting the transformer itself is not the primary focus of our work and is exactly what differentiates us from MI methods. \n\n- We have added empirical comparison to Tsui et al. ProtoMech [4] in a [reply to AC](https://openreview.net/forum?id=vcu7CdwIWi¬eId=oIaxF5hXUA). We have also explained in the global reply to AC that Pomerants et al. [5] does not provide a surrogate model and hence is not directly comparable in the same manner.\n\n \n[1] Barcelo et al. Logical languages accepted by transformer encoders with hard attention. ICLR 2024.\n\n[2] Jiaoda Li and Ryan Cotterell. Characterizing the expressivity of fixed-precision transformer language models. NeurIPS 2025.\n\n[3] Andy Yang, Lena Strobl, David Chiang, and Dana Angluin. Simulating hard attention using soft attention. TACL 2026.\n\n[4] Tsui et al. “Protein Circuit Tracing via Cross-layer Transcoders” (2026)\n\n[5] Pomerants et al. \"Induction Meets Biology: Mechanisms of Repeat Detection in Protein Language Models\" (2026)"+ },+ "createdAt": "2026-07-29T02:02:56.526Z",+ "modifiedAt": "2026-11-19T16:43:43.712Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=LC9xueWG5M",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/oiaxf5hxua.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/oiaxf5hxua.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "oIaxF5hXUA",+ "replyTo": "weOFNMMrkq",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Empirical comparison to Tsui et al. ProtoMech (also raised by Reviewer psKH)",+ "comment": "To compare the intersection between Tsui et al. [1] and ITDTs we compare the predictive performance of the distilled models on the tasks reported in our paper, using the same ESM2-T6 transformer. Note that to ensure a fair comparison with ProtoMech we used pretrained ESM2-T6 without fine-tuning. Hence the difference between reported metrics here and in the paper. We report the results below:\n\n| Dataset | ESM2-T6 | ProtoMech F1 | ITDT F1 |\n|---|---|---|---|\n| ACP740 | 0.8103 | 0.6989 ± 0.0660 | 0.8320 ± 0.0358 |\n| AMP | 0.9012 | 0.8296 ± 0.0120 | 0.8813 ± 0.0000 |\n| CPP924 | 0.9109 | 0.8721 ± 0.0343 | 0.9082 ± 0.0137 |\n| ToxinPred | 0.8515 | 0.7519 ± 0.0150 | 0.8524 ± 0.0015 |\n\n\n\nInterpretation: **ITDTs consistently outperform ProtoMech on predictive performance.** \nITDTs’ primary optimization goal is to be accurate on the dataset. Their interpretability emerges from using Linear Temporal Logic as a representation language. ProtoMech on the other hand is designed to interpret various components of ESM-2 and mapping them to biological functions. \n\n[1] Tsui et al. “Protein Circuit Tracing via Cross-layer Transcoders” (2026)"+ },+ "createdAt": "2026-07-29T12:42:08.163Z",+ "modifiedAt": "2026-11-19T16:43:43.670Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=oIaxF5hXUA",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/p5vxc1wqzs.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/p5vxc1wqzs.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "P5VXc1wqZs",+ "replyTo": "cdOVKB0g24",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Clarification of Scope and Relevance",+ "comment": "We thank the reviewer for acknowledging our rebuttal. \n\n*Scope.* ITDT distillation is best suited to discriminative sequence tasks over a small, fixed vocabulary and short-to-medium sequence lengths (our experiments use traces/sequences up to 183 tokens). This is because the feature pool grows quadratically with temporal expansion (Sec. 6, Limitations), so large vocabulary domains like natural language are currently out of scope. \n\n*Where it does apply, and why that's not a narrow niche.* Within this scope, the applicable task family is large: any discriminative task over a constrained alphabet, **e.g., peptide/protein function prediction, DNA/RNA motif classification, and other biological sequence tasks, as well as non-biological discrete-token settings such as symbolic time-series or event-log classification.** We chose peptide function prediction as our testbed because it is one of the primary real-world applications of transformer encoders in computational biology and is not a toy setting: **Our datasets span distinct biological functions and mechanisms, use a recent and widely adopted protein language model (ESM-2 [1]). They are all standard benchmarks in the peptide-prediction literature.**\n\n*What ITDT adds in this regime.* Across these four tasks, ITDT matches ESM-2 within 0-5% accuracy while replacing the model with a symbolic LTL formula, so a domain expert can read, audit, and query the decision rule directly, rather than relying on post-hoc attribution. **Our [empirical comparison to ProtoMech [2] (see global reply to AC)](https://openreview.net/forum?id=vcu7CdwIWi¬eId=oIaxF5hXUA) clearly shows the predictive competitiveness of our approach. And our LLM-as-an-expert analysis shows that the extracted rules can reflect known biological priors (see extracted rules in Appendix B.8).**\n\n[1] Evolutionary-scale prediction of atomic-level protein structure with a language model. **Science, 2023.** \n\n[2] Tsui et al. “Protein Circuit Tracing via Cross-layer Transcoders”. **ICML 2026.**"+ },+ "createdAt": "2026-08-03T10:54:48.577Z",+ "modifiedAt": "2026-11-19T16:43:43.558Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=P5VXc1wqZs",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/txgh19xqfk.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/txgh19xqfk.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "tXGH19XQFk",+ "replyTo": "YzjcikoEdd",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the reviewer for the response and identifying some very important aspects of our results that should be discussed in the paper. \n\nWe agree that the top-k strategy of reporting the results can be suboptimal, as it can hide the predictive contribution of the rules on the lower end of the top-k. We will also report accuracy broken down by disjoint rank bins (e.g., 1-10, 11-20, 21-30) along with top-30 aggregate to better reflect this aspect.\n\nWe will include the trade off between the lasso and ridge experiment in the paper: The ITDT obtained via both lasso and ridge are formally expressed in LTL(C,+). However, in lasso experiments we are pushing the sparsity-accuracy trade-off in order to obtain a smaller, uncorrelated set of rules.\n\nWe will also clearly explain the per-seed variability of the LLM-as-expert experiment in the main body."+ },+ "createdAt": "2026-08-02T14:04:15.656Z",+ "modifiedAt": "2026-11-19T16:43:43.576Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=tXGH19XQFk",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/weofnmmrkq.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/weofnmmrkq.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "weOFNMMrkq",+ "replyTo": "FiKtGfu0bJ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "A global reply to AC and all reviewers",+ "comment": "We thank all the reviewers and AC for their constructive feedback. In the following we address some of the meta-points raised by the AC and other reviewers. \n\n### Strategy for addressing clarity\n\nOur main idea is to move Related work (extended with more methodological context) to the main body and to use a biology based learned rule (from Appendix B.8) in the main body as a running example. \n\n– We will move related work to the main body with a border and intuitive discussion of how theoretical results on transformer expressivity guide our work, and how MI methods are complementary to our work. We will also add a discussion regarding the works highlighted by Reviewer pskH. \n\n– We will make our running example more biology inspired and directly aligned with one of the learned rules in Appendix B.8. Many of the learned rules are easier than our running example, and will probably aid intuition for computational biologists.\n\n\n### Comparison to mechanistic interpretability (MI) based methods referred by Reviewer pskH\n\nWhile MI methods and ITDTs can be used in similar settings, they generally are complementary methods. **ITDTs are designed to distill an accurate and interpretable model of the data from a transformer model. While MI methods generally aim to interpret and explain the transformer model itself.** This holds also for the two works referred by reviewer PSKH:\n\n– Tsui et al. [1] work sits at a specific intersection: they find sparse circuits in the transformer models and use them to produce a surrogate model that holds 82%–89% of the original performance. **Tsui et al. [1] then use domain knowledge to annotate the found circuits revealing biological insights.** While this is similar in spirit to ITDTs, the model produced by ITDTs presents different advantages. **ITDTs only need the semantic interpretation of the vocabulary and the compositional semantics are expressed through temporal operators and Boolean connectives.** Furthermore, ITDTs retain 94%-100% accuracy of the teacher model across datasets, albeit on a different task.\n\n– **Pomerants et al. [2] work instead lies in the MI axis and does not learn/provide any distilled model,** and they infer mechanisms ESM uses for a task they know apriori. While this provides important insights into the internal functioning of ESM, it is fundamentally different from the goal of our paper.\n\nFinally, MI approaches and ITDTs can potentially be used in tandem, for example circuit discovery can be used to find relevant circuits in the teacher model and ITDTs can be used for distillation restricted to the found circuits. \n\n\n \n\n### Strength of ITDTs\n\n**ITDTs are designed to distill an accurate and interpretable model of the data from a transformer model.** Their interpretability emerges from their formal representation language, i.e., Linear Temporal Logic (LTL). **Their design is grounded in theoretical results on transformer expressivity, which show that transformers can express LTL [3,4].** A formal representation language allows a **uniform representation that can be used across tasks.** It allows **a quantitative control on the complexity and expressivity** (e.g., temporal depth, number of Boolean connectives etc.). It can be **parsed, manipulated and queried through formal method** based techniques.\n\n \n\n### Limitations of ITDTs\n\n- Although **ITDTs consistently distill an accurate model from transformers**, they can often end up with long rules with many connectives (also see answer to Q2 of reviewer X2c2). This is often due to redundancy emerging from same or very similar formulas across leaves. This limitation can be potentially addressed using formal methods based techniques for compactifying formulas to a reduced form.\n- Redundant and highly correlated temporal features can cause different seeds, especially under Lasso, to select different but similarly predictive rules, contributing to variability in the LLM-as-expert results. See reply to W2 for Reviewer X2C2.\n\n- The apparent Ridge and Lasso trade-off is due to the experimental design. The Ridge regression experiment is optimized for accuracy. While the Lasso experiment is designed to choose the best trade-off between accuracy and sparsity. **Despite the stronger sparsity pressure, Lasso retains at least 90% of the teacher’s accuracy on every dataset.**\n\n[1] Tsui et al. “Protein Circuit Tracing via Cross-layer Transcoders” (2026)\n\n[2] Pomerants et al. \"Induction Meets Biology: Mechanisms of Repeat Detection in Protein Language Models\" (2026)\n\n[3] Barcelo et al. Logical languages accepted by transformer encoders with hard attention. ICLR 2024.\n\n[4] Jiaoda Li and Ryan Cotterell. Characterizing the expressivity of fixed-precision transformer language models. NeurIPS 2025."+ },+ "createdAt": "2026-07-29T02:18:14.072Z",+ "modifiedAt": "2026-11-19T16:43:43.660Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=weOFNMMrkq",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/yy45qitlni.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/yy45qitlni.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "YY45qITlnI",+ "replyTo": "Nn5RhmSNyI",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "title": "Response to Questions raised by Reviewer X2C2",+ "comment": "We thank the reviewer for their careful and constructive review.\n\n**Q1. LLM-as-an-expert results for top 30 rules.**\n\nYes, the LLM- as-expert pipeline prompts an LLM to predict the sign of the rule coefficients. In order to inspect how interpretability varies by looking at less extreme coefficients, we ran an additional experiment using the top 10, top 20 and top 30 rules. Note that the number of non-zero-coefficient rules are roughly 70-120 per dataset, the top 30 rules cover between 25% and 43% of all the active rules. \n\n\n| Dataset | Top 10 Accuracy | Top 20 Accuracy | Top 30 Accuracy |\n| --- | --- | --- | --- |\n| ACP740 | 0.62 | 0.68 | 0.62 |\n| TOXINPRED | 0.76 | 0.68 | 0.61 |\n| CPP924 | 0.73 | 0.80 | 0.81 |\n| AMP Scanner V2 | 0.93 | 0.90 | 0.84 |\n\nIn the table, top-$k$ accuracy indicates the accuracy of LLM-as-an-expert in indicating the sign of the rule's coefficient. Across every subset the pipeline stays above random chance, and the less-extreme rules remain interpretable to LLM-as-an-expert.\n\n**Q2 A. The rules in the appendix are almost exactly the raw outputs of the model.** \n\nWe do very minimal post-processing of the rules. This post-processing only involves syntactical renaming. We report one such complex formula in the following to give an idea:\n\n- Reported in Appendix: $F$(Count(C) $<$ 4 $\\wedge$ (($\\neg$K) $\\wedge$ \n ($\\neg$P) $\\wedge$ ($\\neg$G)) $U$ E)\n\n- Raw output: Max( (C_sum <= 3.500) AND (K <= 0.5 AND P <= 0.5 AND G <= 0.5) U E)\n\n\n**Q2 B. The complexity of rules besides temporal depth.** \n\nThe complexity of ITDT rules is bounded by two tunable quantities: the number of layers and the depth of the TDT trees. The number of layers bounds the maximum temporal depth of any formula, since each layer adds exactly one unit of temporal depth; the TDT depth bounds the number of Boolean conjunctions of subformulas a formula can contain. **Maximum rule complexity is therefore a knob the user controls, trading off the richness of the formulas against their readability.**\nTo give a more concrete sense of readability, the table below shows the distribution of the number of Boolean connectives across rules for a randomly chosen seed of the CPP924 experiment with Lasso regression. \n\n| Connectives | # formulas | Percentage |\n| --- | --- | --- |\n| None | 25 | 26.6% |\n| 1-10 | 17 | 18.1% |\n| 11-20 | 0 | 0.0% |\n| 21-30 | 2 | 2.1% |\n| 31-40 | 0 | 0.0% |\n| 41-50 | 17 | 18.1% |\n| 51-60 | 4 | 4.3% |\n| 61-70 | 0 | 0.0% |\n| 71-80 | 0 | 0.0% |\n| 81-90 | 0 | 0.0% |\n| 91-100 | 3 | 3.2% |\n| 101-150 | 0 | 0.0% |\n| >150 | 26 | 27.7% |\n| **Total** | **94** | **100%** |\n\n\nTwo patterns stand out. A large share of rules (roughly 45%) sit at the low-complexity end, with ten or fewer connectives, and are directly readable. The number of connectives is closely tied to the layer a rule originates from, so the readable rules are predominantly the shallower ones. The remaining rules, concentrated in the long tail, carry many connectives. This is not intrinsic to the formulas: our extraction pipeline is not optimized for readability, and rules from deeper layers accumulate substantial redundancy, for instance, multiple leaves reuse the same subformula. A dedicated simplification pass would compress these considerably, and we see it as a natural next step for improving the readability of deep-layer rules. \n\n*Minor Q1: Last layer gets a different feature set.* \n\nThe last layer of a transformer tends to over-compress the learning signal, which leads to suboptimal distillation of this layer. We attribute this behavior to over-compression in the final layer as studied by Skean et al. [1]. We wanted to skip the supervision from the last layer, without losing expressivity. Hence, in the last layer k we directly create an additional (restricted) temporal expansion of all the features available from layer k-1, and directly use them to create a union of all (learned) features, with temporal depth up to k. This union is directly used as features, instead of using leaves of a learned tree for the last layer. \n\n[1] Oscar Skean, Md Rifat Arefin, Dan Zhao, Niket Nikul Patel, Jalal Naghiyev, Yann LeCun, and Ravid Shwartz-Ziv. Layer by layer: Uncovering hidden representations in language models. ICML 2025. \n\n *Minor Q2. Expressivity of restricted temporal expansion.* **Restricted temporal expansion remains expressively complete for LTL, but it does not preserve the depth-to-layer correspondence of Theorem 3**: a formula of temporal depth $k$ may require more than $k$ restricted ITDT layers. We will add this remark with a detailed discussion and example in the appendix."+ },+ "createdAt": "2026-07-29T01:06:32.318Z",+ "modifiedAt": "2026-11-19T16:43:43.960Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=YY45qITlnI",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/yzjcikoedd.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/yzjcikoedd.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "YzjcikoEdd",+ "replyTo": "Nn5RhmSNyI",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer X2C2",+ "content": {+ "comment": "I appreciate the thorough reply, and I remain in favour of accepting the work.\n\nFor the lasso/ridge experiment, I appreciate the response, and would encourage the authors to also mention this tradeoff when presenting table 1. It seems to be important context that the results on accuracy show the potential of TDTs in a setting that is less interpretable than the setting analyzed for interpretability, and this seems a relevant limitation. Your point about retaining 90% accuracy is a good one; my concern is primarily about presenting results completely and clearly to readers, since it is a nontrivial drop for these two datasets.\n\n> We therefore read the LLM-as-expert results as evidence of a consistent above-chance distribution-level signal rather than a per-seed guarantee, and we will state this scope explicitly in the text.\n\nThank you, I think stating this scope would be a good addition.\n\n> Across every subset the pipeline stays above random chance, and the less-extreme rules remain interpretable to LLM-as-an-expert.\n\nWhile I agree with the authors that Q1 is largely positive evidence, I should note for thoroughness that the top 30 method of reporting may be obfuscating some poor performance on specifically the 21-30 range. If I am not making a silly math mistake then the performance on ranks 21-30 for ACP is 50% (exactly random guessing), and on Toxin it is 47%. The other numbers are all more reasonable, and in general the pipeline is above random chance.\n\nThese concerns are, as noted in the AC's meta review, just around presentation/scope of interpretability rather than correctness, and I think they can reasonably be considered minor but worth noting clearly. I would be interested in further improvements to the interpretability of the work in future, and appreciated the point that the rules map to a formal language, even in cases where they are somewhat more complex (edit: and having just seen the reply to the meta review, I agree with the point about the potential of this work's combination with \"formal methods based techniques for compactifying formulas to a reduced form\")."+ },+ "createdAt": "2026-07-31T21:54:57.352Z",+ "modifiedAt": "2026-11-19T16:43:43.581Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=YzjcikoEdd",+ "license": "CC-BY-4.0"+}
reviews/openreview/vcu7cdwiwi/notes/zvgxnabqhi.json added
+++ b/reviews/openreview/vcu7cdwiwi/notes/zvgxnabqhi.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "ZvgxNABqHi",+ "replyTo": "cdOVKB0g24",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer ASV4",+ "content": {+ "comment": "I thank the authors for the reply. I'm happy to hear that they are going to move the related work section to the main body of the paper. However, this is a significant point and it is difficult to assess this change without having the possibility to re-read the updated version of the paper. This is the main reason why I'll keep my current score. \n\nConcerning the \"practical impact of the usage of the proposed methodology in many transformers' tasks\" (w2), I understand the answer of the authors is (very roughly) our method is accurate and inspectable. But still it's not clear to me in which transformers' tasks (and also if in a significant or negligible amount of tasks) the approach would turn out to be useful and usable."+ },+ "createdAt": "2026-08-02T23:21:19.115Z",+ "modifiedAt": "2026-11-19T16:43:43.569Z",+ "url": "https://openreview.net/forum?id=vcu7CdwIWi¬eId=ZvgxNABqHi",+ "license": "CC-BY-4.0"+}