Inductive-bias Learning: Generating Code Models with Large Language Model

Toma Tanaka, Naofumi Emoto, Tsukasa Yumibayashi
8/19/2023
cs.LGcs.AIcs.CL

Official code: fuyu-quant/IBLM (5 stars, MIT, last commit 2024-03-16).

Abstract

Large Language Models(LLMs) have been attracting attention due to a ability called in-context learning(ICL). ICL, without updating the parameters of a LLM, it is possible to achieve highly accurate inference based on rules ``in the context'' by merely inputting a training data into the prompt. Although ICL is a developing field with many unanswered questions, LLMs themselves serves as a inference model, seemingly realizing inference without explicitly indicate ``inductive bias''. On the other hand, a code generation is also a highlighted application of LLMs. The accuracy of code generation has dramatically improved, enabling even non-engineers to generate code to perform the desired tasks by crafting appropriate prompts. In this paper, we propose a novel ``learning'' method called an ``Inductive-Bias Learning (IBL)'', which combines the techniques of ICL and code generation. An idea of IBL is straightforward. Like ICL, IBL inputs a training data into the prompt and outputs a code with a necessary structure for inference (we referred to as ``Code Model'') from a ``contextual understanding''. Despite being a seemingly simple approach, IBL encompasses both a ``property of inference without explicit inductive bias'' inherent in ICL and a ``readability and explainability'' of the code generation. Surprisingly, generated Code Models have been found to achieve predictive accuracy comparable to, and in some cases surpassing, ICL and representative machine learning models. Our IBL code is open source: https://github.com/fuyu-quant/IBLM

View on arXivView PDF

Code Implementations(1)

fuyu-quant/IBLMOfficial100%
MIT

Repository of a new learning method called inductive bias learning with LLM.

50Jinja, PythonJun 7, 20232 years agoMIT
gpt-4llmmachine-learningtransformer

Similar Papers

Cite this paper

@article{tanaka2023inductivebias,
  title  = {Inductive-bias Learning: Generating Code Models with Large Language Model},
  author = {Toma Tanaka and Naofumi Emoto and Tsukasa Yumibayashi},
  year   = {2023},
  eprint = {2308.09890},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.09890v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.09890.svg)](https://codeofpaper.com/paper/2308.09890)

Discussion