cd /news/large-language-models/a-better-start-for-language-models-d… · home topics large-language-models article
[ARTICLE · art-68027] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=· neutral

A Better Start for Language Models: Domain-Conditional Position Offsets

A new method called domain-conditional position offsets reduces the cold-start penalty in autoregressive language models by adding a single learned vector to the embedding activation at the first sequence positions while keeping all model weights frozen. Across eight models including Mamba, GPT-NeoX, and Llama from 410M to 8B parameters, the technique cuts held-out in-domain perplexity by up to 27%, with the effect persisting at 70B parameters. The offset trains in minutes on roughly one hundred documents, switches between domains without added sequence state, and has no measurable latency overhead, offering a lightweight, hot-switchable tool for short in-domain scoring and calibration.

read1 min views1 publishedJul 22, 2026

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 domain-conditional position offset: a single learned vector added to the embedding activation at the first sequence positions while all model weights remain frozen. The offset trains in minutes on roughly one hundred documents, switches between domains without added sequence state, and has no measurable latency overhead. Across eight Mamba, GPT-NeoX, and Llama models spanning 410M to 8B parameters, it reduces held-out in-domain perplexity by up to 27%; the effect persists at 70B, and one position captures most of the benefit. A matched, converged direct logit-bias correction reaches at most only 7.9% and leaves later-token loss unchanged, showing that the offset propagates through model state rather than merely recalibrating the output prior. A tuned LoRA reaches lower perplexity but uses two to three orders of magnitude more parameters and an active low-rank weight path, while soft prompts add sequence positions. With wrong-domain controls, offsets improve retrieval reranking and domain classification when decisions depend on early in-domain tokens, For the few-shot reasoning whose signal occurs later, the results maintains unchanged. Position-aware prefill application also help generation tasks, whereas naive application at every cached decoding step causes repetition. The offset is therefore not the strongest adapter, but a lightweight, hot switchable tool for short in-domain scoring and calibration.

── more in #large-language-models 4 stories · sorted by recency
── more on @mamba 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-better-start-for-l…] indexed:0 read:1min 2026-07-22 ·