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.


China announces plans to build unmanned police stations run by 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.


China's puts final touches to its 2,000km long unhackable quantum network


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.


Ultrasound on a smartphone, Butterfly Network release the iQ


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.

About author

Matthew Griffin

Matthew Griffin, award winning Futurist and Founder of the 311 Institute is described as "The Adviser behind the Advisers." Recognised for the past five years as one of the world's foremost futurists, innovation and strategy experts Matthew is an author, entrepreneur international speaker who helps investors, multi-nationals, regulators and sovereign governments around the world envision, build and lead the future. Today, asides from being a member of Centrica's prestigious Technology and Innovation Committee and mentoring XPrize teams, Matthew's accomplishments, among others, include playing the lead role in helping the world's largest smartphone manufacturers ideate the next five generations of mobile devices, and what comes beyond, and helping the world's largest high tech semiconductor manufacturers envision the next twenty years of intelligent machines. Matthew's clients include Accenture, Bain & Co, Bank of America, Blackrock, Bloomberg, Booz Allen Hamilton, Boston Consulting Group, Dell EMC, Dentons, Deloitte, Deutsche Bank, Du Pont, E&Y, Fidelity, Goldman Sachs, HPE, Huawei, JP Morgan Chase, KPMG, Lloyds Banking Group, McKinsey & Co, Monsanto, PWC, Qualcomm, Rolls Royce, SAP, Samsung, Schroeder's, Sequoia Capital, Sopra Steria, UBS, the UK's HM Treasury, the USAF and many others.

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