[KongchangAI]
ProductLGMT工具

LGMT

An open-source tool for detecting logical reasoning consistency in LLMs based on metamorphic testing. It defines metamorphic relations using first-order logic and verifies their logical correctness with the Z3 theorem prover, identifying self-contradictions on equivalent problems without manual annotation.

Timeline (last 90 days)

Oct 26

LGMT is an open-source tool that detects reasoning inconsistencies in large language models through metamorphic relations based on first-order logic.

Unverified50%
Oct 26

LGMT has 20 built-in metamorphic relations built on first-order logic, such as swapping the order of premises, substituting equivalent propositions, and adjusting quantifier structure.

Unverified50%
Oct 26

LGMT supports user-defined metamorphic relations and verifies their logical correctness through the Z3 theorem prover, ensuring that the generated equivalent cases are formally reliable.

Unverified50%
Oct 26

LGMT comes with a benchmark containing 3,091 metamorphic groups.

Unverified50%
Oct 26

Tested on six widely used LLMs, the inconsistency rate ranges from 20.84% to 29.44%.

Unverified50%
Oct 26

LGMT is released as open source on GitHub, offering two ways to use it: a command-line interface (CLI) and Web Studio.

Unverified50%
Oct 26

LGMT provides an offline mock mode that can run without an API key.

Unverified50%
Oct 26

The LGMT project address is https://github.com/MaxwelsDonc/lgmt-tool, and the demo video address is https://youtu.be/gou4opptu1U.

Unverified50%

All Facts (8)

Source Articles