Self-Rewarded Reinforcement Learning for Better-Structured Medical Explanations in Small Language Models

Prakhar Mishra, Bhavya Yajush Awasthi, Tanuja, Nishant

TL;DR

Researchers have developed a lightweight reinforcement learning (RL) pipeline that significantly improves the structure and organization of medical explanations in Small Language Models (SLMs). By using a simple, self-supervised reward function—favoring length, lexical diversity, and proper punctuation—they transformed the "short and choppy" responses typical of 7B-parameter models into detailed, multi-point clinical explanations without requiring expensive human preference labels.

What Problem Does This Paper Address?

In the medical domain, privacy and compliance often mandate on-premises deployment, making Small Language Models (SLMs) like Mistral-7B more attractive than cloud-based giants like GPT-4. However, SLMs suffer from a "structural deficit": while they might know the medical facts, their explanations are often brief, poorly organized, and lack the step-by-step reasoning (Chain-of-Thought) found in larger models.

Existing supervised fine-tuning (SFT) methods, such as the Meerkat series, successfully transfer medical knowledge into these smaller backbones. However, SFT objectives typically target token-level accuracy rather than the overall style or organization of the output. The authors ask: Can we use a lightweight RL step to "shape" the style of medical explanations to be more useful for clinicians and patients?

Methods

The authors propose a self-rewarded RL framework using Proximal Policy Optimization (PPO) combined with Low-Rank Adaptation (LoRA).

The core innovation is the proxy reward function, which bypasses the need for human-annotated preference pairs (the "HF" in RLHF). The reward $f(y)$ is a deterministic sum of four surface-level heuristics:

  1. Length Reward: Encourages responses up to 50 tokens.
  2. Diversity Reward: Favors a higher ratio of unique tokens to total words to prevent repetitive "looping."
  3. Punctuation Bonus: A fixed bonus for including sentence-ending marks (., !?), encouraging explicit boundaries.
  4. Short-output Penalty: A heavy penalty for responses under 5 tokens to discourage trivial answers.

This pipeline, visualized in Figure 4, allows the model to optimize for "structuredness" while the frozen backbone and a KL-divergence penalty ensure the model doesn't drift too far from its original medical knowledge base.

Overview of the proposed RL pipeline for medical SLMs.

Datasets

The study utilized a subset of the Meerkat instruction dataset.

  • Training Set: 2,000 medical prompts ranging from USMLE-style questions to patient-doctor conversations.
  • Evaluation Set: A held-out set of 100 prompts for quantitative analysis and 5 representative clinical prompts for qualitative comparison.

Key Insights and Ideas

  • Style vs. Substance: The reward function is entirely "medical-agnostic." It doesn't know if a diagnosis is correct; it only knows if the explanation looks well-structured. The "aha moment" is that by starting with a medically competent base model (Mistral-7B-Instruct), RL can be used purely as a stylistic "finishing school."
  • Efficiency: The entire training process took only 2–3 hours on a single NVIDIA A100 GPU. This demonstrates that sophisticated stylistic alignment is within reach for researchers with modest compute budgets.
  • The "Self-Correction" of RL: As shown in Figure 2, the model doesn't just get longer; it learns to balance diversity and punctuation simultaneously. This suggests that RL is effective at navigating multi-objective trade-offs that are difficult to capture in standard cross-entropy loss.
Evolution of reward components during PPO training.

Key Results

The RL-tuned model showed dramatic improvements in structural metrics over the base Mistral-7B-Instruct model:

  • Verbosity: Average tokens per response nearly doubled, jumping from 34.2 to 62.8.
  • Segmentation: The average number of sentences per response increased from 2.1 to 4.6, indicating a shift toward multi-point explanations.
  • Lexical Richness: Distinct-1 scores (a measure of diversity) improved from 0.42 to 0.55.

Qualitatively, the difference is stark. In Figure 6, when asked about insulin, the base model provides a dense paragraph. The RL-tuned model, however, breaks the information down into sections, including "What are the different types of insulin?" and numbered lists, making it significantly more readable for a patient.

Qualitative comparison for an insulin-related query.

Limitations and Future Work

The authors are transparent about several risks:

  • Reward Hacking: Because the reward function doesn't check for medical accuracy, a model could theoretically receive a high reward for a long, diverse, well-punctuated, but completely incorrect medical hallucination.
  • Scale: The study was limited to 2,000 prompts and a 7B model. Future work is needed to see if these gains hold on even smaller backbones (e.g., 1B–3B parameters) or if they scale to more complex clinical reasoning tasks.
  • Lack of Clinical Grounding: The authors suggest that future iterations should incorporate "clinically informed" rewards, perhaps by using Retrieval-Augmented Generation (RAG) to penalize outputs that contradict established medical guidelines.

Summary updated

Abstract

Small language models (SLMs) can run on commodity hardware and support privacy-preserving, on-premises clinical deployment, but their medical explanations are often short and poorly structured compared with large language models. Recent supervised approaches such as Meerkat transfer chain-of-thought reasoning into 7B-8B backbones, yet their training objective does not directly target the style or organization of the generated rationales. Building on the instruction-tuned Mistral-7B backbone, we investigate whether a lightweight reinforcement learning (RL) step can improve explanation structure without human preference labels.We apply Proximal Policy Optimization (PPO) with LoRA adaptation to 2,000 Meerkat-derived medical prompts, guided by a simple self-supervised reward that favors longer, lexically diverse, and well-punctuated responses while penalizing very short ones. Training for about 170 PPO steps on a single NVIDIA A100 GPU yields a stable increase in the average reward. Quantitative and qualitative comparisons show that the RL-tuned model produces longer, more organized, multi-point explanations while preserving the underlying medical content.We discuss the promise and the limitations of self-rewarded RL for shaping the style of medical explanations.
BibTeX
@misc{mishra2026self,
  author = {Prakhar Mishra and Bhavya Yajush Awasthi and Tanuja and Nishant},
  title = {{Self-Rewarded Reinforcement Learning for Better-Structured Medical Explanations in Small Language Models}},
  year = {2026},
  eprint = {2611.24650},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24650},
}
Figure