{"id":"https://openalex.org/W4389519829","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","title":"ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought","display_name":"ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought","alternate_titles":[],"publication_year":2023,"publication_date":"2023-01-01","ids":{"openalex":"https://openalex.org/W4389519829","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.227"},"language":"en","primary_location":{"id":"doi:10.18653/v1/2023.findings-emnlp.227","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","pdf_url":"https://aclanthology.org/2023.findings-emnlp.227.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2023","raw_type":"proceedings-article"},"parent_works":[],"lineage":["https://openalex.org/W4389519829"],"child_works_count":0,"type":"conference-paper","is_traditional":true,"indexed_in":["arxiv","crossref","datacite"],"open_access":{"is_oa":true,"oa_status":"hybrid","oa_url":"https://aclanthology.org/2023.findings-emnlp.227.pdf","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5009687357","display_name":"Hanchong Zhang","orcid":"https://orcid.org/0000-0003-1152-4355","observed_orcids":["https://orcid.org/0000-0003-1152-4355"]},"institutions":[{"id":"https://openalex.org/I183067930","display_name":"Shanghai Jiao Tong University","ror":"https://ror.org/0220qvk04","country_code":"CN","type":"education","lineage":["https://openalex.org/I183067930"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Hanchong Zhang","raw_affiliation_strings":["Lab , Department of Computer Science and Engineering","X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Lab , Department of Computer Science and Engineering","institution_ids":[]},{"raw_affiliation_string":"X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China","institution_ids":["https://openalex.org/I183067930"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5033252354","display_name":"Ruisheng Cao","orcid":"https://orcid.org/0000-0003-4635-4368","observed_orcids":["https://orcid.org/0000-0003-4635-4368"]},"institutions":[{"id":"https://openalex.org/I183067930","display_name":"Shanghai Jiao Tong University","ror":"https://ror.org/0220qvk04","country_code":"CN","type":"education","lineage":["https://openalex.org/I183067930"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Ruisheng Cao","raw_affiliation_strings":["Lab , Department of Computer Science and Engineering","X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Lab , Department of Computer Science and Engineering","institution_ids":[]},{"raw_affiliation_string":"X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China","institution_ids":["https://openalex.org/I183067930"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100432093","display_name":"Lu Chen","orcid":"https://orcid.org/0000-0002-5685-7017","observed_orcids":["https://orcid.org/0000-0002-5685-7017"]},"institutions":[{"id":"https://openalex.org/I183067930","display_name":"Shanghai Jiao Tong University","ror":"https://ror.org/0220qvk04","country_code":"CN","type":"education","lineage":["https://openalex.org/I183067930"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Lu Chen","raw_affiliation_strings":["Lab , Department of Computer Science and Engineering","X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Lab , Department of Computer Science and Engineering","institution_ids":[]},{"raw_affiliation_string":"X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China","institution_ids":["https://openalex.org/I183067930"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100574387","display_name":"Hongshen Xu","orcid":"https://orcid.org/0000-0002-6770-6564","observed_orcids":["https://orcid.org/0000-0002-6770-6564"]},"institutions":[{"id":"https://openalex.org/I183067930","display_name":"Shanghai Jiao Tong University","ror":"https://ror.org/0220qvk04","country_code":"CN","type":"education","lineage":["https://openalex.org/I183067930"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Hongshen Xu","raw_affiliation_strings":["Lab , Department of Computer Science and Engineering","X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Lab , Department of Computer Science and Engineering","institution_ids":[]},{"raw_affiliation_string":"X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China","institution_ids":["https://openalex.org/I183067930"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5043098653","display_name":"Kai Yu","orcid":"https://orcid.org/0000-0002-7102-9826","observed_orcids":["https://orcid.org/0000-0002-7102-9826"]},"institutions":[{"id":"https://openalex.org/I183067930","display_name":"Shanghai Jiao Tong University","ror":"https://ror.org/0220qvk04","country_code":"CN","type":"education","lineage":["https://openalex.org/I183067930"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Kai Yu","raw_affiliation_strings":["Lab , Department of Computer Science and Engineering","X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Lab , Department of Computer Science and Engineering","institution_ids":[]},{"raw_affiliation_string":"X-LANCE Lab, Department of Computer Science and Engineering MoE Key Lab of Artificial Intelligence, SJTU AI Institute Shanghai Jiao Tong University, Shanghai, China","institution_ids":["https://openalex.org/I183067930"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I183067930"],"apc_list":null,"apc_paid":null,"fwci":8.2984,"has_fulltext":true,"cited_by_count":142,"citation_normalized_percentile":{"value":0.98378267,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":86,"max":100},"biblio":{"volume":null,"issue":null,"first_page":"3501","last_page":"3532"},"is_retracted":false,"is_pulled":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.5942000150680542,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.5942000150680542,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10181","display_name":"Natural Language Processing Techniques","score":0.2117999941110611,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11714","display_name":"Multimodal Machine Learning Applications","score":0.03359999880194664,"subfield":{"id":"https://openalex.org/subfields/1707","display_name":"Computer Vision and Pattern Recognition"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/text-to-sql","display_name":"text-to-SQL","score":0.9980000257492065},{"id":"https://openalex.org/keywords/in-context-learning","display_name":"in-context learning","score":0.8579999804496765},{"id":"https://openalex.org/keywords/chain-of-thought-prompting","display_name":"chain-of-thought prompting","score":0.9079999923706055},{"id":"https://openalex.org/keywords/automatic-prompt-generation","display_name":"automatic prompt generation","score":0.5929999947547913},{"id":"https://openalex.org/keywords/large-language-models","display_name":"large language models","score":0.8059999942779541},{"id":"https://openalex.org/keywords/schema-linking","display_name":"schema linking","score":0.6449999809265137},{"id":"https://openalex.org/keywords/spider-benchmark","display_name":"Spider benchmark","score":0.7670000195503235}],"concepts":[{"id":"https://openalex.org/C510870499","wikidata":"https://www.wikidata.org/wiki/Q47607","display_name":"SQL","level":2,"score":0.8432229161262512},{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.834886908531189},{"id":"https://openalex.org/C52146309","wikidata":"https://www.wikidata.org/wiki/Q7431116","display_name":"Schema (genetic algorithms)","level":2,"score":0.4853162169456482},{"id":"https://openalex.org/C2779343474","wikidata":"https://www.wikidata.org/wiki/Q3109175","display_name":"Context (archaeology)","level":2,"score":0.4689977169036865},{"id":"https://openalex.org/C204321447","wikidata":"https://www.wikidata.org/wiki/Q30642","display_name":"Natural language processing","level":1,"score":0.4429127275943756},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.4351575970649719},{"id":"https://openalex.org/C2780451532","wikidata":"https://www.wikidata.org/wiki/Q759676","display_name":"Task (project management)","level":2,"score":0.4314323663711548},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.3901767432689667},{"id":"https://openalex.org/C23123220","wikidata":"https://www.wikidata.org/wiki/Q816826","display_name":"Information retrieval","level":1,"score":0.32715925574302673},{"id":"https://openalex.org/C162324750","wikidata":"https://www.wikidata.org/wiki/Q8134","display_name":"Economics","level":0,"score":0.0},{"id":"https://openalex.org/C86803240","wikidata":"https://www.wikidata.org/wiki/Q420","display_name":"Biology","level":0,"score":0.0},{"id":"https://openalex.org/C187736073","wikidata":"https://www.wikidata.org/wiki/Q2920921","display_name":"Management","level":1,"score":0.0},{"id":"https://openalex.org/C151730666","wikidata":"https://www.wikidata.org/wiki/Q7205","display_name":"Paleontology","level":1,"score":0.0}],"mesh":[],"locations_count":3,"locations":[{"id":"doi:10.18653/v1/2023.findings-emnlp.227","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","pdf_url":"https://aclanthology.org/2023.findings-emnlp.227.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2023","raw_type":"proceedings-article"},{"id":"pmh:oai:arXiv.org:2310.17342","doi":null,"is_oa":true,"landing_page_url":"http://arxiv.org/abs/2310.17342","pdf_url":"https://arxiv.org/pdf/2310.17342","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by-sa","license_id":"https://openalex.org/licenses/cc-by-sa","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"doi:10.48550/arxiv.2310.17342","doi":"https://doi.org/10.48550/arxiv.2310.17342","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2310.17342","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by-sa","license_id":"https://openalex.org/licenses/cc-by-sa","version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Preprint"}],"best_oa_location":{"id":"doi:10.18653/v1/2023.findings-emnlp.227","doi":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","is_oa":true,"landing_page_url":"https://doi.org/10.18653/v1/2023.findings-emnlp.227","pdf_url":"https://aclanthology.org/2023.findings-emnlp.227.pdf","source":{"id":"https://openalex.org/S7407096085","display_name":"Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/P4310320244","host_organization_name":"Association for Computational Linguistics","host_organization_lineage":["https://openalex.org/P4310320244"],"host_organization_lineage_names":["Association for Computational Linguistics"],"type":"conference"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Findings of the Association for Computational Linguistics: EMNLP 2023","raw_type":"proceedings-article"},"sustainable_development_goals":[],"study_designs":[],"awards":[{"id":"https://openalex.org/G4522318017","display_name":null,"funder_award_id":"62120106006","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G6457581723","display_name":null,"funder_award_id":"62106142","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"},{"id":"https://openalex.org/G8721642152","display_name":null,"funder_award_id":"2021SHZDZX0102","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"}],"funders":[{"id":"https://openalex.org/F4320321001","display_name":"National Natural Science Foundation of China","ror":"https://ror.org/01h0zpd94"},{"id":"https://openalex.org/F4320322999","display_name":"Shanghai Jiao Tong University","ror":"https://ror.org/0220qvk04"}],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4389519829.pdf","grobid_xml":"https://content.openalex.org/works/W4389519829.grobid-xml"},"referenced_works_count":31,"referenced_works":["https://openalex.org/W2751448157","https://openalex.org/W2768409085","https://openalex.org/W2890431379","https://openalex.org/W2948465491","https://openalex.org/W2952032096","https://openalex.org/W2970442801","https://openalex.org/W2985377636","https://openalex.org/W3030163527","https://openalex.org/W3093819145","https://openalex.org/W3103962261","https://openalex.org/W3170698273","https://openalex.org/W3175488485","https://openalex.org/W3175818566","https://openalex.org/W3177813494","https://openalex.org/W3199077625","https://openalex.org/W3200285169","https://openalex.org/W4226053975","https://openalex.org/W4226278401","https://openalex.org/W4283026156","https://openalex.org/W4319862210","https://openalex.org/W4319982568","https://openalex.org/W4377372223","https://openalex.org/W4382202531","https://openalex.org/W4382202695","https://openalex.org/W4384615768","https://openalex.org/W4385281245","https://openalex.org/W4385573058","https://openalex.org/W4389523875","https://openalex.org/W7133205963","https://openalex.org/W7133224126","https://openalex.org/W7133231369"],"related_works":["https://openalex.org/W4401043809","https://openalex.org/W7165162669","https://openalex.org/W4389519331","https://openalex.org/W4389523875","https://openalex.org/W4400611569","https://openalex.org/W4412945208","https://openalex.org/W4389524197","https://openalex.org/W4412945149","https://openalex.org/W4417404350"],"abstract_inverted_index":{"Recently":[0],"Large":[1],"Language":[2],"Models":[3],"(LLMs)":[4],"have":[5,9],"been":[6],"proven":[7],"to":[8,29,55,64,101],"strong":[10],"abilities":[11],"in":[12,23],"various":[13],"domains":[14],"and":[15,27,69],"tasks.We":[16],"study":[17],"the":[18,24,31,39,71,85,102,110,124],"problem":[19],"of":[20],"prompt":[21,50],"designing":[22],"text-to-SQL":[25,104],"task":[26],"attempt":[28],"improve":[30],"LLMs'":[32,86,111],"reasoning":[33],"ability":[34],"when":[35,90],"generating":[36,91],"SQL":[37,93],"queries.Besides":[38],"trivial":[40],"few-shot":[41],"in-context":[42,98,130],"learning":[43,99,131],"setting,":[44],"we":[45,82,95],"design":[46],"our":[47,97,116],"chain-of-thought":[48],"(CoT)":[49],"with":[51],"a":[52,59],"similar":[53],"method":[54,60,100],"schema":[56],"linking.We":[57],"provide":[58],"named":[61],"ACT-SQL":[62,117],"1":[63],"automatically":[65],"generate":[66],"auto-CoT":[67],"exemplars":[68],"thus":[70],"whole":[72],"process":[73],"doesn't":[74],"need":[75],"manual":[76],"labeling.Our":[77],"approach":[78,119],"is":[79],"cost-saving":[80],"since":[81],"only":[83],"use":[84],"API":[87],"call":[88],"once":[89],"one":[92],"query.Furthermore,":[94],"extend":[96],"multi-turn":[103],"task.The":[105],"experiment":[106],"results":[107],"show":[108],"that":[109],"performance":[112,122],"can":[113],"benefit":[114],"from":[115],"approach.Our":[118],"achieves":[120],"SOTA":[121],"on":[123],"Spider":[125],"dev":[126],"set":[127],"among":[128],"existing":[129],"approaches.":[132]},"cited_by_api_url":"https://api.openalex.org/works?filter=cites:W4389519829","counts_by_year":[{"year":2026,"cited_by_count":59},{"year":2025,"cited_by_count":60},{"year":2024,"cited_by_count":22},{"year":2023,"cited_by_count":1}],"updated_date":"2026-11-17T12:49:18.490984","created_date":"2023-12-11T00:00:00"}
