Abstract
Semantic Role Labeling (SRL) identifies the predicate-argument structure of sentences, traditionally relying on complex syntactic parsers. While recent syntax-agnostic models have simplified the task by treating it as sequence labeling, they often lack the structural cues provided by explicit syntax. We propose the Associated Memory Network (AMN), which enhances a base SRL model by retrieving and integrating labels from similar sentences in the training data. Our approach achieves state-of-the-art results for syntax-agnostic SRL on the CoNLL-2009 benchmark, showing significant improvements in out-of-domain generalization and robustness.
Introduction
Semantic Role Labeling (SRL) is a fundamental task in natural language processing aimed at determining "who did what to whom" in a sentence. High-performing SRL models have historically depended on syntactic parse trees. However, the field has shifted toward "syntax-agnostic" models that avoid the overhead and potential error propagation of separate parsers.
The challenge for these models is capturing the structural relationships that syntax trees typically provide. We hypothesize that the training data itself is an untapped resource containing latent structural patterns. By giving models an "associative memory" capability—allowing them to refer back to how similar sentences were labeled during training—we can bridge the gap between syntax-agnostic and syntax-aware performance.
Methods
The proposed Associated Memory Network (AMN) functions as an enhancement to a standard BiLSTM-based SRL model. The process involves three main stages:
- Associated Sentence Selection: For a target sentence, the model searches the training set for the $m$ most similar sentences. The authors found that Edit Distance (ED) of POS tags served as an effective metric for structural similarity.
- Inter-sentence Attention: The target sentence and retrieved "memory" sentences are passed through a BiLSTM. The model calculates an attention matrix between target words and memory words to find contextual alignments.
- Label Merging: Known labels from the memory sentences are merged based on attention weights to create a specialized "attention embedding." This embedding is concatenated with original word features (e.g., GloVe, ELMo) and fed into a final BiLSTM layer.
Experimental Results
The model was evaluated on the CoNLL-2009 benchmark datasets for English (WSJ and Brown corpora) and Chinese. The AMN model achieved state-of-the-art (SOTA) results for syntax-agnostic, single-model settings:
- English (WSJ): Reached 89.6 F1, matching previous SOTA and outperforming several syntax-aware ensemble models.
- English (Brown): Achieved 79.7 F1, a 0.7% improvement over the previous best syntax-agnostic model, demonstrating superior generalization to out-of-domain data.
- Chinese: Achieved 83.8 F1, a significant 2.0% improvement over the previous syntax-agnostic baseline.
Ablation studies confirmed that the AMN provides a consistent boost even when powerful pre-trained models like ELMo are utilized. Furthermore, the model's performance is stable across different memory sizes ($m$), as shown in the sensitivity analysis.
Discussion and Insights
The AMN effectively acts as a proxy for syntax. By "remembering" core argument structures (such as A0 and A1) from similar training examples, the model captures structural patterns that a syntax tree would normally provide.
One surprising finding was that even selecting sentences at random from the training set improved performance over the baseline. This suggests that because most sentences share core semantic roles, even a random "memory" provides a useful prior for the model. However, the strongest gains were observed in out-of-domain scenarios, where the associative memory helps the model stay robust when the vocabulary or style of the text changes significantly from the training distribution.
Conclusion
The Associated Memory Network provides a powerful, syntax-agnostic way to improve SRL by leveraging the training corpus as an explicit memory. While the current implementation uses BiLSTMs, the framework is architecture-independent. Future work will focus on reducing the computational overhead of inter-sentence attention and integrating AMN with Transformer-based architectures.
Summary updated