Showing posts with label Information Science. Show all posts
Showing posts with label Information Science. Show all posts

Sunday, March 6, 2016

Genetic Engineering Algorithms

Why do I care?

In discussion with creationists, I'm often told that "randomness cannot design." 

That's utter bullshit. One of the ways I reply to these tweets is with examples of Genetic Design Algorithms, where random mutations coupled with selection and reproduction based on objective performance criteria can will always result in the appearance of design that satisfy the performance criteria.
In the course of these conversations, I've dug up quite a few resources and developed a few memes.

Evolution Works

It works so damn well that it can be used to design things when you're not sure what approach is best. I'm not just saying that, there's really good examples:
  • Field -Programmable Gate Arrays (FPGA's) have been designed to distinguish sounds
  • There are commercial software products like Genetic Designer and Natural Selection which provide tools for genetic design
  • Open-source libraries are free and available, so you can study the techniques and evaluate the performance for yourself. Admittedly, most of the people don't have the technical expertise, time, or patience to learn how to use these tools.

Watch it Happen Yourself

There are some really great examples of genetic design algorithms which can be watched evolving in near-real-time. One of my favorites is called BoxCar2D. In it, you can watch randomly designed cars compete for speed and distance.  Successful cars reproduce with random mutations. You can even manipulate the mutation rates and number of top cars to breed. BoxCar2D is a pretty robust simulation,
There are other, simpler online examples of the same basic concept. Since they're simpler, they converge faster:

  • Genetic Algorithm 2D is a version that runs on pure HTML5 / javascript, so you don't need Flash.
  • Genetic  Cars lets you cross-breed your cars with cars from other online players.
  • Darwin Bots is a more comprehensive simulation that runs on your desktop
  • BioMorph is a simulator where the user interactively selects the successful child in each generation.
I'm sure there are more. If you have a personal favorite, please post a comment or tweet me.

Saturday, March 14, 2015

Why Souls Do Not Exist

Poem of the Soul by Louis Jammot
The idea of a "soul" was one of the last things I clung to as I drifted away form the Presbyterian religion. After I realized an ethical god couldn't torture someone for not believing when he's conspicuously absent, and a much more ethical judgement would be based on the values of a person's life, I began to question whether my consciousness would survive my own death. I now firmly believe such ideas are bogus myths for three main reasons:

  • The idea originated in a time when thinking mechanical machines were unimaginable.  Today, cell phones are miniaturized, portable, and carried in most people's pocket.
  • Any connection to a non-physical world must violate conservation of mass, momentum, or energy
  • Studies of brain damage by injury and stroke show that all parts of your person can be affected: memory, emotion, cognition, personality, and values. 
It's easy to understand why someone would like to believe that their consciousness will continue beyond their own death -- even though it clearly didn't exist before their birth.  The problem with comforting or pleasant ideas is that we have a tendency not to question them. But upon a deliberate and rational review of what we know, it's clear that the concept of a soul is very unlikely to be true.  Below, I will discuss each of the three main points.

In the days of Socrates, Plato and Aristotle, they believed it was not possible for something mechanical to think.  The psyche was conceived as a model which could explain the apparent problems. The psyche was split into three main parts to explain our ability to both desire and abhor something at the same time (e.g. stealing a toy).  With the advent of modern computers and information theory, it is becoming more and more clear that mechanical (or electrical) things can INDEED think. Modern pharmaceuticals can alter emotions, suggesting these parts of our "soul" are within our bodies.


Landauer's principle states that the minimum amount of energy necessary to erase a bit of information is kT ln 2, which is roughly 0.017 eV at room temperature. Recently, some have suggested that information could be created or destroyed by transfer of angular momentum without affecting energy.  Still, a conserved quantity must be altered.  Now, suddenly, if the "soul" is to convey information in the form of feelings or thoughts or actions, it must also alter our world, seemingly the laws of conservation in of physics to do so.

Finally, it's clear from the medical research into patients suffering brain damage that all parts traditionally thought of as "soul" are affected. What more is there to our consciousness than our memories, personality, emotions, and thinking abilities?  Yet each of these faculties are affected by brain damage int he right location.  I personally watched my Grandfather lose his mental faculties after his stroke. He didn't remember my name. He had been very conservative but was suddenly uninhibited.  He was definitely not thinking clearly, needing a lot of help.  

Medical researchers have also determined that a strong magnetic field can disrupt mental activities in a specific portion of the brain. Finally, functional MRI scans help confirm the linkage between brain damage and specific regions of the brain where aspects of our persona are handled. If our personality were somehow stored outside our bodies, how could it possibly interact with us? Why would loss of certain aspects of our "soul" map to particular areas of brain damage?