Better Boundary Prediction Does Not Guarantee Better Structural Representation
Organizations: Carnegie Mellon University · University of Toronto · Georgetown University · Ontario Tech University
Abstract
Punctuation marks often mark phrase boundaries, carrying linguistic information. Therefore, punctuation marks' abundance and feasibility as proxies of linguistic structure has led to suggestions that using punctuation marks to optimise on phrasal structure may help language models (LMs) improve their representations of argument, semantic, and syntactic structures. In this paper, we test the above claim in English across three primary LM architectures: decoder-only, encoder-only, and encoder-decoder LMs, by complementing traditional token prediction with punctuation restoration (PR). Our evidence, collected at the <1B parameter scale, suggests that optimising for boundary prediction does not necessarily guarantee higher-quality structural representation in decoder-only, encoder-decoder, and encoder-only LMs, failing to improve performance on downstream tasks that require understanding structure in linguistic input.
Figures & tables
| T5-base | GPT-2-medium | BERT-base | |||||||
| Task (Dataset) | base | +PR | base | +PR | base | +PR | |||
| PR | 74.0 | 85.0 | 11.0 | 74.1 | 90.0 | 15.9 | 79.0 | 89.0 | 10.0 |
| Structure-related tasks | |||||||||
| RE (TACRED) | 63.1 | 60.5 | 2.67 ∗ | 64.3 | 65.6 | 1.28 ∗ | 66.0 | 64.5 | 1.50 |
| NER (CoNLL 2003) | 89.4 | 89.1 | 0.31 | 83.0 | 78.7 | 4.27 | 90.9 | 91.0 | 0.19 |
| NER (GENIA) | 77.7 | 77.3 | 0.40 | 48.3 | 49.1 | 0.77 | 76.4 | 75.3 | 1.12 ∗ |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Task (Dataset) | Run | T5-base | GPT-2-medium | BERT-base | |||
|---|---|---|---|---|---|---|---|
| base | +PR | base | +PR | base | +PR | ||
| RE (TACRED) | 1 | 62.52 | 60.46 | 64.34 | 65.19 | 64.90 | 64.23 |
| 2 | 63.63 | 59.33 | 64.59 | 65.41 | 67.37 | 64.65 | |
| 3 | 63.26 | 61.62 | 64.04 | 66.21 | 65.70 | 64.59 | |
| NER (CoNLL 2003) | 1 | 89.39 | 89.07 | 83.43 | 78.55 | 90.51 | 90.92 |
| 2 | 89.86 | 89.25 | 82.09 | 80.94 | 90.80 | 91.05 | |
| Task | Run | T5-base | GPT-2-medium | BERT-base | |||
|---|---|---|---|---|---|---|---|
| base | +PR | base | +PR | base | +PR | ||
| SST-2 | 1 | 93.12 | 92.20 | 93.92 | 92.09 | 91.74 | 90.83 |
| 2 | 92.89 | 91.97 | 94.15 | 93.12 | 92.55 | 90.02 | |
| 3 | 93.46 | 91.74 | 93.69 | 92.78 | 93.35 | 90.94 | |
| QQP | 1 | 90.40 | 89.08 | 90.33 | 90.25 | 91.14 | 90.71 |
| 2 | 90.36 | 89.29 | 90.35 | 90.26 | 91.14 | 90.65 | |
| Task (Dataset) | T5-base | +LM (1 epoch) | +LM (10 epochs) |
|---|---|---|---|
| SRL (CoNLL 2012) | 87.49 | 80.54 | 78.51 |
| NER (CoNLL 2003) | 89.45 | 89.93 | 87.00 |
| NER (GENIA) | 77.69 | 66.84 | 48.44 |
| NER (OntoNotes5) | 90.47 | 86.65 | 82.69 |
| OpenIE (OIE2016) | 66.75 | 33.99 | 16.49 |
Language Modeling
Language modeling develops systems that learn patterns in text and other sequences to understand, predict, and generate language.
See all 551 papers