SafeRun: Enabling Determinism in LLM Planning for Running

Meilin Chen, Zepeng Zhai, Jiaxuan Zhao, Yuan Lu
6/8/2026
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Large Language Models enable flexible natural-language planning but remain unreliable in determinism-critical domains due to their probabilistic nature. This limitation is especially problematic in running planning, where violating safety rules can lead to safety risks. We propose SafeRun, a framework for deterministic LLM-based planning via a decoupled architecture. SafeRun separates soft interpretation by an LLM from hard constraint enforcement by a deterministic solver, ensuring strict safety constraints while preserving natural-language flexibility. To validate SafeRun, we build a comprehensive benchmark for running planning under realistic physiological and safety constraints. Experiments across five LLMs show that SafeRun achieves 100\% safety score (vs.\ 79.1\% PE average and 97.6\% CodeAct average) while maintaining competitive instruction-following scores. The SafeRun benchmark is publicly available at \href{https://huggingface.co/datasets/zzp-seeker/SafeRun-RunPlanning-Benchmark}{huggingface}.

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!

Cite this paper

@article{chen2026saferun,
  title  = {SafeRun: Enabling Determinism in LLM Planning for Running},
  author = {Meilin Chen and Zepeng Zhai and Jiaxuan Zhao and Yuan Lu},
  year   = {2026},
  eprint = {2606.09027},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.09027v1}
}

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/2606.09027.svg)](https://codeofpaper.com/paper/2606.09027)

Discussion