Probing for Incremental Parse States in Autoregressive Language Models

Tiwalayo Eisape, Vineet Gangireddy, Roger P. Levy, Yoon Kim
11/17/2022
cs.CLcs.LG

Official code: eisape/incremental_parse_probe (7 stars, Python, last commit 2023-11-19).

Abstract

Next-word predictions from autoregressive neural language models show remarkable sensitivity to syntax. This work evaluates the extent to which this behavior arises as a result of a learned ability to maintain implicit representations of incremental syntactic structures.

Show full abstract

We extend work in syntactic probing to the incremental setting and present several probes for extracting incomplete syntactic structure (operationalized through parse states from a stack-based parser) from autoregressive language models. We find that our probes can be used to predict model preferences on ambiguous sentence prefixes and causally intervene on model representations and steer model behavior. This suggests implicit incremental syntactic inferences underlie next-word predictions in autoregressive neural language models.

View on arXivView PDF

Code Implementations(1)

Supplementary materials and demo for "Probing for Incremental Parse States in Autoregressive Language Models" (Eisape et al., 2022).

71Python, DockerfileOct 19, 20223 years ago

Similar Papers

Cite this paper

@article{eisape2022probing,
  title  = {Probing for Incremental Parse States in Autoregressive Language Models},
  author = {Tiwalayo Eisape and Vineet Gangireddy and Roger P. Levy and Yoon Kim},
  year   = {2022},
  eprint = {2211.09748},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.09748}
}

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/2211.09748.svg)](https://codeofpaper.com/paper/2211.09748)

Discussion