The sleeping sponge: on the evolution of waking up

From the book, Wide Awake at 3:00am, I learned that researchers had come up with an answer to a common question, “Why do we sleep”?

It’s a valid question. What’s the actual purpose of sleep? Why would nature favor having the majority of animal species waste several hours each day in a state of unconsciousness, getting nothing done, and becoming vulnerable to predators?

The answer the researchers came up with required turning the question on its head: “Why should any living thing bother waking up at all?” Perhaps sleep is the normal state of all life, and wakefulness is just some aberration – a phenomenon that evolved later – as a part-time activity to more efficiently pursue food and sex.

As a lover of naps and hater of alarm clocks, I kind of like this idea.

I recall reading somewhere that sponges are “always asleep”. But I also read recently that sponges “never sleep”. Rather than go back and do more research to clear up this issue, I shall instead declare that the problem lies the definition of  “sleep”.

If you’re a sponge, you have no neurons. Having no neurons is a good indication that you have no brain. And no brain means no dreaming. Sponges are not like us in that they are sessile: they have no motility (except in the larval stage, when genetic dispersal occurs). If you don’t have to get up and go to work, why bother having a brain? Brains provide inner-representations of the outside world – used to navigate unpredictable terrains. Sponges just sit there at the bottom of the ocean and collect ambient nutrition. A task so easy that anyone can do it in their sleep.

Brains for Movement

The evolution of mobility required not only the direct control of muscles but also representations of reality that determined when and how those muscles get activated. Brains evolved in order for animals to evolve.

Long ago, there was no such thing as “waking up”. Until brains came along and gave organisms a reason to get off their asses and get a job. Perhaps asses and jobs had to evolve as well. But let’s not get too technical here.

It is possible that the binary states of wakefulness and sleep were not invented by brains themselves, but earlier in evolutionary history, by simple neuronal networks that generate sleep-like dynamics. Given that every location on Earth other than the poles has been cycling between day and night since before life emerged, it makes sense that organic periods would emerge to harmonize with this cycle.

Perhaps the very process of storing representations of reality – no matter how small or simple – requires a periodic cycle – as indicated by research finding that sleep is required for brains to prune useless memories and absorb useful ones.

My takeaway from all of this is that I have an organ that likes to make me do complicated things for many hours each day: sixteen to be exact. That’s a long time each day being on the move and getting worked up about other brains that are wreaking havoc on the world, such as the shriveled-up shitball inside of Donald Trump’s skull.

Before I die, I will thank my brain for collecting a massive library of memories that fueled a lifetime of dreams. And then I will say goodnight to my brain, and get back to sleep.

Advertisements

Trim, Mulch, Compost

It’s a rare warm evening, after a rare hot day. I just got back from a bout of night-time gardening, shirtless. The neighbors gave a few more glances than usual. Some things don’t require precise vision, like breaking twigs into smaller twigs, or forming a donut of dead leaves around the trunk of a young fruit tree. The feel of twigs snapping and the sound of leaves being shoved around is enough to go on.

Gardening, in my tiny little piece of Earth’s surface, consists mostly of trimming dead twigs and overly-ambitious vines, and then breaking them down into smaller bits – like what teeth do to food before passing it on to the stomach.

My love of gardening has grown as I have become more learned about two fascinating places where invisible creatures do wonderful symbiotic work: the colon (large intestine) and the rhrizosphere (the region near the roots of plants). In both of these regions, our invisible friends work busily to transform by-products into valuable nutrition, and then they share it.

My small front yard has become a Zen garden – I am both mindless servant and mindful observer. I wonder if I could apply my gardening approach to other aspects of my life.

The more I understand the things that affect the world swirling around me, the better I will be at knowing where to apply simple, mindless actions that have healthy outcomes. Where to trim a shrub to allow more sunlight in; where to use those trimmings as mulch to keep moisture underground; where to add compost to increase biodiversity and nutrition.

If I never succeed in transferring my gardening skills towards making my life flow more naturally, at least I can say that my gardening skills have improved: my thumbs are greener, and I have learned that most of the work is done underground – invisible to the eye.

Do tech companies really need more vaginas, dark skin, and gray beards?

We need to get to the bottom of the issue about diversity in the software industry.

It’s not that software companies simply need to hire more people who possess vaginas, dark skin, or grey beards…to reach some kind of quota, or to make their About page look hip. It’s that software companies need to embrace diversity in ways of thinking, life experience, socio-economic backgrounds, ways of building things, and ways of setting priorities. This might result in some outwardly-visible diversity, as a by product. But in my opinion, that’s not the point.

Software increasingly runs our lives – EVERYONE’S LIVES – including people who possess vaginas, dark skin, and gray beards. One should not assume that all those young overpaid white males who would sooner send you a Slack message than look you in the eye are going to know how to build the tools that are running more and more of our lives….

…in a country that is becoming more diverse, not less – a fact that the United States Bollocks in Chief is clearly not happy about.

Building Diversity Where it Matters

Sure, there tends to be more diversity in design, business, and marketing departments, but these aspects of a tech company generally get established after the DNA of the company has been forged. The DNA of a software company is typically established when wealthy white male venture capitalists invest in wealthy white male programmers who (sometimes) become more wealthy, after which time they start new companies using their wealth. They hire their wealthy white male programmer friends (who can work without salary in exchange for shares – thereby becoming more likely to acquire more wealth).

Follow the money.

A slightly more diverse company is then built around this core of wealthy white males. Then a slick, mobile-friendly web page is erected, featuring high-res photos of gleeful African Americans and Chinese women. Maybe an Indian. And (occasionally) the token graybeard.

Dynastic Privilege

It’s the same phenomenon that drives wealth inequality in our country. Unchecked capitalism is fueling an oligarchy that is inhibiting the American Dream for those who find themselves on the losing end of financial opportunity.

Did I just change the subject from tech company diversity to wealth inequality in the United States? No: it’s the same subject.

“I believe dynastic privilege is one of the major contributors to the lack of diversity in tech” – Adam Pisoni

So, instead of talking about skin color, gender, and age, we should be talking about the deeper underlying cultural and economic forces that make it so hard for tech companies to change their DNA.

Please reply with your comments. Agree or disagree. Either way, I’d love to hear your thoughts!

Here’s one way to evolve an artificial intelligence

This picture illustrates an idea for how to evolve an AI system. It is derived from the sensor-brain-actuator-world model.

Machine learning algorithms have been doing some impressive things. Simply by crawling through massive oceans of data and finding correlations, some AI systems are able to make unexpected predictions and reveal insights.

Neural nets and evolutionary algorithms constitute a natural pairing of technologies for designing AI systems. But evolutionary algorithms require selection criteria that can be difficult to design. One solution is to use millions of human observers as a Darwinian fitness force to guide an AI towards an optimal state.

Clarifications

Since there is so much discussion (and confusion) on AI these days I want make some clarifications.

  • This has nothing to do with consciousness or self. This AI is disembodied.
  • The raw data input is (not) curated. It has no added interpretation.
  • Any kind of data can be input. The AI will ignore most of it at first.
  • The AI presents its innards to humans. I am calling these “simulations”.
  • The AI algorithm uses some unspecified form of machine learning.
  • The important innovation here is the ability to generate “simulations”.

Mothering

The humanist in me says we need to act as the collective Mother for our brain children by providing continual reinforcement for good behavior and discouraging bad behavior. As a world view emerges in the AI, and as an implicit code of morals comes into focus, the AI will “mature”. Widely-expressed fears of AI run amok could be partially alleviated by imposing a Mothering filter on the AI as it comes of age.

Can Anything Evolve without Selection?

I suppose it is possible for an AI to arrive at every possible good idea, insight, and judgement just by digesting the constant data spew from humanity. But without an implicit learning process (such as back-propagation and other feedback mechanisms used in training AI), the AI cannot truly learn in an ecosystem of continual feedback.

Abstract Simulations 

Abstraction in Modernist painting is about generalizing the visual world into forms and colors that substitute detail for overall impressions. Art historians have charted the transition form realism to abstraction – a kind of freeing-up and opening-up of vision.

Imagine now a new path leading from abstraction to realism. And it doesn’t just apply to images: it also applies to audible signals, texts, movements, and patterns of behavior.

Imagine an AI that is set up like the illustration above coming alive for the first time. The inner-life of newborn infant is chaotic, formless, and devoid of meaning, with the exception of reactions to a mother’s smile, her scent, and her breasts.

A newborn AI would produce meaningless simulations. As the first few humans log in to give feedback, they will encounter mostly formless blobs. But eventually, some patterns may emerge – with just enough variation for the human judges to start making selective choices: “this blob is more interesting than that blob”.

As the young but continual stream of raw data accumulates, the AI will start to build impressions and common themes, like what Deep Dream does as it collects images and finds common themes and starts riffing on those themes.

http://theghostdiaries.com/10-most-nightmarish-images-from-googles-deepdream/

The important thing about this process is that it can self-correct if it starts to veer in an unproductive direction – initially with the guidance of humans and eventually on its own. It also maintains a memory of bad decisions, and failed experiments – which are all a part of growing up.

Takeaway

If this idea is interesting to you, just Google “evolving AI” and you will find many many links on the subject.

As far as my modest proposal: the takeaway I’d like to leave you with is this:

Every brain on earth builds inner-simulations of the world and plays parts of those simulations constantly as a matter of course. The simple animals have extremely simple models of reality. We humans have insanely complex models – which often get us into trouble. Trial simulations generated by an evolving AI would start pretty dumb, but with more sensory exposure, and human guidance, who knows what would emerge!

It would be irresponsible to launch AI programs without mothering. The evolved brains of most complex mammals naturally expect this. Our AI brain children are naturally derived from a mammalian brain. Mothering will allow us to evolve AI systems that don’t turn into evil monsters.

Having sex with robots to save the planet

Long long ago, there was an accident in a warm puddle. A particular molecule – through some chance interaction with the soup of surrounding molecules – ended up with a copy of itself. Since the surrounding soup was similar to the original, the copy was more likely to replicate itself. And so it did. The rest is history. We call it evolution.

It is possible that similar accidents happened elsewhere around the same time – not just in one single puddle. One could also say that variations of this accident are still happening – only now at a massive scale.

Every act of every living thing can be seen as an elaboration of this original act. Self-replication is the original impetus of all life. We share a common ancestor with amoebas – who replicate asexually. The invention of sexual reproduction boosted genetic creativity. More recently in the scope of Earth’s history, creativity escaped the confines of genetics. We humans are the primary hosts of this creative engine.

Human beings have contrived all of the resulting aspects of survival to an art-form. This includes – not just the act of sex – but also the act of preparing food (cuisine), the act of making sounds and speaking (music and singing), and the act of altering the environment to create new structure (visual art). The abstractions and representations of the world that the brain generates via the body are derivations and deviations from the original acts of survival. It’s a form of self-replication.

The emergence of abstractions, mental models, and representations is increasing in complexity. This is an inevitable one-way blossoming accelerated by the emergence of the animal brain. The human experience is conflicted; we are oriented toward achieving escape velocity from Original Nature, but we also long for Original Nature. How can we resolve this conflict?

The original act of self-replication has powerful repercussions – billions of years after the original accident – it has taken on many forms. It is the reason we humans have strange phenomena like orgasm. And selfies.

Warming

We are at a crossroads in the history of life on Earth. The current era of global warming is almost certainly the result of the overpopulation and hyperactivity of humans, who have released – and continue to release – too much carbon into the atmosphere. One effective solution to global warming would be to reduce the primary agents of the fever…to reduce human population.

And so, converting that original act of replication into works of art is not just creative and exciting: it may be necessary. Humans must transcend the Earthly act of self-replication in order to preserve the health of the planet.

The future of sex will be…let’s just say…interesting. Every cell in our body contains the blueprint of a desire to replicate. Nature and society are structured around the elaborate machinery that has emerged to ensure self-replication – of human bodies and culture. This desire has made its mark on every aspect of society – even if we don’t recognize it as such. We cannot escape it. And so we need to virtualize it, because self-replication of human beings (physically) has become a threat to the planet that sustains us. It’s our duty to Mother Earth.

I am a living organism and so I have to contend with this crazy desire to replicate. Note: I am childless. I have never replicated my genes and have no intention to do so at this stage in my life. But I am passionate about replicating ideas, art, words, and software.

Now, what about the title of this blog post? Will people eventually start having sex with robots? It will certainly be more subtle than that. In fact, it has been said that by the time we get to that point, WE will be the robots.

Is this the kind of future I want? Strangely, yes. Because I will have long returned to the Earth – my molecules will have been handed down through generations of living things. I will be a part of Earth’s physiology. My tribe will be bigger than humanity.

One of my molecules may even end up in a warm puddle somewhere.

Number Portraits

I designed a set of number portraits for the integers from 1 to 36.

Each number is either a prime or a composite. If it is a prime number, then it has two divisors: 1 and itself. This is visualized as the gray-colored half circle, where the top represents 1 and the bottom represents the number itself. Composite numbers have other pairs of divisors, and these are visualized as the smaller, colored arcs.

The perfect squares (4, 9, 16, 25, and 36) each have a line segment located at the square root.

The numbers 6 and 8 each have one pair of divisors (besides 1 and themselves); they are (2,3) and (2,4), respectfully. Since the first number in each pair is 2, these arcs are colored green. Divisor pairs in which the first divisor is 3 are colored blue; divisor pairs in which the first divisor is 4 are colored red. And divisor pairs in which the first divisor is 5 are colored yellow. These colors visualize divisibility by these first 5 positive integers.

The highly-composite numbers 12, 24, and 36 are shown enlarged below.

The number 36 has the most divisors in this set. It’s divisor pairs are

(1, 36)  (2, 18) (3, 12) (4, 9) (6, 6).

These are in a similar spirit to the Divisor Plot images I created in 2010:

http://www.divisorplot.com/index.html

 

Thoughts on the Evolution of Communication

My dog and I engage in a lot of signaling. But it is not always deliberate, and it is not always conscious, and it is not always a two-way process.

In the morning, Otto licks my bald head. He can probably smell what I have been dreaming. I hold him and we have a nice cuddle. Just one of our many routines. He looks at me and I look at him. He is always checking me out. In the process of getting to know each other over several years we have come to read each other’s signals – our body language, interactions, responses, vocalizations…and smells.

image from http://projectdolittle.com/

Semiosis emerges in the process. If there is a coupling of signals – a mutually-reinforcing signaling loop – two-way communication emerges. It is not always conscious – for either of us. Sometimes, a mutually-reinforcing signaling process which I was previously unaware of becomes apparent to me. When this happens, I become an active agent in that semiosis.

Otto is so intensely attentive to me – my routines (and deviations from them). He probably tunes-in to many more of my signals than I do to his. But then again, I am a human: I generate a lot of signal. Does he see this as “communication?” It is not clear: his brain is a dog brain, and mine is a human brain. We don’t share the same word for this experience (he only knows a few English words, and “communication” isn’t one of them).

I can be sure of one thing: we share a lot of signaling. And, as members of two highly-social species, we both like that.

I would conclude from this that communication among organisms in general (the biosemiosis that has emerged on Earth over the last few billion years) came about pretty much the same way that Otto and I established our own little world of emergent semiosis. As life evolved, trillions of coupled signaling channels reinforced each other over time and became more elaborate. Eventually, this signaling became conscious and intentional.

And so here we are: human communication has reached a level of sophistication such that I can type these words – and you can read them. And we can share the experience – across time and space.