BAYOU learned to write code for programmers by studying billions of programs
Computer scientists at Rice University have created a deep-learning, software-coding application that can help human programmers navigate the growing multitude of often-undocumented application programming interfaces, or APIs.
Known as Bayou, the Rice application was created through an initiative funded by the Defense Advanced Research Projects Agency aimed at extracting knowledge from online source code repositories like GitHub. A paper on Bayou will be presented May 1 in Vancouver, British Columbia, at the Sixth International Conference on Learning Representations, a premier outlet for deep learning research. Users can try it out at askbayou.com.
Designing applications that can program computers is a long-sought grail of the branch of computer science called artificial intelligence (AI).
“People have tried for 60 years to build systems that can write code, but the problem is that these methods aren’t that good with ambiguity,” said Bayou co-creator Swarat Chaudhuri, associate professor of computer science at Rice. “You usually need to give a lot of details about what the target program does, and writing down these details can be as much work as just writing the code.”
“Bayou is a considerable improvement,” he said. “A developer can give Bayou a very small amount of information — just a few keywords or prompts, really — and Bayou will try to read the programmer’s mind and predict the program they want.”
Chaudhuri said Bayou trained itself by studying millions of lines of human-written Java code. “It’s basically studied everything on GitHub, and it draws on that to write its own code.”
Bayou co-creator Chris Jermaine, a professor of computer science who co-directs Rice’s Intelligent Software Systems Laboratory with Chaudhuri, said Bayou is particularly useful for synthesizing examples of code for specific software APIs.
“Programming today is very different than it was 30 or 40 years ago,” Jermaine said. “Computers today are in our pockets, on our wrists and in billions of home appliances, vehicles and other devices. The days when a programmer could write code from scratch are long gone.”
Bayou architect Vijay Murali, a research scientist at the lab, said, “Modern software development is all about APls. These are system-specific rules, tools, definitions and protocols that allow a piece of code to interact with a specific operating system, database, hardware platform or another software system. There are hundreds of APIs, and navigating them is very difficult for developers. They spend lots of time at question-answer sites like Stack Overflow asking other developers for help.”
Murali said developers can now begin asking some of those questions at Bayou, which will give an immediate answer.
“That immediate feedback could solve the problem right away, and if it doesn’t, Bayou’s example code should lead to a more informed question for their human peers,” Murali said. Jermaine said the team’s primary goal is to get developers to try to extend Bayou, which has been released under a permissive open-source license.
“The more information we have about what people want from a system like Bayou, the better we can make it,” he said. “We want as many people to use it as we can get.”
Bayou is based on a method called neural sketch learning, which trains an artificial neural network to recognize high-level patterns in hundreds of thousands of Java programs. It does this by creating a “sketch” for each program it reads and then associating this sketch with the “intent” that lies behind the program.
When a user asks Bayou questions, the system makes a judgment call about what program it’s being asked to write. It then creates sketches for several of the most likely candidate programs the user might want.
“Based on that guess, a separate part of Bayou, a module that understands the low-level details of Java and can do automatic logical reasoning, is going to generate four or five different chunks of code,” Jermaine said. “It’s going to present those to the user like hits on a web search. ‘This one is most likely the correct answer, but here are three more that could be what you’re looking for.’”
The Latest on: Artificial intelligence and software development
via Google News
The Latest on: Artificial intelligence and software development
- Artificial Intelligence Software in Security market explored in latest research on November 13, 2018 at 9:35 am
The methodology of the global Artificial Intelligence Software in Security market is that the information gathering will confirm a crisp and inventive method of market analysis to help its customers a... […]
- Kalray Releases the Kalray Neural Network 3.0 (KaNN) to Accelerate Artificial Intelligence Application Development on November 13, 2018 at 9:26 am
Kalray (Euronext Growth Paris – ALKAL), a pioneer in processors for new intelligent systems, today announced the launch of the Kalray Neural Network 3.0 (KaNN), a platform for Artificial Intelligence ... […]
- Intrinsyc Announces Open-Q™ 605 Single Board Computer (“SBC”) and Development Kit on November 13, 2018 at 6:00 am
The embedded computing platform is powered by the Qualcomm 400 Vision Intelligence Platform ... Corporation is a product development company that provides hardware, software, and engineering ... […]
- Standard camera and artificial intelligence combined in one device on November 13, 2018 at 5:33 am
Artificial intelligence opens up new application fields for camera ... powerful standard industrial cameras into high-performance inference cameras. Hardware and software are designed to allow AI-base... […]
- Coda Octopus Launches Artificial Intelligence-Based Product for Automatic Object Detection and Identification on November 13, 2018 at 3:00 am
an artificial intelligence-based Automatic Object Detection (AOD) software product series which presents an opportunity to extend its customer base. CODA’s AOD allows users to automatically ... […]
- Does Artificial Intelligence (AI) -enabled demand forecasting improve supply chain efficiency? on October 30, 2018 at 8:32 am
Using artificial intelligence (AI) and machine learning to improve demand ... However, AI-enabled demand forecasting is still at a relatively early stage of development. A key question for supply chai... […]
- Artificial Intelligence Service Market Analysis and Demand with Future Forecast to 2025 on October 25, 2018 at 5:00 pm
The study objectives are to present the Artificial Intelligence Service development in United States, Europe and China. The study objectives of this report are: To analyze global Artificial Intelligen... […]
- Trader Reports $87,000 Profits in One Day With Vantagepoint Artificial Intelligence Trading Software on October 25, 2018 at 3:14 am
is a leader in trading software research and software development. VantagePoint forecasts Stocks, Futures, Forex, and ETFs with proven accuracy of up to 86%. Using artificial intelligence, VantagePoin... […]
- 'Artificial intelligence can democratise innovation by commoditising software' on October 22, 2018 at 9:11 pm
He emphasised how #AI can democratise innovation by commoditising software. #AIForAll," the Niti ... to come up with a national programme on employing artificial intelligence towards national developm... […]
via Bing News