Model Editing by Standard Fine-Tuning

Govind Krishnan Gangadhar, Karl Stratos


Abstract
Standard fine-tuning is considered not as effective as specialized methods for model editing due to its comparatively poor performance. However, it is simple, agnostic to the architectural details of the model being edited, and able to leverage advances in standard training techniques with no additional work (e.g., black-box PEFT for computational efficiency), making it an appealing choice for a model editor. In this work, we show that standard fine-tuning alone can yield competitive model editing performance with two minor modifications. First, we optimize the conditional likelihood rather than the full likelihood. Second, in addition to the typical practice of training on randomly paraphrased edit prompts to encourage generalization, we also train on random or similar unedited facts to encourage locality. Our experiments on the ZsRE and CounterFact datasets demonstrate that these simple modifications allow standard fine-tuning to match or outperform highly specialized editors in terms of edit score.
Anthology ID:
2024.findings-acl.352
Volume:
Findings of the Association for Computational Linguistics ACL 2024
Month:
August
Year:
2024
Address:
Bangkok, Thailand and virtual meeting
Editors:
Lun-Wei Ku, Andre Martins, Vivek Srikumar
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
5907–5913
Language:
URL:
https://aclanthology.org/2024.findings-acl.352
DOI:
Bibkey:
Cite (ACL):
Govind Krishnan Gangadhar and Karl Stratos. 2024. Model Editing by Standard Fine-Tuning. In Findings of the Association for Computational Linguistics ACL 2024, pages 5907–5913, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics.
Cite (Informal):
Model Editing by Standard Fine-Tuning (Gangadhar & Stratos, Findings 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.findings-acl.352.pdf