mlsanityData to 7 Oct 2026

Flora: Effortless Context Construction to Arbitrary Length and Scale

arXiv 2507.19786 ↗First posted 26 Jul 2025cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Effectively handling long contexts is challenging for Large Language Models (LLMs) due to the rarity of long texts, high computational demands, and substantial forgetting of short-context abilities. Recent approaches have attempted to construct long contexts for instruction tuning, but these methods often require LLMs or human interventions, which are both costly and limited in length and diversity. Also, the drop in short-context performances of present long-context LLMs remains significant. In this paper, we introduce Flora, an effortless (human/LLM-free) long-context construction strategy. Flora can markedly enhance the long-context performance of LLMs by arbitrarily assembling short instructions based on categories and instructing LLMs to generate responses based on long-context meta-instructions. This enables Flora to produce contexts of arbitrary length and scale with rich diversity, while only slightly compromising short-context performance. Experiments on Llama3-8B-Instruct and QwQ-32B show that LLMs enhanced by Flora excel in three long-context benchmarks while maintaining strong performances in short-context tasks. Our data-construction code is available at hrefhttps://github.com/txchen-USTC/Florahttps://github.com/txchen-USTC/Flora.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 32 of its 52 references that are in the map. First posted on arXiv 26 Jul 2025.

Builds on

32 of 52 references.

References · 32

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  9. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
  10. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  11. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  12. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
20 more
  1. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  2. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  3. 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
  4. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  5. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  6. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  7. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
  8. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
  9. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
  10. 2021Efficient Attentions for Long Document Summarizationcited by 342
  11. 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
  12. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  13. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
  14. 2024How to Train Long-Context Language Models (Effectively)cited by 141
  15. 2023Scaling Laws of RoPE-based Extrapolationcited by 124
  16. 2024Make Your LLM Fully Utilize the Contextcited by 118
  17. 2024Large Language Models Can Self-Improve in Long-context Reasoningcited by 29
  18. 2024Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystackcited by 19
  19. 2024Extending Llama-3's Context Ten-Fold Overnightcited by 15
  20. 2024LOGO -- Long cOntext aliGnment via efficient preference Optimizationcited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning
  2. 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
  3. 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation
  4. 2025LongMagpie: A Self-synthesis Method for Generating Large-scale Long-context Instructions
  5. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models
  6. 2024LongAlign: A Recipe for Long Context Alignment of Large Language Models
  7. 2026LongCrafter: Towards Diverse Long-Context Understanding via Evidence-Graph-Guided Instruction Synthesis
  8. 2024An Effective Framework to Help Large Language Models Handle Numeric-involved Long-context Tasks