Scroll Top

The US military is funding an AI that’s learning to write its own code


One day non-programmers will be able to instruct AI’s to create software on their behalf, this is one step in realising that goal and it has wide ranging ramifications for al of us, and AI development.


If you’re tired of writing your own boring code then finally, or you’re a programmer that is just wistfully wishing for a day off once in a while, then, hot on the heels of another Artificial Intelligence (AI) so called “codeless programming” saviour, Microsoft’s DeepCoder, a new AI agent called BAYOU has arrived on the scene.


This AI just built a computer within itself that runs another AI


BAYOU, which you can try for yourself here, and which is described as a “system for generating API idioms,” or “snippets of code that use API’s,” is a deep learning program that, put simply, works like a search engine for coding. Tell it what sort of program you want to create using a couple of carefully chosen keywords and, based on its best guess, BAYOU will spit out the java code that will do what you’re looking for.

BAYOU was developed by a team of computer scientists from Rice University who received funding both from the US military and Google to develop it, and they published a paper on it on arXiv where they describe how they built it and what sorts of problems it can help programmers solve.

During its development BAYOU read the source code of over 1,500 Android apps, over 100 million lines of Java in all, which was then fed through its neural net to create an AI that, yes, can create and program other software.


OpenAI starts to test AI that automates tasks on devices


If the code that BAYOU read during its training included any sort of information about what the code does then BAYOU also learned what those programs were intended to do along with how they work and it’s this contextual information is what lets it write functional software based on just a couple of key words and basic information about what the programmer wants to achieve.

Computer science majors, rejoice, your homework might be about to get much easier. And teaching people how to code may become simpler and more intuitive in the future too as they may someday use this new AI to generate examples of code or even to check their own work, or, moving further out, it’s much more likely that they’ll be able to tell one of BAYOU’s distant kin what kind of program they want to create and it will do everything for them – no coding knowledge required. A phenomenon we’re already starting to see with the creation of new AI neural net designs.


JPMorgan used ChatGPT to analyse decades worth of Fed speeches to find signals


Right now though BAYOU is still in the early stages, and the team behind it is still proving it works, however, for those of you thinking that this is the moment that AI’s become self-replicating then no, this isn’t that moment, this one is, BAYOU merely generates what the researchers call “sketches” of a program that are relevant to what a programmer is trying to write but those pieces still, at the moment at least, need to be pieced together and tailored by an experts hand to create the final application.

However, even though the technology is in its infancy this is a major step in the search for an AI programmer, something that’s been a longstanding goal for many a computer science researcher. In the past other attempts to create something that resembles BAYOU required extensive, narrow constraints to guide programmers towards the correct type of code but because BAYOU can get to work with just a couple of keywords, it’s much less time-intensive, and much easier to use overall, for the human operators.

Related Posts

Comments (1)

[…] including Microsoft’s DeepCoder, an AI that writes its own code, and Google’s Bayou project that’s funded by the US government that can write a couple of hundred of lines of code all by […]

Leave a comment


1000's of articles about the exponential future, 1000's of pages of insights, 1000's of videos, and 100's of exponential technologies: Get The Email from 311, your no-nonsense briefing on all the biggest stories in exponential technology and science.

You have Successfully Subscribed!

Pin It on Pinterest

Share This