Entries from October 2003 ↓

The Matrix: Where Are We Now?

#1 on Google!

The release of The Matrix Reloaded this past May created an an amazing wave of analytical energy among its fans. This year I contributed some material the most epic discussion thread I’ve ever seen on any topic, which you can visit here. Within a couple months this thread became something extraordinary, attracting considerable traffic and eventually becoming the #1 search on google.com for “matrix reloaded discussion”. Also, have a peek @ the thread’s host’s entertaining information regarding this thread. Some day I aim to reassemble everything from these discussions into a single comprehensive writing. For now you can peruse that blog, which is in two parts. You’ll find tons of good mind candy on all things Matrix. Look for Spoon Boy.

So where are we now? We’re down to the final week of our wait for Revolutions, and my mind is once again drifting off to that special place.

I received an email from a mathematician who came across my original May 15 Matrix article on the Net. He offers some insight on how we construct statistical error models in order to program complex computer systems which simulate real-world randomness. This completely ties into the topic of A.I. in general, and the Matrix story in particular. Check it out here.

I spent some time thinking about the insight this guy’s offered regarding how we, in complex computer systems, construct statistical error models in order to simulate reality. As he illustrates, programmers use sensors to input data into a computer, which then “learns” how the real world behaves. As more data is input into the program, the accuracy of the simulation is increased. Over time, as long as your model is free of error, things begin to stabilize and simulation becomes increasingly more like the real world.

Here’s something that occured to me:

Consider a deck of cards. We know that the natural odds of drawing an Ace off the top of the deck is 1 in 13.

Now let’s imagine that we want to create a computer program that simulates this real world fact. With something as simple as cards, we can easily program a computer to calculate 1 out of 13, and use that as our model. However, for the purpose of this example, let’s say that the only way we can input the data is through some sort of sensor, where the computer can “observe” its real world counterpart, and then attempt to simulate it with the data given. To construct our error model, we as programmers must repetitively shuffle a 52 card deck, flip over the top card, and input the result into the computer. Odds tell us that we’ll have an Ace 1 out of 13 times. 2 out of 26 times, 3 out of 39 times, and so on. The more times we do this and enter it into the computer, the more accurate it becomes. Odds tell us that if we did this 13 million times, we’d get an Ace 1 million times.

However, as Rivas points out, there are occasions in the real world where highly improbable things can happen. If these highly improbable events occur too often, especially early on, the error model breaks down and becomes corrupted, leading to an inaccurate simulation. When this happens, we as programmers need to clean the slate and start over, wiping out all the instances of coincidence that the computer is basing its simulation on.

Back to our card example. We shuffle the deck, pull the top card, record it into the computer, and repeat. Repeat. Repeat. But what if, just by chance, we pull four Aces in a row? Highly improbable, but not impossible. This “integral anomaly” throws our model off and corrupts our results. We therefore start over, and reapply the equation to a clean slate. After all, we don’t want to give the computer any wrong ideas.

Neo is that weird coincidence, that integral anomaly, the four Aces in a row, that throw the model off and necessitate a “re-insertion of the prime program”, or a “reapplying of the equation”. A Reload of the Matrix.

I reloaded again the other night with all this in mind. I now wonder if what we’re looking @ here *is* Artificial Intelligence, or simply our relentlously feeble *attempt at it*. Perhaps, as is the case with our real-world efforts to create A.I., the attempt never quite succeeds due the persistent integral anomaly (i.e. a factor which cannot be simulated artificially.) In the case with our story, that integral anomaly is Choice, manifested in the Neo character. Makes perfect sense to me now, particularly after carefully reviewing the Architect scene again.

Coming down the stretch here. Have fun with it!

“To an artificial mind, all reality is virtual.”
–Matriculated

Mathematical Matrix Insight

—–Original Message—–
From: Rivas J’Kara [mailto:x_rivas_x@hotmail.com]
Sent: Sunday, October 19, 2003 07:34 PM
To: jaced.com
Subject: Matrix Insight

I found your writings on The Matrix interesting. You talked a lot about computer programming, 2+2=4, etc. in your article. Something to consider… have you ever heard of a Stochastic Model? Or Bayesian math? Or a Kalman filter? Or maybe Numerical Methods? These are all related forms of mathematics… let me explain.

In very complex computer systems, such as aircraft navigation, statistical error models must be constructed that model the real world and make certain anticipations/assumptions. Think of probability theory wrapped up in matrix math wrapped up again in integral/derivative calculus equations. It works like this, a computer system uses inputs from sensors to observe the outside world, anticipate them, and then tries to react to those observations. The programmers of the system are smart enough however to know that the sensors themselves are prone to error, and not only that, the system you are observing, a real world system, will respond in certain ways you can not certainly predict all of the time because of a certain element of real-world randomness. So the best you can do is construct an error model of what the most likely outcomes of that particular observation will be. Over time as you make more observations your error model becomes increasingly more and more precise. You continuously refine your equations because the error rendered by your algorithm gets fed back into the systems where it is integrated (a calculus term) over and over again, causing the error to become increasingly smaller and smaller, until finally the error may still be present but it is small enough that it is of no concern to your overall larger solution… so you just ignore it. They will always be there, but they are no longer of concern. When the errors grow large enough to be a concern, you re-integrate the equation.

Occasionally highly improbable things can happen in the real world, which in turn will cause your error model to break down. When this happens hopefully the error is manageable and will eventually dissipate in time after multiple integrations of the error. If it is beyond your thresholds you will have to restart the system.

I found it interesting that The Architect calls Neo the “integral anomaly,” that he is the sixth emergence of the integral anomaly and that they need to “reinsert his code into the prime program….” This of course also means all the monitors on the walls behind Neo make a lot of sense given this type of math, this whole scene is about probability. And of course choice, or that certain real-world randomness, is the problem that probability theory is trying to construct a ruleset around.

I think Neo represents the completely improbable outcome, and the error model of The Matrix is now past all thresholds/points of return. This would mean that the third movie is a totally open book and anything can happen. This would also probably mean that Neo is human. Anyway it all makes perfect sense from a probability standpoint.