Mind the Gap: Aligning Knowledge Bases with User Needs to Enhance Mental Health Retrieval

Amanda Chan, James Jiayu Liu, Kai He, Onno P. Kampman

TL;DR

This paper tackles the challenge of building effective mental health information retrieval systems by addressing the mismatch between vast, often generic knowledge bases and the specific, informal ways users express their needs. They introduce a novel AI-driven framework that uses real-world user data to identify and fill content gaps, leading to significantly more efficient and effective retrieval systems with fewer added resources.

What Problem Does This Paper Address?

Accessing reliable mental health information is crucial for early help-seeking, but current digital resources often fall short. Knowledge bases, typically curated by professionals, can be misaligned with user needs due to differences in language, context, and the sheer volume of evolving concerns. This misalignment leads to poor retrieval performance, especially when users express themselves using informal language or discuss topics not explicitly covered. The authors highlight that existing evidence gaps in mental health are substantial, and simply expanding knowledge bases randomly is inefficient and costly. They propose a solution to bridge this "gap" by intelligently augmenting these knowledge bases.

Methods

The core of the paper is a four-stage framework for gap-informed corpus augmentation:

  1. Data Collection and Preprocessing: They gather a mental health knowledge base (from mindline.sg) and a dataset of real user queries from an anonymous forum ("let's talk").
  2. Content Gap Analysis: This is the novel part. They overlay user demand (queries) with existing supply (documents) to identify "coverage gaps" (topics users ask about but aren't covered) and "usefulness gaps" (topics covered but not in a helpful way).
  3. Coverage Gap: Measured using a TF-IDF-inspired metric that quantifies how often a subtopic appears in queries versus how many documents cover it.
  4. Usefulness Gap: Assessed using an LLM-as-a-Judge approach (GPT-40-mini) with a therapist-guided rubric to evaluate contextual relevance and practical helpfulness of retrieved documents for specific queries.
  5. A hybrid metric combines these two gap scores.
  6. Synthetic Document Generation and Corpus Augmentation: Based on the identified gaps, they generate synthetic documents to fill these underrepresented areas. This allows for targeted expansion of the knowledge base. They compare "Directed" corpora (augmented based on gap analysis) with "Non-Directed" corpora (randomly augmented).
  7. Automated Evaluation: They evaluate the retrieval quality of these augmented corpora using four Retrieval-Augmented Generation (RAG) pipelines (Baseline, Hierarchical, Reranking, and Query Transformation) and an LLM-based usefulness rubric.

Datasets

  • Knowledge Base: 387 curated documents from mindline.sg.
  • User Queries: 1,223 publicly available, anonymous posts from the "Ask a Therapist" subforum of let's talk. These were split into 978 for training (gap identification) and 245 for testing (evaluation).
  • Reference Corpus: 7,640 documents aggregated from seven leading mental health platforms (Verywell Mind, PsychCentral, etc.), used as a benchmark for near-optimal performance.

Key Insights and Ideas

  • User-centricity is Key: The most significant insight is that aligning knowledge base expansion with actual user needs, expressed in their own language, dramatically improves retrieval effectiveness.
  • Gaps are Actionable: Identifying specific content and usefulness gaps is not just diagnostic; it provides a direct roadmap for targeted corpus augmentation.
  • Quality Over Quantity: Strategically adding a small number of relevant, gap-filling documents can achieve performance comparable to massive, indiscriminate expansions.
  • LLMs as Judges and Generators: The paper effectively leverages LLMs for both evaluating content usefulness and generating synthetic content, showcasing their utility in building and assessing information systems.
  • Query Transformation Shines: The Query Transformation RAG pipeline consistently performed best, suggesting that formalizing user queries into a more structured, therapist-like language is highly beneficial for retrieval.

Key Results

  • Efficiency Gains: Directed augmentation achieved ~95% of the performance of an exhaustive reference corpus with significantly fewer added documents.
  • For Query Transformation, only a 42% increase in documents was needed.
  • For Hierarchical and Reranking, it was 74%.
  • For Baseline, it was 318%.
  • Non-Directed Inefficiency: In contrast, Non-Directed augmentation required substantially larger increases (232% to 763%) to reach comparable performance.
  • Content Creation Reduction: Directed augmentation reduced content creation workload by 58.4% (Baseline) to 81.9% (Query Transformation).
  • Pipeline Performance: Query Transformation outperformed other RAG pipelines, followed by Hierarchical and Reranking, with the Baseline pipeline requiring the most resources.

Limitations and Future Work

  • Platform Demographics Mismatch: The "let's talk" forum primarily reflects youth concerns, potentially biasing gap detection. Future work could incorporate data from broader demographics.
  • Reference Corpus Limitations: The aggregated reference corpus might have some duplication, though this is common in the field.
  • No Supervised Relevance Labels: Evaluation relied on LLM-as-a-Judge and unsupervised metrics. Future work could involve human clinical validation for more robust assessments.
  • Synthetic-Only Documents: The synthetic documents were a proof of concept. In practice, real content should be authored by qualified professionals to ensure trust.
  • Niche/Emergent Queries: Some niche or emergent queries still performed poorly, indicating areas for future human content development.
  • Future Directions: The authors suggest extending the approach to other domains, integrating dynamic feedback loops for continuous improvement, and exploring more sophisticated synthetic content generation.

Summary updated

BibTeX
@inproceedings{chan2025mind,
  author = {Amanda Chan and James Jiayu Liu and Kai He and Onno P. Kampman},
  title = {{Mind the Gap: Aligning Knowledge Bases with User Needs to Enhance Mental Health Retrieval}},
  booktitle = {GenAI4Health @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=crfvxJi4c5},
}
Figure