Answering Questions in Stages: Prompt Chaining for Contract QA
Adam Roegiest, Radha Chitta

TL;DR
This paper introduces a two-stage prompt chaining method to improve large language model performance in answering complex legal contract questions, especially with lengthy and nuanced clauses.
Contribution
It proposes a novel two-stage prompt chaining approach that enhances answer accuracy for nuanced legal questions compared to simple zero-shot prompts.
Findings
Two-stage prompt chaining outperforms simple prompts on complex legal clauses.
Effectiveness varies with linguistic complexity and question specificity.
Future work aims to refine stage one prompts for better question-specific responses.
Abstract
Finding answers to legal questions about clauses in contracts is an important form of analysis in many legal workflows (e.g., understanding market trends, due diligence, risk mitigation) but more important is being able to do this at scale. Prior work showed that it is possible to use large language models with simple zero-shot prompts to generate structured answers to questions, which can later be incorporated into legal workflows. Such prompts, while effective on simple and straightforward clauses, fail to perform when the clauses are long and contain information not relevant to the question. In this paper, we propose two-stage prompt chaining to produce structured answers to multiple-choice and multiple-select questions and show that they are more effective than simple prompts on more nuanced legal text. We analyze situations where this technique works well and areas where further…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsArtificial Intelligence in Law · Multi-Agent Systems and Negotiation
