EMNLP 2024main1 citations

Forgetting Curve: A Reliable Method for Evaluating Memorization Capability for Long-Context Models

Xinyu Liu, Runsong Zhao, Pengcheng Huang, Chunyang Xiao, Bei Li, Jingang Wang, Tong Xiao, JingBo Zhu

Abstract

Numerous recent works target to extend effective context length for language models and various methods, tasks and benchmarks exist to measure model’s effective memory length. However, through thorough investigations, we find limitations for currently existing evaluations on model’s memory. We provide an extensive survey for limitations in this work and propose a new method called forgetting curve to measure the memorization capability of long-context models. We show that forgetting curve has the advantage of being robust to the tested corpus and the experimental settings, of not relying on prompt and can be applied to any model size. We apply our forgetting curve to a large variety of models involving both transformer and RNN/SSM based architectures. Our measurement provides empirical evidence for the effectiveness of transformer extension techniques while raises questions for the effective length of RNN/SSM based models. We also examine the difference between our measurement and existing benchmarks as well as popular metrics for various models.

BibTeX
@inproceedings{liu-etal-2024-forgetting,
    title = "Forgetting Curve: A Reliable Method for Evaluating Memorization Capability for Long-Context Models",
    author = "Liu, Xinyu  and
      Zhao, Runsong  and
      Huang, Pengcheng  and
      Xiao, Chunyang  and
      Li, Bei  and
      Wang, Jingang  and
      Xiao, Tong  and
      Zhu, JingBo",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.emnlp-main.269/",
    doi = "10.18653/v1/2024.emnlp-main.269",
    pages = "4667--4682"
}
Forgetting Curve: A Reliable Method for Evaluating Memorization Capability for Long-Context Models · EMNLP 2024