paper-with-me

홈 › 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, Eduard Hovy, Chen Guo

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. Although it has demonstrated effectiveness during pre-training, there remains a lack of comprehensive analysis for the supervised fine-tuning (SFT) stage on the following points: (1) whether packing can effectively enhance training efficiency while maintaining performance, (2) the suitable size of the model and dataset for fine-tuning with the packing method, and (3) whether packing unrelated or related training samples might cause the model to either excessively disregard or over-rely on the context. In this paper, we perform extensive comparisons between SFT methods using padding and packing, covering SFT datasets ranging from 69K to 1.2M and models from 8B to 70B. This provides the first comprehensive analysis of the advantages and limitations of packing versus padding, as well as practical considerations for implementing packing in various training scenarios. Our analysis covers various benchmarks, including knowledge, reasoning, and coding, as well as GPT-based evaluations, time efficiency, and other fine-tuning parameters. We also open-source our code for fine-tuning and evaluation and provide checkpoints fine-tuned on datasets of different sizes, aiming to advance future research on packing methods. Code is available at: https://github.com/ShuheWang1998/Packing-Analysis?tab=readme-ov-file.

📄 PDF Abstract BibTeX arXiv:2410.08081

Code (1)

shuhewang1998/packing-analysis 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

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 제목 키워드 기반

Dense or Sparse? Post-Packing Interconnection Analysis in FPGAs

2025-03-08 · X. Wang, D. Stroobandt

Packing is a crucial step of FPGA design, directly impacting interconnect complexity, routing congestion, and overall performance. This paper presents a post-packing interconnect-aware analysis, illustrating how dense (s…

Iterated Tabu Search Algorithm for Packing Unequal Circles in a Circle

2013-06-04 · Tao Ye, Wenqi Huang, Zhipeng Lu

This paper presents an Iterated Tabu Search algorithm (denoted by ITS-PUCC) for solving the problem of Packing Unequal Circles in a Circle. The algorithm exploits the continuous and combinatorial nature of the unequal ci…

Combinatorial Optimization

HERB: Human-augmented Efficient Reinforcement learning for Bin-packing

2025-04-23 · Gojko Perovic, Nuno Ferreira Duarte, Atabak Dehban, Gonçalo Teixeira 외 arxiv

Packing objects efficiently is a fundamental problem in logistics, warehouse automation, and robotics. When dealing with highly diverse 3D objects (household or grocery items), closed-form solutions are infeasible, and h…

Reinforcement Learning

Deliberate Planning of 3D Bin Packing on Packing Configuration Trees

2025-04-06 · Hang Zhao, Juzhan Xu, Kexiong Yu, Ruizhen Hu 외

Online 3D Bin Packing Problem (3D-BPP) has widespread applications in industrial automation. Existing methods usually solve the problem with limited resolution of spatial discretization, and/or cannot deal with complex p…

3D Bin PackingDeep Reinforcement Learning

ViPER: Vision-based Packing-Aware Encoder for Robust Malware Detection

2026-06-11 · Fatima Qaiser, Bisma Tahir, Muhammad Abid Mughal, Nauman Shamim arxiv

Visualization-based malware detection maps raw binary bytes to grayscale images and applies learned visual classifiers, providing an evasion-resistant and disassembly-free alternative to conventional analysis pipelines. …

Malware ClassificationMalware Detection