Summary
The authors propose the Discrete Dictionary-based Decomposition method, a discrete representation learning for TPRs. It encodes the roles and unbinding queries (and potentially also the fillers) using a learned dictionary, which serves as a codebook. The roles and then unbindings share the codebook, encouraging correct, noise-free retrieval. The layer is a drop-in replacement for any TPR-based layer. The authors demonstrate strong performance on tasks requiring systematic generalization, matching, or outperforming AID without using an iterative attention mechanism.
Strengths
The authors present an interesting, novel, discrete representation of learning. Learning such representations is notoriously difficult. Their method is the only one that can solve the systematic split on the SAR task. The evaluation is solid. The authors have analyzed the learned roles and unbinding operators and showed that they are learning orthogonal representations without explicit regularization.
Weaknesses
Given that there is a residual connection around the codebook, it is unclear what component of the roles and unbindings are generated by the codebook and which part of them comes from the residual. It would be nice to see ablations on the model without residual. If the model is not able to learn without it, an alternative is to replace the output of the residual by their mean over the dataset and see the effect on the performance.
Additionally, I would like to see analysis like Figures 3 and 4, but for the baselines without D3. Currently, in 282, the authors claim "indicating the effectiveness of D3", but it is unclear how orthogonal representations are the baselines' representations.
I believe that this additional analysis could deepen the understanding of why and how D3 works and significantly strengthen the paper.
Questions
In line 115, the authors write: "This distinctive characteristic allows D3 to leverage the learned symbolic features to decompose unseen data after training.". Could the authors provide an additional explanation for why discretization aids the decomposition of unseen data, as opposed to denoising the representations?
On Fig 5 (b), the authors show an ablation over the number of keys in the codebook. Even with the smallest key size, the model works well. I would like to see a similar plot going down in the number of keys as long as the performance doesn't suffer significantly or the number of keys doesn't reach 1. This would help to understand better the effect of the codebook.
Calling WikiText 103 a large-scale language modeling dataset in 2024 is a stretch. Please just call it "language modeling" dataset.
Limitations
The authors discuss the limitations of their method in the paper. As an additional limitation, as with all TPR papers, it is unclear how the improved generalization on toy tasks would transfer to real-world scenarios, like improving the generalization of LLMs. However, this should not be a reason to downvalue a contribution of the paper, given that it aims to improve an important shortcoming with a novel idea.