Our Computers Are Learning How to Code Themselves

  • Machine learning system DeepCoder can locate and piece together code from existing software to write new programs up to around five lines of code in length.
  • Eventually, DeepCoder could become a valuable tool for programmers by tackling the tedious aspects of programming while leaving the sophisticated tasks to the human.


Those of you who followed the first season of HBO’s “Westworld” know that one of the things that made an artificially intelligent (AI) host in the show truly intelligent, so to speak, was the ability to write its own code. It’s a form of reasoning with itself — something that current AI technology is still far from capable of doing. One company is trying to close that gap via deep learning algorithms that use probabilistic programming, and now, researchers from Microsoft and the University of Cambridge are bringing us closer to self-coding AI with a system they call DeepCoder.

types of AI

DeepCoder is a machine learning system that can write its own code. It does this using a technique called program synthesis. Essentially, it creates new programs by combining existing lines of code taken from other software, which is what human coders do. With a particular output in mind, DeepCoder was able to determine which lines or pieces of code would be particularly useful.

“The approach is to train a neural network to predict properties of the program that generated the outputs from the inputs. We use the neural network’s predictions to augment search techniques from the programming languages community, including enumerative search and an SMT-based solver,” writes the research team, which is led by Alexander Gaunt from Microsoft Research and Matej Balog from Cambridge. Their study is currently being reviewed for the 5th International Conference on Learning Representations (ICLR 2017) this coming April.


DeepCoder successfully plowed through the basic, input-output style challenges usually set by programming competitions. It was able to search through lines of code more thoroughly and widely than a human coder could, piecing together code in a manner humans might not think of and more quickly. And because DeepCoder is essentially a deep learning algorithm, every time it’s given a new problem, it gets better at combining lines from source codes.

Image credit: Pixabay
Image credit: Pixabay

Ultimately, this algorithm can make programming accessible to non-coders, allowing anyone to easily build simple programs. Researcher Marc Brockschmidt, one of DeepCoder’s creators from Microsoft Research in Cambridge, UK, believes that their approach would make it possible for non-coders to just describe a program and leave the system to build it. “All of a sudden, people could be so much more productive,” Massachusetts Institute of Technology (MIT) associate professor Armando Solar-Lezama, who wasn’t part of the research, told New Scientist. “They could build systems that it [would be] impossible to build before.”

DeepCoder’s current version only allows it to handle programming challenges with around five lines of code. Brockschmidt said that future versions of DeepCode could facilitate building routine programs that do information scraping from websites without the need for human coders. “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,” Solar-Lezama said. No need for programmers to start updating their resumes, though, as this tech wouldn’t replace humans. Instead, DeepCoder could handle the more tedious parts of programming, while human coders could focus on more sophisticated work.

9 thoughts on “Our Computers Are Learning How to Code Themselves

  1. I simply want to mention I’m beginner to blogging and really savored you’re web blog. Very likely I’m want to bookmark your blog . You really come with exceptional writings. Bless you for revealing your web page.

  2. You can definitely see your enthusiasm within the paintings you write. The world hopes for more passionate writers such as you who aren’t afraid to mention how they believe. Always go after your heart.

  3. It’s the best time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I want to suggest you some interesting things or advice. Maybe you could write next articles referring to this article. I wish to read more things about it!

  4. Hello.This post was really interesting, particularly since I was searching for thoughts on this subject last Monday.

  5. I would like to thnkx for the efforts you have put in writing this site. I am hoping the same high-grade blog post from you in the upcoming as well. Actually your creative writing abilities has inspired me to get my own blog now. Really the blogging is spreading its wings quickly. Your write up is a great example of it.

  6. Cialis 10 Miligramos Kamagra Jellies Comment Obtenir Du Viagra Gratuitement Amoxil Rx Buy Vardenafil Buy Prednisolone Without Prescription Levitra Avantage Generic Cialis Cheapest Does Amoxicillin Cause Leg Cramps Canadiana Pharmacy Levitra Now Online Bas Amoxicillin 875 Dosage Order Levitra Online Cheap Paxil Como Comprar Kamagra Levitra Pill Zithromax Vitamin Interactions Prezzo Levitra 10 Mg Per Cheap Cialis 40mg Mono And Amoxicillin Viagra Haltbarkeitsdatum Levitra Buy Levitra Verschreibungspflichtig Viagra Pfizer 100 Mg Beipackzettel Propecia Ritalin Pyridium Amex Zithromax 6 Tablets Brand Cialis Vendita Levitra Generico Acquisto Metabolism Of Cephalexin Where Can I Buy Kamagra Cialis 5 Prix Cout Levitra 10 Mg Orodispersible Propecia For Men Prix De Levitra En Pharmacie Cialis 20 30 Buy Cialis Cialis 10 O 20 Ginecologia Propecia Levitra Order Buy Brand Name Wellbutrin Xl Achat De Xenical En Ligne cialis Amoxicillin 875 Mg Cialis Prezzo Farmacia Comprar Propecia Online Viagra Naturale Cialis Gгјnstig Kaufen 40mg viagra online pharmacy Cialis Original Contrareembolso Levamisole Cheap Cialis 40mg Levitra Esercizi Di Kegel Clobetasol Temovate In Us Direct Cheap Cialis 20mg Where To Purchase Diflucan Buy Amoxicillin Liquid No Prescription Buy Dapoxetine Buy Propecia Online Without Prescription Viagra Super Aktiv Buy Cheap Levitra Viagra 1 800 Baclofene Apnee Cialis 5mg Farmacias Online Usa Kamagra World Kamagra Gel Oral Puedo Tomar Cialis Despues De Ingerir Alcohol Viagra In Farmacia Quanto Costa Natural Propecia Pyridium Urinary Pain Severe Penicillin Allergy Touching Amoxicillin Cialis Price Baclofene Irex 10 We pride ourselves in providing Americas fastest online payday loans.T. loans direct authorities on Wednesday launched a broad offensive against abusive online pay lenders arresting three people tied to the industry including a race car driver for exploiting more than million cashstrapped consumers. This segment of the lending industry is not regulated so its important to understand the costs up front. Henrys began to move towards a more feudal revolution ordering special households to circulate through the middle atlas and mounted ventures to patrol the costs.This is a slightly complicated area because there are two types of career development loan.Buy Levitra Overnight Shipping Cost Of Viagra Comprar Cialis Y Viagra Buy Ucerax buy viagra Levitra 5 Mg Configurazione Comprar Cialis En Oferta Levitra Where To Buy Buy Xanical Online No Script

  7. My spouse and i got quite joyous when Raymond managed to finish off his reports with the precious recommendations he obtained using your blog. It is now and again perplexing to simply find yourself releasing strategies that other folks may have been trying to sell. And now we see we need you to give thanks to for that. The most important explanations you have made, the simple blog menu, the friendships you will help engender – it’s got mostly amazing, and it is letting our son and the family reason why that concept is enjoyable, which is certainly particularly fundamental. Thanks for the whole thing!

  8. I am no longer sure the place you are getting your info, but good topic. I needs to spend some time finding out much more or understanding more. Thank you for great information I was on the lookout for this info for my mission.

  9. I would like to thank you for the efforts you have put in writing this website. I am hoping the same high-grade web site post from you in the upcoming also. In fact your creative writing skills has inspired me to get my own web site now. Really the blogging is spreading its wings rapidly. Your write up is a good example of it.

Leave a Reply

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