English

Online Domain-aware LLM Decoding for Continual Domain Evolution

Machine Learning 2026-02-10 v1 Artificial Intelligence

Abstract

LLMs are typically fine-tuned offline on domain-specific data, assuming a static domain. In practice, domain knowledge evolves continuously through new regulations, products, services, and interaction patterns. Retraining or fine-tuning LLMs for every new instance is computationally infeasible. Additionally, real-world environments also exhibit temporal dynamics with shifting data distributions. Disregarding this phenomenon, commonly referred to as concept drift, can significantly diminish a model's predictive accuracy. This mismatch between evolving domains and static adaptation pipelines highlights the need for efficient, real-time adaptation without costly retraining. In response, we introduce Online Domain-aware Decoding framework (ODD). ODD performs probability-level fusion between a base LLM and a prefix-tree prior, guided by adaptive confidence modulation using disagreement and continuity signals. Empirical evaluation under diverse drift scenarios demonstrates that ODD consistently surpasses LLM-Greedy and LLM-Temp Scaled across all syntactic and semantic NLG metrics. It yields an absolute ROUGE-L gain of 0.065 and a 13.6% relative improvement in Cosine Similarity over the best baseline. These results demonstrate ODD 's robustness to evolving lexical and contextual patterns, making it suitable for dynamic LLM applications.

Keywords

Cite

@article{arxiv.2602.08088,
  title  = {Online Domain-aware LLM Decoding for Continual Domain Evolution},
  author = {Mohammad Abu-Shaira and Weishi Shi},
  journal= {arXiv preprint arXiv:2602.08088},
  year   = {2026}
}
R2 v1 2026-07-01T10:26:57.260Z