苏黎世联邦理工学院的研究人员开发出最快的流程算法
Researchers at ETH Zurich develop the fastest possible flow algorithm

原始链接: https://ethz.ch/en/news-and-events/eth-news/news/2024/06/researchers-at-eth-zurich-develop-the-fastest-possible-flow-algorithm.html

Rasmus Kyng 和他在苏黎世联邦理工学院的团队创建了一种革命性的算法,能够计算出最高效、最具成本效益的方式,实时在互联系统(例如交通网络)之间分配资源。 他们的创新被称为“网络流算法”,可以最大限度地提高资源流动,同时最大限度地降低复杂网络(包括公路、火车、船舶和互联网)内的成本。 这一突破超越了以前的方法,以前的方法由于计算时间长而难以跟上不断增长和日益复杂的网络。 借助 Kyng 的算法,解决网络流量问题所需的处理能力与网络的复杂性相匹配,即使在处理庞大的网络时也可以进行即时优化。 这一成就为他们赢得了 FOCS 2022 年最佳论文奖,并被视为计算机科学领域的重大发现。 他们进一步扩展了他们的方法,创建了额外的近乎最佳的时间算法,适用于正在进行持续转型的网络,从而能够快速适应动态情况,这对于生物学、社会科学和实时交通管理等领域至关重要。

用户质疑“O(n)”和“o(n)”表示的大O表示法之间的差异,其中前者指的是上限复杂度,而后者表示当n接近无穷大时的实际运行时间复杂度。 他们认为,如果“o(n)”适用于“n”的所有值,包括较小的值,那么它就与术语“银河算法”相矛盾。 然而,用户承认并非所有“o(n)”函数都适用于小“n”,但表示他们相信它们应该适用。 该用户还担心作者在数学论文中遗漏了重要的细节,特别是在时间复杂度方面。 他们的结论是,减少其他人通过彻底的工作和明确的陈述来证明我的结果的需要是有益的。 本质上,用户主张数学研究的准确性和完整性。
相关文章

原文

In a breakthrough that brings to mind Lucky Luke – the man who shoots faster than his shadow – Rasmus Kyng and his team have developed a superfast algorithm that looks set to transform an entire field of research. The groundbreaking work by Kyng’s team involves what is known as a network flow algorithm, which tackles the question of how to achieve the maximum flow in a network while simultaneously minimising transport costs.

Imagine you are using the European transportation network and looking for the fastest and cheapest route to move as many goods as possible from Copenhagen to Milan. Kyng’s algorithm can be applied in such cases to calculate the optimal, lowest-cost traffic flow for any kind of network – be it rail, road, water or the internet. His algorithm performs these computations so fast that it can deliver the solution at the very moment a computer reads the data that describes the network.

Computations as fast as a network is big

Before Kyng, no one had ever managed to do that – even though researchers have been working on this problem for some 90 years. Previously, it took significantly longer to compute the optimal flow than to process the network data. And as the network became larger and more complex, the required computing time increased much faster, comparatively speaking, than the actual size of the computing problem. This is why we also see flow problems in networks that are too large for a computer to even calculate.

Kyng’s approach eliminates this problem: using his algorithm, computing time and network size increase at the same rate – a bit like going on a hike and constantly keeping up the same pace however steep the path gets. A glance at the raw figures shows just how far we have come: until the turn of the millennium, no algorithm managed to compute faster than m1.5, where m stands for the number of connections in a network that the computer has to calculate, and just reading the network data once takes m time. In 2004, the computing speed required to solve the problem was successfully reduced to m1.33. Using Kyng’s algorithm, the “additional” computing time required to reach the solution after reading the network data is now negligible.

Like a Porsche racing a horse-drawn carriage

The ETH Zurich researchers have thus developed what is, in theory, the fastest possible network flow algorithm. Two years ago, Kyng and his team presented mathematical proof of their concept in a groundbreaking paper. Scientists refer to these novel, almost optimally fast algorithms as “almost-linear-time algorithms”, and the community of theoretical computer scientists responded to Kyng’s breakthrough with a mixture of amazement and enthusiasm.

Kyng’s doctoral supervisor, Daniel A. Spielman, Professor of Applied Mathematics and Computer Science at Yale and himself a pioneer and doyen in this field, compared the “absurdly fast” algorithm to a Porsche overtaking horse-drawn carriages. As well as winning the 2022 Best Paper Award at the IEEE Annual Symposium on Foundations of Computer Science (FOCS), their paper was also highlighted in the computing journal Communications of the ACM, and the editors of popular science magazine Quanta named Kyng’s algorithm one of the external pageten biggest discoveries in computer science in 2022.

The ETH Zurich researchers have since refined their approach and developed further almost-linear-time algorithms. For example, the first algorithm was still focused on fixed, static networks whose connections are directed, meaning they function like one-way streets in urban road networks. The algorithms published this year are now also able to compute optimal flows for networks that incrementally change over time. Lightning-fast computation is an important step in tackling highly complex and data-rich networks that change dynamically and very quickly, such as molecules or the brain in biology, or human friendships.

Lightning-fast algorithms for changing networks

On Thursday, Simon Meierhans – a member of Kyng’s team – presented a new almost-linear-time algorithm at the Annual ACM Symposium on Theory of Computing (STOC) in Vancouver. This algorithm solves the minimum-cost maximum-flow problem for networks that incrementally change as new connections are added. Furthermore, in a second paper accepted by the IEEE Symposium on Foundations of Computer Science (FOCS) in October, the ETH researchers have developed another algorithm that also handles connections being removed.

Specifically, these algorithms identify the shortest routes in networks where connections are added or deleted. In real-world traffic networks, examples of such changes in Switzerland include the complete closure and then partial reopening of the Gotthard Base Tunnel in the months since summer 2023, or the recent landslide that destroyed part of the A13 motorway, which is the main alternative route to the Gotthard Road Tunnel.

Confronted with such changes, how does a computer, an online map service or a route planner calculate the lowest-cost and fastest connection between Milan and Copenhagen? Kyng’s new algorithms also compute the optimal route for these incrementally or decrementally changing networks in almost-linear time – so quickly that the computing time for each new connection, whether added through rerouting or the creation of new routes, is again negligible.

联系我们 contact @ memedata.com