DeepStruct: Pretraining of Language Models for Structure Prediction

Chenguang Wang, Xiao Liu, Zui Chen, Haoyun Hong, Jie Tang +1 more
5/21/2022
cs.CLcs.AIcs.LG

Official code: wang-research-lab/deepstruct (85 stars, Python, Apache-2.0, last commit 2023-01-16).

Abstract

We introduce a method for improving the structural understanding abilities of language models. Unlike previous approaches that finetune the models with task-specific augmentation, we pretrain language models on a collection of task-agnostic corpora to generate structures from text.

Show full abstract

Our structure pretraining enables zero-shot transfer of the learned knowledge that models have about the structure tasks. We study the performance of this approach on 28 datasets, spanning 10 structure prediction tasks including open information extraction, joint entity and relation extraction, named entity recognition, relation classification, semantic role labeling, event extraction, coreference resolution, factual probe, intent detection, and dialogue state tracking. We further enhance the pretraining with the task-specific training sets. We show that a 10B parameter language model transfers non-trivially to most tasks and obtains state-of-the-art performance on 21 of 28 datasets that we evaluate.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code repo for ACL22 paper "DeepStruct: Pretraining of Language Models for Structure Prediction"

855Python, ShellMay 21, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2022deepstruct,
  title  = {DeepStruct: Pretraining of Language Models for Structure Prediction},
  author = {Chenguang Wang and Xiao Liu and Zui Chen and Haoyun Hong and Jie Tang and Dawn Song},
  year   = {2022},
  eprint = {2205.10475},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.10475}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.10475.svg)](https://codeofpaper.com/paper/2205.10475)

Discussion