paper-with-me

홈 › Papers

Breaking the Stage Barrier: A Novel Single-Stage Approach to Long Context Extension for Large Language Models

2024-12-10 · Haoran Lian, Junmin Chen, Wei Huang, Yizhe Xiong, Wenping Hu, Guiguang Ding, Hui Chen, Jianwei Niu, Zijia Lin, Fuzheng Zhang, Di Zhang

Recently, Large language models (LLMs) have revolutionized Natural Language Processing (NLP). Pretrained LLMs, due to limited training context size, struggle with handling long token sequences, limiting their performance on various downstream tasks. Current solutions toward long context modeling often employ multi-stage continual pertaining, which progressively increases the effective context length through several continual pretraining stages. However, those approaches require extensive manual tuning and human expertise. In this paper, we introduce a novel single-stage continual pretraining method, Head-Adaptive Rotary Position Encoding (HARPE), to equip LLMs with long context modeling capabilities while simplifying the training process. Our HARPE leverages different Rotary Position Encoding (RoPE) base frequency values across different attention heads and directly trains LLMs on the target context length. Extensive experiments on 4 language modeling benchmarks, including the latest RULER benchmark, demonstrate that HARPE excels in understanding and integrating long-context tasks with single-stage training, matching and even outperforming existing multi-stage methods. Our results highlight that HARPE successfully breaks the stage barrier for training LLMs with long context modeling capabilities.

📄 PDF Abstract BibTeX arXiv:2412.07171

Code (0)

등록된 구현이 없습니다.

Tasks

Continual PretrainingLanguage ModelingLanguage ModellingPosition

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 설명 없음
BASE 설명 없음

Similar Papers 제목 키워드 기반

JAMPI: efficient matrix multiplication in Spark using Barrier Execution Mode

2020-06-27 · Tamas Foldi, Chris von Csefalvay, Nicolas A. Perez

The new barrier mode in Apache Spark allows embedding distributed deep learning training as a Spark stage to simplify the distributed training workflow. In Spark, a task in a stage does not depend on any other tasks in t…

Solving Hierarchical Information-Sharing Dec-POMDPs: An Extensive-Form Game Approach

2024-02-05 · Johan Peralez, Aurélien Delage, Olivier Buffet, Jilles S. Dibangoye

A recent theory shows that a multi-player decentralized partially observable Markov decision process can be transformed into an equivalent single-player game, enabling the application of \citeauthor{bellman}'s principle …

FormManagement

IceBreaker for Conversational Agents: Breaking the First-Message Barrier with Personalized Starters

2026-04-20 · Hongwei Zheng, Weiqi Wu, Zhengjia Wang, Guanyu Jiang 외 arxiv

Conversational agents, such as ChatGPT and Doubao, have become essential daily assistants for billions of users. To further enhance engagement, these systems are evolving from passive responders to proactive companions. …

SAM 3D: 3Dfy Anything in Images

2025-11-20 · SAM 3D Team, Xingyu Chen, Fu-Jen Chu, Pierre Gleize 외 arxiv

We present SAM 3D, a generative model for visually grounded 3D object reconstruction, predicting geometry, texture, and layout from a single image. SAM 3D excels in natural images, where occlusion and scene clutter are c…

3D Object Reconstruction3D Reconstruction

Sonny: Breaking the Compute Wall in Medium-Range Weather Forecasting

2026-03-22 · Minjong Cheon arxiv

Weather forecasting is a fundamental problem for protecting lives and infrastructure from high-impact atmospheric events. Recently, data-driven weather forecasting methods based on deep learning have demonstrated strong …

Weather Forecasting