Structured Case-based Reasoning for Inference-time Adaptation of Text-to-SQL parsers

Abhijeet Awasthi, Soumen Chakrabarti, Sunita Sarawagi
1/10/2023
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Inference-time adaptation methods for semantic parsing are useful for leveraging examples from newly-observed domains without repeated fine-tuning. Existing approaches typically bias the decoder by simply concatenating input-output example pairs (cases) from the new domain at the encoder's input in a Seq-to-Seq model. Such methods cannot adequately leverage the structure of logical forms in the case examples. We propose StructCBR, a structured case-based reasoning approach, which leverages subtree-level similarity between logical forms of cases and candidate outputs, resulting in better decoder decisions. For the task of adapting Text-to-SQL models to unseen schemas, we show that exploiting case examples in a structured manner via StructCBR offers consistent performance improvements over prior inference-time adaptation methods across five different databases. To the best of our knowledge, we are the first to attempt inference-time adaptation of Text-to-SQL models, and harness trainable structured similarity between subqueries.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{awasthi2023structured,
  title  = {Structured Case-based Reasoning for Inference-time Adaptation of Text-to-SQL parsers},
  author = {Abhijeet Awasthi and Soumen Chakrabarti and Sunita Sarawagi},
  year   = {2023},
  eprint = {2301.04110},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.04110v1}
}

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/2301.04110.svg)](https://codeofpaper.com/paper/2301.04110)

Discussion