'Saucy' software update finds symmetries dramatically faster
Computer scientists at the University of Michigan developed open-source software that cuts the time to find symmetries in complicated equations from days to seconds in some cases. Finding symmetries is a way to highlight shortcuts to answers that, for example, verify the safety of train schedules, identify bugs in software and hardware designs, or speed up common search tasks.
The algorithm is an update to software called "saucy" that the researchers developed in 2004 and shared with colleagues. Paul Darga, a graduate student in the Department of Electrical Engineering and Computer Science, will present the algorithm on June 10 at the Design Automation Conference in Anaheim, Calif. Darga's co-authors are Igor Markov, associate professor in the Department of Electrical Engineering and Computer Science, and Karem Sakallah, a professor in the same department.
The software's applications extend to artificial intelligence and logistics.It speeds up solutions to fundamental computer science problems and quickly solves what's called the graph automorphism problem. "Our new algorithm solves the graph automorphism problem so quickly in real-life applications that the problem is starting to look easy," Markov said.
Symmetries are, in a sense, interchangeable options that lead to the same outcome. In complicated equations, symmetries point to repeated branches of the search for solutions that only need to be figured out once. Current programs that look for symmetries can take days to give results even when they find no instances, Darga said. The new method finishes in seconds even when there are millions of variables.
To illustrate how finding symmetries can simplify equations, Markov pointed to the pigeonhole principle. This says you can't, for example, fit 10 birds in nine pigeonholes (unless they share.) The particular problem has a nine-fold symmetry because it doesn't matter which hole each bird occupies. One will always end up homeless. It also has a 10-fold symmetry because the birds are considered interchangeable.
"If you ask a computer to put 20 trains on 19 tracks, this computation may take forever," Markov said. "But if you use an approach with symmetry breaking, these cases can be solved in seconds."
Symmetry breaking in train scheduling and logistics can also help figure the shortest itineraries. In artificial intelligence, the ability to recognize symmetries quickly could help a computer generate a plan or an optimal schedule. The computer would know when the order of tasks was interchangeable.
The new algorithm starts working in the same way as existing symmetry breaking software. It converts the complicated equation into a graph and looks for similarities in the arrangement of the vertices. Like the original version of saucy, it narrows the search while exploiting what Darga calls "sparsity"---the fact that almost every node on the graph is only connected to a few other nodes.
The saucy update recognizes that it's not just the node connections that are sparse. It turns out that most important symmetries themselves are sparse too, in that they involve only several nodes at a time. Other symmetries can be derived from sparse symmetries, and the number of distinct symmetries can grow exponentially with the size of the system.
"Just like snowflakes, many interconnected systems in technology and nature are sparse and exhibit structural symmetries," Sakallah said. "The internet connectivity graph we worked with reminds me of a giant snowflake. It has a quarter million vertices and half a million edges, but it exhibits more symmetries than there are electrons in the universe."
In less than a half-second, the new software captured 1083,687 different symmetries in an Internet connectivity graph of routers around the world. A symmetry in this graph signifies a way the routers could be shuffled that wouldn't change the operation.
Previous methods timed out in the 30 minutes they were given to generate results in these experiments. Darga said it would take these older programs days to solve such a complicated problem. In searching for symmetries in the road networks between cities and towns in Illinois, the new algorithm captured the 104,843 symmetries in less than a half-second, whereas the most robust previous algorithm took 16 minutes.
Source: University of Michigan
Related
- New open-source software permits faster desktop computer simulations of molecular motionThu, 5 Feb 2009, 10:04:40 EST
- Researchers develop next-generation antivirus systemWed, 6 Aug 2008, 15:35:45 EDT
- New tool improves productivity, quality when translating softwareTue, 24 Feb 2009, 7:08:23 EST
- Using math to take the lag out of jet lagThu, 18 Jun 2009, 20:29:24 EDT
- Duke software dramatically speeds enzyme designMon, 16 Feb 2009, 17:29:50 EST
Other sources
- 'Saucy' software update finds symmetries dramatically fasterfrom Science CentricWed, 11 Jun 2008, 17:07:19 EDT
- 'Saucy' Software Update Finds Symmetries Dramatically Fasterfrom Newswise - ScinewsWed, 11 Jun 2008, 12:28:03 EDT
- 'Saucy' software update finds symmetries dramatically fasterfrom PhysorgTue, 10 Jun 2008, 14:14:17 EDT
Latest Science Newsletter
Get the latest and most popular science news articles of the week in your Inbox!Learn more about
Popular science news articles
- First black holes may have incubated in giant, starlike cocoons, says CU-Boulder study
- Study shows flavanol antioxidant content of US chocolate and cocoa-containing products
- Protein from pregnancy hormone may prevent breast cancer
- Global study of salmon shows: 'Sustainable' food isn't so sustainable
- Biology, training and profit sharing make best traders
- Beyond sunlight: Explorers census 17,650 ocean species between edge of darkness and black abyss
- Generating electricity from air flow
- Therapy 32 times more cost effective at increasing happiness than money
- Beyond genomics, biologists and engineers decode the next frontier
- It's a gas: New discovery may lead to heartier, high-yielding plants
- Therapy 32 times more cost effective at increasing happiness than money
- Full recovery now possible for an 'untreatable' mental illness
- Beyond sunlight: Explorers census 17,650 ocean species between edge of darkness and black abyss
- Polyphenols and polyunsaturated fatty acids boost the birth of new neurons
- Surface bacteria maintain skin's healthy balance
- New evidence that dark chocolate helps ease emotional stress
- African desert rift confirmed as new ocean in the making
- Scientists discover influenza's Achilles heel: Antioxidants
- Nanoparticles used in common household items caused genetic damage in mice
- New study links vitamin D deficiency to cardiovascular disease and death