Aligning LLMs to Ask Good Questions A Case Study in Clinical Reasoning

Shuyue Stella Li, Jimin Mun, Faeze Brahman, Jonathan Ilgen, Yulia Tsvetkov, Maarten Sap · DOI

Introduction

Large Language Models (LLMs) have shown remarkable proficiency in answering medical questions. However, clinical practice often requires the opposite skill: knowing what to ask. In high-stakes environments, a model's ability to proactively seek missing information is as critical as its ability to synthesize existing data. Current LLMs often exhibit "passive" behavior, attempting to diagnose patients based on incomplete or ambiguous information rather than clarifying the situation.

Traditional alignment techniques like Reinforcement Learning from Human Feedback (RLHF) typically treat "goodness" as a monolithic score. This approach is often too coarse to capture the nuanced attributes of a high-quality clinical interview, such as diagnostic relevance or the avoidance of premature bias.

Comparison of a vanilla LLM agent versus an ALFA-aligned agent in a clinical dialogue.

The ALFA Framework: Decompose, Synthesize, Align

To address these limitations, researchers developed ALFA (ALignment via Fine-grained Attributes). ALFA moves away from holistic scoring in favor of a structured, three-step pipeline designed to teach models the specific components of a "good" question.

![The ALFA framework pipeline:

  1. Attribute Decomposition, 2. Counterfactual Synthesis, and 3. Attribute-Guided Alignment.](/figures/art_165cbfde521940b6bef37ad7bc8ca04b) Source, p. 2

1. Decompose

The framework begins by breaking down question quality into six theory-grounded attributes:

  • General Attributes: Clarity, Focus, and Answerability.
  • Clinical Attributes: Medical Accuracy, Diagnostic Relevance, and Avoiding Differential Diagnosis (DDX) Bias.

2. Synthesize

High-quality clinical dialogue data is notoriously difficult to obtain. ALFA overcomes this through "Counterfactual Perturbation." Using a powerful teacher model (e.g., Llama-3-405B), the system generates "enhanced" and "corrupted" versions of existing questions along specific attribute axes. This creates a rich dataset of preference pairs (e.g., Question A is more focused than Question B) without requiring massive amounts of human-labeled data.

3. Align

The final step involves training the model using Preference Optimization (DPO/PPO). The researchers explored three strategies for integrating these fine-grained signals:

  • Data Mixing: Combining all attribute-specific preference data into a single training set.
  • Reward Fusion: Training individual reward models for each attribute and averaging their scores.
  • Policy Fusion: Training separate "expert" policies for each attribute and merging their weights—a strategy that proved particularly effective for maintaining distinct signals.

Evaluation and Datasets

The framework was trained and tested using several key resources:

  • MediQ-AskDocs: A dataset of 17k real-world clinical interactions from the r/AskDocs subreddit, augmented with 80k synthetic preference pairs.
  • Interactive Healthcare QA: A novel benchmark of 302 expert-annotated scenarios where models interact with a patient simulator to reach a diagnosis.
  • MedQA: Used for out-of-distribution (OOD) testing to ensure the model's reasoning generalizes beyond the training distribution.

Key Results

The ALFA-aligned models demonstrated significant improvements across multiple metrics:

  • Superior Diagnostic Accuracy: An ALFA-aligned Llama-3-8B model achieved 88.1% diagnostic accuracy in interactive simulations, notably outperforming much larger models like GPT-4o (79.8%) and Gemini-2 (79.8%).
  • Substantial Error Reduction: Compared to base instruction-tuned models, ALFA reduced diagnostic errors by 56.6%.
  • Expert Preference: In head-to-head evaluations by medical experts and GPT-4o, ALFA models maintained a 64.4% win-rate over standard supervised fine-tuning (SFT) baselines.

Conclusion and Future Directions

ALFA demonstrates that fine-grained attribute alignment is a powerful tool for teaching LLMs complex, investigative behaviors. By focusing on how to ask questions, the model becomes a more effective clinical partner. Future work aims to automate attribute discovery, reduce reliance on synthetic "teacher" models, and integrate multimodal data such as medical imaging into the conversational loop.

Summary updated

BibTeX
@inproceedings{li2025aligning,
  author = {Shuyue Stella Li and Jimin Mun and Faeze Brahman and Jonathan Ilgen and Yulia Tsvetkov and Maarten Sap},
  title = {{Aligning LLMs to Ask Good Questions A Case Study in Clinical Reasoning}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=12u7diwku0},
}
Figure