WikiCoder: Learning to Write Knowledge-Powered Code

03/15/2023
by   Théo Matricon, et al.
0

We tackle the problem of automatic generation of computer programs from a few pairs of input-output examples. The starting point of this work is the observation that in many applications a solution program must use external knowledge not present in the examples: we call such programs knowledge-powered since they can refer to information collected from a knowledge graph such as Wikipedia. This paper makes a first step towards knowledge-powered program synthesis. We present WikiCoder, a system building upon state of the art machine-learned program synthesizers and integrating knowledge graphs. We evaluate it to show its wide applicability over different domains and discuss its limitations. WikiCoder solves tasks that no program synthesizers were able to solve before thanks to the use of knowledge graphs, while integrating with recent developments in the field to operate at scale.

READ FULL TEXT

page 6

page 10

research
11/22/2022

KGMM – A Maturity Model for Scholarly Knowledge Graphs based on Intertwined Human-Machine Collaboration

Knowledge Graphs (KG) have gained increasing importance in science, busi...
research
06/22/2021

Querying in the Age of Graph Databases and Knowledge Graphs

Graphs have become the best way we know of representing knowledge. The c...
research
10/24/2021

Scaling Neural Program Synthesis with Distribution-based Search

We consider the problem of automatically constructing computer programs ...
research
02/21/2020

Graph4Code: A Machine Interpretable Knowledge Graph for Code

Knowledge graphs have proven to be extremely useful in powering diverse ...
research
06/17/2021

Knowledge Graphs and Machine Learning in biased C4I applications

This paper introduces our position on the critical issue of bias that re...
research
09/25/2017

Glass-Box Program Synthesis: A Machine Learning Approach

Recently proposed models which learn to write computer programs from dat...
research
10/04/2021

An energy-based model for neuro-symbolic reasoning on knowledge graphs

Machine learning on graph-structured data has recently become a major to...

Please sign up or login with your details

Forgot password? Click here to reset