Skip to main content
QUICK REVIEW

[Paper Review] Autoregressive Structured Prediction with Language Models

Tianyu Liu, Yuchen Jiang|arXiv (Cornell University)|Jan 1, 2022
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes Autoregressive Structured Prediction (ASP), a framework that models structured prediction tasks—such as named entity recognition, relation extraction, and coreference resolution—by generating sequences of structure-building actions rather than flattened strings. By explicitly modeling dependencies through actions like span creation, bracket pairing, and labeling, ASP achieves state-of-the-art results across all three tasks using pre-trained language models without task-specific features or data augmentation.

ABSTRACT

Recent years have seen a paradigm shift in NLP towards using pretrained language models ({PLM}) for a wide range of tasks. However, there are many difficult design decisions to represent structures (e.g. tagged text, coreference chains) in a way such that they can be captured by PLMs. Prior work on structured prediction with PLMs typically flattens the structured output into a sequence, which limits the quality of structural information being learned and leads to inferior performance compared to classic discriminative models. In this work, we describe an approach to model structures as sequences of actions in an autoregressive manner with PLMs, allowing in-structure dependencies to be learned without any loss. Our approach achieves the new state-of-the-art on all the structured prediction tasks we looked at, namely, named entity recognition, end-to-end relation extraction, and coreference resolution.

Motivation & Objective

  • To address the limitations of flattening structured outputs into strings, which obscures intra-structure dependencies in language model-based structured prediction.
  • To improve performance on highly structured NLP tasks such as coreference resolution and end-to-end relation extraction, where long-range and nested dependencies are common.
  • To develop a framework compatible with pre-trained language models that explicitly models structural constraints and dependencies through a sequence of interpretable actions.
  • To achieve state-of-the-art performance on named entity recognition, end-to-end relation extraction, and coreference resolution without data augmentation or task-specific feature engineering.

Proposed method

  • Represents the target structure as a sequence of actions, where each action is a triple ⟨an, bn, zn⟩ consisting of a structure-building action, a bracket-pairing action, and a span-labeling action.
  • Uses structure-building actions like [∗ (left bracket), ] (right bracket), and copy to construct spans from input tokens, enabling the model to build complex, nested structures step by step.
  • Employs bracket-pairing actions Bn = {m | m < n ∧ am = [∗} to match left and right brackets, ensuring syntactic well-formedness and reducing the search space.
  • Introduces span-labeling actions Zn = {m | m < n ∧ am = ]} × L to label spans and relationships between spans, allowing the model to predict labels based on previously constructed spans.
  • Leverages pre-trained conditional language models (e.g., T5) to predict the action sequence autoregressively, enabling the use of powerful contextual representations.
  • Applies greedy decoding to generate action sequences, with potential for improvement via beam search or non-autoregressive decoding in future work.

Experimental results

Research questions

  • RQ1Can modeling structured prediction as a sequence of interpretable, structure-building actions improve performance compared to flattening structures into strings?
  • RQ2How does explicit modeling of intra-structure dependencies through actions affect performance on tasks with long-range or nested dependencies, such as coreference resolution?
  • RQ3To what extent can a unified framework based on pre-trained language models achieve state-of-the-art results across diverse structured prediction tasks without task-specific features or data augmentation?
  • RQ4How does the autoregressive action generation process compare to discriminative models in capturing complex structural constraints?

Key findings

  • ASP achieves a new state of the art on the ACE-05 joint entity and relation extraction task, with a test F1 score of 91.3 for entities and 72.7 for relations using the T5-base model.
  • On the CoNLL-12 coreference resolution benchmark, ASP achieves an average F1 score of 82.5 using the FLAN-T5-XXL model, outperforming the previous state of the art by 1.5 F1 points.
  • ASP significantly outperforms discriminative models that use the same pre-trained language model backbone, demonstrating the advantage of explicit structural modeling over black-box prediction.
  • The framework achieves strong results across all three tasks—named entity recognition, end-to-end relation extraction, and coreference resolution—without requiring data augmentation or task-specific feature engineering.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.