paper-with-me

홈 › Papers

Beyond Next Token Prediction: Patch-Level Training for Large Language Models

2024-07-17 · Chenze Shao, Fandong Meng, Jie zhou

The prohibitive training costs of Large Language Models (LLMs) have emerged as a significant bottleneck in the development of next-generation LLMs. In this paper, we show that it is possible to significantly reduce the training costs of LLMs without sacrificing their performance. Specifically, we introduce patch-level training for LLMs, in which multiple tokens are aggregated into a unit of higher information density, referred to as a `patch', to serve as the fundamental text unit for training LLMs. During patch-level training, we feed the language model shorter sequences of patches and train it to predict the next patch, thereby processing the majority of the training data at a significantly reduced cost. Following this, the model continues token-level training on the remaining training data to align with the inference mode. Experiments on a diverse range of models (370M-2.7B parameters) demonstrate that patch-level training can reduce the overall training costs to 0.5$\times$, without compromising the model performance compared to token-level training. Source code: https://github.com/shaochenze/PatchTrain.

📄 PDF Abstract BibTeX arXiv:2407.12665

Code (1)

shaochenze/patchtrain 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Beyond Next-Token: Next-X Prediction for Autoregressive Visual Generation

2025-02-27 · Sucheng Ren, Qihang Yu, Ju He, Xiaohui Shen 외

Autoregressive (AR) modeling, known for its next-token prediction paradigm, underpins state-of-the-art language and visual generative models. Traditionally, a ``token'' is treated as the smallest prediction unit, often a…

Image Generationtoken-classificationToken Classification

Next Patch Prediction for Autoregressive Visual Generation

2024-12-19 · Yatian Pang, Peng Jin, Shuo Yang, Bin Lin 외

Autoregressive models, built based on the Next Token Prediction (NTP) paradigm, show great potential in developing a unified framework that integrates both language and vision tasks. In this work, we rethink the NTP for …

Image GenerationPrediction

Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models

2026-05-10 · Lin Zheng, Vasilisa Bashlovkina, Timothy Dozat, Dan Garrette 외 arxiv

Tokenizer-free language models eliminate the tokenizer step of the language modeling pipeline by operating directly on bytes; patch-based variants further aggregate contiguous byte spans into patches for efficiency. Howe…

Beyond ViT Tokens: Masked-Diffusion Pretrained Convolutional Pathology Foundation Model for Cell-Level Dense Prediction

2026-05-08 · Weiming Chen, Xitong Ling, Zhenyang Cai, Xidong Wang 외 arxiv

Cell-level dense prediction is central to computational pathology, but remains challenging due to fine-grained histological structures, strong domain shifts, and costly dense annotations. Existing ViT-based pathology fou…

Representation Learning

Information Flow Routes: Automatically Interpreting Language Models at Scale

2024-02-27 · Javier Ferrando, Elena Voita

Information flows by routes inside the network via mechanisms implemented in the model. These routes can be represented as graphs where nodes correspond to token representations and edges to operations inside the network…