SOMA: Efficient Multi-turn LLM Serving via Small Language Model

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cheng, Xueqi, Wu, Qiong, Zhou, Zhengyi, Zhou, Xugui, Derr, Tyler, Dong, Yushun
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917483261198336
author Cheng, Xueqi
Wu, Qiong
Zhou, Zhengyi
Zhou, Xugui
Derr, Tyler
Dong, Yushun
author_facet Cheng, Xueqi
Wu, Qiong
Zhou, Zhengyi
Zhou, Xugui
Derr, Tyler
Dong, Yushun
contents Large Language Models (LLMs) are increasingly deployed in multi-turn dialogue settings where preserving conversational context across turns is essential. A standard serving practice concatenates the full dialogue history at every turn, which reliably maintains coherence but incurs substantial cost in latency, memory, and API expenditure, especially when queries are routed to large proprietary models. Existing approaches often struggle to balance the trade-off between response quality and efficiency. We propose a framework that exploits the early turns of a session to estimate a local response manifold and then adapt a smaller surrogate model to this local region for the remainder of the conversation. Concretely, we learn soft prompts that maximize semantic divergence between the large and surrogate small language models' responses to surface least-aligned local directions, stabilize training with anti-degeneration control, and distill the mined cases into localized LoRA fine-tuning so the surrogate runs without prompts at inference. A simple gate enables a one-time switch with rollback on drift. We further provide a theoretical analysis for key components in SOMA. Extensive experiments show the effectiveness of SOMA. The source code is provided at: https://github.com/LabRAI/SOMA.
format Preprint
id arxiv_https___arxiv_org_abs_2605_11317
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SOMA: Efficient Multi-turn LLM Serving via Small Language Model
Cheng, Xueqi
Wu, Qiong
Zhou, Zhengyi
Zhou, Xugui
Derr, Tyler
Dong, Yushun
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) are increasingly deployed in multi-turn dialogue settings where preserving conversational context across turns is essential. A standard serving practice concatenates the full dialogue history at every turn, which reliably maintains coherence but incurs substantial cost in latency, memory, and API expenditure, especially when queries are routed to large proprietary models. Existing approaches often struggle to balance the trade-off between response quality and efficiency. We propose a framework that exploits the early turns of a session to estimate a local response manifold and then adapt a smaller surrogate model to this local region for the remainder of the conversation. Concretely, we learn soft prompts that maximize semantic divergence between the large and surrogate small language models' responses to surface least-aligned local directions, stabilize training with anti-degeneration control, and distill the mined cases into localized LoRA fine-tuning so the surrogate runs without prompts at inference. A simple gate enables a one-time switch with rollback on drift. We further provide a theoretical analysis for key components in SOMA. Extensive experiments show the effectiveness of SOMA. The source code is provided at: https://github.com/LabRAI/SOMA.
title SOMA: Efficient Multi-turn LLM Serving via Small Language Model
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2605.11317