# Summary: 2026-07-17_02-12-09Z_ABetterStartforLanguageModels_Domain_ConditionalPo.md Saved: 2026-07-23 23:51 Source: 2026-07-17_02-12-09Z_ABetterStartforLanguageModels_Domain_ConditionalPo.md Model: None --- ## Summary The paper investigates the “cold‑start” weakness of autoregressive language models, where early tokens suffer from a generic pretraining prior and produce high perplexity. It proposes a domain‑conditional position offset—a single learned vector added to the embedding activation at the first sequence positions while keeping all model weights frozen—as a lightweight fix for this problem. The offset is trained on only a few hundred documents per domain, requires no additional sequence state, and incurs negligible latency overhead. Experiments across Mamba, GPT‑NeoX, Llama models of 410 M to 8 B parameters show up to a 27 % reduction in in‑domain perplexity, with the benefit concentrated on the very first token. ## Semantic links - [[concepts/ai-foundations/ai-ml-foundations-lesson-11-large-language-models-the-modern-ai-interface.md|AI/ML Foundations Lesson 11 - Large Language Models: The Modern AI Interface]] — 3 title terms overlap; 5 backlinks; 5 summary/topic terms overlap - [[concepts/papers/2026-07-23_21-59-56Z_QwenAgentWorld_LanguageWorldModelsforGeneralAgents_summary.md|Summary: Qwen-AgentWorld: Language World Models for General Agents]] — 4 title terms overlap; 1 backlink; 9 summary/topic terms overlap ## Key Contributions - [Finding 1] A domain‑conditional position offset mitigates the cold‑start penalty by injecting a learned vector into early embeddings without altering model weights. - [Finding 2] The offset reduces held‑out in‑domain perplexity by up to 27 % across eight models, and this improvement persists at 70 B parameters with only one position needed for the bulk of the gain. - [Finding 3] Compared to a matched direct logit‑bias correction (max 7.9 % reduction) or LoRA adapters (orders of magnitude more parameters), the offset is lightweight, fast, and does not affect later‑token loss. ## Methodology The authors introduce a position offset that adds a domain‑specific vector to the embedding activation at token index 0. The model’s weights remain frozen; only this offset vector is trained on a small corpus of in‑domain documents (≈100). Because the offset is a single scalar per domain, it can be switched instantly between domains without storing extra sequence state. Training takes minutes and incurs no measurable latency overhead. ## Results Across eight models ranging from 410 M to 8 B parameters, the offset cuts in‑domain perplexity by up to 27 % on held‑out data. A direct logit‑bias correction reaches only 7.9 % reduction and leaves later‑token loss unchanged, indicating that the offset propagates through model state rather than merely recalibrating output priors. LoRA adapters achieve lower perplexity but require two to three orders of magnitude more parameters and an active low‑rank path; soft prompts add sequence positions, which can cause repetition if applied naively at every cached decoding step. The offset also improves retrieval reranking and domain classification when early tokens are decisive, while few‑shot reasoning with later signals remains unaffected. ## Significance By providing a fast, parameter‑light switch that targets the first token(s), the position offset offers a practical solution for short in‑domain scoring, calibration, or retrieval tasks where cold‑start errors matter. It demonstrates that modest architectural tweaks can yield substantial gains without sacrificing speed or scalability. ## Related Concepts - Autoregressive language models - Position bias / offsets - Logit‑bias correction - LoRA (Low‑Rank Adaptation) adapters - Soft prompts - Domain adaptation - Retrieval reranking