Papers › Discovering the Compositional Structure of Vector Representations with Role Learning Networks

Discovering the Compositional Structure of Vector Representations with Role Learning Networks

21 Oct 2019EMNLP (BlackboxNLP) 2020 11arXiv:1910.09113archive 2025-07-28

Paul Soulos, Tom McCoy, Tal Linzen, Paul Smolensky

How can neural networks perform so well on compositional tasks even though they lack explicit compositional representations? We use a novel analysis technique called ROLE to show that recurrent neural networks perform well on such tasks by converging to solutions which implicitly represent symbolic structure. This method uncovers a symbolic structure which, when properly embedded in vector space, closely approximates the encodings of a standard seq2seq network trained to perform the compositional SCAN task. We verify the causal importance of the discovered symbolic structure by showing that, when we systematically manipulate hidden embeddings based on this symbolic structure, the model's output is changed in the way predicted by our analysis.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

iclr2020-anonymous1/role-learner officialmentioned in paperpytorch report
psoulos/role-decomposition officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Sentence Embedding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

GRULSTMSeq2SeqSigmoid ActivationTanh Activation

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections