rasmus-aau commited on
Commit
a6fb60e
·
verified ·
1 Parent(s): 359963d

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +94 -0
README.md CHANGED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - financial NLP
4
+ - named entity recognition
5
+ - sequence labeling
6
+ - structured extraction
7
+ - hierarchical taxonomy
8
+ - XBRL
9
+ task_categories:
10
+ - token-classification
11
+ - text-classification
12
+ - structured-data-extraction
13
+ task_ids:
14
+ - named-entity-recognition
15
+ - financial-information-extraction
16
+ pretty_name: "HiFi-KPI: Hierarchical Financial KPI Extraction"
17
+ dataset_name: "HiFi-KPI"
18
+ size_categories: "1M<n<10M"
19
+ language:
20
+ - en
21
+ ---
22
+
23
+ # HiFi-KPI: Hierarchical Financial KPI Extraction
24
+
25
+ ## Dataset Summary
26
+ HiFi-KPI is a large-scale dataset designed for financial numerical key performance indicator (KPI) extraction from earnings filings. It is derived from iXBRL filings mandated by the SEC, featuring hierarchical labels structured from the XBRL taxonomy. The dataset consists of **∼1.8M paragraphs** and **∼5M entities**, each linked to labels in the iXBRL calculation and presentation taxonomies.
27
+ ## Languages
28
+ The dataset is in **English**, extracted from SEC 10-K and 10-Q filings.
29
+
30
+ ## Dataset Structure
31
+ ### Data Fields
32
+ Each entry in HiFi-KPI includes the following fields:
33
+ - **form_type**: "10-K" or "10-Q"
34
+ - **accession_number**: Unique filing identifier
35
+ - **filing_date**: Timestamp of the filing
36
+ - **quarter_ending**: Fiscal quarter end date
37
+ - **company_name**: Name of the reporting entity
38
+ - **text**: Extracted paragraph from the filing
39
+ - **entities** (list of extracted entities):
40
+ - **start_character** / **end_character**: Position of the entity in the text
41
+ - **label**: iXBRL-based tag (e.g., `us-gaap:Revenues`)
42
+ - **start_date_for_period** / **end_date_for_period**: Time period of the financial figure
43
+ - **currency/unit**: Currency (e.g., USD, EUR)
44
+ - **value**: Extracted numerical figure
45
+
46
+ ### Dataset Statistics
47
+ | Split | # Paragraphs | # Entities |
48
+ |--------|------------|------------|
49
+ | Train | 1.43M | 4.04M |
50
+ | Dev | 162K | 468K |
51
+ | Test | 179K | 491K |
52
+
53
+ ## Data Splits
54
+ - **HiFi-KPI (full dataset)**: Includes all extracted entities see github for an example in how to get granular labels [GitHub Repository](https://github.com/rasmus393/HiFi-KPI)
55
+ In the dataset there is also calculationMasterTaxonomy.json and presentationMasterTaxonomy.json that describes the master hiearchy for the presentation and calculation layer
56
+
57
+ ## Baselines and Benchmarks
58
+ We establish baselines using:
59
+ - **Text Classification**: fine-tuning **all-MiniLM-L6-v2** to classify entity labels from text snippets.
60
+ - **Sequence Labeling**: fine-tuning **BERT (bert-base-uncased)** with a token classification head.
61
+ ### Text Classification Performance Across Hierarchical Collapsing Levels
62
+ | Collapsed Levels | Unique Labels | Validation Accuracy | Validation F1 (macro) | Test Accuracy | Test F1 (macro) |
63
+ |-----------------|--------------|--------------------|--------------------|--------------|--------------|
64
+ | 3 | 2241 | 0.5467 | 0.0232 | 0.5156 | 0.0207 |
65
+ | 6 | 1326 | 0.5956 | 0.0494 | 0.5575 | 0.0400 |
66
+ | 10 | 1266 | 0.6321 | 0.0249 | 0.5984 | 0.0194 |
67
+
68
+ ### Macro F1 Performance on 1000 Most Common Labels
69
+ | Model | Macro F1 |
70
+ |---------------------------------------------|----------|
71
+ | 1000 Most Common (n=0) | 0.7182 |
72
+ | Calculation (1000 Most Common) (SL) | 0.7121 |
73
+ | Presentation (1000 Most Common) (SL) | 0.7124 |
74
+
75
+ ## Uses and Applications
76
+ HiFi-KPI can be used for:
77
+ - **Financial Information Extraction**: Extracting key financial metrics for downstream applications.
78
+ - **XBRL-based Entity Mapping**: Linking textual content to structured financial labels.
79
+ - **Document Understanding**: Training models to interpret financial data.
80
+
81
+ ## Citation
82
+ If you use HiFi-KPI in your research, please cite:
83
+ ```
84
+ @article{aavang2025hifi,
85
+ title={HiFi-KPI: A Dataset for Hierarchical KPI Extraction from Earnings Filings},
86
+ author={Rasmus Aavang and Giovanni Rizzi and Rasmus Bøggild and Alexandre Iolov and Mike Zhang and Johannes Bjerva}
87
+ year={2025}
88
+ }
89
+ ```
90
+
91
+ ## Access
92
+ More info is avalible at
93
+ [GitHub Repository](https://github.com/rasmus393/HiFi-KPI)
94
+