Incremental Context-free Grammar Inference in Black Box Settings

Black-box context-free grammar inference presents a significant challenge in many practical settings due to limited access to example programs. The state-of-the-art methods, Arvada and Treevada, employ heuristic approaches to generalize grammar rules, initiating from flat parse trees and exploring diverse generalization sequences. We have observed that these approaches suffer from low quality and readability, primarily because they process entire example strings, adding to the complexity and substantially slowing down computations. To overcome these limitations, we propose a novel method that segments example strings into smaller units and incrementally infers the grammar. Our approach, named Kedavra, has demonstrated superior grammar quality (enhanced precision and recall), faster runtime, and improved readability through empirical comparison.

Authors

Institutions

Publication Details

Published
2024-10-18
DOI
https://doi.org/10.1145/3691620.3695494
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Incremental Context-free Grammar Inference in Black Box Settings

Shaohua Wang, Xiaoyu Sun, Xiao Chen, Chuan Chen et al.
1 citations
Natural Language Processing Techniques
0.35
article

Incremental Context-free Grammar Inference in Black Box Settings

Shaohua Wang, Xiaoyu Sun, Xiao Chen, Chuan Chen, Xi Xiao, Feifei Li, Jitao Han
article en
1 citations

Abstract

Black-box context-free grammar inference presents a significant challenge in many practical settings due to limited access to example programs. The state-of-the-art methods, Arvada and Treevada, employ heuristic approaches to generalize grammar rules, initiating from flat parse trees and exploring diverse generalization sequences. We have observed that these approaches suffer from low quality and readability, primarily because they process entire example strings, adding to the complexity and substantially slowing down computations. To overcome these limitations, we propose a novel method that segments example strings into smaller units and incrementally infers the grammar. Our approach, named Kedavra, has demonstrated superior grammar quality (enhanced precision and recall), faster runtime, and improved readability through empirical comparison.

Australian National University (AU), Central University of Finance and Economics (CN), Qilu University of Technology (CN), University Town of Shenzhen (CN), Tsinghua–Berkeley Shenzhen Institute (CN), Shandong Academy of Sciences (CN), University of Newcastle Australia (AU), Tsinghua University (CN)
Quality Education
Openalex Percentile: Top 33%
Natural Language Processing Techniques
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Incremental Context-free Grammar Inference in Black Box Settings — Shaohua Wang, Xiaoyu Sun, et al. · (2024) | TGRS Research Map | TGRS