An Empirical Study of Sample Selection Strategies for Large Language Model Repair
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly deployed in real-world systems, yet they can produce toxic or biased outputs that undermine safety and trust. Post-hoc model repair provides a practical remedy, but the high cost of parameter updates motivates selective use of repair data. Despite extensive prior work on data selection for model training, it remains unclear which sampling criteria are most effective and efficient when applied specifically to behavioral repair of large generative models. Our study presents a systematic analysis of sample prioritization strategies for LLM repair. We evaluate five representative selection methods, including random sampling, K-Center, gradient-norm-based selection(GraNd), stratified coverage (CCS), and a Semantic-Aware Prioritized Sampling (SAPS) approach we proposed. Repair effectiveness and trade-offs are assessed through toxicity reduction, perplexity on WikiText-2 and LAMBADA, and three composite metrics: the Repair Proximity Score (RPS), the Overall Performance Score (OPS), and the Repair Efficiency Score (RES). Experimental results show that SAPS achieves the best balance between detoxification, utility preservation, and efficiency, delivering comparable or superior repair outcomes with substantially less data. Random sampling remains effective for large or robust models, while high-overhead methods such as CCS and GraNd provide limited benefit. The optimal data proportion depends on model scale and repair method, indicating that sample selection should be regarded as a tunable component of repair pipelines. Overall, these findings establish selection-based repair as an efficient and scalable paradigm for maintaining LLM reliability.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 51 of its 75 references that are in the map. First posted on arXiv 23 Oct 2025.
Builds on
51 of 75 references.
References · 51
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2013Intriguing properties of neural networkscited by 5,155
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 533
38 more
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2024LESS: Selecting Influential Data for Targeted Instruction Tuningcited by 532
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2023GPT4RoI: Instruction Tuning Large Language Model on Region-of-Interestcited by 302
- 2023Pretraining Language Models with Human Preferencescited by 247
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
- 2024A Survey on Data Selection for Language Modelscited by 236
- 2023GraphGPT: Graph Instruction Tuning for Large Language Modelscited by 226
- 2023Towards Building the Federated GPT: Federated Instruction Tuningcited by 185
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 185
- 2023LLM Lies: Hallucinations are not Bugs, but Features as Adversarial Examplescited by 177
- 2023Chain of Hindsight Aligns Language Models with Feedbackcited by 148
- 2022Coverage-centric Coreset Selection for High Pruning Ratescited by 117
- 2024Data-efficient Fine-tuning for LLM-based Recommendationcited by 104
- 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 94
- 2016Robustness of classifiers: from adversarial to random noisecited by 88
- 2024Detoxifying Large Language Models via Knowledge Editingcited by 87
- 2021ReduNet: A White-box Deep Network from the Principle of Maximizing Rate Reductioncited by 84
- 2023Exposing Attention Glitches with Flip-Flop Language Modelingcited by 75
- 2023D2 Pruning: Message Passing for Balancing Diversity and Difficulty in Data Pruningcited by 69
- 2022Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Modelscited by 68
- 2016Coresets and Sketchescited by 63
- 2024A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Modelscited by 52
- 2024Transfer Q Star: Principled Decoding for LLM Alignmentcited by 48
- 2022Causality-based Neural Network Repaircited by 47
- 2021Improved Fine-Tuning by Better Leveraging Pre-Training Datacited by 36
- 2023SPDF: Sparse Pre-training and Dense Fine-tuning for Large Language Modelscited by 28
- 2024Understanding the Effect of Noise in LLM Training Data with Algorithmic Chains of Thoughtcited by 19
- 2021Sound and Complete Neural Network Repair with Minimality and Locality Guaranteescited by 13
- 2023Farewell to Aimless Large-scale Pretraining: Influential Subset Selection for Language Modelcited by 12
- 2025DRESSing Up LLM: Efficient Stylized Question-Answering via Style Subspace Editingcited by 10
- 2018Predictive Test Selectioncited by 9
- 2024In2Core: Leveraging Influence Functions for Coreset Selection in Instruction Finetuning of Large Language Modelscited by 9
- 2024Fight Fire with Fire: How Much Can We Trust ChatGPT on Source Code-Related Tasks?cited by 7
- 2023FlakyFix: Using Large Language Models for Predicting Flaky Test Fix Categories and Test Code Repaircited by 6
- 2024RECOVER: Toward Requirements Generation from Stakeholders' Conversationscited by 6
- 2023Diversity-based core-set selection for text-to-speech with linguistic and acoustic featurescited by 4
- 2024FAST: Boosting Uncertainty-based Test Prioritization Methods for Neural Networks via Feature Selectioncited by 3
50 most cited of 51 All 51 (JSON)
Built on by
Not cited yet.