Reproduce “Generating Clarification Questions for Disambiguating Contracts” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Anmol Singhal, Chirag Jain, Preethu Rose Anish, Arkajyoti Chakraborty, Smita Ghaisas

TCS Research developed ConRAP, a framework that generates clarification questions for contractual ambiguities to aid non-legal stakeholders. The system, leveraging attribute prompting and retrieval-augmented generation with LLMs, achieves an F2 score of 0.87 for ambiguity detection with ChatGPT and produces useful clarification questions 70% of the time according to human evaluation.

Key insights

  • ConRAP's two-stage approach, which separates local context (attribute prompting) and global context (retrieval-augmented QA), is crucial for effective ambiguity detection in contracts, outperforming integrated context methods.
  • Attribute Prompting significantly boosts an LLM's ability to detect ambiguities compared to direct or Chain-of-Thought prompting, demonstrating its effectiveness in guiding LLM reasoning for this task.
  • Large Language Models can effectively generate high-quality clarification questions for complex legal texts in a zero-shot setting, with commercial models like ChatGPT showing superior performance but open-source options like Vicuna also being competitive.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.