Dream a Little Deep Dream of Me (IV – End)

Does a machine have to know it is dreaming to dream?

The basic question to end our MML series on machine dreams and consciousness is, does a machine need to know it is dreaming in order to dream? In other words, if a dream tree falls in the dream forest and no one is around to hear it, does it make a sound?

Humans and other animals often have dreams but do not remember them, or remember having dreamt at all. In such states we are still dreaming, because if we were connected to a CAT scan, MRI or EKG machine our brain waves would emit signs of a dreaming state even if we didn’t remember having a dream or the contents of the dream itself.

In addition, I have no doubt that at least some non-human animals are or become aware that they are or have been dreaming upon waking up. A dog could dream of chasing a ball or a lion could dream of chasing an antelope, and each wake up in a start, but each would know that their waking state is separate from their dreaming state. Or else, wouldn’t they keep doing the same activity that they had been doing in their dream even after waking up? Clearly the activity stops, although it’s less clear what knowledge animals take from their dreams to dictate their waking activities, or if it is mainly waking activities that dictate their dreams.

Same goes for humans, of course, we normally become aware of the difference between dreaming and waking states, at least once we wake up. The problem with saying a machine/computer program like Deep Dream is dreaming, is that it doesn’t have any transitions between sleeping/dreaming and waking/dreaming states, it only has the one or more states for which it has been programmed. You can’t just call a machine’s default state the “dream” state if it is no different from its “waking” or normal state. And furthermore, it doesn’t have any self-awareness of switching between states. Again, by this I do not mean one has to be constantly aware of being in a dream (as we often don’t realize we are in one), but that when a dream ends, we return to reality (as best we can).

So can we program dreaming and waking states into computers? Possibly, but this may require programming artificial consciousness itself. The Dark-Light-Bright state model could be applied in a way that measures neural activity as a function of not only external stimulus but also internal chemistry, with the internal state of mind only an imperfect reflection of reality and somewhat detached as well. Perhaps with machines, this reality would be sharper given the digital rather than analog nature of their perceptions.

At any rate, the fundamental concept with programming consciousness (and dreaming) is one that harkens back to Immanuel Kant’s Unity of Consciousness from his Critique of Pure Reason. This Unity of Consciousness is what generates a sense of self and time and the independence of self and other objects from “everything else,” also generating perception itself. Without the Unity of Consciousness, all matter coalesces together into one indeterminate mass over an indeterminate time, which seems to be the machine’s current understanding of reality, since neither mass nor time are concepts a machine presently understands or comprehends. I would suggest that without a full Unity of Consciousness, one would not be able to distinguish between waking or dreaming states as well.

Immanuel Kant

So there you have it, if you can program Kant’s Unity of Consciousness into a machine, it might be able to transition between programmed states and dream like a human or animal does. This Unity of Consciousness in particular will be the centerpiece of many of my My Machine Life posts to come. Thanks for reading this blog arc!

Dream Journal – 07-04-2019 (two of three)

See full dream journal here

I have recurring dreams where I am in a building in an earthquake, and the building is collapsing or falling apart, but I go to safety. Tonight my grandparents are in my dream, just as they were in another dream I had before where I had to move over difficult terrain on the side of a mountain. They were always reassuring to me during times of strife. The building is shifting, moving from floor to floor. I go outside and there is an olympic swimming/synchronized swimming event in dark water (but bright swimcaps and contestants), somehow related to Japan. Then I have to swim a long distance to find my way back to shore, and somehow there are people eating cup noodles/ramen and it’s college all over again.

This one might turn out to be good film material: A group (maybe including me, it’s not clear) of people in a gold Toyota Avalon (my grandpa’s old car) are transported back to the Mongolian steppes around the time of Genghis Khan and have to figure out how to survive and return to the present day. They are treated as Gods by nomads due to their car (coming out through the moonroof deity style) and smooth, pale appearance and trade some modern-day items with the nomads for food and furs. Maybe they meet Chinese and can converse, but it’s unlikely as the languages would have been very different back then.

Dream Journal – 07-04-2019 (one of three)

See full dream journal here

Overall Naruto/One Piece influenced. Starts with street urchin, Aladdin-type Naruto character running through streets and jumping between platforms. He wants to become King one day (Emperor? Hokage?) but there are other more illustrious competitors in his way, captains from rich backgrounds. The captain(s) set out to hunt the street urchin and set traps in the sewers (barbed wire strung by cronies) to catch him and limit his movement. Now this is a counter-insurgency against freedom fighters.

Captains look like this, though I dreamed images of their full bodies and uniforms on the bridges of their ships and other cityscapes

Somehow people start playing ultimate frisbee and I take an uber to a public park where I recount heroic tales of the rebel glories to youth who are listening over a stone table, including the story of hijacking a spaceship (any undefended can be exploited). But I am ambushed by one of the captains who can change shape/form (so can I), so they become a t-rex and start chasing after me and the youth. To escape, I transform into underwear and drift along the ocean. The T-rex ignores me to chase after other prey, but other cronies come to investigate me. [I start to wake up and think] Now I have to change back into a venom-spitting dinosaur to fend them off, but I am the resistance leader and my cover will be blown.

Commentary: I really don’t have much to say, except that I could’ve transformed into something cooler than underwear. Underdog story?

Dream a Little Deep Dream of Me (III)

Can a machine dream?

Since it is the most high-profile example of purported machine dreaming and inspired the name of this blog arc in the first place, I will use the example of Google’s Deep Dream to discuss whether or not a machine can dream.

Deep Dream is a computer program developed by Google in 2014 and released in 2015. At the time Google was experimenting with image recognition in its search engine and one of the machine learning techniques it adopted was using neural networks, convolutional neural networks (CNN) in particular. You can create your own Deep Dream-influenced images here. Mine of the Statue of Liberty is below.

If you look up Deep Dream images, they are all slightly creepy like this, filled with eyes, animals and psychedelic patterns

Basically, a neural network imitates physical neural networks in humans and other animals by attributing one or more specific functions to individual neurons, or nodes, in a network. In the case of image recognition, some nodes would focus on recognizing specific edges, other specific shapes, others colors, and so on. Ultimate, higher level recognition of “dog” or “motorcycle” would occur with all those nodes in concert, as they fed off each other’s activity and output and “learned” from researchers what were correct and incorrect responses.

But beyond recognizing images and sorting them into categories (helpful for a search engine with massive amounts of data, or to conduct facial recognition such as what Facebook does), the researchers discovered that they could run the program in “reverse,” or inside-out: The program could create a representation of what it thought (using the term loosely) or at least predicted, the thing they were recognizing would look like. In other words, after showing Deep Dream millions of pictures of cats, dogs and other things, researchers asked the program to look at an image and tell them what they saw, and of course, they saw, and created images of, a bunch of animals in the image.

…or what passes for animals in bizzaro land

These pictures have been likened to dreams, although they’re really more akin to nightmares or psychedelic experiences. But if you look at the way Deep Dream works from both the ground-up, shape recognition and the top-down, high-level recognition, it’s actually surprisingly similar to at least my conception of how dreams are formed (see my dream journal for more details). When you are in a dream, clearly your lower-level shape and form perception has to operate in order for you to make any sense of the images you are seeing, and those neural networks, if you will, have been trained on the years of exposure to the outside world.

Then at a higher level, there are, at least in my dreams, certain references to daily activities or plots or cultural references (mostly anime and computer games, go figure) that I have to interpret as such upon seeing them, and they in turn conform to my preconceived cultural or emotional knowledge. It’s a two-way street, much in the way Deep Dream is interpreting and creating images based on its “incepted” knowledge.

Not to mention the dreams I have about rooms or cityscapes filled with objects or buildings that conform to some sort of emotional or physical memory of such experiences, but do not exactly mimic the experiences that created them in the first place. So this is similar to the repetitive, “variations on a theme” nature of the Deep Dream program when it comes to recognition of objects within images. There is an internal alchemy that is producing these images, a specific set of conditions within the neural network including memories that is giving rise to them.

One of my recurring dreams is seeing cityscapes, especially seeing the roofs and tops of buildings from above

But similarities or mimicry of human/animal experiences and functions does not necessarily equate to actual experience and functioning. In the next post, I will explain the conditions which should be met for a machine to dream.

Dream Journal – 06-30-2019

Most of my story ideas come from dreams or dreaming states, so maybe there’s some good material in there? I’m keeping track of my (more complex and memorable) dreams to see how dreams become reality and vice versa. Not to mention it ties into my current My Machine Life blog arc

On a spaceship/in space. Orbiting planets and a yellow sun. Starfleet-esque uniforms.

One type of humanoid (mine) is visited by another type of advanced humanoid almost identical to us, but have devices/chemistry/organs in their brains to make them peaceful and protect us. But this device/chemistry/organ is somehow broken or transformed, so they start attacking and killing my people (laser weapons etc.).

My people become refugees, hiding out aboard a massive ship in cramped conditions. I walk between multi-story bunks and beds, and see and hear children crying, compatriots reaching out and holding my hand as I hold them back for support. We’re the last that remain. They may find us soon.

Commentary: This sounds suspiciously like China-Taiwan relations/experience of the Taiwanese diaspora. It also speaks to my need to find compatriots, and all the baby posts on Facebook are influencing my dreams to include babies. The paternal instinct?

Dream a Little Deep Dream of Me (II)

I elaborate on facets of the Light State of consciousness, see my previous post for details

Three further notes on the Light State: First, Liberty is an especially prominent figure in Liberty Leading the People and will probably draw most people’s initial focus, just as certain loud noises or disturbances generally attract the same amount of Foreground processing regardless of who is experiencing them. But there can be substantial variation in what attracts the Foreground processing of different individuals, especially if the perceptive range is not dominated by any given stimulus. Observe, for example, the below painting by Kandinsky. What initially attracts the attention may vary from person to person.

On White II, Wassily Kandinsky

Second, there may be instances when Foreground processing may almost recede to the Background, such as when completing repetitive or relaxing activities. This activity can be likened to a landscape painting, such as Van Gogh’s below, where no particular spot demands foreground processing attention and instead it is the cohesive whole of the painting – the cohesive whole of Light State consciousness – that prevails.

Landscape with Olive Trees, Vincent Van Gogh

Third, there remains the question of the subconscious. Freud did not find this concept helpful, using instead the idea of the preconscious and unconscious minds to encompass what others would normally describe as the subconscious. Preconscious is easy enough to explain using art, such as in the Arnolfini Portrait below: The symbolic meaning of the oranges, dog, mirror and various carvings in the painting can be consciously recalled separately from one’s direct perception of the objects, just as thoughts in the preconscious can be recalled to the conscious mind. 

The Arnolfini Portrait, Jan van Eyck

But where Freud found little difference between the unconscious, which could not be recalled, and the subconscious, I see the subconscious as being the part of the unconscious that cannot be actively recalled, but can manifest itself in conscious behavior to the extent that it can be identified as the subconscious. If a person behaves poorly towards people of a certain race without knowing it, they are unconscious of the reasons behind this behavior. If they are called out or come to certain realizations about the nature of their prejudice – if that is indeed the reason behind their behavior – then the subconscious is revealed, much like a surfacing submarine now reveals its existence.

Sigmund Freud

All this is to say that dreaming transcends all three states – Bright, Light and Dark. We can experience survival mode while in a dream and wake up in a sweat. We can experience dreams very similar to our normal waking experiences or experience heightened states of mental and physical arousal. And we can dream without really knowing we are dreaming at all. So can a machine dream? Stay tuned…