You only need 4 extra tokens: Synergistic Test-time Adaptation for LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Xu, Yijie, Yao, Huizai, Guo, Zhiyu, Li, Pengteng, Liu, Aiwei, Hu, Xuming, Guo, Weiyu, Xiong, Hui
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911542142828544
author Xu, Yijie
Yao, Huizai
Guo, Zhiyu
Li, Pengteng
Liu, Aiwei
Hu, Xuming
Guo, Weiyu
Xiong, Hui
author_facet Xu, Yijie
Yao, Huizai
Guo, Zhiyu
Li, Pengteng
Liu, Aiwei
Hu, Xuming
Guo, Weiyu
Xiong, Hui
contents Large language models (LLMs) are increasingly deployed in specialized domains such as finance, medicine, and agriculture, where they face significant distribution shifts from their training data. Domain-specific fine-tuning can mitigate this challenge but relies on high-quality labeled data that is expensive and slow to collect in expertise-limited settings. We study label-free test-time adaptation for language models and present SyTTA, an inference-time framework that adapts models on-the-fly without additional supervision. SyTTA couples two complementary uncertainty signals that arise under distribution shift: input-side perplexity, indicating mismatch with domain-specific terminology and patterns, and output-side predictive entropy, indicating diffuse and unstable token probabilities during generation. Across diverse model architectures and domain-specific benchmarks, SyTTA delivers consistent gains. Notably, on agricultural question answering, SyTTA improves Rouge-LSum by over 120% on Qwen-2.5-7B with only 4 extra tokens per query. These results show that effective test-time adaptation for language models is achievable without labeled examples, supporting deployment in label-scarce domains. The code will be made available upon acceptance.
format Preprint
id arxiv_https___arxiv_org_abs_2510_10223
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle You only need 4 extra tokens: Synergistic Test-time Adaptation for LLMs
Xu, Yijie
Yao, Huizai
Guo, Zhiyu
Li, Pengteng
Liu, Aiwei
Hu, Xuming
Guo, Weiyu
Xiong, Hui
Computation and Language
Artificial Intelligence
Machine Learning
Large language models (LLMs) are increasingly deployed in specialized domains such as finance, medicine, and agriculture, where they face significant distribution shifts from their training data. Domain-specific fine-tuning can mitigate this challenge but relies on high-quality labeled data that is expensive and slow to collect in expertise-limited settings. We study label-free test-time adaptation for language models and present SyTTA, an inference-time framework that adapts models on-the-fly without additional supervision. SyTTA couples two complementary uncertainty signals that arise under distribution shift: input-side perplexity, indicating mismatch with domain-specific terminology and patterns, and output-side predictive entropy, indicating diffuse and unstable token probabilities during generation. Across diverse model architectures and domain-specific benchmarks, SyTTA delivers consistent gains. Notably, on agricultural question answering, SyTTA improves Rouge-LSum by over 120% on Qwen-2.5-7B with only 4 extra tokens per query. These results show that effective test-time adaptation for language models is achievable without labeled examples, supporting deployment in label-scarce domains. The code will be made available upon acceptance.
title You only need 4 extra tokens: Synergistic Test-time Adaptation for LLMs
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2510.10223