mlsanityData to 13 Oct 2026

RL-GRIT: Reinforcement Learning for Grammar Inference

arXiv 2105.13114 ↗First posted 17 May 2021cs.LG cs.CR cs.PLcited by 2

Not on the map. Why?

Abstract (arXiv)

When working to understand usage of a data format, examples of the data format are often more representative than the format's specification. For example, two different applications might use very different JSON representations, or two PDF-writing applications might make use of very different areas of the PDF specification to realize the same rendered content. The complexity arising from these distinct origins can lead to large, difficult-to-understand attack surfaces, presenting a security concern when considering both exfiltration and data schizophrenia. Grammar inference can aid in describing the practical language generator behind examples of a data format. However, most grammar inference research focuses on natural language, not data formats, and fails to support crucial features such as type recursion. We propose a novel set of mechanisms for grammar inference, RL-GRIT, and apply them to understanding de facto data formats. After reviewing existing grammar inference solutions, it was determined that a new, more flexible scaffold could be found in Reinforcement Learning (RL). Within this work, we lay out the many algorithmic changes required to adapt RL from its traditional, sequential-time environment to the highly interdependent environment of parsing. The result is an algorithm which can demonstrably learn recursive control structures in simple data formats, and can extract meaningful structure from fragments of the PDF format. Whereas prior work in grammar inference focused on either regular languages or constituency parsing, we show that RL can be used to surpass the expressiveness of both classes, and offers a clear path to learning context-sensitive languages. The proposed algorithm can serve as a building block for understanding the ecosystems of de facto data formats.

Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 11 of its 22 references that are in the map. First posted on arXiv 17 May 2021.

Builds on

11 of 22 references.

References · 11

  1. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,360
  2. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,601
  3. 2015Continuous control with deep reinforcement learningcited by 3,290
  4. 2013Playing Atari with Deep Reinforcement Learningcited by 3,221
  5. 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,223
  6. 2016Identity Mappings in Deep Residual Networkscited by 1,962
  7. 2015Dueling Network Architectures for Deep Reinforcement Learningcited by 772
  8. 2018Bag of Tricks for Image Classification with Convolutional Neural Networkscited by 430
  9. 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 283
  10. 2019Tree Transformer: Integrating Tree Structures into Self-Attentioncited by 68
  11. 2019Unsupervised Recurrent Neural Network Grammarscited by 47

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 1.

2 papers.