Saved in:
Bibliographic Details
Main Authors: Yu, Fangyuan, Su, Xin, Abdullah, Amir
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.14323
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916011975901184
author Yu, Fangyuan
Su, Xin
Abdullah, Amir
author_facet Yu, Fangyuan
Su, Xin
Abdullah, Amir
contents We investigate the temporal concatenation of sub-policies in Markov Decision Processes (MDP) with time-varying reward functions. We introduce General Dijkstra Search (GDS), and prove that globally optimal goal-reaching policies can be recovered through temporal composition of intermediate optimal sub-policies. Motivated by the "search, select, update" principle underlying GDS, we propose Dynamic Latent Routing (DLR), a language-model post-training method that jointly learns discrete latent codes, routing policies, and model parameters through dynamic search in a single training stage. In low-data fine-tuning settings, DLR matches or outperforms supervised fine-tuning across four datasets and six models, achieving a mean gain of +6.6 percentage points, while prior discrete-latent baselines consistently underperform SFT. Mechanistic analyses and targeted code ablations show that DLR learns structured routing behaviors with distinct causal roles.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14323
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Dynamic Latent Routing
Yu, Fangyuan
Su, Xin
Abdullah, Amir
Machine Learning
Artificial Intelligence
Computation and Language
We investigate the temporal concatenation of sub-policies in Markov Decision Processes (MDP) with time-varying reward functions. We introduce General Dijkstra Search (GDS), and prove that globally optimal goal-reaching policies can be recovered through temporal composition of intermediate optimal sub-policies. Motivated by the "search, select, update" principle underlying GDS, we propose Dynamic Latent Routing (DLR), a language-model post-training method that jointly learns discrete latent codes, routing policies, and model parameters through dynamic search in a single training stage. In low-data fine-tuning settings, DLR matches or outperforms supervised fine-tuning across four datasets and six models, achieving a mean gain of +6.6 percentage points, while prior discrete-latent baselines consistently underperform SFT. Mechanistic analyses and targeted code ablations show that DLR learns structured routing behaviors with distinct causal roles.
title Dynamic Latent Routing
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2605.14323