Structured Case-based Reasoning for Inference-time Adaptation of Text-to-SQL parsers
Awasthi, Abhijeet, Chakrabarti, Soumen, Sarawagi, Sunita
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jan-10-2023
- Country:
- South America > Brazil (0.04)
- Africa > Angola (0.04)
- North America > United States
- Oregon > Multnomah County
- Portland (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Oregon > Multnomah County
- Europe > Italy
- Asia
- China > Hong Kong (0.04)
- India > Maharashtra
- Mumbai (0.04)
- Genre:
- Research Report (0.64)
- Technology: