The Recursive Mind: Why Intelligence Creates Existential Dread
This is a personal essay exploring an insight that helped me understand my own existential dread. While I use concepts from computer science as a framework, this is philosophical speculation, not established science.
Winter 2018, New York. I sat in my apartment, cozy from the cold outside, staring at the ceiling and feeling utterly miserable. Throughout my younger years, I had been obsessed with a very uncomfortable question: why does consciousness seem to inevitably lead to thoughts of suicide? Camus called it the only philosophical question that truly matters. That day I decided I’d answer this question to the best of my ability, and not let it bother me for the time being. So I opened a notebook and decided to think it through systematically.
What I discovered that day was something very profound. The moment I connected the dots, the dread simply vanished. It has been over five years since then, and the insight has held and I haven't been haunted by that particular kind of darkness since.
The Clue in a Computer Science Course
My first real encounter with mental recursion was a college computer science class. We were learning to traverse binary trees using recursive functions. These are functions that call themselves until they meet a stopping condition. It's an elegant solution to complex problems. But for the first time learners, there's something uniquely unsettling about taking this concept in. And of a different quality than mere being a difficult topic.
When students first encounter recursive functions, they don't just find them intellectually / IQ kind of challenging. They experience a visceral discomfort, a quality of pain that's hard to articulate. There's something deeply unnerving about a function calling itself endlessly, something that feels fundamentally dangerous.
This discomfort, I realized, isn't accidental. It's our brain's alarm system recognizing a potentially catastrophic pattern: the infinite loop.
Why Our Brains Fear Loops
Think about how easy it is to short-circuit electronics. One wrong connection and the whole system fries. Now imagine how many circuits there must be in the brain. Our brains, as complex neural networks, face the same risk. If neural pathways could freely loop back on themselves without restriction, we'd be trapped in endless cycles of thought or action.
Yet paradoxically, our most sophisticated cognitive abilities depend on recursions. Language for instance is recursive arrangement of simple grammatical patterns. We nest phrases within phrases to create infinite expressions. Or when we plan, we’re likely recursively joining things in our head. We simulate combine different actions at different level to make decisions.
If this circulation isn’t broken the signals itself can recurse into an endless loop. And this can be catastrophic. So evolution faced a challenge: how to harness the power of recursion without letting it destroy us?
The Circuit Breakers of Consciousness
This is where I propose the idea of “circuit breakers”. These are the mental mechanisms that prevent us from getting stuck in loops:
Boredom is one of the circuit breakers. We don't laugh at the same joke twice, otherwise we might literally laugh ourselves to death.
The feeling of being "trapped" is the most powerful circuit breaker of all. Imagine watching a fly hitting a window repeatedly. Or imagine Sisyphus pushing his boulder day after day. Even when empathizing with them we feel it - that visceral discomfort, that desperate need to escape. This discomfort is the circuit breaker.
The Domain Shifting
When we encounter an unsolvable problem, intelligence does something remarkable: it shifts domains. Let me illustrate with a thought experiment.
You're at a restaurant and your food needs salt. First, you scan your table. No salt. You check neighboring tables. Still no salt. You ask the waiter, check the kitchen, try the restaurant across the street. You consider buying salt from a store, finding soy sauce as a substitute, even extracting salt from seawater.
Notice the pattern? Each time you fail to find a solution within a domain, you shift to a higher, broader domain. Table → restaurant → neighborhood → city → fundamental chemistry. This domain-shifting is fundamental to intelligence—it's how we avoid getting stuck.
The Generalization Trap
But there's another mechanism at play that accelerates our journey toward existential questions: the strengthening of generalized assumptions.
When you search for salt in one restaurant and don't find it, you form a specific assumption: "This restaurant has no salt." After checking five restaurants, your assumption generalizes: "Restaurants in this area don't have salt." After enough failures across enough domains, the assumptions become broader and stronger: "The world doesn't have what I need."
This is another circuit breaker. It prevents us from endlessly researching the same domains. But it has a dark side.
As we accumulate life experience, our assumptions become increasingly generalized:
"This relationship failed" → "All relationships end in pain"
"This job is meaningless. So was the last job." → "All work is ultimately pointless"
"This pursuit didn't fulfill me" → "Nothing will ever fulfill me"
This explains why children rarely experience existential dread. They haven't accumulated enough failures to form these sweeping generalizations. A child who can't find a toy doesn't conclude "life is fundamentally lacking". They just look somewhere else, still hopeful. Their assumptions remain specific and weak.
But as we age and our pattern-recognition improves, we build stronger, more generalized assumptions about the nature of reality itself. The very intelligence that helps us avoid fruitless searches also funnels us toward the ultimate questions.
When Life Becomes the Domain
Now we approach the heart of existential dread. It’s a very common human experience to say that the life is a trap. It often happens when things aren’t going our way and we don’t find a way out. And having kids, and kids having kids - feels like a recursion. Or when we ask questions like - Why do we work? To live. Why do we live? To work.
And when these loops feel inescapable, our intelligent minds do what they always do. shift to a higher domain.
But what's the domain outside of life itself?
Death.
Give Me Liberty or give Me Death
Here we find evolution’s cruel joke. This is where the unstoppable force vs immovable object. We as humans are built to do one thing - survive.
There’re now two massive forces at play - the most uncomfortable feeling of being trapped that’s asking us to kill ourselves as the only way out, and our visceral fear of death. Both evolutionary forces designed to save us - one to prevent us from circling to madness, and another, well, is the fear of death.
This collision - this is existential dread. It's not a philosophical luxury or a sign of depression. It's algorithmic.
The Cope
Well, we can’t kill ourselves. So what now? How can we domain-shift?
What did we do to answer this - we built religion and philosophy, just a way to take a crack at this question.
Western religion has the concept of Heaven and Hell, as the domains after life.
Eastern religion pretty much says - you’re screwed. And the only way out is ‘moksha’. Something you personally figure out for yourself.
Albert Camus would say - find meaning in meaninglessness. Or an atheist, Richard Dawkins, would say - find meaning on looking a the stars. I think these are pretty weak, non-solutions. Or at least it didn’t do it for me. And looking at something that died a million years ago fuels the existential dread and meaninglessness if anything.
For me personally what worked is - knowing it’s an algorithmic thing, and not a solvable problem. It’s nothing close to ‘moksha’, but I’m spared from the ‘suicide’ question and that will do for now.
