PAPER DIGEST
Most Influential EMNLP 2021 Paper · 2026-03 edition

PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Models

Torsten Scholak; Nathan Schucher; Dzmitry Bahdanau

Venue
Conference on Empirical Methods in Natural Language Processing (EMNLP) 2021
Recognition
Most Influential EMNLP 2021 Paper (Rank No. 11)
Edition
2026-03
Impact factor
6
Certificate ID
b2cdec643bf5d712

Abstract

Large pre-trained language models for textual data have an unconstrained output space; at each decoding step, they can produce any of 10,000s of sub-word tokens. When fine-tuned to target constrained formal languages like SQL, these models often generate invalid code, rendering it unusable. We propose PICARD (code available at https://github.com/ElementAI/picard), a method for constraining auto-regressive decoders of language models through incremental parsing. PICARD helps to find valid output sequences by rejecting inadmissible tokens at each decoding step. On the challenging Spider and CoSQL text-to-SQL translation tasks, we show that PICARD transforms fine-tuned T5 models with passable performance into state-of-the-art solutions.

Download PDF certificate