Syntactic Scaffolds for Semantic Structures

Swabha Swayamdipta, Sam Thomson, Kenton Lee, Luke Zettlemoyer, Chris Dyer, Noah A. Smith

Abstract

Understanding the semantic structure of a sentence—identifying "who did what to whom"—is fundamentally linked to its syntactic arrangement. However, traditional methods for integrating syntax into semantic models often suffer from either error propagation in pipelines or high computational costs in joint modeling. This paper proposes "syntactic scaffolds," a multitask learning approach that leverages syntactic supervision during training to improve semantic models without adding any runtime overhead. By treating syntax as an auxiliary, "forgettable" task, the authors achieve state-of-the-art results in semantic role labeling and coreference resolution.

Introduction

In Natural Language Processing (NLP), the relationship between syntax (structure) and semantics (meaning) is central. Historically, researchers have integrated these two domains using either sequential pipelines or joint modeling. Pipelines are prone to "cascading errors," where a mistake by the initial parser dooms the subsequent semantic analysis. Joint models, while more robust, are computationally expensive at test time because they must generate a complete, globally consistent parse tree for every input.

The interplay between syntactic structure and various semantic layers (PropBank, Coreference, Frame-Semantics) for a single sentence.

The authors address a critical efficiency gap: Can we benefit from syntactic "inductive bias" during training without the burden of full syntactic parsing at runtime?

The Syntactic Scaffold Framework

The core innovation is the Syntactic Scaffold, a multitask learning framework where a model is trained on a primary semantic task and an auxiliary syntactic task simultaneously.

The Scaffold Task

Instead of predicting a full parse tree, the model predicts syntactic labels for individual spans of text (e.g., identifying whether a span is a Noun Phrase or a Prepositional Phrase). This simplification avoids the complexity of global consistency while still providing structural guidance.

Shared Representations and Inference Efficiency

The semantic and syntactic tasks share underlying BiLSTM layers. Training on the scaffold "steers" these representations to be more aware of sentence structure. Once training is complete, the syntactic prediction head is discarded. At inference time, the model only performs the semantic task, maintaining the speed of a syntax-free model.

Experimental Setup

The approach was evaluated on three major tasks:

  • FrameNet 1.5: For frame-semantic role labeling (SRL).
  • OntoNotes 5.0: For PropBank SRL and Coreference Resolution.
  • Syntactic Treebank: Syntactic annotations from OntoNotes provided the supervision for the scaffold tasks.

Notably, the method is effective even when syntactic and semantic data do not overlap, as shown in the FrameNet experiments where syntactic supervision from OntoNotes was applied to the FrameNet task.

Results and Discussion

The syntactic scaffold consistently outperformed strong, syntax-free baselines across all tasks.

Performance comparison on FrameNet SRL. The syntactic scaffold (+ common nonterminals) significantly outperforms previous state-of-the-art models and the baseline.

Key Performance Gains

  • FrameNet SRL: The model achieved a 3.6% absolute improvement in $F_1$ score over prior state-of-the-art work and a 2.1% boost over its own strong baseline.
  • PropBank SRL: Performance improved by 0.8 absolute $F_1$, reaching competitive levels with models using more complex inference.
  • Coreference Resolution: The model saw a 0.6 absolute $F_1$ improvement over the baseline of Lee et al. (2017).

Insights

The authors found that targeting "common non-terminals" like Noun Phrases (NP) and Prepositional Phrases (PP) provided the most significant boost. This aligns with the observation that most semantic arguments correspond to these categories. Furthermore, the improvements are additive to gains from pre-trained contextualized embeddings like ELMo, suggesting that scaffolds capture structural information that language models might miss.

Conclusion

Syntactic scaffolds provide a powerful, efficient way to inject structural knowledge into semantic models. By simplifying syntax into a span-labeling task and discarding it after training, the method achieves significant accuracy gains with zero additional cost at inference time. Future work may explore extending this "scaffold" concept to other domains, such as using semantic scaffolds to improve low-resource syntactic parsing.

Summary updated

BibTeX
@inproceedings{swayamdipta2018syntactic,
  author = {Swabha Swayamdipta and Sam Thomson and Kenton Lee and Luke Zettlemoyer and Chris Dyer and Noah A. Smith},
  title = {{Syntactic Scaffolds for Semantic Structures}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1412},
}
Figure