atlas

Research map / Large language models / Instruction and fine-tuning

Reinforcement Learning for Out-of-Distribution Reasoning in LLMs: An Empirical Study on Diagnosis-Related Group Coding

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning for reasoning data · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Applies large-scale GRPO with rule-based DRG rewards on top of SFT (Qwen2.5-7B-Instruct) to build DRG-Sapphire for MS-DRG coding from MIMIC-IV discharge summaries, and studies how SFT vs RL data allocation and GRPO enhancements affect OOD reasoning.

Problem

LLMs perform poorly on MS-DRG coding from clinical notes because the task is out-of-distribution for pretraining corpora, and it is unclear how RL should be applied to such knowledge-intensive OOD tasks.

Approach

Combines a CoT cold-start SFT on LLM-generated reasoning with GRPO using tiered DRG rule-based accuracy rewards, and tests a set of GRPO modifications (dynamic resampling, DAPO/Dr.GRPO losses, KL decay, reward shaping, curriculum and staged learning), finding RL gains scale log-linearly with SFT size.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DRG-Sapphire instead of DRG-LLaMA-7BDRG coding · MIMIC-IV testaccuracy: 53.9% -> 54.8%Helped
Add positive-reward-constrained dynamic resampling (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 39.2Helped
Use neutral dynamic resampling (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 20.3Hurt
Encourage CoT-First reasoning (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 35.5Hurt
Encourage Differential Thinking (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 30.2Hurt
Use DAPO loss (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 40.1Helped
Use Dr. GRPO loss (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 37.5Hurt
Remove the KL penalty (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 39.8Helped
Apply cosine KL decay (ablation)Best GRPO configuration · MIMIC-IV test, 90% SFTPass@1: 54.2 -> 54.6Helped
Use strict rather than dense accuracy reward (ablation)Vanilla GRPO · DRG-SmallPass@1: 38.5 -> 40.1Helped
Use balanced rather than dense accuracy reward (ablation)Vanilla GRPO · DRG-SmallPass@1: 38.5 -> 38.1Hurt
Exclude hard training cases (ablation)Vanilla GRPO + Dense Reward · DRG-SmallPass@1: 38.5 -> 40.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: MIMIC-IV (DRG-LLaMA train/test split) DRG-Small subset

Benchmarks: MIMIC-IV DRG test set (N=26,244) internal institutional dataset (2,500 cases)

Metrics: Pass@1 Pass@8 Maj@8 physician rating of helpfulness and accuracy

Baselines: DRG-LLaMA-7B DeepSeek-R1-distilled Qwen 32B proprietary reasoning models non-reasoning LLMs vanilla GRPO

Builds on: GRPO DeepSeek-R1 DAPO Dr. GRPO DRG-LLaMA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy