论文标题
NP4G:用于概括的网络编程
NP4G : Network Programming for Generalization
论文作者
论文摘要
包括基因编程在内的各种方法已经积极研究了自动编程。近年来,使用神经网络(例如GPT-3)进行了自动编程,并已积极研究,并引起了很多关注。但是,这些方法是基于巨大学习的经验而不合逻辑的推论,而他们的思维过程尚不清楚。即使通过逻辑推断使用清晰的思考过程来使用该方法,自动生成任何程序的系统尚未实现。尤其是,一个例子的逻辑推断所概括的归纳推理是人工智能可以自己获取知识的重要问题。在这项研究中,我们提出了NP4G:用于概括的网络编程,该编程可以通过归纳推断自动生成程序。由于所提出的方法可以在编程中实现“序列”,“选择”和“迭代”并满足结构化程序定理的条件,因此可以预期NP4G是一种方法,可以通过归纳推断自动获取任何程序。例如,我们通过使用NP4G的概括来自动从多个培训数据中构建一个非操作程序。尽管NP4G仅随机选择并连接节点,但通过调整节点的数量和“分阶段学习”的相位数,我们表明,在相对较短的时间和10个运行率的速度约为7的速度中,取得的操作程序是在相对较短的时间内获取的。 NP4G的源代码可在GitHub上作为公共存储库获得。
Automatic programming has been actively studied for a long time by various approaches including genetic programming. In recent years, automatic programming using neural networks such as GPT-3 has been actively studied and is attracting a lot of attention. However, these methods are illogical inference based on experience by enormous learning, and their thinking process is unclear. Even using the method by logical inference with a clear thinking process, the system that automatically generates any programs has not yet been realized. Especially, the inductive inference generalized by logical inference from one example is an important issue that the artificial intelligence can acquire knowledge by itself. In this study, we propose NP4G: Network Programming for Generalization, which can automatically generate programs by inductive inference. Because the proposed method can realize "sequence", "selection", and "iteration" in programming and can satisfy the conditions of the structured program theorem, it is expected that NP4G is a method automatically acquire any programs by inductive inference. As an example, we automatically construct a bitwise NOT operation program from several training data by generalization using NP4G. Although NP4G only randomly selects and connects nodes, by adjusting the number of nodes and the number of phase of "Phased Learning", we show the bitwise NOT operation programs are acquired in a comparatively short time and at a rate of about 7 in 10 running. The source code of NP4G is available on GitHub as a public repository.