Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260500131-378.doi: 10.11896/jsjkx.260500131

• Artificial Intelligence • Previous Articles     Next Articles

Research on Excel Financial Model Analysis and Semantic Tracing Based on Knowledge Graphs

LI Zhefei, LI Shuxing, JI Zihan   

  1. China Three Gorges Corporation,Wuhan 430010,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:LI Zhefei,born in 1994,postgraduate,engineer.His main research interests include natural language processing and knowledge graph.

Abstract: In the energy industry,many complex financial decisions rely on Excel models,but there is a structural decoupling between formulas and their business semantics.Take a real financial evaluation model for a pumped storage power station as an example.It comprises 14 worksheets,57 577 non-empty cells,and 42 109 formulas.Notably,9 199 cross-sheet references would require 2 to 3 man-days for manual tracing,while 289 formulas containing errors(accounting for 0.69%) are extremely difficult to detect comprehensively.To address the challenges of “untraceable cross-sheet references” and “opaque business meanings of formulas,” this paper proposes a method for Excel parsing and knowledge graph construction.The core contributions are threefold.1)A formula dependency parsing engine based on directed acyclic graph(DAG) is successfully built,establishing a computational dependency graph with 62 160 nodes and 78 472 edges.This verifies the absence of circular references and supports path tracing of up to 730 steps.2 A hybrid semantic classification method prioritizing context rules is adopted.On a stratified sampling data-set of 299 entries,the accuracy reaches 88.3%,marking a67.6 percentage point increase compared to the pure formula structure method(20.7%).Ablation studies further demonstrate that the essence of the “formula black box” lies in the structural decoupling of syntax and semantics.3 A financial model knowledge graph containing 42 138 entities and 65 333 relationships is constructed,enabling second-level path tracing and intelligent Q&A.The response time for IRR calculation path tracing is under 0.5 se-conds-boosting efficiency by over 5 000 times compared to the manual 45~60 minutes.Furthermore,the comprehensive accuracy of Q&A intent recognition reaches 92.3%,with knowledge graph-based path tracing elevating manual audit efficiency by more than5 000 times.

Key words: Excel formula analysis, Knowledge graph, Dependency graph, Semantic understanding, Financial model, Energy sector, Intelligent Q&A

CLC Number: 

  • TP391
[1] 国家能源局.2024年抽水蓄能开发建设情况[R].北京:国家能源局,2024.
[2] HERMANS F,AIVALOGLOU E,EIJK R.Analyzing and Understanding Spreadsheet Smells and Errors[C]//Proceedings of the IEEE Working Conference on Software Visualization.2014:1-10.
[3] HERMANS F,PINZGER M,VAN DEURSEN A.Detecting Code Smells in Spreadsheet Formulas[J].Empirical Software Engineering,2015,20(1):115-142.
[4] JANSEN A,BAARS A,ENGELEN J.Towards a Methodology for Spreadsheet Quality Assessment[C]//Proceedings of the 16th International Conference on Software Engineering and Knowledge Engineering.2004:281-284.
[5] CAFARELLA M J,HALEVY A,WANG Z,et al.WebTables:Exploring the Power of Tables on the Web[C]//Proceedings of the VLDB Endowment.2008:538-550.
[6] VENETIS P,HALEVY A,MADHAVAN J,et al.Recovering Semantics of Tables on the Web[C]//Proceedings of the VLDB Endowment.2011:305-316.
[7] CHEN Z,CAFARELLA M J.Integrating Spreadsheet Data via Accurate and Low-Effort Extraction[C]//Proceedings of the 2014 ACM SIGMOD International Conference on Management of Data.2014.
[8] KOCI E,THIELE M,ROMERO O,et al.Cell Classification in Spreadsheets via Machine Learning[J].Datenbank-Spektrum,2018,18(3):191-200.
[9] WANG J H,LIU Y C,ZHANG W.Transformer fault diagnosis method based on dynamic knowledge graph reasoning [J].Proceedings of the CSEE,2025,45(3):1234-1245.
[10] DU M Y,LI M,WANG X D.Construction method of fault knowledge graph for wind power hydraulic equipment [J].Automation of Electric Power Systems,2024,48(8):56-65.
[11] YU T,ZHANG R,YANG K,et al.Spider:A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task[C]//Proceedings of the 2018 Conference on Empirical Methods in Natural Language Proces-sing.2018:3911-3921.
[12] HUANG Z H,CHEN S Y,LIU Y.Application and challenges of large language models in the field of industrial operation and maintenance [J].Chinese Journal of Computers,2024,47(5):1023-1041.
[1] ZHANG Hu, XU Guolong, WANG Yujie. Knowledge-based Visual Question Answering Method Based on Hypergraph Convolutional Transformer [J]. Computer Science, 2026, 53(9): 333-339.
[2] XIA Yi, ZHOU Gang, ZHANG Kaixiang, LAN Mingjing, LI Zhufeng, SU Benrong, HE Haofeng, FENG Shizhong. Survey on Collaborative-driven Knowledge Reasoning Technologies Integrating Large Language Models and Knowledge Graphs [J]. Computer Science, 2026, 53(9): 38-54.
[3] JIA Zishuo, ZHANG Jian’ge, HE Haofeng, FENG Shizhong, LIU Yilin. Survey on Mutually Augmenting Technologies and Applications of Large Models and KnowledgeGraphs [J]. Computer Science, 2026, 53(8): 219-228.
[4] QUAN Jingtao, ZHANG Lei, LIU Bailong, WANG Feifan. Leveraging Multi-source Contextual Knowledge-enhanced Graph for Traffic Forecasting [J]. Computer Science, 2026, 53(8): 245-256.
[5] ZHANG Haoran, HAO Wenning, JIN Dawei, CHENG Kai, LIU Junyang. Agentic Retrieval Augmented Generation Framework Based on Retrieval Task Planning and Reflection Mechanism [J]. Computer Science, 2026, 53(8): 285-297.
[6] WANG Xinlin, LI Yan, MA Chaofan, LI Shuo. Retrieval-Augmented Generation:Survey of Methods and Applications [J]. Computer Science, 2026, 53(7): 101-117.
[7] SHEN Jianwei, CHEN Jiawen, CHEN Hanlin, MA Xinjian, CHEN Xing. Construction and Application of Dataset Knowledge Graph Based on Metadata Semantic Enhancement [J]. Computer Science, 2026, 53(6A): 250500052-10.
[8] CHU Xiaolong, DU Jinlian, LUO Fangyuan, JIN Xueyun. Design and Application of Semantic Model for Medical Record Knowledge Graph Querying [J]. Computer Science, 2026, 53(6A): 250900023-9.
[9] ZHAO Lei, YANG Yulu, YUAN Bo. Personalized Course Recommendation System Based on Knowledge Graph [J]. Computer Science, 2026, 53(6): 93-101.
[10] LI Minbo, WANG Shaohua, WU Dazhen. Data Resource Organization Method Based on Enterprise Dataspace and Data Asset Management [J]. Computer Science, 2026, 53(5): 119-128.
[11] HAN Linrui, ZHENG Ri, CONG Yingnan. Explainable Sentencing Prediction Method Driven by Sentencing Rule Knowledge Graph [J]. Computer Science, 2026, 53(5): 286-298.
[12] XIN Yichen, LI Shichong, CHEN Bin, CHENG Zhangtao, LI Ye, ZHOU Fan. Enhancing Temporal Knowledge Graph Reasoning Method with Graph Information Bottleneck and Transformer [J]. Computer Science, 2026, 53(4): 393-405.
[13] DU Jiantong, GUAN Zeli, XUE Zhe. Multi-task Learning-based Ophthalmic Video Feature Fusion and Multi-dimensional Profiling [J]. Computer Science, 2026, 53(3): 383-391.
[14] QIN Jing, LI Guanfeng, CHEN Yuyin, XIAO Yuhang. Embedding Model of Knowledge Graph via Jointly Modeling Ontology and Instances [J]. Computer Science, 2026, 53(3): 331-340.
[15] CHEN Yuyin, LI Guanfeng, QIN Jing, XIAO Yuhang. Survey on Complex Logical Query Methods in Knowledge Graphs [J]. Computer Science, 2026, 53(2): 273-288.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!