mlsanityData to 7 Oct 2026

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

arXiv 2607.18302 ↗First posted 17 Jul 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 20 references that are in the map. First posted on arXiv 17 Jul 2026.

Builds on

17 of 20 references.

References · 17

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  5. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  7. 2016Pointer Sentinel Mixture Modelscited by 2,992
  8. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  9. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  10. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  11. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  12. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
5 more
  1. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  2. 2023Vision Transformers Need Registerscited by 844
  3. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  4. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  5. 2021Prompt-tuning in ASR systems for efficient domain-adaptationcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Domain Mixture Design via Log-Likelihood Differences for Aligning Language Models with a Target Model
  2. 2024Eliminating Position Bias of Language Models: A Mechanistic Approach
  3. 2024Nudging: Inference-time Alignment of LLMs via Guided Decoding
  4. 2025P-Aligner: Enabling Pre-Alignment of Language Models via Principled Instruction Synthesis
  5. 2026Deeper is Not Always Better: Mitigating the Alignment Tax via Confident Layer Decoding
  6. 2026Where to Steer: Input-Dependent Layer Selection for Steering Improves LLM Alignment
  7. 2026Benchmark Shadows: Data Alignment, Parameter Footprints, and Generalization in Large Language Models
  8. 2026SPOT: Span-level Pause-of-Thought for Efficient and Interpretable Latent Reasoning in Large Language Models