LongWanjuan: Towards Systematic Measurement for Long Text Quality
Not on the map. Why?
Abstract (arXiv)
The quality of training data are crucial for enhancing the long-text capabilities of foundation models. Despite existing efforts to refine data quality through heuristic rules and evaluations based on data diversity and difficulty, there's a lack of systematic approaches specifically tailored for assessing long texts. Addressing this gap, our work systematically measures the quality of long texts by evaluating three fundamental linguistic dimensions: coherence, cohesion, and complexity. Drawing inspiration from the aforementioned three dimensions, we introduce a suite of metrics designed to evaluate the quality of long texts, encompassing both statistical and pre-trained language model-based ones. Leveraging these metrics, we present LongWanjuan, a bilingual dataset specifically tailored to enhance the training of language models for long-text tasks with over 160B tokens. In LongWanjuan, we categorize long texts into holistic, aggregated, and chaotic types, enabling a detailed analysis of long-text quality. Furthermore, we devise a data mixture recipe that strategically balances different types of long texts within LongWanjuan, leading to significant improvements in model performance on long-text tasks. The code and dataset are available at https://github.com/OpenLMLab/LongWanjuan.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 40 of its 67 references that are in the map. First posted on arXiv 21 Feb 2024.
Builds on
40 of 67 references.
References · 40
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
28 more
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 837
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 719
- 2021Deep Learning on a Data Diet: Finding Important Examples Early in Trainingcited by 529
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2023Effective Long-Context Scaling of Foundation Modelscited by 301
- 2023SemDeDup: Data-efficient learning at web-scale through semantic deduplicationcited by 295
- 2022Towards a Unified Multi-Dimensional Evaluator for Text Generationcited by 264
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2023Data-centric Artificial Intelligence: A Surveycited by 202
- 2023D4: Improving LLM Pretraining via Document De-Duplication and Diversificationcited by 146
- 2023Scaling Laws of RoPE-based Extrapolationcited by 124
- 2023D2 Pruning: Message Passing for Balancing Diversity and Difficulty in Data Pruningcited by 68
- 2020UNION: An Unreferenced Metric for Evaluating Open-ended Story Generationcited by 60
- 2016Automatic Text Scoring Using Neural Networkscited by 51
- 2023WanJuan: A Comprehensive Multimodal Dataset for Advancing English and Chinese Large Modelscited by 48
- 2023Giraffe: Adventures in Expanding Context Lengths in LLMscited by 32
- 2020N-LTP: An Open-source Neural Language Technology Platform for Chinesecited by 29
- 2022A Unified Neural Network Model for Readability Assessment with Feature Projection and Length-Balanced Losscited by 7
- 2023Distributed Marker Representation for Ambiguous Discourse Markers and Entangled Relationscited by 3
- 2018Modeling Topical Coherence in Discourse without Supervisioncited by 1
- 2023Syntactic Complexity Identification, Measurement, and Reduction Through Controlled Syntactic Simplificationcited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 7; 2026: 2.
11 papers.
- 2024Make Your LLM Fully Utilize the Contextcited by 118
- 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Qualitycited by 17
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 16
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
- 2025LongAttn: Selecting Long-context Training Data via Token-level Attentioncited by 9
- 2025Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining Datacited by 4
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMscited by 2
- 2025Training-free Context-adaptive Attention for Efficient Long Context Modelingcited by 1
- 2025Large Language Models Preserve Semantic Isotopies in Story Continuationscited by 0
- 2026FourierSampler: Unlocking Non-Autoregressive Potential in Diffusion Language Models via Frequency-Guided Generationcited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Positioncited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Position7 Oct 2026
- 2026FourierSampler: Unlocking Non-Autoregressive Potential in Diffusion Language Models via Frequency-Guided Generation30 Jan 2026
- 2025Training-free Context-adaptive Attention for Efficient Long Context Modeling10 Dec 2025
- 2025Beyond Real: Imaginary Extension of Rotary Position Embeddings for Long-Context LLMs8 Dec 2025
- 2025Beyond Length: Quantifying Long-Range Information for Long-Context LLM Pretraining Data29 Oct 2025
- 2025Large Language Models Preserve Semantic Isotopies in Story Continuations6 Oct 2025
- 2025CoheMark: A Novel Sentence-Level Watermark for Enhanced Text Quality24 Apr 2025
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modeling11 Apr 2025
- 2025LongAttn: Selecting Long-context Training Data via Token-level Attention24 Feb 2025
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scope21 Jul 2024
- 2024Make Your LLM Fully Utilize the Context25 Apr 2024