Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021)

Christoph Bloomberg, Antoine Venant, Aditya Bhargava, Gerald Penn, Kong Zenodo, Sam Paszke, Francisco Gross, Adam Massa, James Lerer, Gregory Bradbury, Trevor Chanan, Zeming Killeen, Natalia Lin, Gimelshein, Takuya Akiba, Shotaro Sano, Toshihiko Yanase, Takeru Ohta, Masanori Koyama, J Baker, James Bergstra, Rmi Bardenet, Yoshua Bengio, Balzs Kgl, Stephen Clark, James Curran, Zihang Dai, Zhilin Yang, Yiming Yang, Jaime Carbonell, Quoc Le, Ruslan Salakhutdinov, A Timothy, Fowler, Aymen Gannouni, Vladimir Samsonov, Mohamed Behery, Tobias Meisen, Gerhard Lakemeyer, Justin Gilmer, Samuel Schoenholz, Patrick Riley, Oriol Vinyals, George Dahl, Jean-Yves Girard, Steven Gold, Anand Rangarajan, Kevin Jamieson, Ameet Talwalkar, Zohar Karnin, Tomer Koren, Oren Somekh, P Diederik, Jimmy Kingma, Ba, Konstantinos Kogkalidis, Michael Moortgat, Tejaswini Deoskar, Chris Alberti, David Weiss, Greg Coppola, Slav Petrov, John Duchi, Elad Hazan, Yoram Singer, Yoav Goldberg, Joakim Nivre, Jun Hatori, Takuya Matsuzaki, Yusuke Miyao, Jun'ichi Tsujii, Matthew Honnibal, Mark Johnson, Frank Keller, Eliyahu Kiperwasser, Philipp Koehn, Shuhei Kurita, Daisuke Kawahara, Sadao Kurohashi, Jason John Sy Lee, David Naradowsky, Smith, Zhenghua Li, Min Zhang, Wanxiang Che, Ting Liu, Wenliang Chen, Haizhou Li, W George, Keith Mcconkie, RaynerOpenalex Unknown 2021 · OpenAlex

Abstract

When learned without exploration, local models for structured prediction tasks are subject to exposure bias and cannot be trained without detailed guidance. Active Imitation Learning (AIL), also known in NLP as Dynamic Oracle Learning, is a general technique for working around these issues by allowing the exploration of different outputs at training time.

Introduction: The Problem of Exposure Bias

In the field of Natural Language Processing (NLP), many tasks involve making a sequence of discrete decisions—such as selecting the next word in a translation or determining the next branch in a parse tree. Traditionally, these models are trained using "teacher forcing," where the model is provided with the gold-standard correct action at every step, regardless of its own internal predictions.

While effective for initial learning, this approach leads to a phenomenon known as exposure bias. Because the model only ever encounters "perfect" states during training, it never learns how to recover from its own errors. During inference, a single mistake can lead the model into a state it has never encountered, often resulting in a cascade of further errors and a total breakdown of output quality.

Dynamic Oracles and Active Imitation Learning

To combat exposure bias, researchers utilize Active Imitation Learning (AIL), frequently referred to in the parsing community as Dynamic Oracle Learning. A dynamic oracle acts as an expert advisor that can evaluate any state—even an erroneous one—and determine the optimal sequence of actions to minimize the final loss from that point forward.

Historically, the development of these oracles has been a significant bottleneck. Each new structured prediction task required a bespoke, hand-crafted oracle designed specifically for its unique constraints and transition systems. In the lead paper of the IWPT 2021 proceedings, "Generic Oracles for Structured Prediction," Christoph Teichmann and Antoine Venant propose a solution: a universal mathematical framework for deriving dynamic oracles automatically.

Methodology: A Unified Framework via WFSA

The core innovation of this work is the unification of structured prediction constraints and loss functions using Weighted Finite State Automata (WFSA) and Transducers. The authors outline a systematic four-step process to derive an oracle:

  1. Constraint Representation: The set of all valid outputs for a given input (e.g., all syntactically valid trees for a specific sentence) is represented as a finite state automaton.
  2. Loss Modeling: The loss function—the metric defining how far a prediction deviates from the gold standard—is modeled as a transducer. While complex global metrics like F-score are difficult to represent this way, the authors demonstrate that "decomposable" losses (like edit distance) serve as effective proxies that preserve the same optimal paths.
  3. Oracle as Shortest Path: By combining the constraint automaton and the loss transducer, the problem of finding the optimal next action is transformed into a minimum-weight path problem. The oracle identifies the path through the resulting graph that yields the lowest total weight (minimum loss).
  4. Computational Efficiency: A naive implementation of this search at every training step would be computationally prohibitive ($O(n^3)$ per sentence). The authors introduce an optimized "Second Construction" using the Floyd-Warshall algorithm. By precomputing shortest paths between states in the transducer, the heavy lifting is moved to a one-time preprocessing step, making per-step oracle calls significantly faster.

Complexity and Scalability

The authors provide a rigorous formal complexity analysis to prove the viability of their method. Their optimized approach reduces the total cost of oracle calls for an input of length $n$ to $O(|Q|^3 + n|Q|^2)$, where $Q$ represents the number of states in the transducer. This shift from per-step search to a one-time preprocessing step makes the framework viable for integration into modern, large-scale deep learning pipelines.

To demonstrate the framework's utility, the authors use Constituency Parsing as a primary example. This task, which involves mapping sentences to hierarchical tree structures, serves as a rigorous test for the framework's ability to handle complex, non-linear constraints.

Key Insights and Future Directions

The primary "aha moment" of the research is the realization that almost all sequential NLP tasks can be framed as a search through a regular language. This allows decades of research into Finite State Machines to be applied to modern imitation learning.

However, the authors note that the "curse of dimensionality" remains a challenge. For extremely complex tasks, the number of states ($Q$) in the automaton can grow significantly, leading to high memory usage. Future work will focus on:

  • Automata Optimization: Investigating specific properties of task-specific automata (like planarity in parsing) to further shrink the state space.
  • Non-Linear Orders: Expanding the framework to handle models that don't produce output in a simple left-to-right fashion, such as "easy-first" or "bottom-up" parsers.

By providing a technique that can derive a dynamic oracle for any task where the output constraints are regular and the loss is decomposable, Teichmann and Venant have laid the groundwork for more robust and generalizable structured prediction models.

Summary updated

BibTeX
@inproceedings{bloomberg2021proceedings,
  author = {Christoph Bloomberg and Antoine Venant and Aditya Bhargava and Gerald Penn and Kong Zenodo and Sam Paszke and Francisco Gross and Adam Massa and James Lerer and Gregory Bradbury and Trevor Chanan and Zeming Killeen and Natalia Lin and Gimelshein and Takuya Akiba and Shotaro Sano and Toshihiko Yanase and Takeru Ohta and Masanori Koyama and J Baker and James Bergstra and Rmi Bardenet and Yoshua Bengio and Balzs Kgl and Aditya Bhargava and Gerald Penn and Stephen Clark and James Curran and Zihang Dai and Zhilin Yang and Yiming Yang and Jaime Carbonell and Quoc Le and Ruslan Salakhutdinov and A Timothy and Fowler and A Timothy and Fowler and Aymen Gannouni and Vladimir Samsonov and Mohamed Behery and Tobias Meisen and Gerhard Lakemeyer and Justin Gilmer and Samuel Schoenholz and Patrick Riley and Oriol Vinyals and George Dahl and Jean-Yves Girard and Steven Gold and Anand Rangarajan and Steven Gold and Anand Rangarajan and Kevin Jamieson and Ameet Talwalkar and Zohar Karnin and Tomer Koren and Oren Somekh and P Diederik and Jimmy Kingma and Ba and Konstantinos Kogkalidis and Michael Moortgat and Tejaswini Deoskar and Chris Alberti and David Weiss and Greg Coppola and Slav Petrov and John Duchi and Elad Hazan and Yoram Singer and Yoav Goldberg and Joakim Nivre and Jun Hatori and Takuya Matsuzaki and Yusuke Miyao and Jun'ichi Tsujii and Matthew Honnibal and Mark Johnson and Frank Keller and Eliyahu Kiperwasser and Yoav Goldberg and Philipp Koehn and Shuhei Kurita and Daisuke Kawahara and Sadao Kurohashi and Jason John Sy Lee and David Naradowsky and Smith and Zhenghua Li and Min Zhang and Wanxiang Che and Ting Liu and Wenliang Chen and Haizhou Li and W George and Keith Mcconkie and Rayner and W George and Keith Mcconkie},
  title = {{Proceedings of the 17th International Conference on Parsing Technologies and the IWPT 2021 Shared Task on Parsing into Enhanced Universal Dependencies (IWPT 2021)}},
  booktitle = {Openalex Unknown},
  year = {2021},
  doi = {10.18653/v1/2021.iwpt-1},
}
Figure