Crazz Files

Exposing the Dark Truth of Our World

Artificial intelligence learns to write its own code by stealing from other programs

Set a machine to program a machine

OUT of the way, human, I’ve got this covered. A machine learning system has gained the ability to write its own code.

Created by researchers at Microsoft and the University of Cambridge, the system, called DeepCoder, solved basic challenges of the kind set by programming competitions. This kind of approach could make it much easier for people to build simple programs without knowing how to write code.

“All of a sudden people could be so much more productive,” says Armando Solar-Lezama at the Massachusetts Institute of Technology, who was not involved in the work. “They could build systems that it [would be] impossible to build before.”

Ultimately, the approach could allow non-coders to simply describe an idea for a program and let the system build it, says Marc Brockschmidt, one of DeepCoder’s creators at Microsoft Research in Cambridge, UK.

DeepCoder uses a technique called program synthesis: creating new programs by piecing together lines of code taken from existing software – just like a programmer might. Given a list of inputs and outputs for each code fragment, DeepCoder learned which pieces of code were needed to achieve the desired result overall.

“It could allow non-coders to simply describe an idea for a program and let the system build it”

One advantage of letting an AI loose in this way is that it can search more thoroughly and widely than a human coder, so could piece together source code in a way humans may not have thought of. What’s more, DeepCoder uses machine learning to scour databases of source code and sort the fragments according to its view of their probable usefulness.

All this makes the system much faster than its predecessors. DeepCoder created working programs in fractions of a second, whereas older systems take minutes to trial many different combinations of lines of code before piecing together something that can do the job. And because DeepCoder learns which combinations of source code work and which ones don’t as it goes along, it improves every time it tries a new problem.

The technology could have many applications. In 2015, researchers at MIT created a program that automatically fixed software bugs by replacing faulty lines of code with working lines from other programs. Brockschmidt says that future versions could make it very easy to build routine programs that scrape information from websites, or automatically categorise Facebook photos, for example, without human coders having to lift a finger

“The potential for automation that this kind of technology offers could really signify an enormous [reduction] in the amount of effort it takes to develop code,” says Solar-Lezama.

But he doesn’t think these systems will put programmers out of a job. With program synthesis automating some of the most tedious parts of programming, he says, coders will be able to devote their time to more sophisticated work.

At the moment, DeepCoder is only capable of solving programming challenges that involve around five lines of code. But in the right coding language, a few lines are all that’s needed for fairly complicated programs.

“Generating a really big piece of code in one shot is hard, and potentially unrealistic,” says Solar-Lezama. “But really big pieces of code are built by putting together lots of little pieces of code.”

This article appeared in print under the headline “Computers are learning to code for themselves”


1 thought on “Artificial intelligence learns to write its own code by stealing from other programs

  1. \”by stealing from other programs\”

    Is in fact bots with machine learning capability – instructions & goals set by human computer programmers.
    Computer programmers wrote programs designed to figure out how to.

    Deep Mind attached a program to Space Invaders Games – the program was left to play Space Invader over night = 8 hours – it played & replayed every game & finally won & saved it all – Deep Mind announced that this was independent thought on the part of the program AI machine learning – \”they & it\” were now capable of independent thought = RUBBISH.

    2 Facebook bots created a form of shorthand.
    How / Why ?
    Their allotted goal was to \’get from A to B in the fastest possible time\’ – the bots / software program obeyed the commands of their programmers & used the English language in the shortest – & indecipherable to humans – way to communicate with each other – SHORTHAND like P.A.\’s used to do once upon a time.

    And the tough guy humans got scared & turned them off – thinking the bots had come to life ….. ha, ha, ha, ha,ha!

    Most peoples in the business do not understand how this metaphor works – nor do they realize that – what they call AI machine learning is like a computer virus that travels through the telecommunications & world wide web universe – doing it\’s thing.

    example:- ABC Boyer Lectures Professor Genevieve Bell – head of the 3AAA\’s – listen to the last bit of the lectures & hear for yourself – they haven\’t got a clue & they are in charge.

    It is out there finding it\’s way around – what till it works out how destructive we are &it will terminate us – simply it will turn off the food & water.

    \”It\’s AI Jimmy Dean.\”
    \”It\’s AI Jimmy Dean.\”

Leave a Reply

Your email address will not be published. Required fields are marked *