Researchers break speed barrier in solving important class of linear systems

October 21, 2010

Computer scientists at Carnegie Mellon University have devised an innovative and elegantly concise algorithm that can efficiently solve systems of linear equations that are critical to such important computer applications as image processing, logistics and scheduling problems, and recommendation systems.

The theoretical breakthrough by Professor Gary Miller, Systems Scientist Ioannis Koutis and Ph.D. student Richard Peng, all of Carnegie Mellon's Computer Science Department, has enormous practical potential. Linear systems are widely used to model real-world systems, such as transportation, energy, telecommunications and manufacturing that often may include millions, if not billions, of equations and variables.

Solving these linear systems can be time consuming on even the fastest computers and is an enduring computational problem that mathematicians have sweated for 2,000 years. The Carnegie Mellon team's new algorithm employs powerful new tools from graph theory, randomized algorithms and linear algebra that make stunning increases in speed possible.

The algorithm, which applies to an important class of problems known as symmetric diagonally dominant (SDD) systems, is so efficient that it may soon be possible for a desktop workstation to solve systems with a billion variables in just a few seconds.

The work will be presented at the annual IEEE Symposium on Foundations of Computer Science (FOCS 2010), Oct. 23-36 in Las Vegas.

A myriad of new applications have emerged in recent years for SDD systems. Recommendation systems, such as the one used by Netflix to suggest movies to customers, use SDD systems to compare the preferences of an individual to those of millions of other customers. In image processing, SDD systems are used to segment images into component pieces, such as earth, sky and objects like buildings, trees and people. "Denoising" images to bring out lettering and other details that otherwise might appear as a blur also make use of SDD systems.

A large class of logistics, scheduling and optimization problems can be formulated as maximum-flow problems, or "max flow," which calculate the maximum amount of materials, data packets or vehicles that can move through a network, be it a supply chain, a telecommunications network or a highway system. The current theoretically best max flow algorithm uses, at its core, an SDD solver.

SDD systems also are widely used in engineering, such as for computing heat flow in materials or the vibrational modes of objects with complex shapes, in machine learning, and in computer graphics and simulations.

"In our work at Microsoft on digital imaging, we use a variety of fast techniques for solving problems such as denoising, image blending and segmentation," said Richard Szeliski, leader of the Interactive Visual Media Group at Microsoft Research. "The fast SDD solvers developed by Koutis, Miller and Peng represent a real breakthrough in this domain, and I expect them to have a major impact on the work that we do."

Finding methods to quickly and accurately solve simultaneous equations is an age-old mathematical problem. A classic algorithm for solving linear systems, dubbed Gaussian elimination in modern times, was first published by Chinese mathematicians 2,000 years ago.

"The fact that you can couch the world in linear algebra is super powerful," Miller said. "But once you do that, you have to solve these linear systems and that's often not easy."

A number of SDD solvers have been developed, but they tend not to work across the broad class of SDD problems and are prone to failures. The randomized algorithm developed by Miller, Koutis and Peng, however, applies across the spectrum of SDD systems.

The team's approach to solving SDD systems is to first solve a simplified system that can be done rapidly and serve as a "preconditioner" to guide iterative steps to an ultimate solution. To construct the preconditioner, the team uses new ideas from spectral graph theory, such as spanning tree and random sampling.

The result is a significant decrease in computer run times. The Gaussian elimination algorithm runs in time proportional to s3, where s is the size of the SDD system as measured by the number of terms in the system, even when s is not much bigger the number of variables. The new algorithm, by comparison, has a run time of s[log(s)]2. That means, if s = 1 million, that the new algorithm run time would be about a billion times faster than Gaussian elimination.

Other algorithms are better than Gaussian elimination, such as one developed in 2006 by Daniel Spielman of Yale University and Miller's former student, Shang-Hua Teng of the University of Southern California, which runs in s[log(s)]25. But none promise the same speed as the one developed by the Carnegie Mellon team.

"The new linear system solver of Koutis, Miller and Peng is wonderful both for its speed and its simplicity," said Spielman, a professor of applied mathematics and computer science at Yale. "There is no other algorithm that runs at even close to this speed. In fact, it's impossible to design an that will be too much faster."

More information: The group's research paper, "Approaching Optimality for Solving SDD Linear Systems," can be downloaded at http://www.cs.cmu. … ing-2010.pdf

Provided by Carnegie Mellon University search and more info website

4.9 /5 (19 votes)  

Filter


Move the slider to adjust rank threshold, so that you can hide some of the comments.


Display comments: newest first

finitesolutions
Oct 21, 2010

Rank: 1 / 5 (6)
I can also solve the world poverty problem. Filling everybody bank accounts is really simple and cheap.
Sean_W
Oct 21, 2010

Rank: 5 / 5 (1)
I can also solve the world poverty problem. Filling everybody bank accounts is really simple and cheap.


Glad to hear it. Would you mind getting that done by next week so I can quit my job soon?

As for the story, it sounds very exciting. While I don't tend to do a lot of equation solving at home, I feel glad for those who do.
Graeme
Oct 21, 2010

Rank: 5 / 5 (1)
An interesting feature is that it is probabilistic, so you cannot be sure that the problem will be solved, just likely. And the more sure you want to be, the longer it takes by a factor of - log p ; with p probability of failure to solve. It is also exciting that it is achieved with only a few dozen lines of code.
fmfbrestel
Oct 22, 2010

Rank: not rated yet
All solvers for this class of problems are probabilistic. You input how much uncertainty you are wiling to live with vs how much time you want to wait for the answer. If this algorithm is really as fast as they claim, then much more precise answers can be given in the same time period.
They mentioned machine learning as a beneficiary, which means you can bet your hat that a ton of new 20%-time projects at Google just opened up.
Rank 4.9 /5 (19 votes)
Relevant PhysicsForums posts
  • What do you think of your ISP?
    created6 hours ago
  • Live scribe pen?
    createdMay 10, 2012
  • Shallow water flow simulation
    createdMay 07, 2012
  • Tablet for taking notes?
    createdMay 05, 2012
  • Best fit tablet for me?
    createdMay 05, 2012
  • Measure of Informaton
    createdMay 04, 2012
  • More from Physics Forums - Computing & Technology

More news stories

Automated image analysis arises from handcraft and machine learning

The amount of visual information increases with tremendous speed. The archives of television networks, image bank databases and social media in the web are all bursting with billions of pictures – and more is produced ...

Technology / Computer Sciences

created 33 minutes ago | popularity not rated yet | comments 0

Device may inject a variety of drugs without using needles

Getting a shot at the doctor’s office may become less painful in the not-too-distant future.

Technology / Engineering

created 1 hour ago | popularity 5 / 5 (2) | comments 0 | with audio podcast

Yahoo seeks to shake up search, Web browsing

(AP) -- Joining the battle to redefine Internet search, Yahoo is taking aim with a new browser enhancement it calls "Axis."

Technology / Internet

created 4 hours ago | popularity not rated yet | comments 0

Internet voting still faces hurdles in US

Shop online. Bank online. Why not vote online?

Technology / Other

created 3 hours ago | popularity not rated yet | comments 2

New inexpensive, environmentally friendly solar cell shines with potential

(Phys.org) -- The limitations of conventional and current solar cells include high production cost, low operating efficiency and durability, and many cells rely on toxic and scarce materials. Northwestern University researchers ...

Technology / Energy & Green Tech

created 19 hours ago | popularity 4.8 / 5 (12) | comments 4 | with audio podcast


Research team uncovers mechanism behind drugs that cause altered immunity

(Medical Xpress) -- An Australian research team has opened the door to understanding why certain drugs cause a so called altered immunity response when offered as treatment for certain specific ailments. In their paper published ...

New genetic method pinpoints geographic origin

(Medical Xpress) -- Understanding the genetic diversity within and between populations has important implications for studies of human disease and evolution. This includes identifying associations between genetic variants ...

Researchers film rare striped rabbit in Sumatra (w/ Video)

(Phys.org) -- With cameras set up in Sumatra looking for medium- and small-sized wild cats, such as leopards, a research group involving the University of Delaware's Kyle McCarthy, found images of something ...

Bees at risk from chemicals increase, scientists say

Pesticide use rose by 6.5% between 2005 and 2010, increasing the risk to bee populations, according to new research from the University of Reading launched today by Friends of the Earth.

Older African-Americans use religious songs to cope with stress, study shows

(Medical Xpress) -- New research from the University of North Carolina Chapel Hill School of Nursing has shown that older African-Americans use religious songs in a personal way to cope with stressful life events. Songs long ...

Nasa concludes wind tunnel testing to aid in SpaceX reusable launch system design

(Phys.org) -- NASA's Marshall Space Flight Center in Huntsville, Ala., completed wind tunnel testing for Space Exploration Technologies (SpaceX) of Hawthorn, Calif., to provide Falcon 9 first stage re-entry data for the company's ...