Machine-learning revolutionises software development

March 10, 2010
Machine-learning revolutionises software development

(PhysOrg.com) -- Automation technology has revolutionised the fine-tuning needed to maximise software performance on devices such as mobile phones.

Application developers for software on mobile phones and other embedded devices can achieve acceptable performance levels ten times faster thanks to a breakthrough by European researchers.

Human-readable software code needs to be translated into binary code by a compiler if it is to run on . When hardware is upgraded the software’s compiler usually needs to be tweaked or ‘tuned’ to optimise its performance. If compilers are not optimised for the hardware, doubling the processor size or increasing processor speed can actually result in a loss of software performance, not an improvement.

But hardware is changing so quickly compiler developers can’t keep up and compiler optimisation has become a bottleneck in the development process.

Using machine-learning technology, researchers on the Milepost project have developed an automatic way to optimise compilers for re-configurable embedded processors. Whether it is mobile phones, laptop computers or entire systems, the technology automatically learns how to get the best performance from the hardware and the software will run faster and use less energy.

Industry revolution

“All the compiler teams at the big companies are rethinking the way they do things as a result of this,” says Professor Michael O’Boyle, from the University of Edinburgh, and project coordinator for Milepost.

“Automation provides compiler developers with leverage to be more experimental. They can try new ideas, new analyses and new optimisations. The machine-learning technology analyses whether it works and when it works. It opens up a whole new area of research and a whole area of performance gains that we couldn’t try before. For instance, we were able to deliver a portable compiler that can work across any future architecture configuration.”

The Milepost GCC technology learns to predict the optimal compiler solution for any new program by analysing the execution time of various compiler options and the amount of code in their training programs.

The key technical challenge for the Milepost team was to describe programs and hardware in ways that machine-learning technology could use. That also meant completely redesigning compilers to enable them to use the new machine-learning technology.

Better software performance can open up new opportunities for product suppliers, explains O’Boyle. “If you can run things faster and more energy efficiently, you may be able to choose a different piece of hardware than before - perhaps a cheaper option for the same performance. Alternatively, you could add more functionality without increasing energy usage. You get more for your money.”

French company CAPS Enterprise SAS, one of the participants in the EU-funded Milepost project, planned to include Milepost technologies in its new set of tools. Other participants, including IBM, are using Milepost GCC to get better performance from their processors, making their products more attractive to customers.

Open source auto-tuner

The Milepost team has launched a code tuning website for the compiler development community. Developers can upload their to the site and automatically get input on how to tune their code so it works faster.

“This is one of the most successful projects I have been involved in,” says Michael O’Boyle. He and his fellow researchers are now seeking to apply the lessons of Milepost to help solve the challenges of next -generation computer technologies.

“We can use machine-learning technologies to look at multi-core and heterogeneous platforms and we will be looking at dynamic online adaptation,” he says.

But as workloads change, can we reconfigure hardware and to make it adaptable to the fine grain and big scalability challenges we will have when we move from 2, 4 or 8 cores to thousands of cores on a chip?

This is the big question facing developers of the future. And the smart money will be on the Milepost researchers to answer it.

More information: Milepost project: http://www.milepost.eu/

Provided by ICT Results (news : web)

4.6 /5 (9 votes)  

Filter


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


Display comments: newest first

maxcypher
Mar 10, 2010

Rank: 3 / 5 (2)
How many generations of computers designing computers will it take to create computers that work in ways completely beyond human comprehension? Figure that out and we'll know our deadline for improving our own intelligence in order to stay on the evolutionary cutting edge.
gennoveus
Mar 10, 2010

Rank: 1 / 5 (1)
Excellent comment maxcypher.

Hopefully neural/cybernetic implants, BCIs, etc. will start to mature at around about the same time as the singularity. People seem to be scared of the idea of "intellegent robots vs humans," but by the time we have these A.I.s the line between what is a human and what is a machine will be blurred. (as will the line between physical and virtual, when a memory/experience can be artificially generated)

... probably. Maybe.
Arikin
Mar 10, 2010

Rank: not rated yet
maxcypher. This is just a real-time optimization tool. It doesn't design the code in the first place...

Suggesting that computers design computers from scratch is sort of like throwing a random sample of cell cultures into a lake and expecting them to evolve into a new species...
trekgeek1
Mar 10, 2010

Rank: not rated yet
"Suggesting that computers design computers from scratch is sort of like throwing a random sample of cell cultures into a lake and expecting them to evolve into a new species..."

Isn't that basically how Nylonase was created?
Arikin
Mar 12, 2010

Rank: not rated yet
Yes the problem with my analogy is that the cells are already alive. And yes they could change their digestive enzymes to digest nylon...

But the computer code still isn't alive.
Rank 4.6 /5 (9 votes)
Relevant PhysicsForums posts

More news stories

Google users warned of threat to smartphone wallets

Users of Google smartphone wallets were being warned on Friday that there is a way to crack pass codes intended to thwart thieves from going on illicit shopping sprees.

Technology / Internet

created 7 hours ago | popularity 5 / 5 (2) | comments 0

Anonymous knocks CIA website offline (Update)

The website of the Central Intelligence Agency was inaccessible on Friday after the hacker group Anonymous claimed to have knocked it offline.

Technology / Internet

created 8 hours ago | popularity 5 / 5 (9) | comments 13

New error-correcting codes guarantee the fastest possible rate of data transmission

Error-correcting codes are one of the triumphs of the digital age. They’re a way of encoding information so that it can be transmitted across a communication channel — such as an optical fiber o ...

Technology / Computer Sciences

created 17 hours ago | popularity 4.9 / 5 (8) | comments 6 | with audio podcast

New power source discovered

(PhysOrg.com) -- Researchers at the Massachusetts Institute of Technology (MIT) and RMIT University have made a breakthrough in energy storage and power generation.

Technology / Energy & Green Tech

created 16 hours ago | popularity 4.8 / 5 (26) | comments 8 | with audio podcast

Small modular reactor design could be a 'SUPERSTAR'

(PhysOrg.com) -- Though most of today's nuclear reactors are cooled by water, we've long known that there are alternatives; in fact, the world's first nuclear-powered electricity in 1951 came from a reactor ...

Technology / Energy & Green Tech

created 16 hours ago | popularity 4.3 / 5 (12) | comments 22 | with audio podcast


Humans may have helped the decline of African rainforests 3000 years ago

(PhysOrg.com) -- Large areas of rainforests in Central Africa mysteriously disappeared over three thousand years ago, to be replaced by savannas. The prevailing theory has been that the cause was a change ...

Complex wiring of the nervous system may rely on a just a handful of genes and proteins

Researchers at the Salk Institute have discovered a startling feature of early brain development that helps to explain how complex neuron wiring patterns are programmed using just a handful of critical genes. ...

The power of estrogen -- male snakes attract other males

A new study has shown that boosting the estrogen levels of male garter snakes causes them to secrete the same pheromones that females use to attract suitors, and turned the males into just about the sexiest ...

Putting the squeeze on planets outside our solar system

(PhysOrg.com) -- Using high-powered lasers, scientists at Lawrence Livermore National Laboratory and collaborators discovered that molten magnesium silicate undergoes a phase change in the liquid state, abruptly ...

Could Venus be shifting gear?

(PhysOrg.com) -- ESA’s Venus Express spacecraft has discovered that our cloud-covered neighbour spins a little slower than previously measured. Peering through the dense atmosphere in the infrared, the ...

Fool's gold may prove an unlikely alternative to overexploited catalytic materials

Catalytic materials, which lower the energy barriers for chemical reactions, are used in everything from the commercial production of chemicals to catalytic converters in car engines. However, with current catalytic materials ...