Proceedings

Improving Few-Shot Text-to-SQL with Meta Self-Training via Column Specificity

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 4150-4156.

https://doi.org/10.24963/ijcai.2022/576

Abstract

The few-shot problem is an urgent challenge for single-table text-to-SQL. Existing methods ignore the potential value of unlabeled data, and merely rely on a coarse-grained Meta-Learning (ML) algorithm that neglects the differences of column contributions to the optimization object. This paper proposes a Meta Self-Training text-to-SQL (MST-SQL) method to solve the problem. Specifically, MST-SQL is based on column-wise HydraNet and adopts self-training as an effective mechanism to learn from readily available unlabeled samples. During each epoch of training, it first predicts pseudo-labels for unlabeled samples and then leverages them to update the parameters. A fine-grained ML algorithm is used in updating, which weighs the contribution of columns by their specificity, in order to further improve the generalizability. Extensive experimental results on both open-domain and domain-specific benchmarks reveal that our MST-SQL has significant advantages in few-shot scenarios, and is also competitive in standard supervised settings.

  1. [Chang et al., 2020] Shuaichen Chang, Pengfei Liu, Yun Tang, Jing Huang, Xiaodong He, and Bowen Zhou. Zero- shot text-to-sql learning with auxiliary task. In AAAI, pages 7488-7495, 2020.
  2. [Chen et al., 2021] Yongrui Chen, Xinnan Guo, Chaojie Wang, Jian Qiu, Guilin Qi, Meng Wang, and Huiying Li. Leveraging table content for zero-shot text-to-sql with meta- learning. In AAAI, pages 3992-4000, 2021.
  3. [Dong and Lapata, 2018] Li Dong and Mirella Lapata. Coarse-to-fine decoding for neural semantic parsing. In ACL, pages 731-742, 2018.
  4. [He et al., 2019] Pengcheng He, Yi Mao, Kaushik Chakrabarti, and Weizhu Chen. X-SQL: reinforce schema representation with context. CoRR, abs/1908.08113, 2019.
  5. [Herzig et al., 2020] Jonathan Herzig, Pawel Krzysztof Nowak, Thomas Müller, Francesco Piccinno, and Ju- lian Martin Eisenschlos. Tapas: Weakly supervised table parsing via pre-training. In ACL, pages 4320-4333, 2020.
  6. [Hu et al., 2021] Xuming Hu, Chenwei Zhang, Fukun Ma, Chenyao Liu, Lijie Wen, and Philip S. Yu. Semi-supervised relation extraction via incremental meta self-training. In Findings of EMNLP, pages 487-496, 2021.
  7. [Hui et al., 2021] Binyuan Hui, Xiang Shi, Ruiying Geng, Binhua Li, Yongbin Li, Jian Sun, and Xiaodan Zhu. Improv- ing text-to-sql with schema dependency learning. CoRR, abs/2103.04399, 2021.
  8. [Hwang et al., 2019] Wonseok Hwang, Jinyeung Yim, Se- unghyun Park, and Minjoon Seo. A comprehensive explo- ration on wikisql with table-aware word contextualization. CoRR, abs/1902.01069, 2019.
  9. [Li et al., 2019] Xinzhe Li, Qianru Sun, Yaoyao Liu, Qin Zhou, Shibao Zheng, Tat-Seng Chua, and Bernt Schiele. Learning to self-train for semi-supervised few-shot classifi- cation. In NeurIPS, pages 10276-10286, 2019.
  10. [Lin et al., 2020] Xi Victoria Lin, Richard Socher, and Caim- ing Xiong. Bridging textual and tabular data for cross- domain text-to-sql semantic parsing. In Findings of EMNLP, volume EMNLP, pages 4870-4888, 2020.
  11. [Liu et al., 2019] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized BERT pretraining approach. CoRR, abs/1907.11692, 2019.
  12. [Lyu et al., 2020] Qin Lyu, Kaushik Chakrabarti, Shob- hit Hathi, Souvik Kundu, Jianwen Zhang, and Zheng Chen. Hybrid ranking network for text-to-sql. CoRR, abs/2008.04759, 2020.
  13. [Ma et al., 2020] Jianqiang Ma, Zeyu Yan, Shuai Pang, Yang Zhang, and Jianping Shen. Mention extraction and linking for SQL query generation. In EMNLP, pages 6936-6942, 2020.
  14. [Pasupat and Liang, 2015] Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. In ACL, pages 1470-1480, 2015.
  15. [Qi et al., 2020] Qi Qi, Xiaolu Wang, Haifeng Sun, Jingyu Wang, Xiao Liang, and Jianxin Liao. A novel multi-task learning framework for semi-supervised semantic parsing. IEEE TASL, 28:2552-2560, 2020.
  16. [Scudder, 1965] H. J. Scudder. Probability of error of some adaptive pattern-recognition machines. IEEE Trans. Inf. Theory, 11(3):363-371, 1965.
  17. [Sun et al., 2020] Ningyuan Sun, Xuefeng Yang, and Yun- feng Liu. Tableqa: a large-scale chinese text-to-sql dataset for table-aware SQL generation. CoRR, abs/2006.06434, 2020.
  18. [Wang et al., 2018] Chenglong Wang, Po-Sen Huang, Alex Polozov, Marc Brockschmidt, and Rishabh Singh. Execution-guided neural program decoding. CoRR, abs/1807.03100, 2018.
  19. [Wang et al., 2021a] Bailin Wang, Mirella Lapata, and Ivan Titov. Meta-learning for domain generalization in semantic parsing. In NAACL-HLT, pages 366-379, 2021.
  20. [Wang et al., 2021b] Yaqing Wang, Subhabrata Mukherjee, Haoda Chu, Yuancheng Tu, Ming Wu, Jing Gao, and Ahmed Hassan Awadallah. Meta self-training for few-shot neural sequence labeling. In KDD, pages 1737-1747, 2021.
  21. [Wei et al., 2021] Colin Wei, Kendrick Shen, Yining Chen, and Tengyu Ma. Theoretical analysis of self-training with deep networks on unlabeled data. In ICLR, 2021.
  22. [Xu et al., 2017] Xiaojun Xu, Chang Liu, and Dawn Song. Sqlnet: Generating structured queries from nat- ural language without reinforcement learning. CoRR, abs/1711.04436, 2017.
  23. [Xuan et al., 2021] Kuan Xuan, Yongbo Wang, Yongliang Wang, Zujie Wen, and Yang Dong. Sead: End-to-end text- to-sql generation with schema-aware denoising. CoRR, abs/2105.07911, 2021.
  24. [Yin et al., 2020] Pengcheng Yin, Graham Neubig, Wen-tau Yih, and Sebastian Riedel. Tabert: Pretraining for joint understanding of textual and tabular data. In ACL, pages 8413-8426, 2020.
  25. [Yu et al., 2021] Tao Yu, Chien-Sheng Wu, Xi Victoria Lin, Bailin Wang, Yi Chern Tan, Xinyi Yang, Dragomir R. Radev, Richard Socher, and Caiming Xiong. Grappa: Grammar-augmented pre-training for table semantic pars- ing. In ICLR. OpenReview.net, 2021.
  26. [Zhong et al., 2017] Victor Zhong, Caiming Xiong, and Richard Socher. Seq2sql: Generating structured queries from natural language using reinforcement learning. CoRR, abs/1709.00103, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards