NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Terry Koo

Google (United States)
2 previous affiliations
    • Senior Staff Research Scientist · Since 2021
    • Research Scientist · Since 2010
    • Staff Research Scientist · 2016–2021
    • Senior Research Scientist · 2013–2016
    • Graduate Student · 2003–2010
    • PhD student · 2004–2010
    • MS student · 2003–2004
    • Undergrad student · 1999–2004
10Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Terry Koo focuses on structured prediction, natural language parsing, and constrained decoding for language models. His trajectory spans foundational algorithms for dependency parsing and log-linear models to modern sequence-to-sequence architectures. Most recently, his work addresses the reliable generation of formal languages by integrating automata theory with large language model decoding.

Research Trajectory

Koo's early research investigated the integration of hidden variables into conditional log-linear models to improve natural language processing structures. In Hidden-Variable Models for Discriminative Reranking (2005), he introduced a method to automatically assign lexical items to word clusters or senses using a discriminative training criterion. By leveraging dynamic programming, this approach allowed for exact and efficient summation over an exponential number of hidden-variable assignments. This work demonstrated significant improvements in parse reranking and contributed to the broader area of Scaling Structured Inference with Large Latent Spaces.

Following this, his attention turned to the optimization of conditional log-linear models, a staple in structured prediction. With collaborators, he explored the application of exponentiated gradient (EG) algorithms to the convex dual of the maximum likelihood objective in Exponentiated gradient algorithms for log-linear structured prediction (2007). This research provided both sequential online updates and parallel update algorithms, complete with rigorous convergence proofs. The analysis simplified previous results for max-margin models and advanced research directions such as Geometry-Aware Optimization on the Probability Simplex and Gradient Descent on the Probability Simplex.

Around the same time, Koo began a sustained and highly productive focus on dependency parsing. In Structured Prediction Models via the Matrix-Tree Theorem (2007), he applied the Matrix-Tree Theorem to structured prediction tasks, establishing foundational techniques for the research direction of Higher-Order Structural Context for Dependency Parsing. He subsequently expanded on lexical representation in parsing through Simple Semi-supervised Dependency Parsing (2008). This research demonstrated that incorporating word clusters derived from large unannotated corpora as features could yield substantial performance gains. Tested on the Penn Treebank and Prague Dependency Treebank, the cluster-based features proved effective across a wide range of parsing conditions.

By 2010, his work on parsing algorithms achieved significant algorithmic efficiency and structural depth. In Efficient Third-Order Dependency Parsers, he developed algorithms capable of evaluating substructures containing three dependencies, capturing both sibling and grandchild interactions. Crucially, these parsers maintained an efficient $O(n^4)$ time complexity, a contribution that was central to the area of Overcoming the Projectivity Constraint in Dependency Parsing. In parallel, he introduced Dual Decomposition for Parsing with Non-Projective Head Automata, which utilized standard dynamic programming and minimum spanning tree algorithms to solve a linear programming (LP) relaxation of the non-projective parsing problem. This approach proved highly effective in practice, frequently achieving exact solutions on test data across multiple languages.

As the field of natural language processing transitioned toward deep learning, Koo participated in research adapting neural architectures to traditional syntactic tasks. In the 2015 paper Grammar as a Foreign Language, he collaborated on an attention-enhanced sequence-to-sequence model for syntactic constituency parsing. By training on a large synthetic corpus annotated by existing parsers, the model demonstrated that domain-agnostic architectures could match or exceed the performance of complex, domain-specific parsers. This work contributed to the emerging direction of Tree Linearization for Neural Sequence Models.

Following a gap in the published academic record, his trajectory recently shifted toward the intersection of formal languages and modern generative models, culminating in the 2024 publication Automata-based constraints for language model decoding.

Current Directions

The most recent paper in the evidence, published in 2024, indicates a focus on the reliable and syntactically valid generation of text by large language models. Specifically, recent work investigates how automata theory can be used to strictly constrain language model decoding. By reformulating the decoding process through the lens of formal languages, this approach ensures that model outputs conform to rigid structural requirements, such as valid JSON formatting or precise API call syntax. This direction addresses critical limitations in prior constrained decoding methods by significantly accelerating constraint compilation while providing mathematical guarantees of correctness, bridging classical automata theory with contemporary generative AI.

Profile updated

See something wrong? Report a mistake