Ramil Yarullin
2023
Searching for Better Database Queries in the Outputs of Semantic Parsers
Anton Osokin
|
Irina Saparina
|
Ramil Yarullin
Findings of the Association for Computational Linguistics: EACL 2023
The task of generating a database query from a question in natural language suffers from ambiguity and insufficiently precise description of the goal. The problem is amplified when the system needs to generalize to databases unseen at training. In this paper, we consider the case when, at the test time, the system has access to an external criterion that evaluates the generated queries. The criterion can vary from checking that a query executes without errors to verifying the query on a set of tests. In this setting, we augment neural autoregressive models with a search algorithm that looks for a query satisfying the criterion. We apply our approach to the state-of-the-art semantic parsers and report that it allows us to find many queries passing all the tests on different datasets.
Search