paper-with-me

Papers

Threshold Filtering Packing for Supervised Fine-Tuning: Training Related Samples within Packs

2024-08-18 · Jiancheng Dong, Lei Jiang, Wei Jin, Lu Cheng

Packing for Supervised Fine-Tuning (SFT) in autoregressive models involves concatenating data points of varying lengths until reaching the designed maximum length to facilitate GPU processing. However, randomly concatenating data points and feeding them into an autoregressive transformer can lead to cross-contamination of sequences due to the significant difference in their subject matter. The mainstream approaches in SFT ensure that each token in the attention calculation phase only focuses on tokens within its own short sequence, without providing additional learning signals for the preceding context. To address these challenges, we introduce Threshold Filtering Packing (TFP), a method that selects samples with related context while maintaining sufficient diversity within the same pack. Our experiments show that TFP offers a simple-to-implement and scalable approach that significantly enhances SFT performance, with observed improvements of up to 7\% on GSM8K, 4\% on HumanEval, and 15\% on the adult-census-income dataset.

📄 PDF Abstract BibTeX arXiv:2408.09327

Code (0)

등록된 구현이 없습니다.

Tasks

DiversityGPUGSM8KHumanEval

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SFT Shrink and Fine-Tune, or SFT, is a type of distillation that avoids explicit distillation by copying parameters to a student student model and then fine-tuning.…

Similar Papers 제목 키워드 기반

Packing Analysis: Packing Is More Appropriate for Large Models or Datasets in Supervised Fine-tuning

2024-10-10 · Shuhe Wang, Guoyin Wang, Yizhong Wang, Jiwei Li 외

Packing, initially utilized in the pre-training phase, is an optimization technique designed to maximize hardware resource efficiency by combining different training sequences to fit the model's maximum input length. Alt…

Open-Qwen2VL: Compute-Efficient Pre-Training of Fully-Open Multimodal LLMs on Academic Resources

2025-04-01 · Weizhi Wang, Yu Tian, Linjie Yang, Heng Wang 외

The reproduction of state-of-the-art multimodal LLM pre-training faces barriers at every stage of the pipeline, including high-quality data filtering, multimodal data mixture strategies, sequence packing techniques, and …

GPULarge Language ModelMultimodal Large Language Model

Feedback-Driven Pseudo-Label Reliability Assessment: Redefining Thresholding for Semi-Supervised Semantic Segmentation

2025-05-12 · Negin Ghamsarian, Sahar Nasirihaghighi, Klaus Schoeffmann, Raphael Sznitman

Semi-supervised learning leverages unlabeled data to enhance model performance, addressing the limitations of fully supervised approaches. Among its strategies, pseudo-supervision has proven highly effective, typically r…

Pseudo LabelPseudo Label FilteringSemantic SegmentationSemi-Supervised Semantic Segmentation

Near-Policy: Accelerating On-Policy Distillation via Asynchronous Generation and Selective Packing

2026-05-07 · Miao Rang, Zhenni Bi, Hang Zhou, Kai Han 외 arxiv

Standard knowledge distillation for autoregressive models often suffers from distribution mismatch. While on-policy methods mitigate this by leveraging student-generated outputs, they rely on computationally expensive Re…

Knowledge DistillationReinforcement Learning

Preference Packing: Efficient Preference Optimization for Large Language Models

2026-02-27 · Jaekyung Cho arxiv

Resource-efficient training optimization techniques are becoming increasingly important as the size of large language models (LLMs) continues to grow. In particular, batch packing is commonly used in pre-training and sup…