Domain-Conditional Offsets Improve LLM Cold Start Accuracy

Ye Qiao· July 22, 2026 View original

Summary

This paper introduces domain-conditional position offsets, a lightweight method to significantly reduce the "cold-start penalty" in autoregressive language models by improving accuracy at the beginning of a sequence. It reduces perplexity by up to 27% with minimal overhead.

Autoregressive language models often struggle with accuracy at the very beginning of a sequence, a phenomenon known as the "cold-start penalty." This occurs because little context is available, forcing the model to rely heavily on a generic pretraining prior, which may not be optimal for a specific domain. This initial inaccuracy can impact tasks requiring early in-domain signal. Researchers have developed a novel, lightweight solution: domain-conditional position offsets. This method involves adding a single learned vector to the embedding activation at the first few sequence positions, while keeping all other model weights frozen. This offset can be trained rapidly, often in minutes, using only about a hundred documents, and can be switched between domains without adding sequence state or measurable latency overhead. Across various Mamba, GPT-NeoX, and Llama models ranging from 410M to 8B parameters, this technique reduced held-out in-domain perplexity by up to 27%, with the effect persisting even at 70B parameters. The benefit is largely captured by just one position. Unlike other adapters like LoRA or soft prompts, which add many parameters or sequence positions, this offset is a hot-switchable tool ideal for short in-domain scoring and calibration, improving tasks like retrieval reranking and domain classification when early tokens are crucial.

Why it matters

For professionals working with LLMs, especially in applications requiring rapid domain adaptation or accurate processing of short, domain-specific inputs, this technique offers a highly efficient way to boost initial accuracy without significant computational overhead or model retraining.

How to implement this in your domain

  1. 1Implement domain-conditional position offsets to improve the cold-start performance of your autoregressive language models.
  2. 2Apply this technique for tasks like retrieval reranking or domain classification where early token accuracy is critical.
  3. 3Evaluate the perplexity reduction and performance gains on your specific domain-specific datasets.
  4. 4Integrate the hot-switchable nature of these offsets for dynamic domain adaptation in multi-domain applications.

Who benefits

AI/ML DevelopmentSearch/Information RetrievalCustomer ServiceContent GenerationEdTech

Key takeaways

  • LLMs suffer from a "cold-start penalty" at the beginning of sequences.
  • Domain-conditional position offsets reduce this penalty by up to 27% perplexity.
  • The method is lightweight, trains quickly, and has no measurable latency overhead.
  • It's ideal for improving short in-domain scoring and calibration tasks.

Original post by Ye Qiao

"arXiv:2607.18302v1 Announce Type: new Abstract: Autoregressive language models are least accurate at the beginning of a sequence, where little context forces reliance on a generic pretraining prior. We show that this cold-start penalty is domain dependent and reduce it with a dom…"

View on X

Originally posted by Ye Qiao on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses