mlsanityData to 14 Oct 2026

TAIA: Large Language Models are Out-of-Distribution Data Learners

arXiv 2405.20192 ↗First posted 30 May 2024cs.CLcited by 8

Not on the map. Why?

Abstract (arXiv)

Fine-tuning on task-specific question-answer pairs is a predominant method for enhancing the performance of instruction-tuned large language models (LLMs) on downstream tasks. However, in certain specialized domains, such as healthcare or harmless content generation, it is nearly impossible to obtain a large volume of high-quality data that matches the downstream distribution. To improve the performance of LLMs in data-scarce domains with domain-mismatched data, we re-evaluated the Transformer architecture and discovered that not all parameter updates during fine-tuning contribute positively to downstream performance. Our analysis reveals that within the self-attention and feed-forward networks, only the fine-tuned attention parameters are particularly beneficial when the training set's distribution does not fully align with the test set. Based on this insight, we propose an effective inference-time intervention method: Training All parameters but Inferring with only Attention (trainallInfAttn). We empirically validate trainallInfAttn using two general instruction-tuning datasets and evaluate it on seven downstream tasks involving math, reasoning, and knowledge understanding across LLMs of different parameter sizes and fine-tuning techniques. Our comprehensive experiments demonstrate that trainallInfAttn achieves superior improvements compared to both the fully fine-tuned model and the base model in most scenarios, with significant performance gains. The high tolerance of trainallInfAttn to data mismatches makes it resistant to jailbreaking tuning and enhances specialized tasks using general data. Code is available in urlhttps://github.com/pixas/TAIALLM.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 69 of its 90 references that are in the map. First posted on arXiv 30 May 2024.

Builds on

69 of 90 references.

References · 69

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2022Training language models to follow instructions with human feedbackcited by 15,971
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  9. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  10. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  11. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  12. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
38 more
  1. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  2. 2023Qwen Technical Reportcited by 3,344
  3. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  4. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  6. 2019Language Models as Knowledge Bases?cited by 1,936
  7. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  8. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  9. 2020GLU Variants Improve Transformercited by 1,804
  10. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  11. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  12. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  13. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  14. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  15. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  16. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  17. 2023PaLM 2 Technical Reportcited by 1,162
  18. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  19. 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,067
  20. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  21. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
  22. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
  23. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
  24. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  25. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 729
  26. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 719
  27. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  28. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 699
  29. 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
  30. 2023Instruction Tuning with GPT-4cited by 686
  31. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
  32. 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 625
  33. 2023Instruction Tuning for Large Language Models: A Surveycited by 623
  34. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 543
  35. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  36. 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 487
  37. 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 427
  38. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419

50 most cited of 69 All 69 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 1.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Scalable Fine-tuning from Multiple Data Sources: A First-Order Approximation Approach
  2. 2023Dynamics of Instruction Fine-Tuning for Chinese Large Language Models
  3. 2022Large Language Models Can Self-Improve
  4. 2025Optimising Language Models for Downstream Tasks: A Post-Training Perspective
  5. 2023Tuning LayerNorm in Attention: Towards Efficient Multi-Modal LLM Finetuning
  6. 2025Beyond QA Pairs: Assessing Parameter-Efficient Fine-Tuning for Fact Embedding in LLMs
  7. 2024Navigating the Landscape of Large Language Models: A Comprehensive Review and Analysis of Paradigms and Fine-Tuning Strategies
  8. 2025Efficient Response Generation Strategy Selection for Fine-Tuning Large Language Models Through Self-Aligned Perplexity