11 July 2021

Evolutionary Game

If we understand how "evolution by natural selection" works, we can use it for our own design works. People have been using "genetic algorithm" successfully for many design works. How does it work? A simple description: Keep making copies [reproduction] with some random, minor variations [mutations]. Most of the variations do not work or improve the original design. But rarely some variations may improve the design. Eliminate the ones that do not help, and take the ones that help and repeat the process over and over again.
In nature, this process is SLOW as it takes so many generations and millions of years. But, for our design work, we can simulate it on the computer millions of times faster. Since viruses reproduce so fast, we already have many successful corona-virus variations.

QUIZ 1: What is the difference (advantages and drawbacks) between asexual and sexual reproduction? How can we implement it in the "genetic algorithm"?

Whether it is evolutionary design or intelligent design, everything comes at a COST. This has nothing to do with inefficiency or imperfection. If we gain something,  we lose something.

When we use "genetic algorithm", it may come up with some designs and solutions that may work at some level. But we may reject them for various high-level reasons. But, natural evolution is a BLIND process (except the environmental pressure, there is no one to supervise) and so there are many imperfections and bad designs – we suffer, species suffer as the consequences of them.

QUIZ 2: What are some of the flaws in our body or mind designs? (By knowing them, we can seek appropriate remedies where possible)

Why are more than 99% of species extinct? Because species are evolved towards adapting to the environment, but the environment is not fixed and is constantly changing – sometimes so drastically like ice-age, global warming, volcanic eruption, asteroid impact, land-mass drifting, etc. So evolution is a continual and ever changing process. As it is SLOW to adapt to the environmental changes, there is always some MISMATCH between the design of the species and the environment. One solution evolution came up with is the brain, that can LEARN and adapt within a life-time, rather than slow changes over many generations. But this solution comes with its own cost! Now from gene-evolution, we have meme-evolution!

QUIZ 3: What are the COSTS associated with the brain? What are the FLAWS and MISMATCH in the brain design? (This would help us to understand why we should not always focus on efficiency, why we should be comfortable with imperfection, why we need to relax and quieten our mind, and why we need some solitude)

30 October 2015

Dharma and Science

"Truth is always liberating, not always comforting" -- Janna Levin

"We can't experience profound well-being without working with, not against, the gritty reality of life." -- Pema Chodron

Like a scientist investigates things "objectively", the mindfulness meditation practice instructs us to be curious, and observe and investigate our personal "subjective" landscape, our mind. But there is no "objective" way to report our experience - at least, not yet - fMRI images are as close as we may get to it now. We are left with certain landmark remarks and descriptions from the experienced meditators and teachers as a map or guidelines, as we progress through the practice.

We should be clear that studying the mind this way is not same as studying it scientifically. It is like trying to understand how the car engine may work from the experience of driving the car. Both offers different perspective and usefulness, and hopefully complementing each other. The following are some of my simplified ideas linking the dharma (Buddhist teachings) and Science.

"Substrate" or "space":
There is a well-established concept in cognitive and neuroscience known as "Working Memory" (WM). Apart from the sensory transient memory, WM can only hold four items at a time (say, 4 numbers or 4 names; using internal rehearsing, we may learn to hold up to 10 items). This is why we find it difficult to hold a phone number. This is similar to the registers in the computer CPU. Roughly speaking, we are conscious of what is available in WM at each moment. I think that WM is what we experience as "substrate" or "space". As we continue our practice and slow down our thoughts, we may notice "gaps" or "pauses"in this "space".

Mind-body problem:
The brain is hardware, and the mind is software. The mind emerges from the function of the brain, like "walking" emerges from the legs. If we are still deeply looking for where "walking" is located in the "legs", then it may seem like a problem. "Walking" is a function of the legs, not a physical thing to locate. The Buddha described how "the self is not so solid". I think that it was his way of describing the software concept more than 2500 years ago.

Qualia:
Nobody denies the experience of qualia or redness of red or our subjective experience of vision, sounds, etc. The idea is that it's an illusion. It does not mean that it is not there, it just means that it is not what it seems to be. It is like watching motion pictures – the motion is just an illusion as they are just stack of images. In fact, this how we see the world, image by image – because, it takes time to process and understand each image. Then the brain creates an illusion of continuity. In the end, all our mental experience is a model, a kind of virtual world created by our mind. It is like the computer GUI (graphical user interface), so we can navigate around and utilize it. The dharma describes the illusory quality of our nature.

Materialism:
There is this physical world including us. Our commonsense world view was crushed by Einstein's general relativity, then further crushed by quantum mechanics. At the fundamental level, we understand the world of the elementary particles with quantum mechanics. Chemistry emerges as the elementary particles combine to form atoms and molecules; then from chemistry to life to mind to consciousness emerges step by step at many levels. But it seems, people want some mysterious force of life, and some magical source of consciousness. Perhaps it is their way of holding on to something, or their way of having some hope. The dharma says it's all empty. Pema Chodron puts it: There is nothing to hold on to; this mundane world is all there is!

Emergence of Consciousness:
Before we understood evolution and molecular biology, the emergence of life from the matter also seemed spooky. As Daniel Dennett puts it, this is inversion of reason - where the reasoning itself goes backwards. In essence, what Charles Darwin discovered: In order to make a perfect, highly complex survival machine, it's not requisite to know how to make it. There is no need for an intelligent agent. In a similar fashion, the father of computer science, Alan Turing showed: In order to be a perfect, highly sophisticated computing machine, it is not requisite to know what arithmetic is. Computers do not understand anything about arithmetic or mathematics, yet they perform advanced arithmetic calculations. In essence: It is possible to have competence without comprehension; and comprehension can come later from competence. Comprehension is an effect, not a cause. Likewise our intelligence is an effect, not a cause; our consciousness is an effect, not a cause; our sense-of-self is an effect, not a cause. The description of Skandhas shows how consciousness arises from the others skandhas, other mental factors.

Dalai Lama says: If scientific analysis were conclusively to demonstrate certain claims in Buddhism to be false, then we must accept the findings of science and abandon those claims. Vietnamese Buddhist teacher Thich Nhat Hanh asks that if the dharma teaches selflessness - no solid self or soul - then how rebirth or reincarnation is possible after our physical death. As master Hsing Yun clarifies, the concept of rebirth should refer to the different physical or mental stages within our lifetime. Sometimes we may hold on to the dharma so tightly or so blindly. Yet the dharma says: don't even hold on to the dharma! Then, we can ground ourselves in the dharma and the reality, and make a proper cup of tea!


See also:

I wrote this in response to "Minding Closely: The four applications of Mindfulness --- 8. Mindfulness of Phenomena" -- by B.Alan Wallace.

25 October 2015

Reasoning Gone Bad

We naturally apply logic and reason on everything - this epitomizes our intelligence. But it stands on our fragile careful attention. I think of the following four major ways, how our reasoning may go wrong: the first two are influenced by our emotions; and the other two are influenced by not going far and deep enough.

We may be intelligent creatures, but we are still emotionally weak. Often, not only, we don't know how to handle our emotions, we don't even have the courage to feel and stay with our own emotions. This may be as simple as staying with boredom just for five minutes without doing anything.

"We are nuclear giants and emotional infants" -- Jack Kornfield

Emotionally blind reason:
Every reasoning we make is somewhat emotionally biased. Once we are emotionally invested in anything, we will be blind to see even obvious errors in our reasoning. We may believe in any magic and outright stupidity.

"We who work at the Supreme Court level, where I do, understand that 90% of our decisions are made on an emotional basis; the other 10% supplies the rationality for those decisions" -- Justice William O. Douglas

Invention of reason (Rationalization):
With our emotional weakness, we often become the victims of our own emotions. Then we invent some reasons (excuses) for our behaviors or feelings to satisfy others or ourselves. We rationalize our actions and feelings so we may feel better. Rationalization is so common that we may not even consciously aware of it.

Short-sighted reason:
If our reasoning is short-sighted and not thorough enough, and we could end up with a wrong conclusion. That is how we used to think that the Earth is flat, the Sun rotates around the Earth, and heavier objects fall faster than lighter ones. The conclusions are wrong here, as we only applied a small set of short-sighted evidences.

Inversion of reason:
However bizarre it may sound, there are cases in which, not just our conclusion, but our reasoning itself can be totally reversed, upside down.

"I'm sorry I wrote you such a long letter. I didn't have time to write you a short one" -- Blaise Pascal
"Oh Lord, protect me from my friends, I can take care of my enemies" -- Voltaire


Inversion-of-reason can be startling and confusing. No wonder, why most people still struggle to fully comprehend the evolution of life. In essence, what Charles Darwin says: In order to make a perfect, highly complex survival machine, it's not requisite to know how to make it. There is no need for an intelligent agent. It further enlightens us, how we maybe getting many of our simple day-to-day reasoning totally backwards. It's not that we like honey because it's sweet, honey tastes sweet because we are evolved to have sweetness for it. There is no intrinsic sweetness in honey, sweetness is wired in our brain. It's not that we adore and care babies because they are cute, we are evolved to find them as cute because we have to adore and care them.

In a similar fashion, the father of computer science, Alan Turing showed: In order to be a perfect, highly sophisticated computing machine, it is not requisite to know what arithmetic is. Computers do not know anything about arithmetic or mathematics, yet they perform simple to advanced arithmetic calculations. In essence: It is possible to have competence without comprehension; and comprehension can come later from competence. Comprehension is an effect, not a cause. Likewise our intelligence is an effect, not a cause; our consciousness is an effect, not a cause; our sense-of-self is an effect, not a cause. Our intelligence is a result of many low level components. Our consciousness is a result of many intertwined unconscious processes. Our sense-of-self is a collection of many concepts. Alas, many are still looking for some fundamental magical source for our intelligence, consciousness, and soul.

Reference
Inversion of reason is based on a presentation by Daniel Dennett.