Talk to our team
Menu

LEDGER: A Long-Context Benchmark of Corporate Annual Reports for Grounded Financial Retrieval and Extraction

Authors
  • Charles Moslonka
  • Amaury de Vitry
  • Hicham Randrianarivo
  • Arthur Garnier
  • Emmanuel Malherbe
Affiliations
  • Artefact Research Center
  • MICS, CentraleSupélec, Université Paris-Saclay
  • Ardian
Accepted at
CIKM 2026
Date
arXiv
2606.13100

Abstract

Finance reporting is a natural proving ground for large language models, and the very-long-context capabilities of recent models across all sizes make rigorous evaluation in this domain an increasingly pressing need. Yet most public financial resources reduce the task to plain-text SEC 10-K filings paired with a handful of question-answer items. We release Ledger (Long-context Evaluation of Documents for Grounded Extraction and Retrieval), a corpus of 4,999 digitized corporate annual reports - full documents with figures, tables, and narrative, not just regulatory filings. Each report is labeled with 31 consolidated financial KPIs to be extracted and linked to the market's reaction at the earnings date. From this data we derive three evaluation benchmarks spanning the difficulty spectrum: a pure page-level KPI retrieval task with TREC-style relevance judgments over 118,048 questions in natural language, a conversational "needle-in-a-haystack" single-value lookup, and a full KPI extraction task, both from long, numerically dense reports. We additionally provide human OCR-quality annotations with inter-annotator agreement and the complete extraction, validation, and scoring toolchain. We further demonstrate the dataset's research utility with a case study linking CEO-letter rhetoric to post-publication market impact. An extension to 291 French ESEF filers (1,153 reports with 24 KPIs) augments the corpus.

Cite this paper

@inproceedings{moslonka2026ledger,
  title = {LEDGER: A Long-Context Benchmark of Corporate Annual Reports for Grounded Financial Retrieval and Extraction},
  author = {Charles Moslonka and Amaury de Vitry and Hicham Randrianarivo and Arthur Garnier and Emmanuel Malherbe},
  booktitle = {ACM International Conference on Information and Knowledge Management (CIKM 2026)},
  year = {2026},
  doi = {10.1145/3799682.3840196},
  url = {https://doi.org/10.1145/3799682.3840196}
}

Introduction

Corporate reports are long and complex, yet their release triggers swift market reactions within about one hour of publication, making near-real-time automated extraction valuable for investors. Large language models (LLMs) promise to read, understand, and extract such information, especially with the rapid growth of context windows - now reaching hundreds of thousands of tokens even for small, locally hostable models. Whether models can actually ground their answers in such documents is, however, poorly measured. Most public financial resources reduce the problem to short, plain-text excerpts of U.S. SEC 10-K filings paired with a few hundred question-answer pairs [1, 2, 3]. Real financial analysis instead operates over the full annual report: a long, visually dense "glossy" document interleaving narrative, statutory statements, hundreds of tables, and figures, where the same quantity ("revenue") is reported under company-specific labels, scales, and scopes.

We release Ledger, a resource built to evaluate retrieval and extraction on exactly these documents. We start from 4,999 OCR'd annual reports and label them with ground-truth KPIs, natural language questions and corresponding page-level relevance. The resource is organized as a difficulty spectrum-from locating a page, to extracting one value, to extracting an entire financial statement-and ships with the complete toolchain used to build and score it. Our contributions are:

A corpus of labeled reports: reports of 738 companies over fiscal years 2009-2024, with

31 consolidated KPIs for each and market data aligned with their earning date. Each of the 118,048 KPI labels comes with a natural language question, and page-level relevancy labels (Section 3).

Three benchmarks with baselines: page-level KPI retrieval (TREC qrels), single-value conversational "needle-in-a-haystack" lookup, and full multi-KPI extraction, with sparse/learned-sparse IR and four open-weight LLM baselines (Section 4).

A research-utility case study linking CEO-letter rhetoric to earnings per share surprise and post-publication market impact (Section 5).

Open release under the MIT license for the code and Creative Commons Attribution 4.0 for the data, with a permanent DOI and the full extraction/validation toolchain.

Related resources

Finance is a core LLM target (e.g., BloombergGPT [4]). Numerical reasoning benchmarks FinQA [1], ConvFinQA [5] and TAT-QA [2] use short snippets, FinanceBench [3] 10-K open-book QA and DocFinQA [6] document-scale; work on structure for financial RAG [7] and ViDoRe [8] motivates page retrieval over rendered PDFs. Ledger differs along four axes simultaneously: (i) it covers full annual reports—not just 10-K text—including the glossy front matter, figures, and CEO letters that 10-Ks omit; (ii) documents are genuinely long-context (≈126 k tokens, median 124 pages); (iii) it provides authoritative numeric labeling at scale, with ≈30 KPIs per company-year reconciled against SEC XBRL filings rather than crowd answers; and (iv) it couples the documents to a market-reaction signal, enabling downstream financial-research tasks. The whole resource is openly licensed and accompanied by a datasheet [9] and FAIR-compliant [10] metadata.

The Ledger corpus

Figure 1 provides an overview of the pipeline from PDFs to OCR, KPI waterfall, question/qrels creation and benchmarks.

Financial Reports and OCR

Page Split --> marker, tables are rendered as HTML/LATEX, and per-page raster images are retained for downstream visual tasks.

Because every downstream task depends on OCR fidelity, we provide a human assessment of table-extraction quality. Fifteen annotators graded the table alignment and contents ≈1,150 extracted financial tables as ok / not_ok / uncertain through a purpose-built interface that renders each detected table next to its source page image. A 273-table subset was triple-coded to measure agreement: we observe 87.2% full agreement, 91.3% pairwise agreement, and a Fleiss’ κ of 0.81 (substantial agreement). At the table level, 81.5% of tables were graded as correctly aligned, giving a concrete, auditable estimate of OCR table fidelity that downstream users can condition on. Overall, number extraction is nearly perfect; layout alignments can be suboptimal for complex tables (18.5% misaligned), but our validation pilot shows digit errors are rare and scoring is numeric, so misalignment affects layout, not the presence of the value.

Yahoo

KPI labeling

We attach consolidated KPIs to every company-year report, organized across the three financial statements: (i) income – revenue, cost of revenue, gross profit, R&D, SG&A, operating income, interest expense, income-tax expense, net income, basic and diluted EPS; (ii) balance sheet – total assets, total liabilities, stockholders’ equity and its incl.-NCI variant, cash & equivalents and its incl.-restricted variant, long-term debt at three scopes, short-term borrowings, inventory, receivables, payables, shares outstanding; and (iii) cash flow – operating, investing, financing flows, capex, depreciation & amortization, dividends paid. EBITDA is deliberately excluded: it is reporting-standard dependent and derivable from the released components. Values are routed through a three-tier source waterfall: SEC EDGAR companyfacts XBRL for U.S. listings, Yahoo!Finance API (through the yfinance python package) as a fallback for non-U.S. listings, and Alpha Vantage as an opt-in gap-fill that never overwrites the first two. Most KPIs map to a single XBRL tag. When several tags exist—synonyms or different accounting scopes—we apply an ordered waterfall that selects the standard consolidated scope and keeps alternatives as separate KPIs. For example, “net income” is taken as attributable to parent shareholders, excluding non-controlling interests (NCI); the inclusive NCI figure can be ≈29% different for the same company-year. Remaining gaps are filled with audited accounting identities that sum components. Fiscal-year keying uses the filer’s labelled FY derived from period-end date (FY = year −1 if the period ends in January, else the period-end year), correctly handling 52/53-week retailers whose fiscal years end in early January. We store per-cell provenance (source, tag_used, ambiguous_tags) and document the full tag maps in the released toolchain. The result is 118,048 audited facts with per-KPI yearly coverage above 85% for the core line items.

Natural language questions and relevant pages for KPI

For every (company, year, KPI) triplet, we generated a natural-language question to simulate usage in a chat interface. To do so, we first collected alternative company names using DBpedia [13] to reproduce variability in how users phrase queries, as done in [14]. Second, we generated different variants of the question for the given KPI using Gemini 3.1 Pro [15], in the form of templates where company name and year are to be replaced. In practice, since the KPI and the company occur several times in our set of triplets, we sampled uniformly the KPI question template and company name once for every triplet.

In the context of RAG over the pages of the corresponding report, we annotated the relevant page for each query. To do so, we took the corresponding ground-truth KPI value and searched for pages containing this value, producing TREC-style relevance judgments [16]. From 118,048 questions we mine over two million candidate (query, page) pairs via unit-normalized value matching (amounts normalized to single dollars through a hierarchy of inline / line / page / document scale hints; EPS and per-share values kept in reported units) and grade each on a 0/1/2 scale (0 not relevant / 1 contextual or comparative mention / 2 primary source for the target FY) with an LLM judge (Qwen 3.6 [17]) using a documented JSON prompt that enforces unit-scaling and comparative-table year rules. A stratified manual spot-check of 60 graded pairs-balanced across grades 0/1/2, alias+value vs. value-only matches, and KPIs-by a domain expert yielded 91.6% agreement with the judge.

Market-reaction linkage

For each U.S. company-year we link the report to the market’s reaction at publication. Using EDGAR’s submissions feed we select the original 10-K (excluding amendments) whose filer-labelled FY matches and take the earliest acceptanceDateTime (UTC), classified as pre-market/intraday/afterhours in ET. We compute raw returns rℎ=(Pt−Pt+ℎ)/Pt, where Pt is the closing price on the earnings date (or prior close if pre-market) and ℎ<0 so rℎ>0 is a rise, and we define EPS Surprise as:

EPSSurprise=Reported EPS−Consensus EPS|Consensus EPS|.
Overview of Ledger corpus.
Figure 1. Overview of Ledger corpus. Center: Company & Year. Data flow: PDFs→OCR, Company & Year→KPIs (EDGAR waterfall) and Market Data, KPIs→questions (DBpedia+Gemini), pages+KPIs→relevance (regex+LLM). Colors: retrieval (yellow), conversational (blue), comprehensive (purple), sentiment (green).

Benchmarks and baselines

The resource induces three tasks of increasing difficulty over the same documents and ground-truth labels: find the page given the question, extract one KPI given the question, and extract every KPI. For the two extraction tasks (Sections 4.2–4.3) we report recall = correct / gold (non-answer counts as miss) and precision = correct / attempted (non-answers and unverifiable extras excluded), where a prediction is matched iff |pred−gold|/ max (|gold|,0.5)≤0.05% after normalizing monetary amounts to single dollars via the statement’s scale hint (EPS/per-share and share counts kept in reported units; no string normalization, numeric value only). For single-KPI, recall coincides with exact-match accuracy [18, 19]. To fit into our 4-GPU setup in a reasonable time, we run our experiments over 494 labeled reports of our corpus, with 13,519 KPI ground-truth labels in total (27.2 KPI/report). For the two first tasks, we kept 10,000 questions for which there is at least one relevant page. All reported extraction numbers use the ±0.05% tolerance.

Page-level retrieval

In a RAG scenario, we evaluated retrieval from (question, report) to relevant page (e.g., What was the revenue of Apple Inc. in 2021? → page 42 of AAPL_2021). Table 2 reports this page-level retrieval protocol, comparing lexical BM25 [20] and the learned-sparse SPLADE [21] against the multi-representation dense retriever ColBERT [22]. ColBERT consistently outperforms both BM25 and SPLADE across all metrics. This is expected because ColBERT uses token-level late interaction to compute relevance from fine-grained token-to-token alignments, rather than compressing the entire document into a single vector. Locating the right page remains difficult: ColBERT MRR 0.475 (Recall@5 0.370) vs. SPLADE 0.386 (0.272) and BM25 0.324 (0.265), confirming dense numerical pages defeat off-the-shelf retrievers (4-GPU report-level evaluation, batch 32).

Conversational long-context extraction

In a conversational chatbot scenario, we evaluated long-context extraction from (question, report) to KPI (same question as above → {"found": true, "value": 394328000000, "unit_scale": 1, "page": 42}). To do so, the model receives an entire OCR’d report (≈100 k tokens) and extracts a single specified KPI as a structured JSON object (found, value, unit_scale, page); unit_scale records the resolved scale hint (inline > line > page > document) and page cites the source page. Matching uses the ±0.05% relative-error rule defined above. Prefix caching cuts prefill by ≈21×, making full-corpus evaluation tractable on one GPU server. The left block of Table 3 reports four open-weight models: Qwen3.6-27B reaches 91.4% recall at 93.5% precision, while a model with a unit-scaling error (Nemotron) collapses to 15.0%.

Comprehensive long-context extraction

The hardest task asks a model to extract all 31 KPIs from a report in a single pass: report → all KPIs (e.g., one JSON with 31 kpi: value pairs, missing keys allowed for absent facts). We evaluated this task on ground-truth labels by recall (coverage of true facts) and precision (correctness of emitted facts). The right block of Table 3 shows that single-value extraction capability does not transfer: Ministral, second-best at the needle task (87.9%), collapses to 41.4% recall under structured extraction, emitting many hallucinated cells; conversely Nemotron, near-useless at the needle task, recovers to 65.5% recall once schema constraints suppress its scaling error. Qwen3.6-27B is the only model strong on both, and no model exceeds 80% recall—establishing the task as an open challenge.

Case study: Market Sentiment Prediction

We study whether CEO-letter rhetoric in six price-taker industries (specialty chemicals, auto parts, packaged foods, oil & gas exploration & production, oilfield services, mortgage REITs; 2017-2022, 314 non-10-K letters) carries signal about future fundamentals and market reaction.

We train L2-regularized linear probes on frozen backbone embeddings (full-letter tokens) to predict whether r−90d or EPS Surprise (Eq. 1) falls in the top or bottom decile (10% prevalence). Table 4 reports PR-AUC (5-fold stratified CV) for the top five encoders plus baseline; several combinations land well above the 0.10 random level (e.g., 0.47 for positive EPS surprise, 0.44 for negative 90-day returns), illustrating cross-modal (text → realized financials) utility. The full ten-encoder comparison is in the repository.

Availability, license, and ethics

Availability. The corpus, KPI tables, qrels, benchmark splits, model predictions, and the complete fetch/extract/validate/score toolchain are released under MIT (code) and CC-BY-4.0 (data) licenses with permanent DOIs (https://doi.org/10.57967/hf/10107, https://doi.org/10. 57967/hf/9070). All datasets are publicly available on HuggingFace (https://huggingface.co/ collections/artefactory/ledger) and code is on GitHub (https://github.com/artefactory/ LEDGER). The release includes datasheets [9] and FAIR-compliant [10] metadata, and reuses the standard TREC qrels format so trec_eval applies directly.

Ethics and limitations. All documents are public regulatory filings and investor reports; no personal data is involved. KPI ground truth derives from official XBRL filings and third-party APIs and may contain restatements or vendor errors; we publish provenance (source and exact tag) for every value and a human OCR-quality audit (Section 3), but the data are for research and do not constitute investment advice. OCR errors in dense tables are quantified by the annotation layer. Public reports may have appeared in LLM pretraining, but our tasks require exact, page-grounded numbers with correct scale, scope and FY, which cannot be solved without the document for the small models evaluated. The corpus, KPI tables, qrels and splits are versioned and will be refreshed with additional filings and improved filtering; page-oracle and per-KPI/layout diagnostics are released as scripts for versioned analysis. The experiments benchmark is U.S.-centric and bounded to 2017-2022 for market-reaction data. We are currently extending coverage to non-English filings, starting with French ESEF reports (Table 5).

Conclusion. Ledger turns 4,999 real US annual reports and 1,153 French reports into a corpus of labeled documents and an evaluation suite spanning retrieval and conversational long-context extraction. Strong off-the-shelf systems leave clear headroom on every task, and the released toolchain lets the community extend the resource along time, industry, country, and modality axes.

Acknowledgments This work was done as part of the ArGiMi project, funded by BPIFrance under the France2030 national effort towards numerical common goods.

Next step

A problem worth researching?

Tell us what you are trying to solve, and we will put you in touch with the people who work on it.