Advanced search
Start date
Betweenand


Going Bananas! - Unfolding Program Synthesis with Origami

Full text
Author(s):
Fernandes, Matheus Campos ; de Franca, Fabricio Olivetti ; Francesquini, Emilio
Total Authors: 3
Document type: Journal article
Source: INTELLIGENT SYSTEMS, BRACIS 2024, PT II; v. 15413, p. 16-pg., 2025-01-01.
Abstract

Automatically creating a computer program using input-output examples can be a challenging task, especially when trying to synthesize computer programs that require loops or recursion. Even though the use of recursion can make the algorithmic description more succinct and declarative, this concept creates additional barriers to program synthesis algorithms such as the creation and the attempt to evaluate non-terminating programs. One reason is that the recursive function must define how to traverse (or generate) the data structure and, at the same time, how to process it. In functional programming, the concept of Recursion Schemes decouples these two tasks by putting a major focus on the data processing. This can also help to avoid some of the pitfalls of recursive functions during program synthesis, as argued in the paper that introduced the Origami technique. The authors showed how this technique can be effective in finding solutions for programs that require folding a list. In this work, we incorporate other Recursion Schemes into Origami, such as accumulated folding, unfolding, and the combination of unfolding and folding. We evaluated it on the 29 problems of the standard General Program Synthesis Benchmark Suite 1, obtaining favorable results against other well-known algorithms. Overall, Origami achieves the best results in 25% more problems than its predecessor (HOTGP) and an even higher increase when compared to other approaches. Not only that, but it can also consistently find a solution to problems for which other concurrent algorithms report a low success rate. (AU)

FAPESP's process: 23/00811-0 - EcoSustain: computer and data science for the environment
Grantee:Antonio Jorge Gomes Abelém
Support Opportunities: Research Projects - Thematic Grants
FAPESP's process: 19/26702-8 - Trends on high performance computing, from resource management to new computer architectures
Grantee:Alfredo Goldman vel Lejbman
Support Opportunities: Research Projects - Thematic Grants
FAPESP's process: 24/01115-0 - CCD - Carbon Neutral Cities
Grantee:Liedi Legi Bariani Bernucci
Support Opportunities: Research Grants - Science Centers for Development
FAPESP's process: 21/06867-2 - Applications of scheduling theory to optimize green energy usage in cloud computing platforms
Grantee:Daniel de Angelis Cordeiro
Support Opportunities: Regular Research Grants
FAPESP's process: 21/12706-1 - Shape-constrained symbolic regression
Grantee:Fabricio Olivetti de França
Support Opportunities: Scholarships abroad - Research