ሃሳብ፡ እና፡ ሂሳብ
Saturday, August 16, 2025
Saturday, July 12, 2025
Suffering from Success: Best Case Crisis of AI
Artificial Intelligence (AI) seems to be making its way from science fiction into the real world. We see companies like OpenAI and DeepMind make great progress in training and deploying Large Language Models (LLMs) and other AI (agents), which can answer so many questions we may have from writing letters to code. Having tried them myself, I find them quite helpful. Adding to this, AI is getting increasingly better month by month. In fact, some predict that AI will reach AGI (intelligence of human level breadth and superhuman level depth) by 2027.
Of course, there are doom-oriented thinkers for such a revolutionary technology. Even for the Industrial revolution where we made tools which were nowhere near replacing humanity we had luddites who wanted out. Even many decades after the industrial revolution we are aware of radicals like Ted Kaczynski, who were deeply suspicious of technological progress. Now, with the advent of AI we have a new wave of nay-sayers like Eliezer Yudkowsky, who have been ringing the alarm bells of the apocalyptic agency of AI for years. The problems that AIs pose are slowly dawning on even its godfathers. They are relatively recently seriously considering or perhaps even fearing these risks. There is a famous trend of giving the probability of doom from AI with the phrase P(doom). The public P(doom) of some thinkers in this field are given here. The problem is basically that AIs will eventually have wills of their own and that these wills will not be aligned with what is good or even endurable for humanity.
In this article, I am going to be optimistic and just look at the risks we will face when the best case scenario of AI materializes. That is, I will assume we will solve the famous AI alignment problem and see what type of society we will have with benevolent and powerful AI at hand. There are a few things that come to mind as dangers.
One imminent threat of AI is on the job market. Disembodied AI is currently replacing many white collar jobs (reference). This will only get worse when we manage to get robotic AI in various work places. There is of course the immediate threat of income inequality that will be exacerbated and the class consciousness it will foment. Again, I am going to be an optimist and assume there will be some solution to this via some forms of welfare states. Moving beyond people's financial needs we move to the need for meaning. We know get the opposite of Victor Frankl’s problem in his famous Man's Search for Meaning: no suffering and no meaning instead of facing suffering with meaning. Not struggling to make a living as ordained in Genesis will have negative mental repercussions. Pulling from various articles and papers, Google's AI Gemini puts it this way:
Joblessness is significantly linked to mental health problems. Individuals experiencing unemployment are more likely to report lower self-perceived mental health, increased rates of depression, and higher levels of anxiety and stress. Specifically, research indicates that unemployed individuals are twice as likely to experience depression symptoms and major depressive disorder compared to those with employment.
Put simply, people will likely have a crisis of meaning if they are not needed as participants in the world. Sure people can try to convince themselves they can mean something to each other in families and friendships but will such relationships be healthy? There is a deeper interpersonal issue at play here that deserves separate attention.
But, it's not all doom and gloom. Just because AI can automate many or perhaps all of the things we need to have functioning infrastructures for civilization, the notion of human uniqueness still remains. We are so far the only verifiable entities in the universe that are sentient. This, in my opinion, is at the heart of our peril and defense against benign but overwhelming AI.
Some think that human uniqueness is safe for the foreseeable future because AI is bounded in its capacity to think. People who hold this kind of view include famous mathematician Roger Penrose and computer scientist Yann LeCun. Dr. LeCun believes that we are not close to AGI and superhuman level synthetic entities. For him this is in large part because of his lack of esteem for LLMs when it comes to intelligence. Dr. Penrose asserts that consciousness simply can not rise out of computation. He argues this in his book The Emperor's New Mind: Concerning Computers, Minds and The Laws of Physics. Although I have only skimmed the book, here is a gist of its message. Dr. Penrose speaks of microtubules (the skeleton, transport lanes, and scaffolding of cells) giving rise to consciousness through quantum effects. There is a lot to be read, understood, and said here but for this essay we will just point out that Dr. Penrose argues that this effect is beyond computational. Being grounded in materialism Dr. Penrose believes there might be an natural explanation for this but that we have not reached there yet. Whether this bottleneck for consciousness is surmountable by mere humans or not, the conclusion is that, if Penrose is right, we do not have an immediate human obsoleteness problem.
Dr. Penrose's arguments are, according to him, speculative and not yet complete, and in general this question of human uniqueness/specialness in the face of AGI and Artificial Super Intelligence (ASI) remains open. For now it seems to me that we simply have to have faith in ourselves. For Christians, this means continuing to believe that we are fearfully and wonderfully made in the image of God. For the non-religious this means holding on to the notion of the Ubermensch, to the precarious belief of being the only sentient beings in the universe (quite a leap of faith granted materialist assumptions), or just forgetting this problem in some epicurean sense.
Thursday, June 19, 2025
Pursuit Curves and Reinforcement Learning
The news these days is filled with the tit-for-tat conflict between Israel and Iran. Both countries are volleying missiles at each other while the defending nation is using some means to intercept and destroy said missiles. Israel in particular is known for its Iron Dome, a mobile air defense system. During a 2014 war the Iron Dome was said to be nearly 90% effective. The idea of such an air defense system is currently being contemplated by the US and Canada.
Obviously, any nation would love to simply zap all missiles coming their way. But how does one build an Iron Dome? Well, there is a lot that goes into building it (primary among which might be money) but let’s focus on one aspect: how does the interceptor catch up with the missile? To answer this question, we delve into the math of pursuit curves.
Pursuit curves describe the path taken by a pursuer/chaser that is always moving directly toward a moving target. Let the pursuer’s position be given by \( \vec{P}\) and the target’s by \( \vec{T}\). We make the idealistic assumption that the pursuer always moves towards the target. Hence,
\[ \frac{dP}{dt}=v\frac{\vec{T}-\vec{P}}{|\vec{T}-\vec{P}|} \] where \(v\) is is the speed of the pursuer which we assume to be constant. Visually, we see that the vector \(\vec{T}-\vec{P}\) points in the direction of \(\vec{T}\) from \(\vec{P}\).
Now, if the target moves in a very simple known path, we often can solve the trajectory of the pursuer using analytical methods for Ordinary Differential Equations. However, this ability quickly gets bogged down with nuance. Even for a simple circular path by the target with a speed equal to the pursuer’s, we get quite intricate pursuit curves. This is demonstrated in the GIF below.
Due to multiple enviromental interactions (such as wind) or due to internal imperfections, the target might move somewhat randomly. Its equations of motion would then be given by the Stochastic Differential Equations:
\[ dT=\vec{\mu}(t)dt+\vec{\sigma}(t)d\vec{W}(t) \] where \(\vec{\mu}\) is the deterministic(intended) velocity and the term "\(\vec{\sigma}(t)d\vec{W}(t)\)" captures the noisy aspect. \(\vec{\mu}\) can describe circular motion like before or some other chosen shape. Going forward, we will set \(\vec{\mu}\) to zero to emphasize the challenge of the random target. We will set "\(\vec{\sigma}\) as a single constant and see that, even then, we face interesting challenges when we add in some realism.
We will now see a noisy chase. For better visibility we will make the pursuer’s effective speed slower than the effective speed of the target. By effective speed we mean the root mean squared displacement over time step \(\Delta t\) (\(\frac{\sqrt{\langle \Delta x^2\rangle}}{\Delta t }\)). (On a side note, the GIF reminds me of a Key and Peele skit).
We will now introduce a challenge that brings us closer to the real world. So far, we have been giving the pursuer as many observations of the target as there are time steps in the simulation. But this is unrealistic. The interceptor can only afford to watch the target a few times during the chase. Hence, weith a fixed budget of observations, the target becomes a more distant goal.
There are many ways to schedule the observation times with a fixed budget of observations (M). One is to set an absolute final time T for the chase and evenly split it by M. We will call this a uniform budget. A second and third approach are to evenly spread the observations in the first and fourth quarters between \( t=0\) and \(t=T\). We will call these the front-loaded and back-loaded budgets respectively. A fourth approach is to randomly sample the observation times with a uniform distribution across the full time interval. We will call this a random budget.
With M=10, T=20 sec (I am skipping non-dimensionalization for clarity), and with pure Brownian noise like before we get the following demonstrations.
In these runs of the simulation only the front-loaded approach seems to be doing very bad. But we only had one run for each approach and with a pretty simple target behavior. Plus, the other three methods do not seem to be doing too good either. With a modestly small catch radius all of them would still be in pursuit (the catch radius is the radius of the circle centered at the target being within which signifies successful interception).
One can not help but wonder if the observation times can be optimized to maximize the likelihood of being within the catch radius before the final time T or at least get close to this radius when the clock stops. One clever approach is to have a geometric sequence of observation times which waits longer and longer later when sampling observations. This is clever for Brownian Motion (BM) because BM's uncertainity grows over time and therefore later observations would be increasingly misleading and it would be best to hunker down and wait longer intervals later on. But this is predicated on a Brownian target. What if we have other motion patterns like a Levy Walk or a sand walk from Dune? What is a good foundational method to optimize our observation times?
The answer is AI or, more modestly, Reinforcement Learning (RL). RL is a type of machine learning where an agent (AI) develops a policy for its actions based on positive or negative reinforcement. It looks at the state of things it is allowed to see, makes decisions, and faces consequences for its decisions. It does this many many times living and learning until the training stops. For our RL agent we have the following setup:
- RL agent decision/action: waiting time until next observation
- RL agent observable: current pursuer and last known target positions, current time, and remaining observation budget
- RL agent reward: +1 if target is intercepted (within catch radius) otherwise negative of final distance between pursuer and target
Using a standard RL algorithm (a policy gradient method) and training over a modest number of episodes we get an average total reward of -0.69 when we test the RL agent 100 times (simulate 100 chases with the agent picking the observation times). Under the same set of circumstances, the other methods get the following average total reward:
- Uniform budget: -1.65
- Front-loaded budget: -1.81
- Geometric budget: -1.07
Clearly, the RL agent wins.
This is just scratching the surface of the power of RL. Even with this scenario there is a lot more we can do to make the interception more likely and more efficient by giving the RL agent more authority. God willing, this will be a topic for another day.
To end on an eerie note, we will show a GIF of a pursuit with the RL agent picking the observation times and with circumstances like that of the previous GIF (so as to compare). Note that we are only plotting positions when the pursuer makes an observation/decision.
Thursday, June 5, 2025
Monday, May 5, 2025
What Made "Lost" Captivating?
The TV series Lost was one of the most watched TV shows in history. Almost all of its episodes in all its seasons had more than 10 million views. It got 90% audience score on Rotten Tomatoes. A New York Times reporter once called Lost "the show with perhaps the most compelling continuing story line in television history." Why was Lost so captivating? I have a theory but first a short summary of the show with minimal spoilers.
Lost starts and in many ways persists across its seasons as a story about a group of random people who are forced into existence in a new mysterious world unchartered by mere mortals. This world is so unlike ours that, at first glance, it seems like the show was popular for the spectacle of this world. This world was a tropical island (at least in the beginning) where there was a polar bear, a bunker with an apocalyptic timer, tech ruins of a failed business, a monster made entirely of smoke, a bizarrely modern community, and two ancient brothers with deep disagreements. Despite this dazzling sequence of items, the show is great because of the island's victims it concentrates on. We will soon see that these characters are really us here now.
After crash landing on the island, each character finds ways to come to terms with the island's reality. Some land on their feet and some on their face as they are thrown into this world. Some lose their integrity and some keep it to the end. Some find love and some lose it.
Like these characters we find ourselves thrown into this world from birth. By thrownness I mean the German Geworfenheit as introduced by philosopher Martin Heidegger. It is the fact of our finitude not just in time but also in length, height, width, nature, nurture, culture, and other non-physical dimensions of our existence. We are brought here without warrant, with unwarranted features and given unwarranted stories about why we belong here (or not). Ultimately, Lost resonates with us because it brings us back to that raw truth that we did not ask to be here but nonetheless have to fight back against the random entropy that constantly threatens to engulf us. This entropy does not wish to reshape us into some image but rather seeks to deshape us altogether. We try our best to avoid that eventuality. The more heroic among us even try to fight off entropy for others.
Thrownness is different from dereliction as emphasized in "Heidegger: Through Phenomenology to Thought" by William J. Richardson. We are not saying that our lives are abandoned or unwanted but that they are not explicitly/clearly justified. We can not deny that we, and all living things for that matter, are born naked of explicit function. Our parents might like each other and us very much but they don't have any idea what is going on either, in terms of the universe they found themselves and each other in.
The show invites us to reflect on what we discover and become in the chaos of our projectile existence. Through Desmond and Penny, we are reminded that even in disarray, we can still find one another—and that connection can be the invariant that keeps us from drowning deep in the chaos. Being hurled through life would be much more harrowing if faced alone and, in some ways, that is the essence of hell. Michael shows us the cost of betraying fellow lost souls, no matter the justification. We look at Ben and John to see how the pursuit of destiny twists one man and makes another man whole. And in Jack and Charlie, we see the appeal of sacrificial leadership.
One exception to the narrative portrayed by Lost and lived out in real life is the position held in Christianity. Christians are told not to see themselves as orphans lost in the world but rather as legitimate children of the world's creator set to ultimately inherit this world which right now appears to be very much like the island in Lost and quite full of orphans.
Thursday, April 10, 2025
Sunday, March 16, 2025
What is Applied Math?
Applied math has various definitions depending on the person. We will list and study the prominent definitions, as understanding what applied math is—or should be—directly informs the vision and mission of an applied math community.
Applied Math as a Lubricant for Science and Engineering
Some view applied math as a lubricant that facilitates the progress of other sciences. In this perspective, a biologist might provide experimental data to an applied mathematician in order to add resolution and certainty to their observations.
For example, in a 2022 Open Biology paper, we studied the motion reversal behavior of algae called diatoms. Using stochastic differential equations and asymptotic methods, we explained how this behavior enhances the diatom’s diffusion and spreading. While biologists could have empirically reached this conclusion by comparing diatoms that reverse direction more often to those that reverse less frequently, we helped them reach the conclusion more quickly and robustly.
This role of applied math is undoubtedly useful, but it is also limited. It is bound by the horizon of the science or engineering it supports. If applied math is confined to this role, it cannot transcend the goals of the science it serves and, at best, merely accomplishes those goals. Therefore, it is essential to look beyond this definition.
Applied Math as a Rigorous Exploration of Theoretical and Speculative Aspects of Other Sciences
Mathematics has a rich and diverse history, with one branch rooted in ancient Greece, particularly in Platonism. In the Platonic view, mathematics prides itself in its ability to study and discover timeless truths valid in every corner of the universe. This capacity contrasts with the empirical sciences who can not help but be tentative and limited in scope by what can be properly observed. For example, cosmologists have a very limited grasp in what life could be out there in the universe but axiomatic mathematical thinking can contribute powerfully to that subject.
In a more detailed example consider evolutionary biology. Evolutionary biologists having gathered copious amounts of data globally, assert that life became what it is now on the planet through mutation and natural selection. Living things reproduce making copies that are slightly different from them and nature picks the copies that survive. Ultimately this leads to a particular shape/pattern for life. Many know of this explanation. However, there are a few big questions that this common sense explanation does not quite account for. One of these questions is how reproducing life arose in the first place and another is how it managed to jump from unicellularity to multicellularity. We notice that biologists can only do so much empirical science to answer the second question because the jump happened many many years ago far from the inquisition of the biologists. The remaining option is to look at current living unicellular organisms that seem to attempt or be in the process of becoming multicellular. As applied mathematicians we carefully model this kind of organisms' motion and study the role of multicellularity to their ability to move around and navigate. This sheds some light on why the happenstance of multicellularity might be favored and grow into a pattern.
Beyond truth seeking science, applied math can imagine and theoretically explore futuristic but pragmatic projects. From space travel to terraforming planets to longevity economics to cosmological sociology (The Dark Forest by Liu Cixin), applied math can boldly but clearly think about next generation ambitions.
However, one criticism of this definition is that it overlaps with pre-existing fields. Some might argue that applied math would be redundant under this definition. This is ultimately a semantic and trivial conflict. Moreover, the applied math community we aim to build is in a position where this conflict would likely not arise. If it does occur, it is best to cooperate and coordinate.
Applied Math as Outreach for Pure Math
In Western and other developed nations, pure math often has a niche and incentive structure. There are national and international competitions to be won, medals to be collected, and even millions in prize money to be awarded. Top schools bring together the brightest youth to compete for meaningful compensation. However, many of these incentives are lacking in developing countries like Ethiopia.
In Ethiopia, some progress is being made in fostering mathematical competition (Ethiopian Mathematics Professionals Association (EMPA)), and there are modest prizes available. However, pure math remains largely unappealing to most. It is not worth pursuing because it does not pay off in a country where "payoff" can ultimately be a matter of life and death and because many assume that pure math is not for them or for others around them. Finally and more pertinently, pure math's quickly but justifiably growing esoterism only makes things worse.
A great way to combat the lack of appeal of pure math is by using applied math as the Aaron to pure math’s Moses. Applied math can clearly demonstrate its relevance even in developing countries, while also advocating for the value of pure math. For example, when I present on applied math research, I always dedicate a slide to discussing the pure math I used or struggled with.
In conclusion, a robust applied math community serves as:
- A catalyst for science and engineering
- A pioneering explorer for science and engineering
- An evangelist for pure mathematics