Alexandre R. S. Correia

dblp:319/3130 · DBLP profile ↗
← Back
4ranked-venue papers
4as first author
3since 2021 · last 2024
0000-0002-2407-4608ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Software engineering, systems software and programming languages · 3 · 3 first-author · 3 since 2021Databases, data management, data science and information retrieval · 1 · 1 first-authorTheory of computation · 1 · 1 first-author
YearPublicationVenuePosition
2024 The effect of distance metrics in a general purpose synthesizer of imperative programs: A second empirical study using enlarged search spaces
abstract
Abstract Context Program synthesis is the task of automatically finding a program that satisfies the user intention. In previous work, we developed APS‐GA, a program synthesizer based on a genetic algorithm. As genetic algorithms depend on a fitness function, so does APS‐GA. Researchers argue that different distance metrics for a fitness function may reveal behavioral differences in the genetic algorithm. More recently, we presented initial evidence that APS‐GA was not affected by different distance metrics for its fitness function. However, that study was carried out on a medium‐sized scale. Objective In order to investigate our previous study on a larger scale, we extended our experiment to replicate it on a search space that is up to 6500 times larger than our previous work, and we ran it with a synthesis time that was at least 20 times longer. We have chosen the same five distance metrics as fitness functions to check whether they affect the synthesis task of five integer domain imperative toy programs. Method A hypothesis test was proposed and experiments were conducted to observe the number of calls to the fitness function () and to measure the synthesis time (). Results By considering a confidence level of 95% (with ), we found out that there were no significant differences in both and . Conclusion With these results, our extended replication study suggests that the discrete distance metric constitutes the best choice for APS‐GA as it guides the search with the same effectiveness as the other metrics, and is cheaper to compute.
Alexandre R. S. Correia, Juliano Iyoda, Alexandre Mota 0001
Softw. Pract. Exp.1
2022 The effect of distance metrics in a general purpose synthesizer: An empirical study on integer domain imperative programs
abstract
Abstract Context Program synthesis is the task of automatically finding a program that satisfies the user intention. In previous work, we have developed a program synthesizer that integrates genetic algorithm with model finder. A genetic algorithm uses a fitness function to calculate how “distant to a solution” a given candidate program is. Researchers argue that different distance metrics for a fitness function may reveal behavioral differences in the genetic algorithm. Objective We have chosen five distance metrics as fitness functions to check whether they affect the synthesis task of five different integer domain imperative toy‐programs which read/write integer values using fundamental syntactic constructs, such as while, if‐then‐else, and so forth. We have used input/output examples and sketches to constrain the search space of the candidate programs. Method A hypothesis test was proposed and experiments were conducted to observe the number of calls to the fitness function (x) and to measure the synthesis time ( ). Results Regarding x, the synthesizer found a solution for all five subjects after calling the fitness function the same amount of times. For , a one‐way ANOVA was performed with a significance level of 5% ( ). No significant differences were observed in both x and . Conclusion With these preliminary results, this study suggests that the discrete distance metric is the best choice, because it guides the search with the same effectiveness as the others and is not time consuming, and so forth. However, future experimentation with a larger search space will confirm or not this initial impression.
Alexandre R. S. Correia, Juliano Iyoda, Alexandre Mota 0001
Softw. Pract. Exp.1
2021 A family of multi-concept program synthesisers in Alloy⁎
Alexandre R. S. Correia, Juliano Iyoda, Alexandre Mota 0001
Sci. Comput. Program.1
2020 Combining model finder and genetic programming into a general purpose automatic program synthesizer
Alexandre R. S. Correia, Juliano Iyoda, Alexandre Mota 0001
Inf. Process. Lett.1