GithubHelp home page GithubHelp logo

bkovitz / acclivation Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 3.65 MB

Code for "Acclivation of Virtual Fitness Landscapes" (ALIFE, 2019) by Kovitz, Bender, and Poffald

Makefile 3.34% C 55.98% Python 10.87% TeX 29.51% R 0.15% Shell 0.15%
evolutionary-algorithms evolvability acclivation alife

acclivation's Introduction

A Brief History -or- How All These Files Got In This Repository
---------------------------------------------------------------

In 2017, Ben Kovitz wrote some spreading-activation code in Clojure and
tried running an evolutionary simulation of knobs+graph organisms
(where knobs provide initial values to propagate by spreading activation
through the graph to determine a phenotype at some designated nodes in
the graph). It produced some visually spectacular acclivated virtual fitness
functions with "buttes", but it wasn't clear what the result was.

In 2018, Ben Kovitz and Marcela Poffald ran a bunch of experiments with
varying parameters on the spreading-activation algorithm, and some
"hill-climber" algorithms to try to measure how much acclivation occurs
and under what conditions. Experiments took all night, and acclivation
seemed to occur unpredictably. We still had to look at plots of the
virtual fitness functions to see if acclivation had occurred. Under
some parameters, it occurred seldom; tiny changes to the parameters would
make it occur rarely, and it wasn't at all clear why.

Dave Bender and Ben Kovitz rewrote the whole thing in C with some Python
support to make it easier to see plots of the various functions. The
simulations ran in seconds rather than hours, but it still wasn't clear
what makes acclivation likely vs. unlikely. We added more parameters and
tried more experiments but we did not get predictable results. Even under
more-favorable parameter settings, acclivation did not as often as we though
it should, given the simple idea for why it should work--and our old
observations of runs with now-forgotten parameter settings where acclivation
happened on almost every run.

In 2019, we tried again, inspired by a suggestion from Etienne Barnard to
try feed-forward (as opposed to spreading-activation) networks and to
allow larger populations. The feed-forward networks performed even worse,
but the new experiments led us to figure out that only a narrow range of
the S constant in the transfer function (see the ALIFE paper) works, and
why: only then do cyclic compositions of the transfer function create a highly
tunable set of ranges of expansion and contraction of the global fitness
function. The Clojure code in 2017 happened to have the S constant in this
range. It had been chosen for an unrelated spreading-activation experiment
in order to put attractors at -0.5 and +0.5.

acclivation's People

Contributors

bkovitz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.