F-HMTC: Detecting Financial Events for Investment Decisions Based on Neural Hierarchical Multi-Label Text Classification

Xin Liang, Dawei Cheng, Fangzhou Yang, Yifeng Luo, Weining Qian, Aoying Zhou

In the fast-paced world of quantitative finance, "events" such as policy changes, earnings reports, and macroeconomic shifts are the primary drivers of stock price volatility. Detecting these events automatically is crucial for timely investment decisions. However, financial events are inherently hierarchical. For example, an event about "Earnings Per Share" is a sub-type of "Enterprise Finance," which is a sub-type of "Corporation" events.

Traditional text classifiers often treat labels as independent "flat" categories, leading to uniform penalties for errors regardless of hierarchical proximity and poor performance on rare, fine-grained categories due to data scarcity. To address these issues, this paper introduces F-HMTC, a specialized neural framework designed to categorize financial news into complex, hierarchical event structures.

The F-HMTC Framework

F-HMTC moves beyond simple classification by accounting for the relationships between event types. The system processes diverse financial data sources—including news, research reports, and company announcements—through a pipeline that includes event detection, extraction, and inference to support investment analysis.

The overall pipeline of the F-HMTC framework, illustrating the flow from raw financial data to investment analysis and market prediction.

1. Encoding Network

The framework uses a Bidirectional Transformer (similar to BERT) to extract high-level features from Chinese financial text. It employs 12 encoding layers to capture deep semantic relationships within news articles and announcements.

2. Hierarchy-Aware Optimization

The core innovation of F-HMTC lies in its optimization strategy, which incorporates structural knowledge into the learning process:

  • Hierarchical Multi-label Distance (HMD) Loss: This loss function uses penalty coefficients ($\alpha$). If the model makes a mistake but predicts a parent or a child of the correct label, the penalty is lower than if it predicts a completely unrelated category. This encourages "soft" successes that are still useful for industrial applications.
  • Recursive Regularization: To solve the data scarcity problem for specific event types, the authors use a regularization technique that encourages the parameters of a "child" category to stay close to the parameters of its "parent." This allows leaf nodes to "inherit" knowledge from the data-rich categories above them.

Experimental Evaluation

The study utilizes a high-quality, expert-annotated dataset called CN-Fin, consisting of 35,000 documents labeled across a hierarchy tree with a depth of 7 and 98 distinct event categories. F-HMTC was tested against several strong baselines, including TextCNN, HAN (Hierarchical Attention Network), and standard Transformers.

Performance comparison of F-HMTC against baseline models across various hierarchical metrics, showing significant improvements in Exact Match and HMDScore.

Key Results

  • Exact Match Accuracy: F-HMTC achieved 57.42%, outperforming the best baseline (HAN with recursive regularization) by roughly 4% and standard TextCNN by over 11%.
  • Hierarchical F-score (hF-score): F-HMTC reached 0.6876, a significant lead over the 0.6087 achieved by the strongest baseline.
  • Structural Robustness: By forcing the model's weights to respect the tree structure, the model became much more robust at identifying rare, fine-grained events that would otherwise be ignored.

Conclusion

F-HMTC demonstrates that incorporating hierarchical structural knowledge into neural networks significantly improves the accuracy and utility of financial event detection. By prioritizing "near-miss" predictions and leveraging recursive regularization to combat data scarcity, the framework provides a more robust tool for event-driven investment strategies. Future work may explore dynamic hierarchies and multi-lingual datasets to further generalize these findings.

Summary updated

BibTeX
@inproceedings{liang2020f,
  author = {Xin Liang and Dawei Cheng and Fangzhou Yang and Yifeng Luo and Weining Qian and Aoying Zhou},
  title = {{F-HMTC: Detecting Financial Events for Investment Decisions Based on Neural Hierarchical Multi-Label Text Classification}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/619},
}
Figure