Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markers
Not on the map. Why?
Abstract (arXiv)
One of the most profound challenges of modern machine learning is performing well on the long-tail of rare and underrepresented features. Large general-purpose models are trained for many tasks, but work best on high-frequency use cases. After training, it is hard to adapt a model to perform well on specific use cases underrepresented in the training corpus. Relying on prompt engineering or few-shot examples to maximize the output quality on a particular test case can be frustrating, as models can be highly sensitive to small changes, react in unpredicted ways or rely on a fixed system prompt for maintaining performance. In this work, we ask: "Can we optimize our training protocols to both improve controllability and performance on underrepresented use cases at inference time?" We revisit the divide between training and inference techniques to improve long-tail performance while providing users with a set of control levers the model is trained to be responsive to. We create a detailed taxonomy of data characteristics and task provenance to explicitly control generation attributes and implicitly condition generations at inference time. We fine-tune a base model to infer these markers automatically, which makes them optional at inference time. This principled and flexible approach yields pronounced improvements in performance, especially on examples from the long tail of the training distribution. While we observe an average lift of 5.7% win rates in open-ended generation quality with our markers, we see over 9.1% gains in underrepresented domains. We also observe relative lifts of up to 14.1% on underrepresented tasks like CodeRepair and absolute improvements of 35.3% on length instruction following evaluations.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 41 of its 76 references that are in the map. First posted on arXiv 17 Jun 2025.
Builds on
41 of 76 references.
References · 41
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
- 2017Seq2SQL: Generating Structured Queries from Natural Language using Reinforcement Learningcited by 687
- 2023Plan-and-Solve Prompting: Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Modelscited by 560
- 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 543
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
29 more
- 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
- 2024RewardBench: Evaluating Reward Models for Language Modelingcited by 499
- 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 469
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2021Few-shot Learning with Multilingual Language Modelscited by 278
- 2023xCOMET: Transparent Machine Translation Evaluation through Fine-grained Error Detectioncited by 265
- 2023OctoPack: Instruction Tuning Code Large Language Modelscited by 189
- 2024Aya Dataset: An Open-Access Collection for Multilingual Instruction Tuningcited by 177
- 2021Cutting Down on Prompts and Parameters: Simple Few-Shot Learning with Language Modelscited by 139
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
- 2024Aya Expanse: Combining Research Breakthroughs for a New Multilingual Frontiercited by 129
- 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 114
- 2025WMT24++: Expanding the Language Coverage of WMT24 to 55 Languages & Dialectscited by 79
- 2019Tagged Back-Translationcited by 77
- 2024Understanding and Mitigating Language Confusion in LLMscited by 75
- 2025Command A: An Enterprise-Ready Large Language Modelcited by 59
- 2024Following Length Constraints in Instructionscited by 46
- 2024Navigating the Metrics Maze: Reconciling Score Magnitudes and Accuraciescited by 40
- 2016Linguistic Input Features Improve Neural Machine Translationcited by 38
- 2016Domain Control for Neural Machine Translationcited by 36
- 2019Translationese as a Language in "Multilingual" NMTcited by 36
- 2024How Susceptible are LLMs to Influence in Prompts?cited by 33
- 2019Controlling Text Complexity in Neural Machine Translationcited by 32
- 2024Tag-LLM: Repurposing General-Purpose LLMs for Specialized Domainscited by 30
- 2021Language Tags Matter for Zero-Shot Neural Machine Translationcited by 29
- 2025Metadata Conditioning Accelerates Language Model Pre-trainingcited by 22
- 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
- 2021Multi-Domain Adaptation in Neural Machine Translation Through Multidimensional Taggingcited by 8
- 2021HintedBT: Augmenting Back-Translation with Quality and Transliteration Hintscited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.