IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2506.23767.html
   My bibliography  Save this paper

Explainable AI for Comprehensive Risk Assessment for Financial Reports: A Lightweight Hierarchical Transformer Network Approach

Author

Listed:
  • Xue Wen Tan
  • Stanley Kok

Abstract

Every publicly traded U.S. company files an annual 10-K report containing critical insights into financial health and risk. We propose Tiny eXplainable Risk Assessor (TinyXRA), a lightweight and explainable transformer-based model that automatically assesses company risk from these reports. Unlike prior work that relies solely on the standard deviation of excess returns (adjusted for the Fama-French model), which indiscriminately penalizes both upside and downside risk, TinyXRA incorporates skewness, kurtosis, and the Sortino ratio for more comprehensive risk assessment. We leverage TinyBERT as our encoder to efficiently process lengthy financial documents, coupled with a novel dynamic, attention-based word cloud mechanism that provides intuitive risk visualization while filtering irrelevant terms. This lightweight design ensures scalable deployment across diverse computing environments with real-time processing capabilities for thousands of financial documents which is essential for production systems with constrained computational resources. We employ triplet loss for risk quartile classification, improving over pairwise loss approaches in existing literature by capturing both the direction and magnitude of risk differences. Our TinyXRA achieves state-of-the-art predictive accuracy across seven test years on a dataset spanning 2013-2024, while providing transparent and interpretable risk assessments. We conduct comprehensive ablation studies to evaluate our contributions and assess model explanations both quantitatively by systematically removing highly attended words and sentences, and qualitatively by examining explanation coherence. The paper concludes with findings, practical implications, limitations, and future research directions. Our code is available at https://github.com/Chen-XueWen/TinyXRA.

Suggested Citation

  • Xue Wen Tan & Stanley Kok, 2025. "Explainable AI for Comprehensive Risk Assessment for Financial Reports: A Lightweight Hierarchical Transformer Network Approach," Papers 2506.23767, arXiv.org, revised Jul 2025.
  • Handle: RePEc:arx:papers:2506.23767
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2506.23767
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Eyden Samunderu & Yvonne T. Murahwa, 2021. "Return Based Risk Measures for Non-Normally Distributed Returns: An Alternative Modelling Approach," JRFM, MDPI, vol. 14(11), pages 1-48, November.
    2. I-Hsuan Ethan Chiang, 2016. "Skewness And Coskewness In Bond Returns," Journal of Financial Research, Southern Finance Association;Southwestern Finance Association, vol. 39(2), pages 145-178, June.
    3. Panayiotis Theodossiou & Christos S. Savva, 2016. "Skewness and the Relation Between Risk and Return," Management Science, INFORMS, vol. 62(6), pages 1598-1609, June.
    4. Xin Wang & Kai Zong & Cuicui Luo, 2022. "Credit risk detection based on machine learning algorithms," International Journal of Financial Services Management, Inderscience Enterprises Ltd, vol. 11(3), pages 183-189.
    5. Yi Yang & Kunpeng Zhang & Yangyang Fan, 2022. "Analyzing Firm Reports for Volatility Prediction: A Knowledge-Driven Text-Embedding Approach," INFORMS Journal on Computing, INFORMS, vol. 34(1), pages 522-540, January.
    6. Edward I. Altman, 1968. "Financial Ratios, Discriminant Analysis And The Prediction Of Corporate Bankruptcy," Journal of Finance, American Finance Association, vol. 23(4), pages 589-609, September.
    7. Dyer, Travis & Lang, Mark & Stice-Lawrence, Lorien, 2017. "The evolution of 10-K textual disclosure: Evidence from Latent Dirichlet Allocation," Journal of Accounting and Economics, Elsevier, vol. 64(2), pages 221-245.
    8. Volkan Muslu & Suresh Radhakrishnan & K. R. Subramanyam & Dongkuk Lim, 2015. "Forward-Looking MD&A Disclosures and the Information Environment," Management Science, INFORMS, vol. 61(5), pages 931-948, May.
    9. Markus K. Brunnermeier & Jonathan A. Parker & Christian Gollier, 2007. "Optimal Beliefs, Asset Prices, and the Preference for Skewed Returns," American Economic Review, American Economic Association, vol. 97(2), pages 159-165, May.
    10. Enzo Mondello, 2023. "Other Investment Characteristics," Springer Texts in Business and Economics, in: Applied Fundamentals in Finance, chapter 3, pages 63-99, Springer.
    11. Fama, Eugene F. & French, Kenneth R., 1993. "Common risk factors in the returns on stocks and bonds," Journal of Financial Economics, Elsevier, vol. 33(1), pages 3-56, February.
    12. Peter F. Christoffersen & Francis X. Diebold, 2000. "How Relevant is Volatility Forecasting for Financial Risk Management?," The Review of Economics and Statistics, MIT Press, vol. 82(1), pages 12-22, February.
    13. Gustaf Bellstam & Sanjai Bhagat & J. Anthony Cookson, 2021. "A Text-Based Analysis of Corporate Innovation," Management Science, INFORMS, vol. 67(7), pages 4004-4031, July.
    14. Ujwal Kayande & Arnaud De Bruyn & Gary L. Lilien & Arvind Rangaswamy & Gerrit H. van Bruggen, 2009. "How Incorporating Feedback Mechanisms in a DSS Affects DSS Evaluations," Information Systems Research, INFORMS, vol. 20(4), pages 527-546, December.
    15. Tsai, Ming-Feng & Wang, Chuan-Ju, 2017. "On the risk prediction and analysis of soft information in finance reports," European Journal of Operational Research, Elsevier, vol. 257(1), pages 243-250.
    16. Balakrishnan, Ramji & Qiu, Xin Ying & Srinivasan, Padmini, 2010. "On the predictive ability of narrative disclosures in annual reports," European Journal of Operational Research, Elsevier, vol. 202(3), pages 789-801, May.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Xue Wen Tan & Stanley Kok, 2024. "Explainable Risk Classification in Financial Reports," Papers 2405.01881, arXiv.org, revised Dec 2024.
    2. Kinateder, Harald & Papavassiliou, Vassilios G., 2019. "Sovereign bond return prediction with realized higher moments," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 62(C), pages 53-73.
    3. Borochin, Paul & Zhao, Yanhui, 2025. "The economic value of equity implied volatility forecasting with machine learning," Journal of Empirical Finance, Elsevier, vol. 82(C).
    4. Fengler, Matthias & Phan, Minh Tri, 2023. "A Topic Model for 10-K Management Disclosures," Economics Working Paper Series 2307, University of St. Gallen, School of Economics and Political Science.
    5. Hui, Kai Wai & Oh, Jun & She, Guoman & Yeung, P. Eric, 2025. "Contract contingencies and uncertainty: Evidence from product market contracts," Journal of Accounting and Economics, Elsevier, vol. 79(2).
    6. Lauren Stagnol, 2015. "Designing a corporate bond index on solvency criteria," EconomiX Working Papers 2015-39, University of Paris Nanterre, EconomiX.
    7. Andres, Christian & Cumming, Douglas & Karabiber, Timur & Schweizer, Denis, 2014. "Do markets anticipate capital structure decisions? — Feedback effects in equity liquidity," Journal of Corporate Finance, Elsevier, vol. 27(C), pages 133-156.
    8. Yi Yang & Kunpeng Zhang & Yangyang Fan, 2023. "sDTM: A Supervised Bayesian Deep Topic Model for Text Analytics," Information Systems Research, INFORMS, vol. 34(1), pages 137-156, March.
    9. Aissia, Dorsaf Ben, 2014. "IPO first-day returns: Skewness preference, investor sentiment and uncertainty underlying factors," Review of Financial Economics, Elsevier, vol. 23(3), pages 148-154.
    10. Mselmi, Nada & Hamza, Taher & Lahiani, Amine & Shahbaz, Muhammad, 2019. "Pricing corporate financial distress: Empirical evidence from the French stock market," Journal of International Money and Finance, Elsevier, vol. 96(C), pages 13-27.
    11. Sara Kelly Anzinger & Chinmoy Ghosh & Milena Petrova, 2017. "The Other Side of Value: The Effect of Quality on Price and Return in Real Estate," The Journal of Real Estate Finance and Economics, Springer, vol. 54(3), pages 429-457, April.
    12. John Y. Campbell & Jens Hilscher & Jan Szilagyi, 2008. "In Search of Distress Risk," Journal of Finance, American Finance Association, vol. 63(6), pages 2899-2939, December.
    13. Elizabeth Demers & Philip Joos, 2007. "IPO Failure Risk," Journal of Accounting Research, John Wiley & Sons, Ltd., vol. 45(2), pages 333-371, May.
    14. Chychyla, Roman & Leone, Andrew J. & Minutti-Meza, Miguel, 2019. "Complexity of financial reporting standards and accounting expertise," Journal of Accounting and Economics, Elsevier, vol. 67(1), pages 226-253.
    15. Dong, Gang Nathan & Gu, Ming & He, Hua, 2020. "Invisible hand and helping hand: Private placement of public equity in China," Journal of Corporate Finance, Elsevier, vol. 61(C).
    16. Lee, Kuan-Hui & Yang, Cheol-Won, 2022. "The world price of tail risk," Pacific-Basin Finance Journal, Elsevier, vol. 71(C).
    17. Langlois, Hugues, 2020. "Measuring skewness premia," Journal of Financial Economics, Elsevier, vol. 135(2), pages 399-424.
    18. Allen H. Huang & Jianghua Shen & Amy Y. Zang, 2022. "The unintended benefit of the risk factor mandate of 2005," Review of Accounting Studies, Springer, vol. 27(4), pages 1319-1355, December.
    19. Giesecke, Kay & Longstaff, Francis A. & Schaefer, Stephen & Strebulaev, Ilya, 2011. "Corporate bond default risk: A 150-year perspective," Journal of Financial Economics, Elsevier, vol. 102(2), pages 233-250.
    20. Ye, Qing & Wu, Yuliang & Liu, Jia, 2019. "Institutional preferences, demand shocks and the distress anomaly," The British Accounting Review, Elsevier, vol. 51(1), pages 72-91.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2506.23767. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.