Interpretable Language Model for Closed-Loop Type 1 Diabetes Control

Maya Sarkar
6/19/2026
cs.AIcs.CLcs.LG
rl

No confident code implementation found for this paper.

Abstract

Type 1 Diabetes (T1D) is a chronic, life-threatening autoimmune condition characterized by the complete destruction of insulin-producing pancreatic beta cells. While Artificial Pancreas Systems (APS) powered by Reinforcement Learning (RL) have shown promise in automating insulin delivery, their ``black-box'' nature makes it hard for patients and doctors to trust them fully.

Show full abstract

This paper presents LLM-T1D, a promising approach that combines the precision of RL with the clear, human-like reasoning of Large Language Models (LLMs) to create a more transparent and reliable insulin pump controller. By training an expert RL system and distilling its knowledge into fine-tuned LLaMA 3.1 8B and Qwen3 8B models, we developed a controller that not only surpasses the RL system's performance but also explains its decisions in plain, understandable language. Tested on the FDA-approved UVA/Padova T1D simulator, the LLM controllers deliver excellent blood sugar control (73.5% Time in Range) while maintaining strict formal safety verification against hallucinations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sarkar2026interpretable,
  title  = {Interpretable Language Model for Closed-Loop Type 1 Diabetes Control},
  author = {Maya Sarkar},
  year   = {2026},
  eprint = {2607.14126},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.14126v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.14126.svg)](https://codeofpaper.com/paper/2607.14126)

Discussion