Scaling Up Toward Automated Black-box Reverse Engineering of Context-Free Grammars

08/11/2023
by   Mohammad Rifat Arefin, et al.
0

Black-box context-free grammar inference is a hard problem as in many practical settings it only has access to a limited number of example programs. The state-of-the-art approach Arvada heuristically generalizes grammar rules starting from flat parse trees and is non-deterministic to explore different generalization sequences. We observe that many of Arvada's generalization steps violate common language concept nesting rules. We thus propose to pre-structure input programs along these nesting rules, apply learnt rules recursively, and make black-box context-free grammar inference deterministic. The resulting TreeVada yielded faster runtime and higher-quality grammars in an empirical comparison.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/22/2008

Modeling and Control with Local Linearizing Nadaraya Watson Regression

Black box models of technical systems are purely descriptive. They do no...
research
10/03/2017

Deterministic Interpolation of Sparse Black-box Multivariate Polynomials using Kronecker Type Substitutions

In this paper, we propose two new deterministic interpolation algorithms...
research
08/30/2021

Learning Highly Recursive Input Grammars

This paper presents Arvada, an algorithm for learning context-free gramm...
research
08/31/2016

The Generalized Smallest Grammar Problem

The Smallest Grammar Problem -- the problem of finding the smallest cont...
research
06/18/2020

IReEn: Iterative Reverse-Engineering of Black-Box Functions via Neural Program Synthesis

In this work, we investigate the problem of revealing the functionality ...
research
07/04/2023

Equivalence, Identity, and Unitarity Checking in Black-Box Testing of Quantum Programs

Quantum programs exhibit inherent non-deterministic behavior, which pose...
research
06/05/2019

Probabilistic hypergraph grammars for efficient molecular optimization

We present an approach to make molecular optimization more efficient. We...

Please sign up or login with your details

Forgot password? Click here to reset