Summary
This paper contributes to the literature on analyzing the limitations of Transformer models in compositional tasks by presenting an analysis based on computation graphs. Based on these computation graphs, some interesting new observations are made, which I believe are worth publishing.
I found the paper a great read and very interesting. I have many comments/criticisms/questions below, but I would like to clarify that these are not attempts to attack the content, and more aiming for constructive criticisms for trying to make the paper more clear and situated in the literature, as I think the work is very solid.
Some typos/comments:
- Part of this work has already been studied in the past, and I think the authors should do a better job in differentiating the new insights from previously known parts. For example, I think it'd be great to discuss the new findings given: "Making transformers solve compositional tasks" (2021), "The devil is in the detail: Simple tricks improve systematic generalization of transformers" (2021), and "Grokking: Generalization beyond Overfitting on Small Algorithmic Datasets" (2022)
- Page 2: "This substantial gap suggests that systematic problem-solving capabilities do not emerge from maximum likelihood training" -> See the Grokking paper I mentioned above, as they show that maybe systematic problem-solving abilities can improve when training beyond the overfitting threshold.
- Section 3: As discussed in "Making transformers solve..." mentioned above, even if "vanilla" Transformers really struggle to solve compositional tasks, slight modifications to the architecture show significant gains. So, when only evaluating variants of the GPT architecture, it seems like conclusions are limited to GPT-like models, and not to "Transformers" in general, as small architectural decisions can have big impact in these types of tasks. For example GPT models being decoder-only models, they employ causal attention, where as encoder-decoder models would be able to deploy bidirectional attention to the input problem, which can give very different inductive biases. Carefully clarifying the extent of the conclusions would be better.
- Section 3.1: "suggesting that systematic problem-solving capabilities do not emerge via exhaustive training on task-specific data." -> Again, I'd like to bring up the Grokking paper results, and I wonder if the authors could comment on the implications for their results here.
- Section 3.1: Although results are very interesting, I think the authors over-generalize the conclusions from experiments with one particular model pretrained in one particular way. I think it might be good to constrain conclusions of results to decoder-only-GPT-style-pretrained-Transformer models.
- Propositon 4.1: this has very little to do with Transformers, but with any method that approximates steps. And btw, this proposition applies to humans as well, as the probability that a human makes a long calculation correct decreases with the length of the calculation due to the growing probability that at least one of the steps is wrong. So, again, I think that clarifying the extent of the conclusions in the paper needs some work, whereas above I was pointing out that experiments show failure cases for GPT-style models and you are overgeneralizing to Transformers, here you are showing a limitation of sequential prediction models, and too narrowly just blaming Transformers. Moreover, I see this proposition very related to the classic error compounding in the literature of imitation learning (e.g., see "Efficient Reductions for Imitation Learning", 2010), and usual solutions, e.g. Dagger, rely on training models to recover from mistakes, mitigating the problem. It'd be great to comment on the relation if the authors see it appropriate.
Strengths
Even if the weaknesses of Transformers in compositional tasks have been studied many times in the recent past, this paper brings an interesting new perspective based on computation graphs that allows for a more finegrained analysis than previous work.
Weaknesses
Perhaps the two main weaknesses (fixable) are that (1) conclusions seem to be overgeneralizing to the whole class of Transformer models, when only one instance of them was used for evaluation, and (2) it seems that some of the most relevant pieces of work in the literature were not discussed, making it harder to see what are the new pieces of knowledge that this paper is bringing compared to what was already known. Both of them fixable with small modifications to the manuscript though.
Questions
- In Section 3.2.3: How were these errors analyzed? Was the text output of the models parsed to find the intermediate steps? Assuming many of these are in natural language, how accurately were you able to recover these intermediate steps?
- Concerning memorization/shortcuts: We humans use memorization and shortcuts all the time for performing some of these operations (e.g., we know that X times 0 is 0, no matter how many digits does X have, and hence we will skip all the computation graph, etc.). The key it seems to me is to know when these shortcuts are applicable, and when they are dangerous. Did you see any case of the former (correct application of shortcuts)? (apologies if this is explained somewhere in the paper or appendix, but I was unable to find it).
- As a curiosity, where does the "faith and fate" from the title come from, it might be a lack of familiarity with some English idioms, but I am struggling to make the connection with the paper.
Rating
7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.
Confidence
5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.
Limitations
As acknowledged by the authors in their own section, the main limitation is that experiments were conducted with just GPT models, and it's unclear if we can generalize from those, given these are all the same Transformer architecture, and pretrained in a particular way.