LESS: Selecting Influential Data for Targeted Instruction Tuning

Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, Danqi Chen

arXiv:2402.04333 · 2026-07-27 공개 · arXiv · PDF

llm-training instruction-tuning few-shot-learning transfer-learning data-selection adam-optimizer low-rank gradient-similarity

Abstract

Instruction tuning has unlocked powerful capabilities in large language models (LLMs), effectively using combined datasets to develop generalpurpose chatbots. However, real-world applications often require a specialized suite of skills (e.g., reasoning). The challenge lies in identifying the most relevant data from these extensive datasets to effectively develop specific capabilities, a setting we frame as targeted instruction tuning. We propose LESS, an optimizer-aware and practically efficient algorithm to effectively estimate data influences and perform Low-rank gradiEnt Similarity Search for instruction data selection. Crucially, LESS adapts existing influence formulations to work with the Adam optimizer and variable-length instruction data. LESS first constructs a highly reusable and transferable gradient datastore with low-dimensional gradient features and then selects examples based on their similarity to few-shot examples embodying a specific capability. Experiments show that training on a LESS-selected 5% of the data can often outperform training on the full dataset across diverse downstream tasks. Furthermore, the selected data is highly transferable: smaller models can be leveraged to select useful data for larger models and models from different families. Our qualitative analysis shows that our method goes beyond surface form cues to identify data that exemplifies the necessary reasoning skills for the intended downstream application.

한국어 요약

한 줄 요약

LESS는 대규모 언어 모델의 특정 능력 향상을 위해 5%의 데이터만으로도 전체 데이터셋보다 우수한 성능을 보이는 데이터 선택 알고리즘이다.

핵심 기여도

핵심 아이디어

기존의 데이터 선택 방법은 표면적 특징(예: 언어, 주제)에 의존하는 반면, LESS는 **Low-rank Gradient Similarity Search**를 통해 특정 능력을 나타내는 **few-shot 예시와 유사한 그라디언트 패턴**을 가진 데이터를 선택한다.
이 방법은 **Adam 최적화기**와 **가변 길이 instruction 데이터**를 고려한 **optimizer-aware influence estimation**을 기반으로 하며, 기존의 SGD 기반 영향력 추정법을 확장한 것이다.
또한, **LoRA**와 **랜덤 프로젝션**을 활용해 그라디언트 정보를 저차원으로 압축하여 저장함으로써 **계산 효율성**과 **재사용성**을 동시에 달성한다.

기술적 접근법

주요 결과

의의 및 한계

LESS는 대규모 언어 모델의 특정 능력 향상을 위한 **데이터 선택의 효율성과 해석성**을 동시에 달성한 점에서 학술적·실용적 가치가 있다. 특히, **저차원 그라디언트 저장소**를 재사용함으로써 **계산 비용을 줄이고 반복적인 데이터 선택 과정을 가능**하게 한다.
하지만, **계산 비용이 높아** 실용적 적용 시 한계가 있을 수 있다. 또한, **더 많은 데이터가 오히려 성능 저하를 유발**할 수 있다는 관찰은 LLM의 학습 동역학에 대한 새로운 통찰을 제시하지만, 이는 추가 연구가 필요한 부분이다.

실용적 활용

LESS는 **대규모 언어 모델의 특정 능력 향상**을 목표로 하는 산업 현장(예: 추론, 다국어 지원)에서 유용하게 활용될 수 있다. 또한, **데이터가 제한된 상황**에서 **작은 모델로 큰 모델 훈련 데이터를 선택**하는 데 적합하며, **비용 효율적인 모델 훈련 전략**으로도 활용 가능하다.