Saved in:
Bibliographic Details
Main Authors: Xiao, Jinying, Li, Ping, Nie, Jie
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.03228
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908536128143360
author Xiao, Jinying
Li, Ping
Nie, Jie
author_facet Xiao, Jinying
Li, Ping
Nie, Jie
contents Large language models have demonstrated strong performance in recent years, but the high cost of training drives the need for efficient methods to compress dataset sizes. We propose TED pruning, a method that addresses the challenge of overfitting under high pruning ratios by quantifying the model's ability to improve performance on pruned data while fitting retained data, known as Internal Generalization (IG). TED uses an optimization objective based on Internal Generalization Distance (IGD), measuring changes in IG before and after pruning to align with true generalization performance and achieve implicit regularization. The IGD optimization objective was verified to allow the model to achieve the smallest upper bound on generalization error. The impact of small mask fluctuations on IG is studied through masks and Taylor approximation, and fast estimation of IGD is enabled. In analyzing continuous training dynamics, the prior effect of IGD is validated, and a progressive pruning strategy is proposed. Experiments on image classification, natural language understanding, and large language model fine-tuning show TED achieves lossless performance with 60-70\% of the data. Upon acceptance, our code will be made publicly available.
format Preprint
id arxiv_https___arxiv_org_abs_2405_03228
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TED: Accelerate Model Training by Internal Generalization
Xiao, Jinying
Li, Ping
Nie, Jie
Machine Learning
Large language models have demonstrated strong performance in recent years, but the high cost of training drives the need for efficient methods to compress dataset sizes. We propose TED pruning, a method that addresses the challenge of overfitting under high pruning ratios by quantifying the model's ability to improve performance on pruned data while fitting retained data, known as Internal Generalization (IG). TED uses an optimization objective based on Internal Generalization Distance (IGD), measuring changes in IG before and after pruning to align with true generalization performance and achieve implicit regularization. The IGD optimization objective was verified to allow the model to achieve the smallest upper bound on generalization error. The impact of small mask fluctuations on IG is studied through masks and Taylor approximation, and fast estimation of IGD is enabled. In analyzing continuous training dynamics, the prior effect of IGD is validated, and a progressive pruning strategy is proposed. Experiments on image classification, natural language understanding, and large language model fine-tuning show TED achieves lossless performance with 60-70\% of the data. Upon acceptance, our code will be made publicly available.
title TED: Accelerate Model Training by Internal Generalization
topic Machine Learning
url https://arxiv.org/abs/2405.03228