A Graph-Based Method for Unsupervised Knowledge Discovery from Financial Texts

Joel Oksanen, Abhilash Majumder, Kumar Saunack, Francesca Toni, Arun DhondiyalLREC 2022

Abstract

This paper presents an unsupervised, end-to-end pipeline for extracting knowledge graphs from complex financial documents, such as SEC 10-K filings. By integrating standard NLP tools with domain-specific heuristics, the method generates explainable and quantifiable ESG (Environmental, Social, and Governance) scores without the need for labeled training data. The resulting knowledge graphs provide a transparent audit trail for financial analysts, addressing the critical need for explainability in regulated sectors.

Introduction

Financial analysts face a significant challenge in processing the vast amounts of unstructured data contained in regulatory filings, such as SEC 10-K reports. These documents are dense, lengthy, and critical for assessing corporate performance, particularly regarding Environmental, Social, and Governance (ESG) criteria. While automated Natural Language Processing (NLP) offers a solution, the financial industry's demand for high accuracy and strict explainability often precludes the use of "black-box" deep learning models. Furthermore, the scarcity of labeled financial datasets makes supervised learning impractical. This paper proposes a novel, fully unsupervised, graph-based pipeline that transforms unstructured text into traceable, quantifiable insights.

The Extraction Pipeline

The proposed system avoids the "cold start" problem of supervised learning by chaining together established NLP tools with domain-specific heuristics. The pipeline consists of several primary stages:

  1. Entity and Company Mapping: Using Stanza for Named Entity Recognition (NER), the system identifies organizations. A custom heuristic then maps these natural language references (e.g., "Apple") to unique identifiers (ISIN) by analyzing prefixes and common corporate suffixes like "Ltd." or "Inc."
  2. Semantic Expansion: To define the thematic scope (e.g., ESG), users provide a small set of "seed terms" with positive or negative polarities (e.g., "sustainability" vs "pollution"). Using NumberBatch word embeddings, the system identifies the 500 most semantically similar terms and assigns them polarity scores based on cosine similarity to the seed poles.
  3. Open Relation Extraction: CoreNLP is utilized for co-reference resolution and Open Information Extraction (OpenIE), extracting subject-relation-object triples from the text.
The end-to-end pipeline for unsupervised knowledge graph extraction and analysis.

Knowledge Graph Construction and Analysis

The core of the discovery process lies in the transformation of extracted triples into a structured Knowledge Graph (KG). Unlike traditional sentiment analysis which might provide a single score for a document, this graph-based approach links specific corporate entities to thematic concepts through explicit relations.

Entities and triples are aggregated into the KG. A recursive algorithm then calculates a final polarity score for each company based on its relational distance to topic nodes. Crucially, the system uses a bag-of-words approach to detect negations (e.g., "not", "deny") in the relation edges, flipping the polarity of the connection accordingly to ensure accuracy.

Detail of the Knowledge Graph construction and subsequent polarity analysis steps.

Experimental Results and Validation

The pipeline was evaluated using 10-K filings for S&P 500 companies from 2016 to 2021. The system successfully generated ESG scores for 358 companies, filtering out those with fewer than 15 extracted facts to ensure statistical relevance.

Validation against MSCI ESG ratings—a gold-standard benchmark—revealed a positive correlation, particularly in sectors with standardized reporting like real estate. The generated scores tended to be positive (peaking around 7.5 on a scaled metric), reflecting the inherent self-reporting bias in SEC filings where companies emphasize achievements and downplay failures.

Discussion and Conclusion

The primary advantage of this method is its inherent explainability. By outputting a legible knowledge graph rather than a dense vector or a black-box prediction, the system allows analysts to trace exactly why a company received a specific score. If a company scores highly in sustainability, the analyst can view the exact extracted sentence linking the company to "renewable energy."

While the system is currently limited by the self-reported nature of 10-Ks and a lack of numerical magnitude reasoning (e.g., treating all dollar amounts equally), it demonstrates that unsupervised KG construction is a viable and transparent alternative to black-box models in finance. Future work will focus on integrating third-party news sources and numerical reasoning to provide a more neutral, balanced view of corporate performance.

Summary updated

BibTeX
@inproceedings{oksanen2022graph,
  author = {Joel Oksanen and Abhilash Majumder and Kumar Saunack and Francesca Toni and Arun Dhondiyal},
  title = {{A Graph-Based Method for Unsupervised Knowledge Discovery from Financial Texts}},
  booktitle = {LREC},
  year = {2022},
}
Figure