Lune

EMNLP2023Top-tier venue

Efficient Algorithms for Recognizing Weighted Tree-Adjoining Languages

Alexandra Butoi, Tim Vieira, Ryan Cotterell, David Chiang

Abstract

The class of tree-adjoining languages can be characterized by various two-level formalisms, consisting of a context-free grammar (CFG) or pushdown automaton (PDA) controlling another CFG or PDA. These four formalisms are equivalent to tree-adjoining grammars (TAG), linear indexed grammars (LIG), pushdownadjoining automata (PAA), and embedded pushdown automata (EPDA). We define semiringweighted versions of the above two-level formalisms, and we design new algorithms for computing their stringsums (the weight of all derivations of a string) and allsums (the weight of all derivations). From these, we also immediately obtain stringsum and allsum algorithms for TAG, LIG, PAA, and EPDA. For LIG, our algorithm is more time-efficient by a factor of O(n|N |) (where n is the string length and |N | is the size of the nonterminal set) and more space-efficient by a factor of O(|Γ|) (where Γ is the size of the stack alphabet) than the algorithm of Vijay-Shanker and Weir (1989) . For EPDA, our algorithm is both more spaceefficient and time-efficient than the algorithm of Alonso et al. ( 2001 ) by factors of O(|Γ| 2 ) and O(|Γ| 3 ), respectively. Finally, we give the first PAA stringsum and allsum algorithms.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Algorithms for Weighted Pushdown AutomataAlexandra Butoi, Brian DuSell, Tim Vieira, Ryan Cotterell et al.EMNLP 2022 · 2 citations
  2. Convergence and Diversity in the Control HierarchyAlexandra Butoi, Ryan Cotterell, David ChiangACL 2023 · 1 citation

Related papers

  1. Algorithms for Acyclic Weighted Finite-State Automata with Failure ArcsAnej Svete, Benjamin Dayan, Ryan Cotterell, Tim Vieira et al.EMNLP 2022 · 2 citations
  2. The Complexity of Downward Closures of Indexed LanguagesRichard Mandel, Corto Mascle, Georg ZetzscheLICS 2026
  3. Automata Learning: An Algebraic ApproachHenning Urbat, Lutz SchröderLICS 2020 · 22 citations
  4. Faster general parsing through context-free memoizationGrzegorz HermanPLDI 2020 · 4 citations
  5. Catalytic approaches to the tree evaluation problemJames Cook, Ian MertzSTOC 2020 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines