mlsanityData to 7 Oct 2026

Is Programming by Example solved by LLMs?

arXiv 2406.08316 ↗First posted 12 Jun 2024cs.CL cs.AI cs.LGcited by 27

Not on the map. Why?

Abstract (arXiv)

Programming-by-Examples (PBE) aims to generate an algorithm from input-output examples. Such systems are practically and theoretically important: from an end-user perspective, they are deployed to millions of people, and from an AI perspective, PBE corresponds to a very general form of few-shot inductive inference. Given the success of Large Language Models (LLMs) in code-generation tasks, we investigate here the extent to which LLMs can be said to have "solved" PBE. We experiment on classic domains such as lists and strings, and an uncommon graphics programming domain not well represented in typical pretraining data. We find that pretrained models are not effective at PBE, but that they can be fine-tuned for much higher performance, provided the test problems are in-distribution. We analyze empirically what causes these models to succeed and fail, and take steps toward understanding how to achieve better out-of-distribution generalization. Collectively these results suggest that LLMs make strong progress toward solving the typical suite of PBE tasks, potentially increasing the flexibility and applicability of PBE systems, while also identifying ways in which LLMs still fall short.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 38 of its 65 references that are in the map. First posted on arXiv 12 Jun 2024.

Builds on

38 of 65 references.

References · 38

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  3. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  4. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  6. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  7. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  8. 2023Teaching Large Language Models to Self-Debugcited by 963
  9. 2021Measuring Coding Challenge Competence With APPScited by 879
  10. 2022CodeT: Code Generation with Generated Testscited by 369
  11. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  12. 2022Generating Sequences by Learning to Self-Correctcited by 271
26 more
  1. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
  2. 2022ZeroGen: Efficient Zero-shot Learning via Dataset Generationcited by 209
  3. 2022Generating Training Data with Language Models: Towards Zero-Shot Language Understandingcited by 199
  4. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 191
  5. 2016DeepCoder: Learning to Write Programscited by 145
  6. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
  7. 2023Hypothesis Search: Inductive Reasoning with Language Modelscited by 119
  8. 2019Write, Execute, Assess: Program Synthesis with a REPLcited by 92
  9. 2023Phenomenal Yet Puzzling: Testing Inductive Reasoning Capabilities of Language Models with Hypothesis Refinementcited by 89
  10. 2022Parsel: Algorithmic Reasoning with Language Models by Composing Decompositionscited by 62
  11. 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 50
  12. 2021Leveraging Language to Learn Program Abstractions and Search Heuristicscited by 44
  13. 2024DataDreamer: A Tool for Synthetic Data Generation and Reproducible LLM Workflowscited by 43
  14. 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
  15. 2018Neural-Guided Deductive Search for Real-Time Program Synthesis from Examplescited by 39
  16. 2020Synthesize, Execute and Debug: Learning to Repair for Neural Program Synthesiscited by 39
  17. 2022Fault-Aware Neural Code Rankerscited by 33
  18. 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 32
  19. 2024Doing Experiments and Revising Rules with Natural Language and Probabilistic Reasoningcited by 23
  20. 2023Human-like Few-Shot Learning via Bayesian Reasoning over Natural Languagecited by 21
  21. 2020Just-in-Time Learning for Bottom-Up Enumerative Synthesiscited by 18
  22. 2022CrossBeam: Learning to Search in Bottom-Up Program Synthesiscited by 18
  23. 2023ExeDec: Execution Decomposition for Compositional Generalization in Neural Program Synthesiscited by 17
  24. 2019Program-Guided Image Manipulatorscited by 12
  25. 2021Scaling Neural Program Synthesis with Distribution-based Searchcited by 6
  26. 2023LambdaBeam: Neural Program Search with Higher-Order Functions and Lambdascited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 16; 2026: 9.

27 papers.

Sort:

By area:

  1. 2025Self-Improving Language Models for Evolutionary Program Synthesis: A Case Study on ARC-AGIcited by 34
  2. 2025TikZero: Zero-Shot Text-Guided Graphics Program Synthesiscited by 21
  3. 2025Generating Computational Cognitive Models using Large Language Modelscited by 12
  4. 2025EasyARC: Evaluating Vision Language Models on True Visual Reasoningcited by 10
  5. 2025ARC-GEN: A Mimetic Procedural Benchmark Generator for the Abstraction and Reasoning Corpuscited by 8
  6. 2024Generating Diverse Hypotheses for Inductive Reasoningcited by 6
  7. 2025Program Synthesis via Test-Time Transductioncited by 4
  8. 2025Programming by Examples Meets Historical Linguistics: A Large Language Model Based Approach to Sound Law Inductioncited by 3
  9. 2025LLM Priors for ERM over Programscited by 3
  10. 2024Can Large Language Models Code Like a Linguist?: A Case Study in Low Resource Sound Law Inductioncited by 2
  11. 2025Shedding Light in Task Decomposition in Program Synthesis: The Driving Force of the Synthesizer Modelcited by 2
  12. 2025PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguisticscited by 2
15 more
  1. 2025A Compute-Matched Re-Evaluation of TroVE on MATHcited by 2
  2. 2025Beyond Either-Or Reasoning: Transduction and Induction as Cooperative Problem-Solving Paradigmscited by 1
  3. 2025MultiMat: Multimodal Program Synthesis for Procedural Materials using Large Multimodal Modelscited by 1
  4. 2025Generation of Programmatic Rules for Document Forgery Detection Using Large Language Modelscited by 1
  5. 2026ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesiscited by 1
  6. 2026From I/O to Code with Discovery Agentcited by 1
  7. 2025Ultra Strong Machine Learning: LLM-Generated Explanations Do Not Yet Suffice for Teaching Humans Active Learning Strategycited by 0
  8. 2025Analysis of Error Sources in LLM-based Hypothesis Search for Few-Shot Rule Inductioncited by 0
  9. 2026Prompt Driven Development with Claude Code: Building a Complete TUI Framework for the Ring Programming Languagecited by 0
  10. 2026XSearch: Explainable Code Search via Concept-to-Code Alignmentcited by 0
  11. 2026Hypothesis Generation and Inductive Inference in Children and Language Modelscited by 0
  12. 2026Geometry-Aware MCTS for Extremal Problems in Combinatorial Geometrycited by 0
  13. 2026Fixed-Set Robustness in Programming by Example: Example Corruption and Semantic Partition Recoverycited by 0
  14. 2026Solver-Aware Decompositions for Programming-by-Example: When Dividing Requires Knowing how to Conquercited by 0
  15. 2026Codoku: Renewable Program-Reasoning Challenges for Frontier Coding Agentscited by 0