RNNs Implicitly Implement Tensor Product Representations
R. Thomas McCoy, Tal Linzen, Ewan Dunbar, Paul Smolensky

TL;DR
This paper investigates whether RNNs implicitly learn tensor product representations for symbolic structures, introducing TPDNs to interpret their learned vector representations and revealing differences between synthetic and natural language models.
Contribution
The paper introduces Tensor Product Decomposition Networks (TPDNs) as a new method to interpret RNN representations and demonstrates their effectiveness on synthetic data, highlighting limitations on natural language tasks.
Findings
RNNs trained on synthetic data encode interpretable compositional structures.
Representations of models trained on natural sentences are largely approximated by a bag of words.
TPDNs are effective for interpreting vector representations in neural networks.
Abstract
Recurrent neural networks (RNNs) can learn continuous vector representations of symbolic structures such as sequences and sentences; these representations often exhibit linear regularities (analogies). Such regularities motivate our hypothesis that RNNs that show such regularities implicitly compile symbolic structures into tensor product representations (TPRs; Smolensky, 1990), which additively combine tensor products of vectors representing roles (e.g., sequence positions) and vectors representing fillers (e.g., particular words). To test this hypothesis, we introduce Tensor Product Decomposition Networks (TPDNs), which use TPRs to approximate existing vector representations. We demonstrate using synthetic data that TPDNs can successfully approximate linear and tree-based RNN autoencoder representations, suggesting that these representations exhibit interpretable compositional…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Text Readability and Simplification
MethodsSolana Customer Service Number +1-833-534-1729
