Incremental Program Synthesis from Event Logs
Jinwoo Kim, Victor Nicolet, Joey Dodds, Loris D'Antoni
Key points
From the paper's conclusion- We show that our approach, implemented in a tool LogLoom, scales to synthesis tasks with more traces and more complex programs than existing techniques.
Abstract
The goal of program synthesis is to enable non-expert users to write programs by providing a specification instead of an implementation. To truly realize this goal, the specification must require no expertise and no effort to generate. We consider the problem of synthesizing automation scripts from only the logs that are automatically collected by many systems. Using our approach, users can automate tasks they usually perform manually, without having to know how to program them. Because logs are collected automatically, the synthesis approach needs to scale to large sets of logs. We present a new algorithm to solve this task by incrementally extending an API-calling script with behavior exemplified by a sequence of log events, adding one sequence at a time. By minimizing the program modifications at each step, we preserve user intent and synthesize a program as general as possible. We show that our approach, implemented in a tool LogLoom, scales to synthesis tasks with more traces and more complex programs than existing techniques. LogLoom synthesizes scripts that are identical to reference solutions for 60 out of 72 benchmarks, compared to 14 for an existing symbolic approach and 39 for an LLM.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Symbolic Synthesis with Token-Level LLM GuidancearXiv · 2026
- BenchMeUp: Building Software Engineering Benchmarks from Natural-Language SpecificationsarXiv · 2026
- Large Language Model Powered Symbolic ExecutionProceedings of the ACM on Programming Languages · 2025
- Neuro-Symbolic Computer Use: Learning Reusable Policies for Reliable and Efficient ExecutionarXiv · 2026
- Symbolic Constraint Agents: Mining Formal Tool-Call Constraints to Prevent Agent ErrorsarXiv · 2026
- PAGENT: Program Analysis Guided LLM Agent for Proof-of-Concept GenerationProceedings of the ACM on Software Engineering · 2026