Lune

PLDI2024顶会

V-Star: Learning Visibly Pushdown Grammars from Program Inputs

Xiaodong Jia, Gang Tan

摘要

Accurate description of program inputs remains a critical challenge in the field of programming languages. Active learning, as a well-established field, achieves exact learning for regular languages. We offer an innovative grammar inference tool, V-Star, based on the active learning of visibly pushdown automata. V-Star deduces nesting structures of program input languages from sample inputs, employing a novel inference mechanism based on nested patterns. This mechanism identifies token boundaries and converts languages such as XML documents into VPLs. We then adapted Angluin's L-Star, an exact learning algorithm, for VPA learning, which improves the precision of our tool. Our evaluation demonstrates that V-Star effectively and efficiently learns a variety of practical grammars, including S-Expressions, JSON, and XML, and outperforms other state-of-the-art tools.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Context-Free Grammar Inference for Complex Programming Languages in Black Box Settings 引用了 Learning Highly Recursive Input Grammars
  • "Synthesizing input grammars": a replication study 引用了 Learning Highly Recursive Input Grammars
  • Synthesizing DSLs for Few-Shot Learning 引用了 Learning Highly Recursive Input Grammars
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Synthesizing DSLs for Few-Shot LearningPaul Krogmeier, P. MadhusudanOOPSLA 2025 · 1 次引用
  2. Context-Free Grammar Inference for Complex Programming Languages in Black Box SettingsFeifei Li, Xiao Chen, Xiaoyu Sun, Xi Xiao 等ICSE 2026

它引用的 Paper3

  1. Learning Highly Recursive Input GrammarsNeil Kulkarni, Caroline Lemieux, Koushik SenASE 2021 · 24 次引用
  2. "Synthesizing input grammars": a replication studyBachir Bendrissou, Rahul Gopinath, Andreas ZellerPLDI 2022 · 8 次引用
  3. A derivative-based parser generator for visibly Pushdown grammarsXiaodong Jia, Ashish Kumar, Gang TanOOPSLA 2021 · 7 次引用

相关 Paper

  1. Mining input grammars from dynamic control flowRahul Gopinath, Björn Mathis, Andreas ZellerFSE 2020 · 60 次引用
  2. Automata Learning and Identification of the Support of Language ModelsSatwik Bhattamishra, Michael Hahn, Varun KanadeICLR 2026
  3. Fast Deterministic Black-box Context-free Grammar InferenceMohammad Rifat Arefin, Suraj Shetiya, Zili Wang, Christoph CsallnerICSE 2024 · 4 次引用
  4. Active Learning of Symbolic NetKAT AutomataMark Moeller, Tiago Ferreira, Thomas Lu, Nate Foster 等PLDI 2025 · 4 次引用
  5. Grammar Repair with Examples and Tree AutomataYunjeong Lee, Gokul Rajiv, Ilya SergeyOOPSLA 2026
黄昏的海面,两侧是细线勾勒的悬崖