Locate-then-edit for Multi-hop Factual Recall under Knowledge Editing
Zhang, Zhuoran, Li, Yongxiang, Kan, Zijian, Cheng, Keyuan, Hu, Lijie, Wang, Di
–arXiv.org Artificial Intelligence
The locate-then-edit paradigm has shown significant promise for knowledge editing (KE) in Large Language Models (LLMs). While previous methods perform well on single-hop fact recall tasks, they consistently struggle with multi-hop factual recall tasks involving newly edited knowledge. In this paper, leveraging tools in mechanistic interpretability, we first identify that in multi-hop tasks, LLMs tend to retrieve implicit subject knowledge from deeper MLP layers, unlike single-hop tasks, which rely on earlier layers. This distinction explains the poor performance of current methods in multi-hop queries, as they primarily focus on editing shallow layers, leaving deeper layers unchanged. To address this, we propose IFMET, a novel locate-then-edit KE approach designed to edit both shallow and deep MLP layers. IFMET employs multi-hop editing prompts and supplementary sets to locate and modify knowledge across different reasoning stages. Experimental results demonstrate that IFMET significantly improves performance on multi-hop factual recall tasks, effectively overcoming the limitations of previous locate-then-edit methods.
arXiv.org Artificial Intelligence
Oct-18-2024
- Country:
- South America > Colombia
- Meta Department > Villavicencio (0.04)
- North America
- Dominican Republic (0.04)
- United States
- District of Columbia > Washington (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Canada
- Ontario > Toronto (0.04)
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Europe
- Italy (0.04)
- United Kingdom (0.04)
- Hungary (0.04)
- Spain > Galicia
- Madrid (0.05)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Asia
- Africa > Rwanda
- South America > Colombia
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Automobiles & Trucks > Manufacturer (0.46)
- Government (0.46)
- Leisure & Entertainment > Games (0.46)
- Technology: