Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation,member institutions, and all contributors.Donate
arxiv logo>cs> arXiv:2406.12227
arXiv logo
Cornell University Logo

Computer Science > Artificial Intelligence

arXiv:2406.12227 (cs)
[Submitted on 18 Jun 2024 (v1), last revised 28 Nov 2024 (this version, v3)]

Title:Refine Large Language Model Fine-tuning via Instruction Vector

View PDFHTML (experimental)
Abstract:Fine-tuning large language models (LLMs) can cause them to lose their general capabilities. However, the intrinsic mechanisms behind such forgetting remain unexplored. In this paper, we begin by examining this phenomenon by focusing on knowledge understanding and instruction following, with the latter identified as the main contributor to forgetting during fine-tuning. Consequently, we propose the Instruction Vector (IV) framework to capture model representations highly related to specific instruction-following capabilities, thereby making it possible to understand model-intrinsic forgetting. Through the analysis of IV dynamics pre and post-training, we suggest that fine-tuning mostly adds specialized reasoning patterns instead of erasing previous skills, which may appear as forgetting. Building on this insight, we develop IV-guided training, which aims to preserve original computation graph, thereby mitigating catastrophic forgetting. Empirical tests on three benchmarks confirm the efficacy of this new approach, supporting the relationship between IVs and forgetting. Our code will be made available soon.
Subjects:Artificial Intelligence (cs.AI)
Cite as:arXiv:2406.12227 [cs.AI]
 (orarXiv:2406.12227v3 [cs.AI] for this version)
 https://doi.org/10.48550/arXiv.2406.12227
arXiv-issued DOI via DataCite

Submission history

From: Gangwei Jiang [view email]
[v1] Tue, 18 Jun 2024 03:05:08 UTC (9,378 KB)
[v2] Mon, 24 Jun 2024 09:29:28 UTC (732 KB)
[v3] Thu, 28 Nov 2024 18:26:28 UTC (9,360 KB)
Full-text links:

Access Paper:

Current browse context:
cs.AI
Change to browse by:
export BibTeX citation

Bookmark

BibSonomy logoReddit logo

Bibliographic and Citation Tools

Bibliographic Explorer(What is the Explorer?)
Connected Papers(What is Connected Papers?)
scite Smart Citations(What are Smart Citations?)

Code, Data and Media Associated with this Article

CatalyzeX Code Finder for Papers(What is CatalyzeX?)
Hugging Face(What is Huggingface?)
Papers with Code(What is Papers with Code?)

Demos

Hugging Face Spaces(What is Spaces?)

Recommenders and Search Tools

Influence Flower(What are Influence Flowers?)
CORE Recommender(What is CORE?)

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community?Learn more about arXivLabs.

Which authors of this paper are endorsers? |Disable MathJax (What is MathJax?)

[8]ページ先頭

©2009-2025 Movatter.jp