Agenda-Driven Question Generation: A Case Study in the Courtroom Domain

Yi Ren Fung, Anoop Kumar, Aram Galstyan, Heng Ji, Prem NatarajanCOLING 2024

Abstract

This paper introduces a novel problem of automated question generation for courtroom examinations, CourtQG. While question generation has been studied in domains such as educational testing and product description, CourtQG poses several unique challenges owing to its non-cooperative and agenda-driven nature. Specifically, not only the generated questions need to be relevant to the case and underlying context, they also have to achieve certain objectives such as challenging the opponent’s arguments and/or revealing potential inconsistencies in their answers. We propose to leverage large language models (LLM) for CourtQG by fine-tuning them on two auxiliary tasks, agenda explanation (i.e., uncovering the underlying intents) and question type prediction. We additionally propose cold-start generation of questions from background documents without relying on examination history. We construct a dataset to evaluate our proposed method and show that it generates better questions according to standard metrics when compared to several baselines.

Introduction: The Challenge of Adversarial Questioning

Most automated Question Generation (QG) research focuses on cooperative settings, such as educational quizzes or customer service chatbots, where the primary goal is clarity and information sharing. However, the courtroom environment is inherently non-cooperative and adversarial.

In a trial, lawyers do not simply ask questions to gather facts; they follow a specific "agenda." This might involve undermining a witness's credibility, highlighting inconsistencies in testimony, or portraying a client in a sympathetic light. Existing QG models often fail in this domain because they lack the context of these underlying motives and the background legal documents—such as complaint files—that drive legal strategy.

To address these challenges, the researchers propose a multi-task learning approach using BART-large as the backbone. The framework, CourtQG, moves beyond simple sequence-to-sequence modeling by incorporating two auxiliary tasks designed to capture the strategic nature of courtroom examinations:

  1. Agenda Explanation: The model is trained to generate a natural language explanation of the intent behind a question (e.g., "The intent is to show the witness was intoxicated"). To overcome the scarcity of human-labeled agendas, the researchers utilized GPT-3 as an "oracle" to generate "silver-standard" labels for training.
  2. Question Type Prediction: The model predicts the category of information being probed, such as "Who," "Why," "How," or "Event Occurrence."
The CourtQG framework involves multi-task pretraining on agenda explanation and question type, followed by attribute-conditioned generation.

The researchers evaluated several variations of this approach, including pre-training (PT) on auxiliary tasks and attribute conditioning (AD), where predicted agendas or question types are fed directly into the model during generation. They also explored "Cold-Start" generation, which uses background complaint files alone to simulate pre-trial preparation.

Dataset and Analysis

The study introduces the CourtQG dataset, the first to link background legal documents with actual trial discourse. Scraped from Bloomberg Law, U.S. Circuit Courts, and high-profile trials like the O.J. Simpson and Depp v. Heard cases, the dataset spans 13 unique cases and thousands of question-answer pairs.

Analysis of the dataset reveals that courtroom dialogue is significantly more complex than daily conversation. A vast majority of questions focus on "Event Occurrence" and complex inquiries rather than simple factual lookups.

Distribution of question types in the CourtQG dataset, highlighting the prevalence of Event Occurrence questions.

Key Results

The proposed BART+{PT,AD} framework consistently outperformed vanilla baselines across multiple metrics. It achieved a ROUGE-L score of 23.4 (up from 20.0) and an Agenda Score (AgSc) of 76 (compared to 64 for the baseline), indicating that the generated questions better reflected the intended legal stance. Human annotators rated the generated questions highly for relevance (4.5/5), though they noted that capturing the strategic "sharpness" of a professional lawyer remains a challenge.

Conclusion and Future Directions

While CourtQG represents a significant step forward, several limitations remain. The current model relies solely on text, missing non-verbal cues like tone and body language. Furthermore, the model is limited to public filings, whereas professional legal teams utilize deep, private investigations. Future work will explore "latent persona" reasoning to further refine the tactical precision of generated questions.

Summary updated

BibTeX
@inproceedings{fung2024agenda,
  author = {Yi Ren Fung and Anoop Kumar and Aram Galstyan and Heng Ji and Prem Natarajan},
  title = {{Agenda-Driven Question Generation: A Case Study in the Courtroom Domain}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=I73OjsDm12},
}
Figure