S. Dumančić
Please Note
80 records found
1
examples and are restricted to specific task classes to exploit domain knowledge.
To compete with general-purpose LLM-based code generation, a single IPS system
must handle tasks with different types of inputs, outputs, and instructions without
relying on domain-specific knowledge. This thesis introduces task-level adapta-
tion, a framework in which a synthesizer must learn how to search only from the in-
dividual task it is solving rather than from a predefined domain. We focus specific-
ally on search guided by automatically generated properties that capture useful
aspects of a program’s output. We introduce PHALCON to demonstrate the frame-
work’s viability. PHALCON repeatedly samples programs, selects properties that
distinguish incorrect outputs from intended behavior, and uses them to constrain
subsequent sampling. PHALCON outperforms state-of-the-art techniques special-
ized for string and bit-vector transformations, and solves tasks from the challenging
Abstraction and Reasoning Corpus. These results establish task-level adaptation as
a promising foundation for efficient, general program synthesis. ...
examples and are restricted to specific task classes to exploit domain knowledge.
To compete with general-purpose LLM-based code generation, a single IPS system
must handle tasks with different types of inputs, outputs, and instructions without
relying on domain-specific knowledge. This thesis introduces task-level adapta-
tion, a framework in which a synthesizer must learn how to search only from the in-
dividual task it is solving rather than from a predefined domain. We focus specific-
ally on search guided by automatically generated properties that capture useful
aspects of a program’s output. We introduce PHALCON to demonstrate the frame-
work’s viability. PHALCON repeatedly samples programs, selects properties that
distinguish incorrect outputs from intended behavior, and uses them to constrain
subsequent sampling. PHALCON outperforms state-of-the-art techniques special-
ized for string and bit-vector transformations, and solves tasks from the challenging
Abstraction and Reasoning Corpus. These results establish task-level adaptation as
a promising foundation for efficient, general program synthesis.
The results show that structure learning provides a practical and scalable alternative to manually constructing networks. Several models achieved performance close to that of the expert model, despite requiring substantially less domain expertise and engineering effort. Although none of the evaluated structures surpassed the expert model in the number of correctly solved test cases, multiple learned models performed within a small margin. The findings suggest that current evaluation data is insufficient to clearly distinguish between the best-performing models. This key limitation of not having enough high-quality labeled diagnostic data impacts the learning and evaluation processes. To address this challenge, a feedback-driven data collection process is proposed. Overall, the results demonstrate that data-driven Bayesian networks are a practical and scalable solution for supporting diagnostics in lithography machines. This enables rapid experimentation across operating conditions without requiring as much expert insight for each analyzed environment. ...
The results show that structure learning provides a practical and scalable alternative to manually constructing networks. Several models achieved performance close to that of the expert model, despite requiring substantially less domain expertise and engineering effort. Although none of the evaluated structures surpassed the expert model in the number of correctly solved test cases, multiple learned models performed within a small margin. The findings suggest that current evaluation data is insufficient to clearly distinguish between the best-performing models. This key limitation of not having enough high-quality labeled diagnostic data impacts the learning and evaluation processes. To address this challenge, a feedback-driven data collection process is proposed. Overall, the results demonstrate that data-driven Bayesian networks are a practical and scalable solution for supporting diagnostics in lithography machines. This enables rapid experimentation across operating conditions without requiring as much expert insight for each analyzed environment.
...
Optimized Concept Learning in BEN
Better identifying when transformations apply in a program synthesis agent
We present three optimizations to BEN's concept learner, built on a reimplementation of BEN in Julia. These optimization provide better nuance in complexity at different stages of the pipeline, helping the system more accurately mimic human analogical reasoning. A \emph{Rule Generality} heuristic uses cross-transformation frequency analysis to discount broadly applicable features. A \emph{DNF Model Score} leverages cumulative solver objective values as a semantic tie-breaker between structurally equivalent rules. A \emph{Simple Minimal Transformation Coverage} heuristic extends the greedy set-cover procedure, with secondary criteria based on correspondence ambiguity and transformation complexity. An ablation study on 400 ARC-AGI-1 tasks shows these optimizations increase accuracy from 32 to 36 solved tasks with no regressions and negligible computational overhead. Analysis of rule complexity reveals that generated DNFs consistently require only a single clause, suggesting that the current performance bottleneck lies in the upstream pipeline rather than in concept complexity itself. ...
We present three optimizations to BEN's concept learner, built on a reimplementation of BEN in Julia. These optimization provide better nuance in complexity at different stages of the pipeline, helping the system more accurately mimic human analogical reasoning. A \emph{Rule Generality} heuristic uses cross-transformation frequency analysis to discount broadly applicable features. A \emph{DNF Model Score} leverages cumulative solver objective values as a semantic tie-breaker between structurally equivalent rules. A \emph{Simple Minimal Transformation Coverage} heuristic extends the greedy set-cover procedure, with secondary criteria based on correspondence ambiguity and transformation complexity. An ablation study on 400 ARC-AGI-1 tasks shows these optimizations increase accuracy from 32 to 36 solved tasks with no regressions and negligible computational overhead. Analysis of rule complexity reveals that generated DNFs consistently require only a single clause, suggesting that the current performance bottleneck lies in the upstream pipeline rather than in concept complexity itself.
Seeing the Gaps: Improving Object Segmentation for Abstract Visual Reasoning in Julia
Grammar Extensions and Structural Ranking for the BEN Agent on the ARC Benchmark
Database-Guided Program Synthesis of Chemical Reaction Networks
Where Reaction-Database Knowledge is most effective in reducing search
...
Anytime Program Synthesis for the BEN ARC Solver
Exploring heuristically-driven backtracking for the DA&C paradigm
Efficient learning through programmatic representations
How can we better find the matches between input and output objects?
We present an enhanced object-matching methodology of the Align component to improve the quality of the correspondences found. First, the BEN algorithm is re-implemented in Julia, making use of an Answer Set Programming (ASP) solver using Clingo and Prolog for the SME to offer better efficiency. Second, we augment the structural representation of the objects by introducing features that capture the spatial relations between them, specifically through forms of ranked coordinates. Furthermore, we refine how multi-coloured objects are propositionally encoded. Finally, we introduce a weighting heuristic for the features: the significance of individual visual attributes is minimized when the input and output grids contain the same number of objects, and simple coordinates are eliminated when the input and output grids have different sizes.
The proposed changes were evaluated by isolating the Align component across subsets of the ARC-AGI-1 benchmark. In a sample of 25 manually selected tasks, the number of perfectly matched tasks improved significantly from 11 to 23. In a randomly selected sample of 25 tasks, the modifications give better or identical matches in 22 tasks, with only 3 showing degradations. When running the entire benchmark with the full BEN algorithm, one extra task is solved and two no longer are. Average times are similar and the number of searched transformations decreases. These findings suggest that including spatial relations and contextual weighting of the features improves the accuracy of finding correct correspondences for the ARC benchmark. ...
We present an enhanced object-matching methodology of the Align component to improve the quality of the correspondences found. First, the BEN algorithm is re-implemented in Julia, making use of an Answer Set Programming (ASP) solver using Clingo and Prolog for the SME to offer better efficiency. Second, we augment the structural representation of the objects by introducing features that capture the spatial relations between them, specifically through forms of ranked coordinates. Furthermore, we refine how multi-coloured objects are propositionally encoded. Finally, we introduce a weighting heuristic for the features: the significance of individual visual attributes is minimized when the input and output grids contain the same number of objects, and simple coordinates are eliminated when the input and output grids have different sizes.
The proposed changes were evaluated by isolating the Align component across subsets of the ARC-AGI-1 benchmark. In a sample of 25 manually selected tasks, the number of perfectly matched tasks improved significantly from 11 to 23. In a randomly selected sample of 25 tasks, the modifications give better or identical matches in 22 tasks, with only 3 showing degradations. When running the entire benchmark with the full BEN algorithm, one extra task is solved and two no longer are. Average times are similar and the number of searched transformations decreases. These findings suggest that including spatial relations and contextual weighting of the features improves the accuracy of finding correct correspondences for the ARC benchmark.
Efficient learning through programmatic representations
Improving transformation search in BEN
This project aims to improve the transformation search and, in doing so, asks whether correspondence-tailored grammar pruning can reduce the search space and improve the efficiency of BEN’s conquer step. BEN is reimplemented in Julia using the Herb.jl library. On top of that, a pruning strategy that exploits structural similarities between matched input-output object pairs is added. Both the baseline and the improved version are evaluated on the 400-task ARC training set.
The pruning reduces the average number of candidate programs evaluated by 77%, but it has a seemingly slight negative impact on the tasks that get solved. The number of correctly solved tasks decreases from 31 to 30. These results show that simple structural observations about the matched object pairs substantially reduce the search space. More informed search looks like a promising direction for improving program synthesis systems on ARC. ...
This project aims to improve the transformation search and, in doing so, asks whether correspondence-tailored grammar pruning can reduce the search space and improve the efficiency of BEN’s conquer step. BEN is reimplemented in Julia using the Herb.jl library. On top of that, a pruning strategy that exploits structural similarities between matched input-output object pairs is added. Both the baseline and the improved version are evaluated on the 400-task ARC training set.
The pruning reduces the average number of candidate programs evaluated by 77%, but it has a seemingly slight negative impact on the tasks that get solved. The number of correctly solved tasks decreases from 31 to 30. These results show that simple structural observations about the matched object pairs substantially reduce the search space. More informed search looks like a promising direction for improving program synthesis systems on ARC.
The resulting grammar reproduces the same ringless molecule sets as the legacy baseline on the audited tests and benchmarks, and all generated molecules pass the repository’s valence-validity checks. Runtime results are mixed: on the small water benchmark, the new grammar becomes faster from depth 5 onward and reaches a 2.87× speedup at depth 10, while on methane and urea it remains slower throughout the measured ringless depth series. A fixed-count methane benchmark shows that this slowdown is not mainly caused by legacy validity checking, but by the added search overhead of the larger valence-aware grammar.
The main conclusion is that the new grammar preserves the audited ringless output behaviour while shifting pruning earlier in the search, but this does not translate into consistent runtime gains. ...
The resulting grammar reproduces the same ringless molecule sets as the legacy baseline on the audited tests and benchmarks, and all generated molecules pass the repository’s valence-validity checks. Runtime results are mixed: on the small water benchmark, the new grammar becomes faster from depth 5 onward and reaches a 2.87× speedup at depth 10, while on methane and urea it remains slower throughout the measured ringless depth series. A fixed-count methane benchmark shows that this slowdown is not mainly caused by legacy validity checking, but by the added search overhead of the larger valence-aware grammar.
The main conclusion is that the new grammar preserves the audited ringless output behaviour while shifting pruning earlier in the search, but this does not translate into consistent runtime gains.
Utilizing Frequently Occurring Subprograms in Program Synthesis
Letting clingo find subprograms and inserting them into the grammar
https://github.com/jelleromer/herb-bep ...
https://github.com/jelleromer/herb-bep
Identifying and Leveraging Structural Sketches in Budgeted Program Synthesis
Online Structural Generalization from Partial Programs