Towards Robust Legal Reasoning: Harnessing Logical LLMs in Law

Manuj Kant, Sareh Nabi, Manav Kant, Roland Scharrer, Megan Ma +1 more
2/24/2025
cs.CYcs.AI

No confident code implementation found for this paper.

Abstract

Legal services rely heavily on text processing. While large language models (LLMs) show promise, their application in legal contexts demands higher accuracy, repeatability, and transparency.

Show full abstract

Logic programs, by encoding legal concepts as structured rules and facts, offer reliable automation, but require sophisticated text extraction. We propose a neuro-symbolic approach that integrates LLMs' natural language understanding with logic-based reasoning to address these limitations. As a legal document case study, we applied neuro-symbolic AI to coverage-related queries in insurance contracts using both closed and open-source LLMs. While LLMs have improved in legal reasoning, they still lack the accuracy and consistency required for complex contract analysis. In our analysis, we tested three methodologies to evaluate whether a specific claim is covered under a contract: a vanilla LLM, an unguided approach that leverages LLMs to encode both the contract and the claim, and a guided approach that uses a framework for the LLM to encode the contract. We demonstrated the promising capabilities of LLM + Logic in the guided approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kant2025towards,
  title  = {Towards Robust Legal Reasoning: Harnessing Logical LLMs in Law},
  author = {Manuj Kant and Sareh Nabi and Manav Kant and Roland Scharrer and Megan Ma and Marzieh Nabi},
  year   = {2025},
  eprint = {2502.17638},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.17638v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.17638.svg)](https://codeofpaper.com/paper/2502.17638)

Discussion