From Examples to Rules: Neural Guided Rule Synthesis for Information Extraction

Robert Vacareanu, Marco A. Valenzuela-Escarcega, George C. G. Barbosa, Rebecca Sharp, Mihai Surdeanu
1/16/2022
cs.CLcs.IRcs.LG

Official code: clulab/releases (30 stars, TeX, last commit 2026-09-08).

Abstract

While deep learning approaches to information extraction have had many successes, they can be difficult to augment or maintain as needs shift. Rule-based methods, on the other hand, can be more easily modified.

Show full abstract

However, crafting rules requires expertise in linguistics and the domain of interest, making it infeasible for most users. Here we attempt to combine the advantages of these two directions while mitigating their drawbacks. We adapt recent advances from the adjacent field of program synthesis to information extraction, synthesizing rules from provided examples. We use a transformer-based architecture to guide an enumerative search, and show that this reduces the number of steps that need to be explored before a rule is found. Further, we show that without training the synthesis algorithm on the specific domain, our synthesized rules achieve state-of-the-art performance on the 1-shot scenario of a task that focuses on few-shot learning for relation classification, and competitive performance in the 5-shot scenario.

View on arXivView PDF

Code Implementations(1)

clulab/releasesOfficial100%
3015TeX, Jupyter NotebookOct 7, 20162 months ago

Similar Papers

Cite this paper

@article{vacareanu2022from,
  title  = {From Examples to Rules: Neural Guided Rule Synthesis for Information Extraction},
  author = {Robert Vacareanu and Marco A. Valenzuela-Escarcega and George C. G. Barbosa and Rebecca Sharp and Mihai Surdeanu},
  year   = {2022},
  eprint = {2202.00475},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00475}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.00475.svg)](https://codeofpaper.com/paper/2202.00475)

Discussion