FiNER: Financial Numeric Entity Recognition for XBRL Tagging
Lefteris Loukas, Manos Fergadiotis, Ilias Chalkidis, Eirini Spyropoulou, Prodromos Malakasiotis, Ion Androutsopoulos, Georgios Paliouras
TL;DR
FiNER-139 introduces a real-world XBRL tagging task and releases a large corpus of 1.1M sentences annotated with 139 numeric-focused XBRL tags. The study analyzes baseline architectures and reveals that heavy numeric subword fragmentation hurts BERT, motivating simple pseudo-token replacements for numbers ([num], [shape]) and domain-specific pretraining. Domain-adapted models, particularly SEC-BERT with numeric tokens, achieve the best performance, confirming the value of targeted pretraining for financial text. The work provides practical guidance for automated XBRL tagging and highlights future directions, including hierarchical classification and annotation quality controls.
Abstract
Publicly traded companies are required to submit periodic reports with eXtensive Business Reporting Language (XBRL) word-level tags. Manually tagging the reports is tedious and costly. We, therefore, introduce XBRL tagging as a new entity extraction task for the financial domain and release FiNER-139, a dataset of 1.1M sentences with gold XBRL tags. Unlike typical entity extraction datasets, FiNER-139 uses a much larger label set of 139 entity types. Most annotated tokens are numeric, with the correct tag per token depending mostly on context, rather than the token itself. We show that subword fragmentation of numeric expressions harms BERT's performance, allowing word-level BILSTMs to perform better. To improve BERT's performance, we propose two simple and effective solutions that replace numeric expressions with pseudo-tokens reflecting original token shapes and numeric magnitudes. We also experiment with FIN-BERT, an existing BERT model for the financial domain, and release our own BERT (SEC-BERT), pre-trained on financial filings, which performs best. Through data and error analysis, we finally identify possible limitations to inspire future work on XBRL tagging.
