{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T11:08:35Z","timestamp":1790075315132,"version":"4.0.1"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>\n                    High-level specifications of code are inherently ambiguous, and prior systems have explored interactive techniques to help users clarify their intent and resolve such ambiguities. However, most existing approaches elicit supervision through labeled examples, which are often error-prone and may fail to capture user intent. This paper introduces a new active learning paradigm for program disambiguation based on multiple-choice queries. In this paradigm, the system presents a small set of high-level behaviors as multiple-choice options, and the user simply selects the intended one. Technically, each answer option corresponds to a Hoare triple that characterizes a cluster of semantically similar candidate programs. This formulation enables formal reasoning about the informativeness and interpretability of queries, and supports systematic construction of optimal queries. Building on this insight, we develop a new active learning algorithm and implement it in a tool called\n                    <jats:sc>Socrates<\/jats:sc>\n                    , which automatically synthesizes informative multiple-choice queries for program disambiguation. We evaluate\n                    <jats:sc>Socrates<\/jats:sc>\n                    across four domains spanning both symbolic and neurosymbolic settings and show that it produces intuitive, easy-to-answer queries and achieves efficient convergence. Most importantly,\n                    <jats:sc>Socrates<\/jats:sc>\n                    identifies the intended program more reliably than existing methods, while maintaining competitive runtime performance.\n                  <\/jats:p>","DOI":"10.1145\/3808279","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"805-829","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Choose, Don't Label: Multiple-Choice Query Synthesis for Program Disambiguation"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7688-6133","authenticated-orcid":false,"given":"Celeste","family":"Barnaby","sequence":"first","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-3437-8064","authenticated-orcid":false,"given":"Danny","family":"Ding","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9990-7566","authenticated-orcid":false,"given":"Osbert","family":"Bastani","sequence":"additional","affiliation":[{"name":"University of Pennsylvania, Philadelphia, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8006-1230","authenticated-orcid":false,"given":"I\u015f\u0131l","family":"Dillig","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","DOI":"10.1561\/2200000101"},{"key":"e_1_3_1_3_1","unstructured":"JacobAustin AugustusOdena MaxwellNye MaartenBosma HenrykMichalewski DavidDohan EllenJiang CarrieCai MichaelTerry QuocLe (2021) Program synthesis with large language models arXiv preprint arXiv:2108.07732(2021)."},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/378795.378846"},{"key":"e_1_3_1_5_1","unstructured":"CelesteBarnaby QiaochuChen RamyaRamalingam OsbertBastani IsilDillig (2025) Active Learning for Neurosymbolic Program Synthesis arXiv preprint arXiv:2508.15750 (2025)."},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3591248"},{"key":"e_1_3_1_7_1","doi-asserted-by":"crossref","unstructured":"CelesteBarnaby QiaochuChen ChenglongWang IsilDillig (2024) PhotoScout: Synthesis-Powered Multi-Modal Image Search arXiv preprint arXiv:2401.10464 (2024).","DOI":"10.1145\/3613904.3642319"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","unstructured":"CelesteBarnaby DannyDing (2026) Artifact for \"Choose Don't Label: Multiple-Choice Query Synthesis for Program Disambiguation\" doi:10.5281\/zenodo.19052770 10.5281\/zenodo.19052770","DOI":"10.5281\/zenodo.19052770"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","unstructured":"CelesteBarnaby DannyDing OsbertBastani IsilDillig (2026) Choose Don't Label: Multiple-Choice Query Synthesis for Program Disambiguationhttps:\/\/doi.org\/10.48550\/arXiv.2604.08792 10.48550\/arXiv.2604.08792","DOI":"10.48550\/arXiv.2604.08792"},{"key":"e_1_3_1_10_1","first-page":"1877","article-title":"Language models are few-shot learners","volume":"33","author":"Brown Tom","year":"2020","unstructured":"TomBrown, BenjaminMann, NickRyder, MelanieSubbiah, Jared DKaplan, PrafullaDhariwal, ArvindNeelakantan, PranavShyam, GirishSastry, AmandaAskell, (2020) Language models are few-shot learners Advances in neural information processing systems 33, 1877\u20131901.","journal-title":"Advances in neural information processing systems"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1995.1164"},{"key":"e_1_3_1_12_1","doi-asserted-by":"crossref","unstructured":"Nader HBshouty RichardCleve SampathKannan ChristinoTamon (1994) Oracles and queries that are sufficient for exact learning Proceedings of the seventh annual conference on Computational learning theory 130\u2013139.","DOI":"10.1145\/180139.181067"},{"key":"e_1_3_1_13_1","unstructured":"VarunChandrasekaran KamalikaChaudhuri IreneGiacomelli SomeshJha SongbaiYan (2020) Exploring connections between active learning and model extraction 29th USENIX Security Symposium (USENIX Security 20) 1309\u20131326."},{"key":"e_1_3_1_14_1","unstructured":"MarkChen JerryTworek HeewooJun QimingYuan Henrique Ponde De OliveiraPinto JaredKaplan HarriEdwards YuriBurda NicholasJoseph GregBrockman (2021) Evaluating large language models trained on code arXiv preprint arXiv:2107.03374 (2021)."},{"key":"e_1_3_1_15_1","doi-asserted-by":"crossref","unstructured":"QiaochuChen XinyuWang XiYe GregDurrett IsilDillig (2020) Multi-modal synthesis of regular expressions Proceedings of the 41st ACM SIGPLAN conference on programming language design and implementation 487\u2013502.","DOI":"10.1145\/3385412.3385988"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE56229.2023.00129"},{"key":"e_1_3_1_17_1","unstructured":"ZhoujunCheng TianbaoXie PengShi ChengzuLi RahulNadkarni YushiHu CaimingXiong DragomirRadev MariOstendorf LukeZettlemoyer (2022) Binding language models in symbolic languages arXiv preprint arXiv:2210.02875 (2022)."},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/876638.876643"},{"key":"e_1_3_1_19_1","article-title":"Analysis of a greedy active learning strategy","volume":"17","author":"Dasgupta Sanjoy","year":"2004","unstructured":"SanjoyDasgupta (2004) Analysis of a greedy active learning strategy Advances in neural information processing systems 17,","journal-title":"Advances in neural information processing systems"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","DOI":"10.5555\/1792734.1792766"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-15769-1_15"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","unstructured":"DanaDrachsler-Cohen SharonShoham EranYahav (2017) Synthesis with Abstract Examples. 254\u2013278. doi:10.1007\/978-3-319-63387-9_13 10.1007\/978-3-319-63387-9_13","DOI":"10.1007\/978-3-319-63387-9_13"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3296979.3192382"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062351"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-72016-2_9"},{"key":"e_1_3_1_26_1","doi-asserted-by":"crossref","unstructured":"CormacFlanagan ShazQadeer (2002) Predicate abstraction for software verification Proceedings of the 29th ACM SIGPLAN-SIGACT symposium on Principles of programming languages 191\u2013202.","DOI":"10.1145\/503272.503291"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428269"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","DOI":"10.5555\/647766.733618"},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3371080"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3695988"},{"key":"e_1_3_1_31_1","unstructured":"DiHuang RuiZhang XingHu XishanZhang PengweiJin NanLi ZidongDu QiGuo YunjiChen (2022) Neural program synthesis with query arXiv preprint arXiv:2205.07857 (2022)."},{"key":"e_1_3_1_32_1","doi-asserted-by":"crossref","unstructured":"NamanJain SkandaVaidyanath ArunIyer NagarajanNatarajan SureshParthasarathy SriramRajamani RahulSharma (2022) Jigsaw: Large language models meet program synthesis Proceedings of the 44th International Conference on Software Engineering 1219\u20131231.","DOI":"10.1145\/3510003.3510203"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806799.1806833"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/3586055"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3386025"},{"key":"e_1_3_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3025171.3025203"},{"key":"e_1_3_1_37_1","doi-asserted-by":"crossref","unstructured":"Toby Jia-JunLi AmosAzaria Brad AMyers (2017) SUGILITE: creating multimodal smartphone automation by demonstration Proceedings of the 2017 CHI conference on human factors in computing systems 6038\u20136049.","DOI":"10.1145\/3025453.3025483"},{"key":"e_1_3_1_38_1","doi-asserted-by":"crossref","unstructured":"Toby Jia-JunLi MarissaRadensky JustinJia KirielleSingarajah Tom MMitchell Brad AMyers (2019) Pumice: A multi-modal agent that learns concepts and conditionals from natural language and demonstrations Proceedings of the 32nd annual ACM symposium on user interface software and technology 577\u2013589.","DOI":"10.1145\/3332165.3347899"},{"key":"e_1_3_1_39_1","doi-asserted-by":"crossref","unstructured":"Mika\u00eblMayer GustavoSoares MaximGrechkin VuLe MarkMarron OleksandrPolozov RishabhSingh BenjaminZorn SumitGulwani (2015) User interaction models for disambiguation in programming by example Proceedings of the 28th Annual ACM Symposium on User Interface Software & Technology 291\u2013301.","DOI":"10.1145\/2807442.2807459"},{"key":"e_1_3_1_40_1","doi-asserted-by":"publisher","unstructured":"Brad A.Myers RichardMcDaniel (2001) Chapter 3 - Demonstrational Interfaces: Sometimes You Need a Little Intelligence Sometimes You Need a Lot Your Wish is My CommandHenryLieberman Morgan Kaufmann San Francisco 45\u2013III. doi:10.1016\/B978-155860688-3\/50004-X 10.1016\/B978-155860688-3\/50004-X","DOI":"10.1016\/B978-155860688-3\/50004-X"},{"key":"e_1_3_1_41_1","unstructured":"JakobNielsen (1993) Response Times: The 3 Important Limits https:\/\/www.nngroup.com\/articles\/response-times-3-important-limits\/"},{"key":"e_1_3_1_42_1","unstructured":"ErikNijkamp BoPang HiroakiHayashi LifuTu HuanWang YingboZhou SilvioSavarese CaimingXiong (2022) CodeGen: An open large language model for code with multi-turn program synthesis arXiv preprint arXiv:2203.13474(2022)."},{"key":"e_1_3_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276520"},{"key":"e_1_3_1_44_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00236-019-00340-y"},{"key":"e_1_3_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180189"},{"key":"e_1_3_1_46_1","doi-asserted-by":"publisher","DOI":"10.1080\/00029890.1959.11989404"},{"key":"e_1_3_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3485535"},{"key":"e_1_3_1_48_1","unstructured":"DanielRamos InesLynce VascoManquinho RubenMartins (2020) Program disambiguation using MaxSAT MaxSAT Evaluation 2020 58"},{"key":"e_1_3_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/3472291"},{"key":"e_1_3_1_50_1","first-page":"6","volume-title":"ICML","author":"Schohn Greg","year":"2000","unstructured":"GregSchohn, DavidCohn (2000) Less is more: Active learning with support vector machines ICML 2, Citeseer, 6"},{"key":"e_1_3_1_51_1","unstructured":"BurrSettles (2009) Active learning literature survey. (2009)."},{"key":"e_1_3_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2025113.2025153"},{"key":"e_1_3_1_53_1","doi-asserted-by":"publisher","unstructured":"KotaSueyoshi TakashiMatsubara (2024) Predicated Diffusion: Predicate Logic-Based Attention Guidance for Text-to-Image Diffusion Models 2024 IEEE\/CVF Conference on Computer Vision and Pattern Recognition (CVPR) 8651\u20138660. doi:10.1109\/CVPR52733.2024.00826 10.1109\/CVPR52733.2024.00826","DOI":"10.1109\/CVPR52733.2024.00826"},{"key":"e_1_3_1_54_1","doi-asserted-by":"crossref","unstructured":"DidacSuris SachitMenon CarlVondrick (2023) Vipergpt: Visual inference via python execution for reasoning Proceedings of the IEEE\/CVF international conference on computer vision 11888\u201311898.","DOI":"10.1109\/ICCV51070.2023.01092"},{"key":"e_1_3_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3058738"},{"key":"e_1_3_1_56_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-96145-3_22"},{"key":"e_1_3_1_57_1","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3158151","article-title":"Program synthesis using abstraction refinement","volume":"2","author":"Wang Xinyu","year":"2017","unstructured":"XinyuWang, IsilDillig, RishabhSingh (2017) Program synthesis using abstraction refinement Proceedings of the ACM on Programming Languages 2, POPL,1\u201330.","journal-title":"Proceedings of the ACM on Programming Languages"},{"key":"e_1_3_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3379337.3415900"},{"key":"e_1_3_1_59_1","unstructured":"ZixuanZhou XuefeiNing KeHong TianyuFu JiamingXu ShiyaoLi YumingLou LuningWang ZhihangYuan XiuhongLi (2024) A survey on efficient inference for large language models arXiv preprint arXiv:2404.14294.(2024)."}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808279","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:48:58Z","timestamp":1790074138000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808279"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":58,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808279"],"URL":"https:\/\/doi.org\/10.1145\/3808279","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-07","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}