ai newsFr., 4. Dez.
EilmeldungAlibaba Releases Qwen4-35B-A3B: Open-Weight MoE Model With 1M Context

With human help, AI allows networked computers to reach consensus significantly faster

In computer science, consensus is the ability of multiple machines to reach agreement quickly even when some of the machines fail. It is one of the oldest challenges in distributed computing, which is when independent computers work together over a network to solve a problem or run an application.

TechXploreDonnerstag 17:00 · 03.12.4 Min. Lesezeit
Bild: TechXplore

by Stephanie Parker, Ecole Polytechnique Federale de Lausanne

edited by Lisa Lock, reviewed by Robert Egan

This article has been reviewed according to Science X's editorial process and policies. Editors have highlighted the following attributes while ensuring the content's credibility:

Add to Preferred Sources Get Instant Summarized Text (GIST) An AI-designed distributed consensus algorithm reduced agreement latency from 90 to 62 milliseconds (31%) in benchmark tests. The AI generated the implementation and correctness proofs, which were independently checked through testing, formal verification, and expert review.

This summary was automatically generated using AI. Full disclaimer

In computer science, consensus is the ability of multiple machines to reach agreement quickly even when some of the machines fail. It is one of the oldest challenges in distributed computing, which is when independent computers work together over a network to solve a problem or run an application.

The consensus algorithm is the foundation of many parts of our modern technological system: for example, databases, blockchain and cloud servers are all built on consensus. It is important in domains such as banking, finance, air traffic control and cloud computing systems, but so far, the time it takes for computers to agree is (relatively) quite long, with the best existing protocol taking 90 milliseconds.

"Consensus is what makes a group of unreliable machines behave like one reliable system. Almost everything we depend on online relies on it," says Anne-Marie Kermarrec, EPFL School of Computer and Communication Sciences (IC) professor and head of the Scalable Computer Systems Lab. She is part of the EPFL team that created a new algorithm, called A-greement, which helps solve this problem.

"This problem is known to be very difficult, and people have been working on it for decades. There are solutions, but the time it takes for the machines to agree is substantial," says Rachid Guerraoui, an IC professor and head of the Distributed Computing Laboratory, which also led the research now posted to the arXiv preprint server.

With the help of AI, Guerraoui, Kermarrec and their teams have managed to reduce the time it takes to reach consensus to 62 milliseconds, representing a time reduction of about 30%. The work didn't only involve coming up with a new algorithm but also having an AI agent generate the actual code to test the algorithm.

"We were surprised to see that an AI agent could do the entire job, all the way from discovering a new algorithm to developing the code, and then also testing the code and verifying its correctness," Guerraoui says.

When AI verifies its own work, there is a risk that it could still be incorrect. This is why it is so important to also have expert humans in the loop. One of these was Zicong Hong, a postdoctoral researcher in Guerraoui's group.

"In research, there are three languages," Hong explains. "First is the human language, the one we use to communicate with one another and to come up with ideas, for example. However, when we want to evaluate or implement an idea, we need to translate it into a system language, such as C++ or Python. Finally, when we want to prove an idea's correctness or safety, we need to express it in a formal language, such as Lean or Rocq.

"The challenge is that gaps can arise between these different languages and the AI systems, potentially leading to errors when translating or interpreting ideas. Therefore, humans need to help the AI to revise some problems to solve the gap between these languages."

The humans did this by building independent verification mechanisms to check whether the generated algorithm was actually correct and whether its correctness proof was plausible. These checks combined experimental testing, formal verification and human expert review. This included using a tool called Lean 4 to independently check mathematical proofs generated by the AI. This evaluation process took place each time the AI proposed a new version of the algorithm, which happened almost every day.

"The fact that we in a university could do this just by having some basic subscriptions to AI platforms and using them in a smart way is a very good sign," Guerraoui says.

For Guerraoui, the vital role of expert humans in this research is one of the most exciting parts. "There's a perception that with AI, our students will be out of a job. But to me, it's like inventing the telescope or the microscope, which we can use to boost our research. It's not an employee or a worker—it's a tool. And it's a fantastic tool that we need to use carefully and that can speed up the research process, but we are not out of a job."

For their next steps, the group is trying to apply the same approach of using AI in collaboration with expert humans to other fundamental problems.

"We want to apply it to other areas of distributed computing where we know there is still a lot of progress to be made," Kermarrec says.

Clément Burgelin et al., The End of Consensus Research?, arXiv (2026). DOI: 10.48550/arxiv.2610.30114 Journal information: arXiv

BA art history, MA material culture. Former museum editor, paramedic, and transplant coordinator. Editing for Science X since 2021. Full profile →

Bachelor's in mathematical biology, Master's in creative writing. Well-traveled with unique perspectives on science and language. Full profile →

Quelle: TechXplore (TechXplore). Original öffnen