EMNLP 2024finding10 citations

LongWanjuan: Towards Systematic Measurement for Long Text Quality

Xiaoran Liu, Kai Lv, Qipeng Guo, Hang Yan, Conghui He, Xipeng Qiu, Dahua Lin

Abstract

The quality of training data is 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.

BibTeX
@inproceedings{liu-etal-2024-longwanjuan,
    title = "{L}ong{W}anjuan: Towards Systematic Measurement for Long Text Quality",
    author = "Liu, Xiaoran  and
      Lv, Kai  and
      Guo, Qipeng  and
      Yan, Hang  and
      He, Conghui  and
      Qiu, Xipeng  and
      Lin, Dahua",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2024",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-emnlp.327/",
    doi = "10.18653/v1/2024.findings-emnlp.327",
    pages = "5709--5725"
}
LongWanjuan: Towards Systematic Measurement for Long Text Quality · EMNLP 2024