Knowledge Planning in Large Language Models for Domain-Aligned Counseling Summarization

Aseem Srivastava, Smriti Joshi, Tanmoy Chakraborty, Md Shad Akhtar

TL;DR

Automating the generation of counseling summaries is challenging for standard Large Language Models (LLMs) due to the complex, unstructured nature of therapeutic dialogue. This paper introduces PIECE, a framework that integrates a novel "planning engine" into LLMs to separate summary generation into structural planning and domain-knowledge filtering. By explicitly modeling conversational structure and clinical knowledge before text generation, PIECE significantly outperforms 14 baseline methods and produces highly accurate, clinically acceptable counseling notes.

What Problem Does This Paper Address?

During mental health counseling sessions, therapists must document dialogues into concise clinical notes. Doing this manually during a session can distract the therapist and weaken the therapeutic bond, creating a strong case for automation.

However, standard LLMs struggle to generate high-quality counseling summaries. Mental health dialogues are highly unstructured, filled with conversational fillers, and require deep domain expertise to interpret accurately. Unlike human experts—who mentally plan how to apply domain knowledge and map out the conversation's flow before writing a note—standard LLMs typically generate text directly. This lack of explicit planning often leads to missed context, poor structural coherence, or clinical hallucinations.

Methods

The authors introduce PIECE (Planning Engine for Mental Counseling Note Generation), a framework built on top of MentalLlama (a Llama-2 variant pretrained on mental health text). The core innovation is a two-phase planning engine that processes the dialogue before the final summary is generated:

  1. Domain Knowledge Encapsulation:
  2. Knowledge Filtering: A classifier categorizes utterances into core counseling components (e.g., Symptom and History, Patient Discovery, Reflecting) and filters out non-essential discussion fillers. An MH-Know module then uses a Patient Health Questionnaire (PHQ-9) lexicon to score and retain domain-relevant utterances.
  3. Knowledge Scaffolding: Filtered utterances are structured using a mix of contextual (BERT) and non-contextual (GloVe) embeddings passed through a BiLSTM and a self-attention block to ensure semantic cohesion.
  4. Structural Knowledge Encapsulation: To capture the natural flow of the conversation, the dialogue is modeled as a graph. PIECE utilizes a Sheaf Convolution Network (SCN) to learn cellular sheaves, capturing the complex, local-to-global structural nuances of the dialogue geometry.

Finally, a rotating attention mechanism fuses the domain-rich and structure-rich representations, using the foundation model's hidden states as a query to guide the final language model head.

Figure 2: Architecture of PIECE. We propose a novel planning engine consisting of two primary sections: (a) integrating knowledge filtering-cum-scaffolding and (b) encapsulating structural understanding of dialogues. The filtration of relevant utterances utilizes counseling component labels within the MEMO dataset to mask filler utterances, followed by knowledge scaffolding. Additionally, sheaf learners are employed for the structural understanding of counseling dialogue. The planning engine operates using a rotating attention mechanism using knowledge from both segments for better LLM generation.

Datasets

The model was trained and evaluated using two primary datasets:

  • MEMO: The primary benchmark, consisting of 191 counseling dialogues (11,543 utterances) annotated with expert summaries and utterance-level counseling component labels.
  • ACI-BENCH: A clinical note generation dataset used specifically to evaluate the generalizability of PIECE's planning engine outside of pure mental health contexts.

Key Insights and Ideas

  • Planning Prior to Generation: Forcing an LLM to explicitly structure its "thoughts" regarding domain knowledge and conversational topology before decoding yields massive improvements in clinical accuracy.
  • Sheaf Theory for Dialogue Modeling: Standard Graph Neural Networks often struggle in heterophilic settings (where connected nodes are highly dissimilar). By leveraging cellular sheaves, PIECE successfully models the complex, non-linear geometry of human conversation.
  • Plug-and-Play Generalizability: The planning engine is not locked to MentalLlama. Integrating it into other popular LLMs like Mistral, Zephyr, or standard Llama-2 consistently boosts their performance across evaluation metrics.

Key Results

PIECE demonstrated substantial improvements over 14 baseline methods:

  • Automated Metrics: On the MEMO dataset, PIECE achieved relative performance gains of +3.42% in ROUGE-1, +10.11% in ROUGE-2, and +6.01% in ROUGE-L over the best-performing baseline model.
Quantitative results on the MEMO dataset comparing PIECE against 14 baseline models.
  • Expert Evaluation: A clinical psychologist with 10+ years of experience evaluated the summaries across six domain-centric metrics. PIECE achieved an average clinical acceptability rating of 1.20 out of 2.00, falling well within the standard acceptability range (0.70 to 1.40).
  • Hallucination Reduction: The expert noted that 75% of PIECE's generations contained negligible hallucinations, and 56.3% of the cases outright outperformed MentalLlama.

Limitations and Future Work

Despite its success, the authors note a few key limitations:

  • Data Scarcity: There is a severe shortage of high-quality, diverse, and publicly available counseling datasets, forcing a heavy reliance on the MEMO dataset.
  • Remaining Hallucinations: While significantly reduced compared to standard LLMs, a 12.25% hallucination rate means that human-in-the-loop expert oversight remains mandatory before these summaries can be committed to real medical records.

Future Work: The authors plan to transition PIECE into a real-world pilot study, developing it as an assistive framework to help mental health professionals streamline note-taking and maximize face-to-face patient care.

Summary updated

BibTeX
@inproceedings{srivastava2024knowledge,
  author = {Aseem Srivastava and Smriti Joshi and Tanmoy Chakraborty and Md Shad Akhtar},
  title = {{Knowledge Planning in Large Language Models for Domain-Aligned Counseling Summarization}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.984},
}
Figure