计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260500131-378.doi: 10.11896/jsjkx.260500131
李哲斐, 李舒兴, 嵇子涵
LI Zhefei, LI Shuxing, JI Zihan
摘要: 在能源行业中,大量复杂的财务决策依赖Excel模型,但公式与其业务语义之间存在结构性的解耦现象。以某真实的抽水蓄能电站财务评价模型为例,该模型包含14个工作表、57 577个非空单元格和42 109个公式,其中9 199次跨Sheet引用导致人工追溯需要2至3人天,而289个含错误公式(占0.69%)极难被全面检出。针对“跨Sheet引用无法追溯”与“公式业务含义不透明”这两个问题,提出了Excel解析与知识图谱构建方法。核心贡献有三方面:一是基于有向无环图搭建公式依赖解析引擎,构建出含62 160个节点和78 472条边的计算依赖图,验证无循环引用且支持最长730步路径追溯;二是采用上下文规则优先的混合语义分类方法,在299条分层采样数据集上达到88.3%的准确率,相比纯公式结构方法(20.7%)提升了67.6个百分点,消融实验证明“公式黑盒”的本质是语法与语义的结构性解耦;三是构建包含42 138个实体和65 333条关系的财务模型知识图谱,实现秒级路径追溯与智能问答,IRR计算路径追溯响应时间小于0.5 s(相较于人工45~60 min效率提升了5 000多倍),问答意图识别综合准确率达92.3%,基于知识图谱的路径追溯将人工审计效率提升超过5 000倍。
中图分类号:
| [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. |
|
||