{"id":{"repo_id":"texas","oai_identifier":"oai:repositories.lib.utexas.edu:2152/137446"},"canonical_url":"https://search.ndltd.org/etd/texas/oai:repositories.lib.utexas.edu:2152/137446","repository":{"repo_id":"texas","name":"University of Texas","base_url":"https://repositories.lib.utexas.edu/server/oai/request"},"display":{"title":"LLM-based exhaustive generation of data structures","abstract":"Bounded exhaustive testing requires enumerating all valid data structure in- stances up to a given size — a task traditionally handled by tools like Korat that rely on imperative validity predicates and systematic backtracking search. This report empirically investigates whether large language models (LLMs) can serve as reliable bounded enumerators, given only a natural-language specification of the data structure and its invariants. We evaluate four prompting strategies — Direct Enumeration, Few-Shot Enumeration, Validation-Feedback Refinement, and Code-Generating Enumeration — across four data structures (BST, Heap, Linked List, Red-Black Tree) at varying input sizes, using GPT-4o and GPT-5.4. Our main finding is that Code-Generating Enumeration is the only strategy that scales reliably: it achieves perfect recall on 100% of configurations with GPT-5.4. Direct generation strategies fail as ground-truth counts grow, either producing invalid structures or hitting output-length limits. Red-Black Trees remain the hardest structure across all strategies and models, due to their four interdependent invariants. These results suggest that LLMs are best used as program synthesizers rather than direct enumerators for bounded exhaustive testing.","abstract_html":"Bounded exhaustive testing requires enumerating all valid data structure in- stances up to a given size — a task traditionally handled by tools like Korat that rely on imperative validity predicates and systematic backtracking search. This report empirically investigates whether large language models (LLMs) can serve as reliable bounded enumerators, given only a natural-language specification of the data structure and its invariants. We evaluate four prompting strategies — Direct Enumeration, Few-Shot Enumeration, Validation-Feedback Refinement, and Code-Generating Enumeration — across four data structures (BST, Heap, Linked List, Red-Black Tree) at varying input sizes, using GPT-4o and GPT-5.4. Our main finding is that Code-Generating Enumeration is the only strategy that scales reliably: it achieves perfect recall on 100% of configurations with GPT-5.4. Direct generation strategies fail as ground-truth counts grow, either producing invalid structures or hitting output-length limits. Red-Black Trees remain the hardest structure across all strategies and models, due to their four interdependent invariants. These results suggest that LLMs are best used as program synthesizers rather than direct enumerators for bounded exhaustive testing.","abstract_has_math":false,"creators":["Wu, Binbin"],"institution":"The University of Texas at Austin","degree_name":"Master of Science in Engineering","degree_level":"MASTERS","degree_discipline":"Electrical and Computer Engineering","degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":["Khurshid, Sarfraz"],"committee_chairs":[],"committee_members":["Garg, Vijay"],"year":2026,"date_issued":"2026-05","date_published":"2026-05","updated_at":"2026-11-20T21:59:24Z","subjects":["Korat","Data structures","Bounded exhaustive testing","Large Language Models"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/137446"],"render_values":[{"text":"https://hdl.handle.net/2152/137446","href":"https://hdl.handle.net/2152/137446","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.26153/tsw/64737","outbound_label":"DOI","outbound_source":"dc:identifier.uri","record_url":"https://doi.org/10.26153/tsw/64737","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atexas%3Aoai%3Arepositories.lib.utexas.edu%3A2152%2F137446","prefix":"oai_dc"},"source_record":{"url":"https://repositories.lib.utexas.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepositories.lib.utexas.edu%3A2152%2F137446","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Khurshid, Sarfraz"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Garg, Vijay"]},{"key":"dc:contributor.department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"dc:creator","label":"Author","values":["Wu, Binbin"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-09-09T18:48:12Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-05"]},{"key":"dc:date.issued","label":"Date","values":["2026-05"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["May 2026"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2026-09-09T18:48:13Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["Graduate School"]},{"key":"thesis:degree_department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["MASTERS"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science in Engineering"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The University of Texas at Austin"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Korat","Data structures","Bounded exhaustive testing","Large Language Models"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/137446","https://doi.org/10.26153/tsw/64737"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Bounded exhaustive testing requires enumerating all valid data structure in- stances up to a given size — a task traditionally handled by tools like Korat that rely on imperative validity predicates and systematic backtracking search. This report empirically investigates whether large language models (LLMs) can serve as reliable bounded enumerators, given only a natural-language specification of the data structure and its invariants. We evaluate four prompting strategies — Direct Enumeration, Few-Shot Enumeration, Validation-Feedback Refinement, and Code-Generating Enumeration — across four data structures (BST, Heap, Linked List, Red-Black Tree) at varying input sizes, using GPT-4o and GPT-5.4. Our main finding is that Code-Generating Enumeration is the only strategy that scales reliably: it achieves perfect recall on 100% of configurations with GPT-5.4. Direct generation strategies fail as ground-truth counts grow, either producing invalid structures or hitting output-length limits. Red-Black Trees remain the hardest structure across all strategies and models, due to their four interdependent invariants. These results suggest that LLMs are best used as program synthesizers rather than direct enumerators for bounded exhaustive testing."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["LLM-based exhaustive generation of data structures"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Khurshid, Sarfraz"],"dc:contributor.committeemember":["Garg, Vijay"],"dc:contributor.department":["Electrical and Computer Engineering"],"dc:creator":["Wu, Binbin"],"dc:date.accessioned":["2026-09-09T18:48:12Z"],"dc:date.created":["2026-05"],"dc:date.issued":["2026-05"],"dc:date.submitted":["May 2026"],"dc:date.updated":["2026-09-09T18:48:13Z"],"dc:description.abstract":["Bounded exhaustive testing requires enumerating all valid data structure in- stances up to a given size — a task traditionally handled by tools like Korat that rely on imperative validity predicates and systematic backtracking search. This report empirically investigates whether large language models (LLMs) can serve as reliable bounded enumerators, given only a natural-language specification of the data structure and its invariants. We evaluate four prompting strategies — Direct Enumeration, Few-Shot Enumeration, Validation-Feedback Refinement, and Code-Generating Enumeration — across four data structures (BST, Heap, Linked List, Red-Black Tree) at varying input sizes, using GPT-4o and GPT-5.4. Our main finding is that Code-Generating Enumeration is the only strategy that scales reliably: it achieves perfect recall on 100% of configurations with GPT-5.4. Direct generation strategies fail as ground-truth counts grow, either producing invalid structures or hitting output-length limits. Red-Black Trees remain the hardest structure across all strategies and models, due to their four interdependent invariants. These results suggest that LLMs are best used as program synthesizers rather than direct enumerators for bounded exhaustive testing."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/2152/137446","https://doi.org/10.26153/tsw/64737"],"dc:subject":["Korat","Data structures","Bounded exhaustive testing","Large Language Models"],"dc:title":["LLM-based exhaustive generation of data structures"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"thesis:degree_college":["Graduate School"],"thesis:degree_department":["Electrical and Computer Engineering"],"thesis:degree_discipline":["Electrical and Computer Engineering"],"thesis:degree_level":["MASTERS"],"thesis:degree_name":["Master of Science in Engineering"],"thesis:institution_name":["The University of Texas at Austin"]},"updated_at":"2026-11-20T21:59:24Z"}