Fixing Model Bugs with Natural Language Patches
Shikhar Murty, Christopher D. Manning, Scott M. Lundberg, Marco Túlio Ribeiro
摘要
Current approaches for fixing systematic problems in NLP models (e.g., regex patches, finetuning on more data) are either brittle, or labor-intensive and liable to shortcuts. In contrast, humans often provide corrections to each other through natural language. Taking inspiration from this, we explore natural language patches—declarative statements that allow developers to provide corrective feedback at the right level of abstraction, either overriding the model ("if a review gives 2 stars, the sentiment is negative") or providing additional information the model may lack ("if something is described as the bomb, then it is good"). We model the task of determining if a patch applies separately from the task of integrating patch information, and show that with a small amount of synthetic data, we can teach models to effectively use real patches on real data—1 to 7 patches improve accuracy by 1–4 accuracy points on different slices of a sentiment analysis dataset, and F1 by 7 points on a relation extraction dataset. Finally, we show that finetuning on as many as 100 labeled examples may be needed to match the performance of a small set of language patches.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Patching open-vocabulary models by interpolating weights 引用了 Fast Model Editing at Scale
- Safe LoRA: The Silver Lining of Reducing Safety Risks when Finetuning Large Language Models 引用了 Patching open-vocabulary models by interpolating weights
- Safe LoRA: The Silver Lining of Reducing Safety Risks when Finetuning Large Language Models 引用了 Fast Model Editing at Scale
- Fast Model Editing at Scale 引用了 Language Models are Few-Shot Learners
- Editing Large Language Models: Problems, Methods, and Opportunities 引用了 Language Models are Few-Shot Learners
- BadEdit: Backdooring Large Language Models by Model Editing 引用了 Fast Model Editing at Scale
- BadEdit: Backdooring Large Language Models by Model Editing 引用了 Language Models are Few-Shot Learners
- Parameter-Efficient Multi-Task Model Fusion with Partial Linearization 引用了 Patching open-vocabulary models by interpolating weights
- Parameter-Efficient Multi-Task Model Fusion with Partial Linearization 引用了 Fast Model Editing at Scale
引用它的顶会 Paper21
- Patching open-vocabulary models by interpolating weightsGabriel Ilharco, Mitchell Wortsman, Samir Yitzhak Gadre, Shuran Song 等NeurIPS 2022 · 230 次引用
- Safe LoRA: The Silver Lining of Reducing Safety Risks when Finetuning Large Language ModelsChia-Yi Hsu, Yu-Lin Tsai, Chih-Hsun Lin, Pin-Yu Chen 等NeurIPS 2024 · 165 次引用
- BadEdit: Backdooring Large Language Models by Model EditingYanzhou Li, Tianlin Li, Kangjie Chen, Jian Zhang 等ICLR 2024 · 116 次引用
- Editing Large Language Models: Problems, Methods, and OpportunitiesYunzhi Yao, Peng Wang, Bozhong Tian, Siyuan Cheng 等EMNLP 2023 · 83 次引用
- Parameter-Efficient Multi-Task Model Fusion with Partial LinearizationAnke Tang, Li Shen, Yong Luo, Yibing Zhan 等ICLR 2024 · 63 次引用
它引用的 Paper8
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Fast Model Editing at ScaleEric Mitchell, Charles Lin, Antoine Bosselut, Chelsea Finn 等ICLR 2022 · 527 次引用
- Leap-Of-Thought: Teaching Pre-Trained Models to Systematically Reason Over Implicit KnowledgeAlon Talmor, Oyvind Tafjord, Peter Clark, Yoav Goldberg 等NeurIPS 2020 · 119 次引用
- Meta-Learning Requires Meta-AugmentationJanarthanan Rajendran, Alexander Irpan, Eric JangNeurIPS 2020 · 111 次引用
- Improving Intrinsic Exploration with Language AbstractionsJesse Mu, Victor Zhong, Roberta Raileanu, Minqi Jiang 等NeurIPS 2022 · 81 次引用
相关 Paper
- Adaptive Testing and Debugging of NLP ModelsMarco Túlio Ribeiro, Scott M. LundbergACL 2022 · 99 次引用
- Learning to Update Natural Language Comments Based on Code ChangesSheena Panthaplackel, Pengyu Nie, Milos Gligoric, Junyi Jessy Li 等ACL 2020 · 1 次引用
- Speak to your Parser: Interactive Text-to-SQL with Natural Language FeedbackAhmed Elgohary, Saghar Hosseini, Ahmed Hassan AwadallahACL 2020 · 13 次引用
- Can Large Language Models Transform Natural Language Intent into Formal Method Postconditions?Madeline Endres, Sarah Fakhoury, Saikat Chakraborty, Shuvendu K. LahiriFSE 2024 · 27 次引用
- INTERVENOR: Prompting the Coding Ability of Large Language Models with the Interactive Chain of RepairHanbin Wang, Zhenghao Liu, Shuo Wang, Ganqu Cui 等ACL Findings 2024 · 14 次引用
