몇 주에서 몇 시간으로: 추론 LLM을 위한 빠르고 원리에 기반한 SFT 데이터 생성
From Weeks to Hours: Fast and Principled SFT Data Generation for Reasoning LLMs
한국어 초록
추론 지향 사후 학습은 대규모 언어 모델(LLM)이 다단계 추론을 통해 복잡한 과제를 해결할 수 있게 한다. 고품질 추론 궤적에 대한 지도 미세 조정(SFT)은 특히 효율적인 접근법이지만, 그 효과는 신중한 데이터 큐레이션에 크게 좌우된다. 기존 파이프라인은 비용이 많이 드는 생성 후 필터링 방식에 의존한다. 즉, 여러 교사 모델이 긴 추론 궤적의 대규모 풀을 생성한 뒤, 추가 LLM을 사용하여 난이도와 다양성을 기준으로 필터링하며, 이는 종종 몇 주의 연산을 필요로 한다. 본 연구에서는 추론 데이터의 품질을 직접 예측함으로써 이 파이프라인을 우회하는 근본적으로 다른 접근법인 SFTProbe를 제안한다. 우리는 짧은 LoRA 기반 적응과 각 추론 궤적의 5%에 대한 손실 평가만으로 난이도와 다양성을 모두 추정하기에 충분함을 보인다. SFTProbe는 사전학습된 LLM이 저차원의 비등방성 손실 분지에 놓여 있다는 사후 학습의 기하학적 관점에 기반한다. 저차원 섭동을 통해 이 분지를 탐색함으로써, 클러스터링이 다양성을 포착하는 간결한 손실 시그니처를 구성하며, 곡률 변곡점에서의 손실은 난이도에 대한 견고한 대리 지표를 제공한다. 또한 교사 선택을 위한 간단한 기준을 제시한다. 실험적으로 우리의 접근법은 성능을 유지하거나 개선하면서 데이터 큐레이션 시간을 몇 주에서 몇 시간으로 줄인다. 놀랍게도 수학 추론에서 생성된 5k개 예제는 OpenThoughts-Math 데이터셋의 고도로 필터링된 89k개 예제와 대등하며, 생성된 7.5k개 예제는 정확도에서 이를 2.5% 앞선다. 우리는 추가로 고품질 물리 추론 데이터셋을 소개하고, 이를 사용해 IPhO 2025 은메달 수상 모델을 능가하는 모델을 학습시킨다. 코드와 데이터셋은 https://bigml-cs-ucla.github.io/SFTProbe-page/ 에서 공개되어 있다.
원문 초록
Reasoning-oriented post-training enables large language models (LLMs) to solve complex tasks via multi-step inference. Supervised fine-tuning (SFT) on high-quality reasoning traces is a particularly efficient approach, but its effectiveness depends critically on careful data curation. Existing pipelines rely on a costly generate-then-filter paradigm: large pools of long reasoning traces are produced by multiple teacher models and subsequently filtered for difficulty and diversity using additional LLMs, often requiring weeks of computation. In this work, we propose SFTProbe, a fundamentally different approach that bypasses this pipeline by directly predicting the quality of reasoning data. We show that a brief LoRA-based adaptation, combined with evaluating loss on only 5% of each reasoning trace, suffices to estimate both difficulty and diversity. SFTProbe is grounded in a geometric view of post-training, where pretrained LLMs lie in a low-rank, anisotropic loss basin. By probing this basin via low-rank perturbations, we construct compact loss signatures whose clustering captures diversity, while loss at curvature inflection points provides a robust proxy for difficulty. We also provide a simple criterion for teacher selection. Empirically, our approach reduces data curation time from weeks to hours while maintaining or improving performance. Remarkably, on mathematical reasoning, 5k generated examples match the highly filtered 89k-example in OpenThoughts-Math dataset, and 7.5k generated examples outperforms it by 2.5% in accuracy. We further introduce a high-quality physics reasoning dataset, and use it to train a model that outperforms an IPhO 2025 silver-medal-winning model. The code and the dataset are released at https://bigml-cs-ucla.github.io/SFTProbe-page/.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.00554v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.