Zenghui Zhou, Xiaoke Fang, Zheng Zheng
LGMT is an open-source tool that tests logical reasoning consistency in LLMs by generating logically equivalent reformulations of input queries and checking for prediction agreement. It uses first-order logic-based metamorphic relations to detect contradictions without requiring ground-truth labels, revealing inconsistency rates of 20.84% to 29.44% across six LLMs.
Logical consistency is critical for LLMs in safety-critical applications like automated reasoning and decision support. LGMT enables developers to identify and mitigate reasoning flaws that static benchmarks miss, improving trustworthiness in real-world deployments.
Thank you to arXiv for use of its open access interoperability. arxiv.org. aibrief.ai is not affiliated with or endorsed by arXiv.