Evaluating Synthetic Sentence Coherence Using a Large Language Model

Read full text
Authors: Richard Thompson, Angelos Toutsios, Adam Pease, Mathias Kölsch, Christian Darken
Cited by: 1

Abstract

Fine-tuning a Large Language Model (LLM) to translate imprecise, ambiguous natural language into a formal logic language that supports automated reasoning requires a significant amount of training data. With the assistance of a large ontology, millions of synthetic sentences can be generated in natural language with a corresponding formal representation. A problem arises in that generated sentences are often nonsensical. Detecting and omitting incoherent sentences improves the quality of the training dataset, and provides useful feedback to the ontologist for adding "common sense" rules to the ontology. Using approximately 6,000 human labeled sentences, this research analyzes three methods for detecting linguistic coherence and conducting high precision filtering. The first method makes use of expected next-token statistics from an LLM. The second method submits a prompt to an LLM asking it to make a coherence determination. The third method is a composite of the first two. Our results have dramatically improved synthetic training data quality and are expected to contribute to significantly better language reasoning skills.

Fields of Study & Subjects

Natural Language Processing Techniques Topic Modeling Text Readability and Simplification

Publication details

Journal / source
Proceedings of the ... International Florida Artificial Intelligence Research Society Conference
Publisher
University of Florida George A Smathers Libraries
Volume
39
Issue
1
Publication date
6 May 2026