Towards a Holistic and Automated Evaluation Framework for Multi-Level Comprehension of LLMs in Book-Length Contexts

Jiaqi Deng, Yuho Lee, Nicole Hee-Yeon Kim, Hyangsuk Min, Taewon Yun +3 more
8/27/2025
cs.CLcs.AI

Official code: DISL-Lab/HAMLET (8 stars, last commit 2025-11-14).

Abstract

We introduce HAMLET, a holistic and automated framework for evaluating the long-context comprehension of large language models (LLMs). HAMLET structures source texts into a three-level key-fact hierarchy at root-, branch-, and leaf-levels, and employs query-focused summarization to evaluate how well models recall and faithfully represent information at each level. To validate the reliability of our fully automated pipeline, we conduct a systematic human study, showing that our automatic evaluation achieves over 90% agreement with expert human judgments, while reducing the cost by up to 25 times. HAMLET reveals that LLMs struggle with fine-grained comprehension, especially at the leaf level, and are sensitive to positional effects like the lost-in-the-middle. Analytical queries pose greater challenges than narrative ones, and consistent performance gaps emerge between open-source and proprietary models, as well as across model scales. Our code and dataset are publicly available at https://github.com/DISL-Lab/HAMLET.

View on arXivView PDF

Code Implementations(1)

DISL-Lab/HAMLETOfficial100%

Official repository for our EMNLP 2025 main conference paper - HAMLET

80PythonJul 29, 202511 months agoNOASSERTION

Similar Papers

Cite this paper

@article{deng2025towards,
  title  = {Towards a Holistic and Automated Evaluation Framework for Multi-Level Comprehension of LLMs in Book-Length Contexts},
  author = {Jiaqi Deng and Yuho Lee and Nicole Hee-Yeon Kim and Hyangsuk Min and Taewon Yun and Minjeong Ban and Kim Yul and Hwanjun Song},
  year   = {2025},
  eprint = {2508.19578},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.19578v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.19578.svg)](https://codeofpaper.com/paper/2508.19578)

Discussion