Research map / Architectures and efficiency / Attention and transformers
Training Long-Context LLMs Efficiently via Chunk-wise Optimization
Wenhao Li, Yuxin Zhang, Gen Luo, Daohai Yu, Rongrong Ji
Xiamen University · Shanghai AI Laboratory
Read the paperPlace an idea next to itCheck your own paper ↗
9measured effects
5improved
4no clear effect
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| chunk-wise gradient checkpointing (SeCO) | Llama-3-8B LoRA on RTX 3090 · max trainable sequence length | tokens: 1K -> 16K | Improved |
| replace SeCO with SpaCO sparse backprop (t=8) | Llama-3-8B LoRA on RTX 3090 · training speed | training time: up to 3x faster than SeCO | Improved |
| SeCO instead of exact naive parallel training | Llama-3-8B LoRA · PG19 loss, LR 1e-3 | training loss: 2.13 -> 2.15 | No clear effect |
| SeCO instead of exact baseline at LR 1e-4 | Llama-3-8B LoRA · PG19 loss | training loss: 2.52 -> 2.53 | No clear effect |
| SpaCO with sparsity ratio 1/8 instead of exact gradients | Llama-3-8B LoRA · language modeling loss | loss increase: increase of less than 0.1 | No clear effect |
| SeCO instead of ZeRO3 offload | Llama-3-8B LoRA · training speed | time: SeCO ~30% overhead vs ~10x slower for ZeRO3 offload | Improved |
| SeCO and SpaCO instead of standard gradient checkpointing | Llama-3-8B LoRA · memory | peak memory: more than 4x reduction | Improved |
| add compensation factor k/t with cap of 2 (ablation) | SpaCO · unbiasedness and stability | training result | Improved |
| increase chunk size beyond 128 (ablation) | SeCO · training time | time | No clear effect |
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- Efficient Long Context Fine-tuning with Chunk Flow (ICML 2025 · similarity 0.93)
- Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculum (NeurIPS 2024 · similarity 0.91)
- Training-Free Long-Context Scaling of Large Language Models (ICML 2024 · similarity 0.91)
- A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts (ICLR 2025 · similarity 0.90)
- InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memory (NeurIPS 2024 · similarity 0.90)
- Pruning Large Language Models with Semi-Structural Adaptive Sparse Training (AAAI 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.