mlsanityData to 14 Oct 2026

Transformer Copilot: Learning from The Mistake Log in LLM Fine-tuning

arXiv 2505.16270 ↗First posted 22 May 2025cs.CL cs.AI cs.LGcited by 21

Not on the map. Why?

Abstract (arXiv)

Large language models are typically adapted to downstream tasks through supervised fine-tuning on domain-specific data. While standard fine-tuning focuses on minimizing generation loss to optimize model parameters, we take a deeper step by retaining and leveraging the model's own learning signals, analogous to how human learners reflect on past mistakes to improve future performance. We first introduce the concept of Mistake Log to systematically track the model's learning behavior and recurring errors throughout fine-tuning. Treating the original transformer-based model as the Pilot, we correspondingly design a Copilot model to refine the Pilot's inference performance via logits rectification. We name the overall Pilot-Copilot framework the Transformer Copilot, which introduces (i) a novel Copilot model design, (ii) a joint training paradigm where the Copilot continuously learns from the evolving Mistake Log alongside the Pilot, and (iii) a fused inference paradigm where the Copilot rectifies the Pilot's logits for enhanced generation. We provide both theoretical and empirical analyses on our new learning framework. Experiments on 12 benchmarks spanning commonsense, arithmetic, and recommendation tasks demonstrate that Transformer Copilot consistently improves performance by up to 34.5%, while introducing marginal computational overhead to Pilot models and exhibiting strong scalability and transferability. Our code is released at https://github.com/jiaruzouu/TransformerCopilot.

Key facts. Cited by 21 papers in the map (data through 14 Oct 2026). Builds on 86 of its 101 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

86 of 101 references.

References · 86

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2023GPT-4 Technical Reportcited by 18,396
  6. 2022Training language models to follow instructions with human feedbackcited by 15,971
  7. 2024The Llama 3 Herd of Modelscited by 14,715
  8. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  9. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  10. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  11. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  12. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
38 more
  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2016Layer Normalizationcited by 5,669
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2024Qwen2.5 Technical Reportcited by 4,942
  6. 2024GPT-4o System Cardcited by 4,588
  7. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  8. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  10. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  11. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  12. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  13. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
  14. 2023Mistral 7Bcited by 3,164
  15. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  16. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  17. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  18. 2022Emergent Abilities of Large Language Modelscited by 2,512
  19. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  20. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  21. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  22. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
  23. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  24. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  25. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  26. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
  27. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,202
  28. 2018Self-Attentive Sequential Recommendationcited by 1,184
  29. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
  30. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  31. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  32. 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 767
  33. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
  34. 2022Large Language Models Can Self-Improvecited by 664
  35. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 656
  36. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
  37. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  38. 2023Instruction Tuning for Large Language Models: A Surveycited by 623

50 most cited of 86 All 86 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 14.

21 papers.

Sort:

By area:

  1. 2025Latent Collaboration in Multi-Agent Systemscited by 73
  2. 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 50
  3. 2026Your Group-Relative Advantage Is Biasedcited by 34
  4. 2025Adaptive Batch-Wise Sample Scheduling for Direct Preference Optimizationcited by 17
  5. 2026Heterogeneous Agent Collaborative Reinforcement Learningcited by 15
  6. 2026Real-Time Aligned Reward Model beyond Semanticscited by 13
  7. 2026Contextual Rollout Bandits for Reinforcement Learning with Verifiable Rewardscited by 11
  8. 2025PLANETALIGN: A Comprehensive Python Library for Benchmarking Network Alignmentcited by 10
  9. 2026Influence-Preserving Proxies for Gradient-Based Data Selection in LLM Fine-tuningcited by 10
  10. 2026Counterfactual Credit Policy Optimization for Multi-Agent Collaborationcited by 10
  11. 2025LLMBoost: Make Large Language Models Stronger with Boostingcited by 8
  12. 2025NIRVANA: Structured Pruning Reimagined for Large Language Model Compressioncited by 6
9 more
  1. 2026Weak-Driven Learning: How Weak Agents make Strong Agents Strongercited by 5
  2. 2025Continual Low-Rank Adapters for LLM-based Generative Recommender Systemscited by 2
  3. 2026Adaptive Robust Estimator for Multi-Agent Reinforcement Learningcited by 2
  4. 2026Policy Improvement Reinforcement Learningcited by 2
  5. 2025Saffron-1: Safety Inference Scalingcited by 1
  6. 2026Graph homophily booster: Reimagining the role of discrete features in heterophilic graph learningcited by 1
  7. 2026ReMix: Reinforcement routing for mixtures of LoRAs in LLM finetuningcited by 1
  8. 2026Structuring and Tokenizing Distributed User Interest Context for Generative Recommendationcited by 0
  9. 2026WDL-OPD: Weak-Driven On-Policy Distillation via Mixture-Constrained Co-Trainingcited by 0