arrow
Return

Automatic Search-and-Replace From Examples With Coevolutionary Genetic Programming

delete2021-05-01
delete5
delete
OA
AI
A
Alberto Bartoli *
A
Andrea De Lorenzo
E
Eric Medvet
F
Fabiano Tarlao
DOI:10.1109/TCYB.2019.2918337delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
We describe the design and implementation of a system for executing search-and-replace text processing tasks automatically, based only on examples of the desired behavior. The examples consist of pairs describing the original string and the desired modified string. Their construction, thus, does not require any specific technical skill. The system constructs a solution to the specified task that can be used unchanged on popular existing software for text processing. The solution consists of a search pattern coupled with a replacement expression: the former is a regular expression which describes both the strings to be replaced and their portions to be reused in the latter, which describes how to build the modified strings. Our proposed system is internally based on genetic programming and implements a form of cooperative coevolution in which two separate populations are evolved independently, one for search patterns and the other for replacement expressions. We assess our proposal on six tasks of realistic complexity obtaining very good results, both in terms of absolute quality of the solutions and with respect to the challenging baselines considered.
Keywords:
Task analysis
Proposals
Software
Complexity theory
Search problems
Genetic programming
Text processing
Diversity promotion
find-and-replace
programming by examples (PBEs)
regular expressions
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Cybernetics cover
IEEE Transactions on Cybernetics
IF:
10.5
Papers:
1.1W
Citations:
5.0W

Organization

U
University of Trieste
Scholars:
1.3W
Papers: 1.1W
Citations: 1.2W