Sum over paths

View of a bridge from the Tadami Line, Japan
© 2024. Akshay Mishra

Complexity of AI ?= NI

Is a faster horse a car?

A blue horse-drawn carriage with red wheels and an Italian flag parked on a cobblestone street.

A horse-drawn carriage, Rome, Italy. © 2006. Jorge Royan / CC BY-SA 3.0

The news that another one of the Millennium Mathematics Problems, the Riemann Hypothesis, has now been solved with the help of AI has again brought the question of what AI can or cannot do to the fore and whether they have exceeded humans in their capabilities.

It might be appropriate to take a step back at this juncture to ask two objective computational / mathematical questions rather than get into all the social and economic debates that AI has inevitably wrought upon us.

These two questions are:

  1. What is problem-solving at its core and which parts of it is AI better at than humans?
  2. Does there exist a complexity class containing a set of problems solvable relatively cheaply by natural intelligence (NI) but are completely intractable for AI?

What is problem-solving?

For the first question, problem-solving for many domains of human interest and for virtually all domains of economic interest involving service professions, boils down to solving a “search-problem” (note that this is not the precise definition in CS terms).

Whether you are a graphics artist assigned with creating concept art for an anime-style “medieval warrior” character, a financial analyst evaluating whether an investment in a company is a good idea, a programmer designing a game engine for a particular genre of a game, or a mathematician seeking a proof of a theorem, you are sifting through an immense, often infinite, high-dimensional, non-linear solution space to arrive at one or several acceptable points or regions in that space.

“Problem-solving” in such cases is essentially then (1) partitioning that solution space into more tractable regions and (2) traversing those smaller regions and evaluating the solutions in those narrower spaces to arrive at your goal(s).

In most cases, we humans narrow or partition that space down into a digestible slice using heuristics, some encoded into our DNA through evolution, some discovered and learnt through living.

Then the traversal of that space could again involve something more precise, like tools (say a compiler or bash tools or Lean or spreadsheets or Photoshop), or another, finer, heuristic (anime medieval warrior “in the style of 90s anime“?).

So what is AI better at?

As far as we can tell, AI models also utilize a similar approach to problem-solving. And, expressed in the terms of heuristics and precise evaluations, it is evident that they can try out many more heuristics applied over a larger solution space, for example, over many knowledge domains like topology, number theory, differential equations – something a single mathematician may not be an expert in.

The other thing they can do is utilize tools to verify hypotheses / evaluate solutions rapidly, again narrowing down the search space further. Humans would be quite slow at that.

It is worth noting that the ability to employ a larger number of heuristics and the higher speed at which the solution-space can be explored with precise tools / finer heuristics are artifacts of the physical substrate that AI models run on: silicon-based systems with high deterministic computational speed and higher amounts of deterministic storage / retrieval accessible to them.

Is the complexity class AI ?= NI

So if AI is better and faster at executing both heuristics and tools, is it better than humans at solving all problems that could possibly exist?

Restating the problem statement above, does there exist a complexity class containing a set of problems solvable relatively cheaply by natural intelligence (NI) but are completely intractable for AI?

We don’t know. But there are characteristics of that class we can explore or posit.

I posit the following traits:

  1. Is AI better than humans at creating or discovering new heuristics? The evidence here so far suggests that, within a closed system (like theorem proving for mathematics or significant parts of writing code), AI is able to “discover” internal heuristics. For open systems with new information and problems coming in, it is unknown whether AI can define new objective functions and thus heuristics for itself (discovered through backpropagation, say) if something doesn’t work (in fact, a lot of RLHF budgets are about teaching human-learnt heuristics to AI). Specifically, defining new objective functions is something I believe AI is likely to remain bad at.
  2. Is AI better at creating precise, deterministic tools to traverse the solution space? Again, within a closed system with existing tools – the answer is clearly yes. Is it able to create new tools for new problem domains? Unclear, at best. No, at worst. However, this is something humans and animals can provably do and are rather good at it.

So, for both these traits, the closed-system constraint seems to matter. Which is why the analogy that AI can only create a “faster horse” seems to apply.

The larger question then is that if an AI model were given the sensorimotor capabilities to experience the real world like we do, will that close the AI / NI gap and prove that the two complexity classes are the same?

It is hard to answer that question because it is not merely a matter of say, giving an AI model MCP-based access to an LC/MS system and asking it to do experimental research on protein structure. That is just a problem of penetrating into the “tools” of various domains. The more fundamental question is whether it would have been able to come up with the LC/MS device in the first place?

And, even if it did, does it experience the real world in a similar way that living beings do – the key unknowns being (1) how we experience “time” and build up a fake sense of the “present moment” (AI models do not experience time and synchronization is mathematically very real for them) and (2) how we formulate objective functions. It is unknown what objective biological neural networks try to solve for (besides survival – in a vague sense), and they certainly do not use backpropagation (the most powerful algorithm for optimisation we know of, its working core formulated by Newton himself!) to optimise.

So, if you were to ask me today whether AI = NI, I’d say no. But that’s not the point – it’d be cope to presume so upfront.

The point is that, as a research direction, I feel it is now immensely worth mathematicians and computer scientists’ time exploring whether such complexity classes exist at all and if they are distinct.

As always, time will tell.


About
I like exploring ideas in gamedev, technology, science, finance, economics and (sometimes) culture but I am by no means an expert in any of these. I also like to write from time to time. This blog is an intersection of the two.

I can also be found on Bluesky.

Disclaimer
All views expressed here are my own and, in no way, are to be construed as recommendations to engage in any securities transactions.

© All rights reserved. Akshay Mishra

Leave a Reply