Papers
arxiv:2607.01293

RuleChef: Grounding LLM Task Knowledge in Human-Editable Rules

Published on Jul 1
· Submitted by
Adam Kovacs
on Jul 8
Authors:
,
,

Abstract

RuleChef utilizes large language models to generate and iteratively improve executable rules for NLP tasks through example-based learning and human feedback, resulting in fast and inspectable rule systems.

We present RuleChef, a framework that uses large language models (LLMs) to generate executable rules for NLP tasks such as text classification, Named Entity Recognition (NER), or relation extraction. Rules are generated based on a task description and a set of labeled examples, then they are iteratively improved based both on additional examples and on human feedback overexisting rules. RuleChef can also be used to bootstrap rules using the observed input-output pairs from any existing model for a given task. LLMs are used only at learning time, synthesizing rules and iteratively patching them based on failures measured on a held-out split. The result of this process is a fast, deterministic, and inspectable rule system. Preliminary evaluation is performed on both classification and NER tasks. We release RuleChef as open-source software under an Apache 2.0

Community

Paper submitter

This paper has a personal motivation for me as well — I've been in the explainable AI space for more than 10 years now, and building rule systems has been close to my heart since then. With RuleChef we're trying to tackle the burden of actually building and maintaining rule systems for your task: the LLM writes and repairs the rules, and at inference only the rules run.

Very interested in your feedback :)

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2607.01293
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2607.01293 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2607.01293 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2607.01293 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.