TL;DR
Automating financial data extraction from public earnings reports is notoriously difficult due to the hyper-specific, fragmented nature of regulatory tags. To solve this, the authors introduce HiFi-KPI, a massive dataset of 1.65M paragraphs that preserves crucial financial context (dates, currencies) and unifies company-specific tags into a hierarchical taxonomy. Their benchmarks reveal that while traditional encoder models excel at classifying these standardized labels, state-of-the-art LLMs still struggle to reliably extract fully structured financial records.
What Problem Does This Paper Address?
Public companies are mandated to file financial reports using inline eXtensible Business Reporting Language (iXBRL). While machine-readable, iXBRL is a double-edged sword: it contains an incredibly fine-grained, complex taxonomy (up to 198k unique labels) because companies are allowed to create custom, company-specific extensions.
This hyper-specificity destroys cross-company transferability—what Apple calls one thing, Tesla might call another, making automated financial analysis a nightmare. Furthermore, existing NLP datasets either oversimplify the problem by ignoring the long-tail labels or strip away vital contextual information like reporting periods and currencies, which are essential for making sense of financial numbers.
Methods
The authors built a pipeline to scrape and parse SEC filings (10-K and 10-Q) from 2017 to 2024, extracting text spans alongside their exact iXBRL tags, numerical values, currencies, and time periods.
To handle the chaotic variety of company-specific tags, they engineered two unified master taxonomies based on standard iXBRL structures:
- Presentation (
.pre): Dictates report layout and hierarchical business relationships. - Calculation (
.cal): Defines arithmetic relationships (e.g., $A + B = C$).
They resolved multi-parent conflicts by assigning children to their most frequent parent across all documents.
Crucially, they developed a Bottom-up Aggregation Algorithm. Instead of a top-down approach, this algorithm iteratively collapses leaf nodes into their immediate parents. This allows users to dynamically adjust the granularity of the labels, reducing sparsity while maintaining meaningful financial categories.
Finally, they applied a strict Temporal Split to prevent data leakage (forward-looking bias), ensuring models are evaluated on data from entirely future timeframes and unseen companies.
Datasets
The paper introduces two open-source datasets:
- HiFi-KPI: The full, large-scale corpus containing 1.65M paragraphs, 4.5M tagged entities, and 197,722 unique labels mapped to the unified taxonomies.
- HiFi-KPI-Lite: A highly curated subset of 8K paragraphs mapped by a senior domain expert into 5 high-level financial concepts (Earnings, EBIT, EPS, Revenues, and Out-of-Scope), designed for rapid evaluation and benchmarking.
Key Insights and Ideas
- The Power-Law of Financial Language: iXBRL labels follow a severe power-law distribution. Previous datasets only covered a tiny fraction of this space (e.g., the top 139 labels cover less than 40% of the data). HiFi-KPI captures 100% of it, forcing models to grapple with the true complexity of financial reporting.
- Presentation Beats Calculation for NLP: The Presentation (
.pre) taxonomy proved much more effective for adjusting label granularity than the Calculation (.cal) taxonomy. This is because.preis significantly deeper (depth of 21 vs. 12), allowing for smoother, more nuanced abstraction steps. - Context is Everything: Financial figures are meaningless without their temporal anchors. The dataset highlights the massive role of words like "respectively" (appearing over 650k times), proving that models must link figures to specific dates to be useful.
Key Results
- Classification & Sequence Labeling: Fine-tuned encoder models (BERT and FLANG-BERT) achieved outstanding performance on the HiFi-KPI-Lite label extraction task, reaching a macro-F1 score of 0.914 and 0.907, respectively.
- Structured LLM Extraction: State-of-the-art Large Language Models struggled significantly when tasked with extracting the full structured entity (Label + Dates + Currency + Value). The highest performing model, Qwen3-30B-A3B, only achieved an F1 score of 0.440 (Precision: 0.448, Recall: 0.433). DeepSeek-V3.1 showed a highly conservative strategy, yielding the highest precision (0.463) but lower recall.
- Qualitative Errors: Qualitative analysis showed that LLM failures were primarily driven by an inability to normalize values correctly and a fundamental misunderstanding of temporal phrases (e.g., Gemma-27B failing to understand phrases like "three months ended" and mapping the start date incorrectly).
Limitations and Future Work
- Varying Source Quality: The dataset relies on the original filings, but the SEC frequently notes that human filers make errors, such as using inconsistent labels for the same item across periods.
- Geographic and Scale Bias: The corpus is strictly built from US SEC filings, biasing it toward large, publicly traded US companies and US-GAAP standards. It may not generalize well to international standards like IFRS.
- Future Directions: The authors suggest exploring more advanced hierarchical classification methods to better exploit the taxonomy structures, and improving LLM prompt strategies or fine-tuning specifically for financial value normalization and date alignment.
Summary updated