Coding LLMs Can Be Harnessed to Learn Interpretable Models from Data

Aditya Kumar, Cassandra A. Cohen, William W. Cohen
9/28/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Since compact, interpretable classifiers correspond to simple programs, it is natural to ask if LLM-based coding agents can be used to learn interpretable models from data. In this paper we present a simple harness that repeatedly prompts a coding LLM to produce the next rule in a rule set, given a sample of labeled examples.

Show full abstract

We show that this approach is competitive with, and often superior to, state-of-the-art rule-learning methods on tabular data, especially with small training sets, and wins by large margins on text, including against another LLM-based rule learner; that this approach outperforms standard harnesses, and that the approach immediately leads to new kinds of interpretable models, since coding agents are not restricted to search a highly restricted hypothesis space. In addition to the advances made in learning interpretable models, these results are of interest because they introduce a new class of coding benchmarks - construction of interpretable classifiers - which includes quantitative measurements of output quality (i.e., test-set error) and existing mature ``specialist coding algorithms'' (i.e., existing learning methods).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kumar2026coding,
  title  = {Coding LLMs Can Be Harnessed to Learn Interpretable Models from Data},
  author = {Aditya Kumar and Cassandra A. Cohen and William W. Cohen},
  year   = {2026},
  eprint = {2610.14006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.14006v1}
}

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/2610.14006.svg)](https://codeofpaper.com/paper/2610.14006)

Discussion