Skip to main content
QUICK REVIEW

[Paper Review] FinBERT-MRC: financial named entity recognition using BERT under the machine reading comprehension paradigm

Yuzhe Zhang, Hong Zhang|arXiv (Cornell University)|May 31, 2022
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes FinBERT-MRC, a financial named entity recognition model that reformulates FinNER as a machine reading comprehension (MRC) task using domain-specific BERT. By leveraging well-designed queries to inject prior knowledge and eliminate the need for CRF decoding, FinBERT-MRC achieves state-of-the-art F1 scores of 92.78% on ChFinAnn and 96.80% on AdminPunish, outperforming sequence tagging baselines by up to +3.94 percentage points.

ABSTRACT

Financial named entity recognition (FinNER) from literature is a challenging task in the field of financial text information extraction, which aims to extract a large amount of financial knowledge from unstructured texts. It is widely accepted to use sequence tagging frameworks to implement FinNER tasks. However, such sequence tagging models cannot fully take advantage of the semantic information in the texts. Instead, we formulate the FinNER task as a machine reading comprehension (MRC) problem and propose a new model termed FinBERT-MRC. This formulation introduces significant prior information by utilizing well-designed queries, and extracts start index and end index of target entities without decoding modules such as conditional random fields (CRF). We conduct experiments on a publicly available Chinese financial dataset ChFinAnn and a real-word bussiness dataset AdminPunish. FinBERT-MRC model achieves average F1 scores of 92.78% and 96.80% on the two datasets, respectively, with average F1 gains +3.94% and +0.89% over some sequence tagging models including BiLSTM-CRF, BERT-Tagger, and BERT-CRF. The source code is available at https://github.com/zyz0000/FinBERT-MRC.

Motivation & Objective

  • To address the limitations of sequence tagging models in capturing rich semantic and syntactic information in financial text.
  • To explore whether formulating FinNER as a machine reading comprehension (MRC) task can improve entity recognition performance.
  • To evaluate the effectiveness of different query construction strategies in enhancing model generalization and boundary detection.
  • To demonstrate the superiority of domain-adapted BERT (FinBERT) combined with MRC in low-resource and real-world financial text scenarios.

Proposed method

  • Formulates financial named entity recognition as a machine reading comprehension (MRC) task, where each entity type is associated with a natural language query.
  • Uses FinBERT, a BERT model pre-trained on financial corpora, as the backbone to capture domain-specific semantic representations.
  • Employs a span-prediction mechanism to predict start and end indices of entities by answering the designed queries, eliminating the need for CRF layers.
  • Explores three query construction methods: keyword-based, rule-based templates, and Wikipedia-based queries to inject prior knowledge.
  • Trains the model end-to-end using cross-entropy loss on span prediction, with input tokens and corresponding queries concatenated.
  • Evaluates robustness by varying training sample sizes, showing improved generalization under data scarcity.

Experimental results

Research questions

  • RQ1Can reformulating FinNER as a machine reading comprehension task improve performance compared to traditional sequence tagging frameworks?
  • RQ2How do different query construction strategies—keyword, rule-based, and Wikipedia-based—affect model performance on financial entity recognition?
  • RQ3Does the use of domain-specific pretraining (FinBERT) combined with MRC enhance model generalization and boundary detection in financial text?
  • RQ4How does the model perform under low-resource settings with limited training data?
  • RQ5What is the contribution of prior knowledge encoded via queries in improving F1 scores and reducing false negatives?

Key findings

  • FinBERT-MRC achieves an average F1 score of 92.78% on the ChFinAnn dataset, representing a +3.94% improvement over the BERT-Tagger baseline.
  • On the real-world AdminPunish dataset, FinBERT-MRC attains an F1 score of 96.80%, a +0.89% gain over the BERT-Tagger baseline.
  • The Wikipedia-based query construction method (MRC-Wiki) yields the best performance across all experiments, outperforming both keyword and rule-based query strategies.
  • The model demonstrates greater robustness to training data size reduction, maintaining higher performance than sequence tagging models under low-resource conditions.
  • Case studies confirm that FinBERT-MRC better captures syntactic structure and correctly identifies full entity spans, reducing boundary errors and missed entities.
  • The integration of prior knowledge via well-designed queries significantly enhances model performance, validating the effectiveness of the MRC paradigm in FinNER.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.