paper-with-me

홈 › Papers

Fewer Truncations Improve Language Modeling

2024-04-16 · Hantian Ding, Zijian Wang, Giovanni Paolini, Varun Kumar, Anoop Deoras, Dan Roth, Stefano Soatto

In large language model training, input documents are typically concatenated together and then split into sequences of equal length to avoid padding tokens. Despite its efficiency, the concatenation approach compromises data integrity -- it inevitably breaks many documents into incomplete pieces, leading to excessive truncations that hinder the model from learning to compose logically coherent and factually consistent content that is grounded on the complete context. To address the issue, we propose Best-fit Packing, a scalable and efficient method that packs documents into training sequences through length-aware combinatorial optimization. Our method completely eliminates unnecessary truncations while retaining the same training efficiency as concatenation. Empirical results from both text and code pre-training show that our method achieves superior performance (e.g., relatively +4.7% on reading comprehension; +16.8% in context following; and +9.2% on program synthesis), and reduces closed-domain hallucination effectively by up to 58.3%.

📄 PDF Abstract BibTeX arXiv:2404.10830

Code (0)

등록된 구현이 없습니다.

Tasks

Combinatorial OptimizationHallucinationLanguage ModelingLanguage ModellingLarge Language ModelProgram SynthesisReading Comprehension

Similar Papers 제목 키워드 기반

TruncFormer: Private LLM Inference Using Only Truncations

2024-12-02 · Patrick Yubeaton, Jianqiao Cambridge Mo, Karthik Garimella, Nandan Kumar Jha 외

Private inference (PI) serves an important role in guaranteeing the privacy of user data when interfacing with proprietary machine learning models such as LLMs. However, PI remains practically intractable due to the mass…

Semantics-aware Test-time Adaptation for 3D Human Pose Estimation

2025-02-15 · Qiuxia Lin, Rongyu Chen, Kerui Gu, Angela Yao

This work highlights a semantics misalignment in 3D human pose estimation. For the task of test-time adaptation, the misalignment manifests as overly smoothed and unguided predictions. The smoothing settles predictions t…

3D human pose and shape estimation3D Human Pose Estimation3D Pose Estimationmotion prediction+4

Omni-Scene: Omni-Gaussian Representation for Ego-Centric Sparse-View Scene Reconstruction

2024-12-09 · CVPR 2025 1 · Dongxu Wei, Zhiqi Li, Peidong Liu

Prior works employing pixel-based Gaussian representation have demonstrated efficacy in feed-forward sparse-view reconstruction. However, such representation necessitates cross-view overlap for accurate depth estimation,…

Autonomous DrivingDepth Estimation

Understanding and correcting pathologies in the training of learned optimizers

2018-10-24 · Luke Metz, Niru Maheswaranathan, Jeremy Nixon, C. Daniel Freeman 외

Deep learning has shown that learned functions can dramatically outperform hand-designed functions on perceptual tasks. Analogously, this suggests that learned optimizers may similarly outperform current hand-designed op…

Pyramidal Recurrent Unit for Language Modeling

2018-08-27 · EMNLP 2018 10 · Sachin Mehta, Rik Koncel-Kedziorski, Mohammad Rastegari, Hannaneh Hajishirzi

LSTMs are powerful tools for modeling contextual information, as evidenced by their success at the task of language modeling. However, modeling contexts in very high dimensional space can lead to poor generalizability. W…

Language ModelingLanguage Modelling