Problem-Oriented Segmentation and Retrieval: Case Study on Tutoring Conversations

Rose E. Wang, Pawan Wirawarn, Kenny Lam, Omar Khattab, Dorottya Demszky

Abstract

Analyzing document-grounded conversations, such as tutoring sessions or business meetings, requires understanding both the structure of the dialogue and its relationship to external references. Traditional NLP approaches treat discourse segmentation and information retrieval as independent, sequential tasks. This paper introduces Problem-Oriented Segmentation and Retrieval (POSR), a unified framework that jointly partitions conversations and links segments to specific reference materials. Using a novel dataset of real-world tutoring transcripts, the authors demonstrate that joint modeling significantly outperforms traditional pipelines, achieving high accuracy in tracking lesson pacing and content delivery.

Introduction

In high-stakes conversational settings—ranging from medical consultations to educational tutoring—the dialogue often centers on external documents like worksheets or agendas. For educators, understanding "lesson pacing" (the allocation of time to specific problems) is critical for professional development. However, scaling this analysis is difficult because real-world conversations are non-linear, messy, and rarely follow a predictable structure.

Existing NLP methods typically address this through a two-step pipeline: first, segmenting the transcript into topical blocks (discourse segmentation), and second, identifying the relevant document for each block (information retrieval). This paper argues that these tasks are fundamentally interdependent and proposes the POSR framework to solve them simultaneously.

The POSR Framework

The core innovation of POSR is the rejection of the independent pipeline in favor of Joint Modeling. By providing a model with the "reference corpus" (e.g., a math worksheet) while it analyzes the transcript, the system can use the context of the potential topics to better identify where one topic ends and another begins.

Technical Contributions

  • Joint LLM Modeling: The framework leverages the long-context capabilities of Large Language Models (LLMs) like GPT-4 and Claude 3 to perform segmentation and retrieval within a single prompt.
  • Time-Aware Metrics: Traditional segmentation metrics like WindowDiff treat every line of text as equal. The authors introduce Time-WindowDiff and Time-$P_k$, which weight errors by the actual duration of the segments. This reflects the reality that misidentifying a ten-minute conceptual explanation is a more significant error than missing a ten-second transition.
  • Segmentation Retrieval Score (SRS): This new joint metric measures the total proportion of the conversation duration where the retrieved reference item correctly matches the ground truth.

To evaluate POSR, the authors introduced LessonLink, a first-of-its-kind dataset consisting of:

  • 300 real-world tutoring transcripts from Schoolhouse.world, totaling over 24,300 minutes of instruction.
  • 3,500 manually annotated segments linked to 116 SAT® math problems.

Unlike synthetic datasets, LessonLink captures the complexities of human interaction, including off-topic digressions, non-linear problem-solving, and varying levels of student engagement.

Results and Insights

The "Joint" Advantage

The study found that knowing the potential topics significantly simplifies the segmentation process. POSR-based methods outperformed independent pipelines by up to 76% on joint metrics. LLMs proved particularly effective at handling the semantic variability of math-related dialogue, where traditional retrieval methods like BM25 often struggle.

Performance and Cost

Top-tier models like GPT-4 and Claude 3 Opus achieved an SRS of 0.88–0.89, correctly identifying the problem under discussion for nearly 90% of the lesson duration. On ground-truth segments, GPT-4 reached a near-perfect 0.97 retrieval accuracy. However, cost remains a barrier: while Claude 3 Opus costs approximately $77 per 100 transcripts, the more affordable "Haiku" version ($0.35 per 100) showed a significant drop in accuracy.

Conceptual vs. Procedural Instruction

By applying POSR at scale, the authors identified linguistic patterns in tutoring. Tutors who spent more time on a single problem were more likely to use conceptual language (e.g., "conditional probability"). In contrast, tutors who moved quickly through the worksheet tended to use procedural language, focusing on reading the problem and jumping straight to calculations.

Limitations and Future Work

While POSR represents a significant step forward, several challenges remain:

  • Multimodality: The current framework is text-only, ignoring vital audio cues (tone, pauses) and visual data (whiteboard drawings).
  • Outcomes: Future research is needed to link these time-use patterns directly to student learning outcomes.
  • Generalization: While tested on math tutoring, the POSR framework is theoretically applicable to any document-grounded conversation, such as technical support or legal proceedings.

By unifying segmentation and retrieval, POSR provides a robust tool for researchers and practitioners to gain deeper insights into how time and language are used in complex, goal-oriented dialogues.

Summary updated

BibTeX
@inproceedings{wang2024problem,
  author = {Rose E. Wang and Pawan Wirawarn and Kenny Lam and Omar Khattab and Dorottya Demszky},
  title = {{Problem-Oriented Segmentation and Retrieval: Case Study on Tutoring Conversations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.740},
}
Figure