AI can solve problems in a very different way to humans

gremlin/iStockphoto/Getty Images

A groundbreaking discovery in theoretical computer science has been found in the small print of an OpenAI paper generated by an AI model. The paper was intended to solve another, simpler problem and draws little attention towards the discovery, which was only spotted by independent researchers after the fact. This suggests that OpenAI had no idea what its AI had achieved, and the result was overlooked by both AI and humans at the company.

“We don’t know if anybody actually looked at it before release. It’s bizarre. The bigger problem was not part of the set of problems they gave the AI to solve, so it didn’t care about it, right? Why would it? It’s not a scientist who cares about science, it’s a robot answering well-posed questions,” says Or Zamir at Tel Aviv University in Israel, one of the researchers who realised the significance of the result.

The original paper, published last week, concerns the number of steps required to multiply matrices together, an extremely common task in a wide range of software. Computer scientists had been trying to discover the minimum steps needed, and OpenAI used an unreleased model to find the answer. As is now common, it released the AI-written paper, titled “The matrix multiplication exponent is nine fourths”, with little fanfare or public announcement.

Solving this problem involves a model of computation restricted to basic arithmetic operations, such as addition and multiplication, but instead the AI first solved a different problem using a model of computation related to a construction called a Boolean circuit, which involves simulations of the logic gates found in computer chips.

The AI showed that faster matrix multiplication in arithmetic led to a solution for another problem called element distinctness, which involves checking whether a list of objects are all different, using Boolean circuits. It found that the lower bound of this problem must be proportional to n (log n)^a, where n is the amount of data in the list and a is a constant.

What is extraordinary is that this solves a major open question in theoretical computer science. All known lower bounds for problems involving Boolean circuits are linear, meaning they are proportional to n, the size of the input. Finding a lower bound for a specific problem that is larger than linear, or superlinear, has been puzzling computer scientists for decades. The AI solved the element distinctness problem by finding the first known superlinear lower bound, and then, without ceremony, used this proof to achieve the matrix multiplication result it had been tasked with.

“This sort of problem has been actively studied and was considered essentially a black hole for research since the early 70s,” says Ryan Williams at the Massachusetts Institute of Technology, who also noticed the result hidden in the OpenAI paper. This breakthrough matters because figuring out how different problems are separated by the difficulty in solving them is one of the main aims of complexity theory, including in solving the infamous P vs NP puzzle, which goes to the heart of the nature of computation.

Lower bounds for trivial Boolean circuits that do nothing but read the input have been found before, but this is the first lower bound for a non-trivial problem, says Zamir. “This is the first sign ever that we might be able to show unrestricted lower bounds, and I think that this is recalibrating, for many of us, our bets for P vs NP being proven at some point. It doesn’t mean that the chances are now high, but if the chance was 1 per cent yesterday, maybe it is 5 per cent now.”

“In my mind, in the world of complexity theory… this sub-result, the result that came from the paper, is actually not only bigger than the matrix multiplication result, it might be bigger than the entire set of problems [OpenAI has] posted solutions for [in the past],” says Zamir. OpenAI didn’t respond to a request for comment.

Zamir says that because the AI-generated paper is poorly written, long and obfuscated, researchers don’t yet understand the way that the lower bound was arrived at, but that it offers hope for some kind of universal lower bound in the future. The matrix multiplication result is proved using Lean, a computer programming language that evaluates the truth of mathematical statements, and extending that to the Boolean circuit result involves only a small amount of maths, which Zamir is also confident is correct.

Williams is yet to grasp exactly how the AI has proved this lower bound, but thinks that it is a “whole new framework for reasoning about computations and limitations on them”.

The discovery provides the tantalising promise of finding a way to check any piece of computer code and see if it is the optimum way to solve a problem. That would either encourage developers to seek that theoretical better solution or reassure them that they can stop the hunt. For fields like cryptography, where it is absolutely vital to know that there is no undiscovered way to easily subvert an algorithm, this could be extremely reassuring. But there is a very long way to go.

“It means that we might have now the beginning of the development of tools that will allow us to even have the language to argue that something is the optimum,” says Zamir.

As for the fact that the result was overlooked, Zamir sees it as a positive.

“AI is very good with being given a task and solving exactly the explicit task that you gave it. It is not very good with saying, ‘oh, actually, here is something interesting unrelated to what you asked me to do’,” he says, and that leaves space for human researchers.

“Most of what we needed to do historically was to come up with the right questions and the right ideas, to say, what do we think is worth developing? My interests as a human, as society, are not the same ones necessarily as AI, as a specific company. This is just a small instance showing that indeed there is a big gap between the question that was asked and the answer that was given,” says Zamir.

Source: New Scientist · Matthew Sparkes

At a glance

Topic
Science
Country
🇬🇧 GB
Publisher language
EN
Added to Allnira