Concept icon
Concept

Generalization to English Constituency Parsing

To evaluate whether the Transformer architecture could generalize beyond machine translation to tasks with strong structural constraints and long target sequences, experiments were conducted on English constituency parsing.

A 4-layer Transformer with dmodel=1024d_{model} = 1024 was trained under two regimes: a discriminative setup using only the Wall Street Journal (WSJ) portion of Penn Treebank (approximately 40K sentences with a 16K token vocabulary), and a semi-supervised setup augmented with approximately 17 million sentences from high-confidence and BerkeleyParser corpora (with a 32K token vocabulary). During inference, the beam size was increased to 21, the length penalty was set to α=0.3\alpha = 0.3, and the maximum output length was configured to input length +300+ 300.

Despite having no task-specific tuning, the Transformer achieved an F1 score of 91.3 in the WSJ-only discriminative setting and 92.7 in the semi-supervised setting on Section 23 of the WSJ. This surpassed previously reported models such as the BerkeleyParser and prior RNN sequence-to-sequence approaches, trailing only the task-specific generative Recurrent Neural Network Grammar (93.3 F1).

0

1

Concept icon
Updated 2026-09-07

Tags

Prep Sessions

Foundational Deep Learning Architectures: Transformers and Residual Networks @ University of Michigan - Ann Arbor

Ch.2 Transformer Training and Evaluation - Foundational Deep Learning Architectures: Transformers and Residual Networks @ University of Michigan - Ann Arbor

Machine Translation and Constituency Parsing Evaluation - Foundational Deep Learning Architectures: Transformers and Residual Networks @ University of Michigan - Ann Arbor