LLM Agents Implement an NLG System from Scratch: Building Interpretable Rule-Based RDF-to-Text Generators

Mateusz Lango, Ondřej Dušek
12/20/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

We present a novel neurosymbolic framework for RDF-to-text generation, in which the model is "trained" through collaborative interactions among multiple LLM agents rather than traditional backpropagation. The LLM agents produce rule-based Python code for a generator for the given domain, based on RDF triples only, with no in-domain human reference texts.

Show full abstract

The resulting system is fully interpretable, requires no supervised training data, and generates text nearly instantaneously using only a single CPU. Our experiments on the WebNLG and OpenDialKG data show that outputs produced by our approach reduce hallucination, with only slight fluency penalties compared to finetuned or prompted language models

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{lango2025agents,
  title  = {LLM Agents Implement an NLG System from Scratch: Building Interpretable Rule-Based RDF-to-Text Generators},
  author = {Mateusz Lango and Ondřej Dušek},
  year   = {2025},
  eprint = {2512.18360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.18360v1}
}

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

Discussion