skip to main content
10.1145/1389095.1389336acmconferencesArticle/Chapter ViewAbstractPublication PagesgeccoConference Proceedingsconference-collections
research-article

Memory with memory: soft assignment in genetic programming

Published: 12 July 2008 Publication History

Abstract

Based in part on observations about the incremental nature of most state changes in biological systems, we introduce the idea of Memory with Memory in Genetic Programming (GP), where we use "soft" assignments to registers instead of the "hard" assignments used in most computer science (including traditional GP). Instead of having the new value completely overwrite the old value of the register, these soft assignments combine the old and new values.
We then report on extensive empirical tests (a total of 12,800 runs) on symbolic regression problems where Memory with Memory GP almost always does as well as traditional GP, while significantly outperforming it in several cases. Memory with Memory GP also tends to be far more consistent, having much less variation in its best-of-run fitnesses than traditional GP. The data suggest that Memory with Memory GP works by successively refining an approximate solution to the target problem. This means it can continue to improve (if slowly) over time, but that it is less likely to get the sort of exact solution that one might find with traditional GP. The use of soft assignment also means that Memory with Memory GP is much less likely to have truly ineffective code, but the action of successive refinement of approximations means that the average program size is often larger than with traditional GP.

References

[1]
P. J. Angeline. An alternative to indexed memory for evolving programs with explicit state representations. In J. R. Koza, K. Deb, M. Dorigo, D. B. Fogel, M. Garzon, H. Iba, and R. L. Riolo, editors, Genetic Programming 1997: Proceedings of the Second Annual Conference, pages 423--430, Stanford University, CA, USA, 13-16 July 1997. Morgan Kaufmann.
[2]
W. Banzhaf, P. Nordin, R. E. Keller, and F. D. Francone. Genetic Programming -- An Introduction; On the Automatic Evolution of Computer Programs and its Applications. Morgan Kaufmann, San Francisco, CA, USA, Jan. 1998.
[3]
E. Bonabeau, M. Dorigo, and G. Theraulaz. Swarm Intelligence : From Natural to Artificial Systems (Santa Fe Institute Studies on the Sciences of Complexity). Oxford University Press, USA, September 1999.
[4]
S. Brave. Evolving recursive programs for tree search. In P. J. Angeline and K. E. Kinnear, Jr., editors, Advances in Genetic Programming 2, chapter 10, pages 203--220. MIT Press, Cambridge, MA, USA, 1996.
[5]
W. S. Bruce. Automatic generation of object-oriented programs using genetic programming. In J. R. Koza, D. E. Goldberg, D. B. Fogel, and R. L. Riolo, editors, Genetic Programming 1996: Proceedings of the First Annual Conference, pages 267--272, Stanford University, CA, USA, 28-31 July 1996. MIT Press.
[6]
M. Dorigo and T. Stützle. Ant Colony Optimization (Bradford Books). The MIT Press, July 2004.
[7]
W. Gang and T. Soule. How to choose appropriate function sets for GP. In M. Keijzer, U.-M. O'Reilly, S. M. Lucas, E. Costa, and T. Soule, editors, Genetic Programming 7th European Conference, EuroGP 2004, Proceedings, volume 3003 of LNCS, pages 198--207, Coimbra, Portugal, 5-7 Apr. 2004. Springer-Verlag.
[8]
J. R. Koza. Genetic Programming: On the Programming of Computers by Means of Natural Selection. MIT Press, Cambridge, MA, USA, 1992.
[9]
W. B. Langdon. Genetic Programming and Data Structures: Genetic Programming + Data Structures = Automatic Programming!, volume 1 of Genetic Programming. Kluwer, Boston, 24 Apr. 1998.
[10]
S. Luke. Genetic programming produced competitive soccer softbot teams for RoboCup97. In J. R. Koza, W. Banzhaf, K. Chellapilla, K. Deb, M. Dorigo, D. B. Fogel, M. H. Garzon, D. E. Goldberg, H. Iba, and R. Riolo, editors, Genetic Programming 1998: Proceedings of the Third Annual Conference, pages 214--222, University of Wisconsin, Madison, Wisconsin, USA, 22-25 July 1998. Morgan Kaufmann.
[11]
R. Poli, J. Kennedy, and T. Blackwell. Particle swarm optimization. Swarm Intelligence, 1(1):33--57, June 2007.
[12]
R. Poli, W. B. Langdon, and N. F. McPhee. A field guide to genetic programming. Published via http://lulu.com and freely available at http://www.gp-field-guide.org.uk, 2008. (With contributions by J. R. Koza).
[13]
L. Spector, J. Klein, and M. Keijzer. The push3 execution stack and the evolution of control. In H.-G. Beyer, U.-M. O'Reilly, D. V. Arnold, W. Banzhaf, C. Blum, E. W. Bonabeau, E. Cantu-Paz, D. Dasgupta, K. Deb, J. A. Foster, E. D. de Jong, H. Lipson, X. Llora, S. Mancoridis, M. Pelikan, G. R. Raidl, T. Soule, A. M. Tyrrell, J.-P. Watson, and E. Zitzler, editors, GECCO 2005: Proceedings of the 2005 conference on Genetic and evolutionary computation, volume 2, pages 1689--1696, Washington DC, USA, 25-29 June 2005. ACM Press.
[14]
L. Spector and S. Luke. Cultural transmission of information in genetic programming. In J. R. Koza, D. E. Goldberg, D. B. Fogel, and R. L. Riolo, editors, Genetic Programming 1996: Proceedings of the First Annual Conference, pages 209--214, Stanford University, CA, USA, 28-31 July 1996. MIT Press.
[15]
L. Spector and A. Robinson. Genetic programming and autoconstructive evolution with the push programming language. Genetic Programming and Evolvable Machines, 3(1):7--40, Mar. 2002.
[16]
A. Teller. The evolution of mental models. In K. E. Kinnear, Jr., editor, Advances in Genetic Programming, chapter 9, pages 199--219. MIT Press, 1994.
[17]
A. M. Turing. The Essential Turing: Seminal Writings in Computing, Logic, Philosophy, Artificial Intelligence, and Artificial Life plus The Secrets of Enigma, chapter "On Computable Numbers, with an Application to the Entscheidungsproblem", pages 58--87. Oxford University Press, 2004.
[18]
J. von Neumann. First draft of a report on the EDVAC. Technical report, United States Army Ordnance Department and the University of Pennsylvania, 1945. Accessed at http://www.virtualtravelog.net/entries/2003-08-TheFirstDraft.pdf, 24 Jan 2008.

Cited By

View all
  • (2024)Interpreting Tangled Program Graphs Under Partially Observable Dota 2 Invoker TasksIEEE Transactions on Artificial Intelligence10.1109/TAI.2023.32790575:4(1511-1524)Online publication date: Apr-2024
  • (2023)Jaws 30Genetic Programming and Evolvable Machines10.1007/s10710-023-09467-x24:2Online publication date: 22-Nov-2023
  • (2022)Benchmarking ensemble genetic programming with a linked list external memory on scalable partially observable tasksGenetic Programming and Evolvable Machines10.1007/s10710-022-09446-823:S1(1-29)Online publication date: 30-Nov-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
GECCO '08: Proceedings of the 10th annual conference on Genetic and evolutionary computation
July 2008
1814 pages
ISBN:9781605581309
DOI:10.1145/1389095
  • Conference Chair:
  • Conor Ryan,
  • Editor:
  • Maarten Keijzer
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 12 July 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. genetic programming
  2. linear GP
  3. memory with memory
  4. soft assignment
  5. symbolic regression

Qualifiers

  • Research-article

Conference

GECCO08
Sponsor:

Acceptance Rates

Overall Acceptance Rate 1,669 of 4,410 submissions, 38%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2024)Interpreting Tangled Program Graphs Under Partially Observable Dota 2 Invoker TasksIEEE Transactions on Artificial Intelligence10.1109/TAI.2023.32790575:4(1511-1524)Online publication date: Apr-2024
  • (2023)Jaws 30Genetic Programming and Evolvable Machines10.1007/s10710-023-09467-x24:2Online publication date: 22-Nov-2023
  • (2022)Benchmarking ensemble genetic programming with a linked list external memory on scalable partially observable tasksGenetic Programming and Evolvable Machines10.1007/s10710-022-09446-823:S1(1-29)Online publication date: 30-Nov-2022
  • (2014)Evolving exact integer algorithms with Genetic Programming2014 IEEE Congress on Evolutionary Computation (CEC)10.1109/CEC.2014.6900292(1816-1823)Online publication date: Jul-2014
  • (2012)Evolving Distributed Algorithms With Genetic ProgrammingIEEE Transactions on Evolutionary Computation10.1109/TEVC.2011.211266616:2(242-265)Online publication date: 1-Apr-2012
  • (2011)Novel loop structures and the evolution of mathematical algorithmsProceedings of the 14th European conference on Genetic programming10.5555/2008307.2008313(49-60)Online publication date: 27-Apr-2011
  • (2011)Novel Loop Structures and the Evolution of Mathematical AlgorithmsGenetic Programming10.1007/978-3-642-20407-4_5(49-60)Online publication date: 2011
  • (2009)Soft memory for stock market analysis using linear and developmental genetic programmingProceedings of the 11th Annual conference on Genetic and evolutionary computation10.1145/1569901.1570119(1633-1640)Online publication date: 8-Jul-2009
  • (2009)Developmental plasticity in linear genetic programmingProceedings of the 11th Annual conference on Genetic and evolutionary computation10.1145/1569901.1570039(1019-1026)Online publication date: 8-Jul-2009
  • (2009)High-Significance Averages of Event-Related Potential Via Genetic ProgrammingGenetic Programming Theory and Practice VII10.1007/978-1-4419-1626-6_9(135-157)Online publication date: 20-Oct-2009

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media