A computer scientist breaks through a limit that stood since 1996

image

Finding the shortest route between two locations is something navigation apps like Google Maps do every day. Behind the scenes, sophisticated algorithms analyze networks of roads and intersections to identify efficient paths. But what if a computer needed to calculate the shortest distance between every possible pair of locations in an enormous network?

That challenge extends far beyond maps. Similar calculations are important for transportation systems, communication networks, and even biological structures involving proteins, neurons, or other interconnected components. As these networks grow, determining the shortest routes between all their points becomes increasingly difficult.

Computer scientists call this the All-Pairs Shortest Paths (APSP) problem. It involves finding the shortest distance between every pair of points in a graph. In this context, a ‘graph’ is simply a collection of points (called vertices) joined by connections (called edges). Those points might represent cities, PCs, subway stations, or organs, while the connections could stand for highways, cables, railway lines, or blood vessels.

Why Calculating Shortest Paths Is So Difficult

Determining the exact shortest distances across a massive network can consume enormous amounts of computing time and memory. In densely connected networks, some conventional approaches require what mathematicians call cubic time. That means doubling the number of points can increase the computational workload by roughly eight times.

Because the required computation (work) can grow much faster than the network itself, researchers have spent decades searching for more efficient methods. One promising solution is to use approximation algorithms, which calculate estimates rather than exact answers. The goal is to produce distances that are sufficiently accurate while dramatically reducing the amount of computation required.

An important advance came in 1996, when researchers Dor, Halperin, and Zwick (DHZ) developed a method capable of producing distance estimates within twice the actual shortest distance for sufficiently distant points, while operating in nearly optimal time.

This level of accuracy is known as a “2‑approximation.” For example, if the shortest possible route between two locations is 10 kilometers, an estimate satisfying this guarantee would fall between 10 and 20 kilometers.

Rather than examining every possible route, the DHZ approach uses a relatively small selection of points from the network (referred to as sampled vertices). These strategically selected points serve as shortcuts that help the algorithm estimate distances more efficiently.

A Clever Shortcut With a Hidden Weakness

The approach works particularly well when the points being compared are far apart.

Consider a journey between Delhi and Chennai. Because the cities are separated by a considerable distance, the algorithm can often find a sampled point close to the shortest route. This allows it to calculate an estimate that remains within the promised limit of twice the actual distance.

However, the same strategy becomes less dependable when the two points are close together.

Imagine calculating the shortest route between two neighborhoods in the Mumbai suburbs. The sampled points might be located too far from the most direct connection, forcing the algorithm to estimate a much longer route.

For example, two points might be connected by a path containing just two edges, yet the sampled route could contain five. Because five exceeds twice the true distance of two, the result violates the “at most twice” accuracy guarantee.

This weakness meant that the original algorithm’s mathematical guarantee applied only when the points were sufficiently far apart. For closer connections, the same level of accuracy could not always be assured.

That limitation remained a challenge for nearly three decades.

A New Algorithm Breaks Through a Decades-Old Limit

Now, Dr. Manoj Gupta, an Associate Professor at the Indian Institute of Technology Gandhinagar, has introduced a refinement that extends the accuracy guarantee to points much closer together than earlier methods allowed.

Gupta presented his research at the 66th Annual Symposium on Foundations of Computer Science (FOCS 2025) in a paper titled “Improved 2-Approximate Shortest Paths for close vertex pairs.”

The achievement is particularly significant because the improved algorithm preserves the overall runtime of the earlier approach while expanding the range of distances for which reliable estimates can be guaranteed.

The breakthrough comes from rethinking how points are sampled within the network.

Traditional methods depended on a collection of representative points to estimate distances. Gupta’s approach instead introduces a multi-scale sampling strategy that organizes information about the network at several different levels.

By analyzing connections at multiple scales rather than relying on a single sampling layer, the algorithm can account for shorter routes that previous approaches might overlook.

This more sophisticated sampling technique reduces the minimum distance required for the 2-approximation guarantee to hold, without increasing the algorithm’s overall computational complexity.

Returning to the transportation example, the original DHZ method could efficiently estimate sufficiently long journeys, such as the route between Delhi and Chennai. The improved approach extends that dependable accuracy to much shorter connections (such as Mumbai’s suburbs).

The central achievement is not simply a new way to estimate distances. It is the ability to provide the same mathematical accuracy guarantee across a wider range of distances while maintaining computational efficiency.

Why This Computer Science Breakthrough Matters

Massive networks are fundamental to modern technology. Internet infrastructure, transportation systems, social media platforms, and artificial intelligence applications all depend on analyzing complicated webs of interconnected information.

In many situations, obtaining a perfectly exact distance is less important than producing a dependable estimate quickly. When networks contain enormous numbers of connections, the ability to balance accuracy and speed becomes especially valuable.

Gupta’s research strengthens the mathematical foundations of algorithms designed to handle these challenges. Although the findings are theoretical and do not establish immediate improvements to specific commercial systems, they offer a better way to approach distance calculations in large networks.

The work also provides insight into how the overall structure of a network can be understood through carefully selected local connections. By improving how these relationships are sampled and analyzed, researchers can move closer to efficiently estimating distances between every pair of points in a massive system.

Progress in theoretical computer science often comes through incremental refinements rather than dramatic changes. Improving an influential result that dates back to 1996 therefore represents a meaningful advance.

By extending a longstanding accuracy guarantee without increasing overall runtime, the new algorithm pushes beyond an important mathematical boundary and strengthens the techniques underlying some of today’s most complex connected systems.

Don’t miss these tips!

We don’t spam! Read more in our privacy policy

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Hot this week

“Wicker” and What Straight Women Want

Critic’s Notebook“Wicker” and What Straight Women WantThe monster-romance movie,...

Man United vs. Aston Villa final score, result, highlights, stats as Zirkzee, Dorgu salvage incredible draw

Manchester United made error-strewn starts to both halves and...

Chris Ware’s Fractal Pandemic Chronicle

Page-TurnerA Cartoonist’s Depiction of the Moment Things Got WeirdThe...

Topics

Related Articles

Popular Categories

News Feed

Holt Renfrew Gives a Hotel Theme to its Holiday Campaign

CHECKING IN: What do hotels have in common with luxury department stores? According to Canada’s Holt Renfrew chain, it’s “beauty, elegance and warm hospitality” –...

Man City are ‘messier’, but are they more dangerous than ever?

Trying to find a chink in Manchester City's armour is like looking for a needle in a haystack. If it does exist, it's barely...

In a clash of the top two, should Chelsea be considered underdogs?

To consider Chelsea as underdogs in domestic competition feels alien. To a club so endowed with silverware and success over such a long period,...

India’s lowest ODI totals: Listing down Men in Blue’s worst-ever performances in One-day cricket

India's lowest ODI totals: Listing down Men in Blue's worst-ever performances in One-day cricket originally appeared on Cricket News. Add Cricket News as a...

England face France in Wheelchair RL World Cup final – watch live

England 8-0 France: First half: Wheelchair RL World Cup final in Wollongong, AustraliaEngland: Try: Joe Coyd 2Click 'watch live' button above for live stream...

England in Australia 2026-27

November7 v Western Australia XI, Perth (Waca)England won by 92 runsScorecard13 1st ODI, Perth (Perth Stadium)Australia won by seven wicketsReport; Scorecard15 2nd ODI, Adelaide...

Fulham favourites to sign La Liga forward

Fulham Eye Rodrigo Riquelme as Real Betis Hold Firm on January TransferFulham are emerging as one of the clubs to watch in the developing...

Lorde-Backed Album-Focused Music Platform Lume Expands Into Australia

AUCKLAND, New Zealand — Lume is crossing the ditch. The innovative New Zealand-based, album-focused music app expands into Australia with a new round of artist...

Could AI help decide medals at LA28 Olympics?

Could AI help decide medals at LA28 Olympics?Image source, World GymnasticsByLaura ScottSports News CorrespondentPublished9 minutes agoGymnastics is leading the way in applying artificial intelligence...

2030 World Cup final a red line for Spain, according to Cadena SER

The Royal Spanish Football Federation (RFEF) has made its position clear to FIFA on the allocation of matches for the upcoming 2030 World Cup....

Jalen Smith on Warriors’ radar?

Chicago Bulls center Jalen Smith remains a player Golden State is seriously considering, according to NBA insider Jake Fischer. During Thursday's edition of "Deals...

Jalen Green was involved in 4.8% of all trades built …

NBA Trade Machine: Jalen Green was involved in 4.8% of all trades built on HoopsMatic over the past 24 hours. Of those, his top...

“There will be less sellers than ever before.”

The holes so many teams are digging for themselves before we even get to Thanksgiving — injury-riddled Utah, to name one example, has lost...

England thrashed by Australia in first ODI

First one-day international, PerthEngland 131 (33.4 overs): Atkinson 29*; Beardman 6-24Australia 132-3 (23.3 overs): Marsh 50, Connolly 27Australia won by seven wicketsScorecardEngland meekly offered...

“He’s not just a 3-point shooter — he’s a very, very …

A sluggish final frame for both teams was impacted largely by Kennard, even though he didn't hit a 3. Kennard made three midrange baskets,...

“It was a hard journey from a two-way [contract] and …

Mamukelashvili, who played for the Bucks, Spurs and Raptors before joining the Lakers, recognized how different this is compared with his former teams. "It...

Australian cricket’s sandpapergate is back – and it cuts deep in a ‘nation of good sports’

As Australian cricket captain Pat Cummins spent more than an hour being grilled by reporters over one of sport's biggest cheating scandals, the tension...

Shygirl, Moby Drop New Songs for ‘Club Kid’ Soundtrack

Shygirl, Moby, and Brutalismus 3000 contributed new songs to EP Club Kid (Music From & Inspired by the Film), the soundtrack to Jordan Firstman’s...

Too much experimenting with youth? Why Germany lack pace

Jürgen Klopp has once again sprung a surprise with his Germany squad for the upcoming internationals against Serbia and the Netherlands. With youngsters such...

Popular articles

Holt Renfrew Gives a Hotel Theme to its Holiday Campaign

CHECKING IN: What do hotels have in common with luxury department stores? According to Canada’s Holt Renfrew chain, it’s “beauty, elegance and warm hospitality” –...

Man City are ‘messier’, but are they more dangerous than ever?

Trying to find a chink in Manchester City's armour is like looking for a needle in a haystack. If it does exist, it's barely...

In a clash of the top two, should Chelsea be considered underdogs?

To consider Chelsea as underdogs in domestic competition feels alien. To a club so endowed with silverware and success over such a long period,...

India’s lowest ODI totals: Listing down Men in Blue’s worst-ever performances in One-day cricket

India's lowest ODI totals: Listing down Men in Blue's worst-ever performances in One-day cricket originally appeared on Cricket News. Add Cricket News as a...

England face France in Wheelchair RL World Cup final – watch live

England 8-0 France: First half: Wheelchair RL World Cup final in Wollongong, AustraliaEngland: Try: Joe Coyd 2Click 'watch live' button above for live stream...

England in Australia 2026-27

November7 v Western Australia XI, Perth (Waca)England won by 92 runsScorecard13 1st ODI, Perth (Perth Stadium)Australia won by seven wicketsReport; Scorecard15 2nd ODI, Adelaide...

Fulham favourites to sign La Liga forward

Fulham Eye Rodrigo Riquelme as Real Betis Hold Firm on January TransferFulham are emerging as one of the clubs to watch in the developing...

Lorde-Backed Album-Focused Music Platform Lume Expands Into Australia

AUCKLAND, New Zealand — Lume is crossing the ditch. The innovative New Zealand-based, album-focused music app expands into Australia with a new round of artist...

Could AI help decide medals at LA28 Olympics?

Could AI help decide medals at LA28 Olympics?Image source, World GymnasticsByLaura ScottSports News CorrespondentPublished9 minutes agoGymnastics is leading the way in applying artificial intelligence...

2030 World Cup final a red line for Spain, according to Cadena SER

The Royal Spanish Football Federation (RFEF) has made its position clear to FIFA on the allocation of matches for the upcoming 2030 World Cup....

Jalen Smith on Warriors’ radar?

Chicago Bulls center Jalen Smith remains a player Golden State is seriously considering, according to NBA insider Jake Fischer. During Thursday's edition of "Deals...

Jalen Green was involved in 4.8% of all trades built …

NBA Trade Machine: Jalen Green was involved in 4.8% of all trades built on HoopsMatic over the past 24 hours. Of those, his top...

“There will be less sellers than ever before.”

The holes so many teams are digging for themselves before we even get to Thanksgiving — injury-riddled Utah, to name one example, has lost...

England thrashed by Australia in first ODI

First one-day international, PerthEngland 131 (33.4 overs): Atkinson 29*; Beardman 6-24Australia 132-3 (23.3 overs): Marsh 50, Connolly 27Australia won by seven wicketsScorecardEngland meekly offered...

“He’s not just a 3-point shooter — he’s a very, very …

A sluggish final frame for both teams was impacted largely by Kennard, even though he didn't hit a 3. Kennard made three midrange baskets,...

“It was a hard journey from a two-way [contract] and …

Mamukelashvili, who played for the Bucks, Spurs and Raptors before joining the Lakers, recognized how different this is compared with his former teams. "It...

Australian cricket’s sandpapergate is back – and it cuts deep in a ‘nation of good sports’

As Australian cricket captain Pat Cummins spent more than an hour being grilled by reporters over one of sport's biggest cheating scandals, the tension...

Shygirl, Moby Drop New Songs for ‘Club Kid’ Soundtrack

Shygirl, Moby, and Brutalismus 3000 contributed new songs to EP Club Kid (Music From & Inspired by the Film), the soundtrack to Jordan Firstman’s...

Too much experimenting with youth? Why Germany lack pace

Jürgen Klopp has once again sprung a surprise with his Germany squad for the upcoming internationals against Serbia and the Netherlands. With youngsters such...