laitimes

Technology, AI, artificial intelligence, computer algorithms

author:Colonize its court and feel its yang

technology

DeepMind's new way of sorting objects by AI could accelerate global computing

Sorting algorithms are a fundamental feature that computers around the world are constantly using, so improved algorithms created by artificial intelligence can make millions of programs run faster

Technology, AI, artificial intelligence, computer algorithms

Sorting algorithms are an important part of computers

Thanks to artificial intelligence developed by the British company DeepMind, algorithms used trillions of times a day around the world can run up to 70% faster. It found an improved way for computers to sort through data that had been ignored by human programmers for decades.

Daniel Mankowitz of programmer DeepMind said: "To be honest, we didn't expect better results: it's a very short program, and these types of programs have been studied for decades. "

Technology, AI, artificial intelligence, computer algorithms

DeepMind, UK

Technology, AI, artificial intelligence, computer algorithms

DeepMind, UK

Known as sorting algorithms, they are one of the workhorses of computation and are used to organize data by arranging words alphabetically or numbers from smallest to largest. Many different sorting algorithms exist, but innovation is limited because they have been highly optimized over decades.

Now, DeepMind has created an AI model called AlphaDev that aims to discover new algorithms to accomplish a given task, hoping to beat our existing efforts. Instead of tweaking the current algorithm, AlphaDev starts from scratch.

It uses assembly code, which is an intermediate computer language between human-written code and binary instruction sequences encoded in 0s and 1s. Assembly code can be painstakingly read and understood by humans, but most software is written in higher-level languages that are more intuitive before being translated or "compiled" into assembly code. DeepMind says assembly code gives AlphaDev more leeway to create more efficient algorithms.

The AI is told to build algorithms one instruction at a time and test its output against the known correct solution to ensure it is creating an effective method. It was also told to create algorithms that were as short as possible. DeepMind says that with larger problems, the task becomes more difficult because the number of possible combinations of instructions can quickly approach the number of particles in the universe.

When asked to create a sorting algorithm, AlphaDev came up with one that was 70 percent faster than the best of five data lists and 1.7 percent faster than a list of more than 250,000 items.

"We initially thought it had made a mistake, or had a mistake or something, but, when we analyzed the program, we realized that AlphaDev actually found something faster," Mankowitz said. "

Since sorting algorithms are used in many common software, this improvement can have a significant cumulative effect on a global scale. Such algorithms are so important that they are written into a codebase that anyone can use, rather than writing them themselves. DeepMind has open-sourced its new algorithms and included them in popular Libc++ libraries, which means that people can already use them today. DeepMind says this is the first change to this part of the library of sorting algorithms in more than a decade.

Because miniaturization is reaching ,--, immutable physical limit, Mankowitz said, AlphaDev may be able to help compensate for that by improving efficiency.

Technology, AI, artificial intelligence, computer algorithms

Moore's Law

"Today, these algorithms are being pulled (running in software) that we estimate trillions a day and are capable of being used by millions of developers and companies around the world," Mankowitz said. "Optimizing basic functional code that is being pulled trillions of times a day will hopefully have enough benefits to encourage people to try to do more of these features as a way to unravel this bottleneck [Moore's Law slowdown]."

Mark Lee of the University of Birmingham in the UK said AlphaDev was interesting and that even a 1.7 per cent speed boost would have been useful. But even if similar efficiencies are found in other common algorithms, he says, he suspects this approach will make up for the breakthrough of Moore's Law, because it won't be able to get the same gains in more esoteric software.

Technology, AI, artificial intelligence, computer algorithms

Moore's Law

"I think they'll be able to do that, like sorting algorithms and standard types of computation." But it doesn't apply to complex bits of code," he said. "I think hardware growth will still outpace it."

Technology, AI, artificial intelligence, computer algorithms

Moore's Law

Read on