LogicVal:A Logic-Formalized Benchmark for Constraint Satisfaction in Text-to-Image Generation

arXiv:2610.24051 · cs.AI, cs.CL, cs.LO · Submitted 2026-10-16 · Read on arXiv

cs.AI, cs.CL, cs.LO

Submitted: 2026-10-16

Updated: 2026-10-16

Comments: Preprint. Under review. Savitha Sam Abraham and Marjan Alirezaie contributed equally

License: http://creativecommons.org/licenses/by/4.0/

The gist: Text-to-Image (T2I) generative models have made significant progress in producing high-fidelity images from natural-language prompts.

Terminology

Abstract

Text-to-Image (T2I) generative models have made significant progress in producing high-fidelity images from natural-language prompts. Alongside this progress, numerous benchmarks have been developed to evaluate capabilities such as attribute binding, numeracy, spatial reasoning, and commonsense reasoning. In this work, we propose a new perspective on T2I evaluation by casting it as a constraint-satisfaction problem. We introduce a logical framework that formally specifies the benchmark domain, including objects, attributes, and relations, alongside the constraints that generated images must satisfy. We evaluated four state-of-the-art T2I models across 9 classes of constraints ranging from a single-object-attribute to multi-object relationships constraints involving logical operators (,, count, to). Our results reveal a substantial gap between single-object and complex conditional multi-object relationship constraint classes, with the best-performing model achieving 98% accuracy on the former and just 53% on the latter. We assess compositional generalisation, finding that the best-performing model`s accuracy drops from 84% on single-constraint prompts to 20% when satisfying multiple constraints simultaneously. Identifying unsatisfiable constraints is also challenging, with the best model correctly recognizing only 23% of such prompts. Building on this framework, we introduce LogicVal, an evaluation methodology that combines neural visual detection with logical reasoning to assess constraint satisfaction in generated images. On CLEVR, LogicVal achieves ROC-AUC scores ranging from 0.88 to 0.98, indicating strong alignment with human judgments. These findings underscore the value of logic-based evaluation for characterizing T2I model capabilities and limitations.

Related papers