Xin Quan, Marco Valentino, André Freitas, Louise Dennis
We lifted 1 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| neuro-symbolic-ai/explanation_refinement | — | 1 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| ExplanationRefineModel | Ran | neuro-symbolic-ai/explanation_refinement/models/refine_model.py code served (permissive licence) · get_code("f94ee3ea0a3ca60a") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Natural language explanations represent a proxy for evaluating explanation-based and multi-step Natural Language Inference (NLI) models. However, assessing the validity of explanations for NLI is challenging as it typically involves the crowd-sourcing of apposite datasets, a process that is time-consuming and prone to logical errors. To address existing limitations, this paper investigates the verification and refinement of natural language explanations through the integration of Large Language Models (LLMs) and Theorem Provers (TPs). Specifically, we present a neuro-symbolic framework, named Explanation-Refiner, that integrates TPs with LLMs to generate and formalise explanatory sentences and suggest potential inference strategies for NLI. In turn, the TP is employed to provide formal guarantees on the logical validity of the explanations and to generate feedback for subsequent improvements. We demonstrate how Explanation-Refiner can be jointly used to evaluate explanatory reasoning, autoformalisation, and error correction mechanisms of state-of-the-art LLMs as well as to automatically enhance the quality of explanations of variable complexity in different domains. 1
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2405.01379")
get_code_for_paper("2405.01379")
have("2405.01379")
Connect an agent — have() is free.