Repository associated with GECCO 2018 contribution: Evolving Event-driven Programs with SignalGP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
analysis
data
documentation
experiments
media
supplemental_material
LICENSE
README.md
_config.yml

README.md

DOI

Overview

This repository is associated with our 2018 GECCO submission, Evolving Event-Driven Programs with SignalGP (Lalejini and Ofria, 2018). A pre-print of this work can be found here: https://arxiv.org/pdf/1804.05445.pdf

Repository Guide:

  • analysis/
    • This directory contains all analyses used in this work (a combination of Python Jupyter notebooks and R markdown documents).
  • data/
    • This directory contains the experimental data associated with this work.
  • documentation/
    • This directory contains misc. documentation/details associated with this work.
  • experiments/
    • This directory contains the source code (C++) for all experiments associated with this work.
  • media/
    • This directory contains media (any images/videos) used by this repository's documentation.
  • supplemental_material/
    • This directory contains copies of the supplemental material associated with and referenced by the paper.

Authors

Abstract

We present SignalGP, a new genetic programming (GP) technique designed to incorporate the event-driven programming paradigm into computational evolution’s toolbox. Event-driven programming is a software design philosophy that simplifies the development of reactive programs by automatically triggering program modules (event-handlers) in response to external events, such as signals from the environment or messages from other programs. SignalGP incorporates these concepts by extending existing tag-based referencing techniques into an event-driven context. Both events and functions are labeled with evolvable tags; when an event occurs,the function with the closest matching tag is triggered. In this work, we apply SignalGP in the context of linear GP. We demonstrate the value of the event-driven paradigm using two distinct test problems (an environment coordination problem and a distributed leader election problem) by comparing SignalGP to variants that are otherwise identical, but must actively use sensors to process events or messages. In each of these problems, rapid interaction with the environment or other agents is critical for maximizing fitness. We also discuss ways in which SignalGP can be generalized beyond our linear GP implementation.

TL;DR (i.e., the abstract is sooo long and technical, what does it say in three sentences?)

  • In traditional GP techniques, evolution is typically given access to either the imperative or functional programming paradigm.
  • We introduce SignalGP, a new GP technique designed to let evolution program using the event-driven programming paradigm.
  • We use SignalGP to experimentally demonstrate the value of evolving event-driven programs in domains where programs must interact heavily with the environment or with other agents/programs.

What is SignalGP?

SignalGP Cartoon

Better description coming...

Experiment Source Code

The source code and configs for the changing environment problem can be found here: experiments/changing_environment.

The source code and configs for the distributed leader election problem can be found here: experiments/election.

Both problems are implemented in C++ using the Empirical library, which is required to compile and re-run the experiments.

WARNING: the Empirical library is under development, and as a result, it can often change in ways that may break the code used for the experiments used in this work. I make no promises that I will keep these problems up to date with the latest changes to the Empirical library. However, I am more than happy to update the code upon request. Just submit an issue/email me (amlalejini@gmail.com).

Experiment Configuration Details

We give the SignalGP instruction set details, environment-state tags (for the changing environment problem), and hand-coded SignalGP program solutions to each problem here.

Additionally, a .pdf version of the configuration details supplemental material can be found here: supplemental_material/gecco-2018-signal-supp-methods.pdf.

Data and Analyses

The data for all of our experiments can be found in this repository: data/.

The full statistical details along with a step-by-step (source code and all) walk-through can be found here: analysis/data_analysis.html

GECCO 2018 Presentation

Link to my GECCO 2018 presentation slides on Google slides!.

Please feel free to leave comments!

Updates Since Publication

  • NOTE: Since running this experiment (and submitting the associated paper), I've done a bit more parameter exploration with SignalGP. The performance of the event-driven and combined treatments suffered from an astronomically high tag mutation rate (0.05 per-bit flip rate). In subsequent work, I've lowered the tag mutation rate (0.005 per-bit flip rate), and SignalGP can easily solve the 16-state environment in 10K generations. The upside to conference deadlines is that they put deadlines on getting research done; the downside is that sometimes there isn't enough time to do proper parameter explorations on systems. (6/2018)

References

Lalejini, A., & Ofria, C. (2018). Evolving Event-driven Programs with SignalGP. In Proceedings of the Genetic and Evolutionary Computation Conference. ACM. https://doi.org/10.1145/3205455.3205523