Summary
This paper proposes a new Transformer-like architecture which is is inspired by modern Hopfield networks, and falls into the category of energy-based models. The authors argue that the existence of an energy function leads to several advantages such as more principled design and theoretical interpretation. The energy transformer (ET) they design a recurrent network similar to a deep transformer architecture with shared weights, however with the additional property that the recurrent dynamics is shown to minimize an energy function, and can be seen as an instance of a Hopfield network. The authors evaluate the performance of the architecture on image completion (qualitative), graph anomaly detection and graph classification tasks, demonstrating strong and competitive performance.
Please note that due to receiving 6 papers to review from NeurIPS alone, I have allocated a time budget of 4h per paper, and my review is based on that. In particular I did not study the appendix in great depth. I regret this situation and apologize for possible inaccuracies.
Strengths
- Clear presentation
- The combination of attention mechanism and Hopfield networks makes this architecture interesting for theoreticians.
- Strong evaluation results on the graph anomaly detection and graph classification tasks.
Weaknesses
- Insufficient discussion of limitations.
- Evaluation on the masked image completion task is not quantitative, and not compared to related architectures/baselines such as ViT.
Questions
- In lines 148-152, the functional similarity between the HN sub-block and a MLP seems plausible but was not fully clear to me. Could this discussion be made more explicit in terms of equations?
- The two descriptions of the difference to previous modern Hopfield networks in lines 172-175 and lines 183-184 did not seem consistent to me: The first states that the difference is that the keys and queries are dynamical variables, while the second states the main difference is the additional symmetrizing term in the attention mechanism.
- in line 192, the text states "e.g. by replacing them with a learnable MASK token". The "e.g." makes it unclear in how far this is a generic example, and what was actually done in the experiment.
- In the architecture used in sect. 4, the main text does not explain how the adjacency structure of the graph enters the model. From the appendix I understand that the attention operation is constrained to the 1-step environment of the node. Maybe this would be good to discuss in the main text.
- In general, the ET block can be understood as a deep transformer model, however with shared weights instead of independent weights in each layer. What limitations does this imply on the type of tasks which are well suitable for the ET architecture? Is the stacked model of used in sect. 5 a result of the need to overcome the shared weight limitation?
Rating
8: Strong Accept: Technically strong paper, with novel ideas, excellent impact on at least one area, or high-to-excellent impact on multiple areas, with excellent evaluation, resources, and reproducibility, and no unaddressed ethical considerations.
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.
Limitations
While some weaknesses in the empirical performance are pointed out, e.g. lines 200-203, there is no broader discussion of technical and theoretical limitations.