Computer Science ›› 2026, Vol. 53 ›› Issue (11): 267-276.doi: 10.11896/jsjkx.250900181

• Artificial Intelligence • Previous Articles     Next Articles

Sequential Knowledge Evaluation and Optimization for Large Language Models

LIU Tianhua, ZHANG Weiyan, LIU Jingping, RUAN Tong, ZHAI Jie   

  1. School of Information Science and Engineering,East China University of Science and Technology,Shanghai 200237,China
  • Received:2025-09-30 Revised:2026-01-14 Online:2026-11-15 Published:2026-11-10
  • About author:LIU Tianhua,born in 1999,postgra-duate.His main research interests include natural language processing and vertical domain large language model.
    ZHAI Jie,born in 1977,Ph.D,lecturer,master’s supervisor,is a member of CCF(No.K7876M).Her main research interests include natural language processing,large language models and decision support.
  • Supported by:
    National Key Research and Development Program of China(2023YFF1204904).

Abstract: Sequential knowledge question answering(e.g.,involving temporal order or hierarchical ranking) is a fundamental task in natural language processing,crucial for applications like event reasoning and historical analysis.When applying large language models(LLMs) to this task,this study reveals a systematic phenomenon:even when questions are reformulated using different syntactic structures while preserving semantic meaning,LLMs can still produce consistently incorrect answers.To quantify this issue,the sequential knowledge syntactic robustness benchmark(SeqSR-Bench) is constructed,comprising 17 521 samples across ten major knowledge domains.Experimental results indicate that mainstream models(e.g.,GPT-4,Qwen series) achieve an ave-rage F1 score of only 55.42%,significantly lagging behind human performance(99.10%).To address this challenge,a key information routing agent(KIR-Agent) framework is proposed.This framework consists of three core modules:a question classifier,a prompt strategy pool,and a model selector.Its core mechanism involves using syntactic analysis to identify temporal relation words,determining the question type,and dynamically selecting a dedicated reasoning model along with robust prompt templates(e.g.,Chain-of-Thought prompting).Experimental results demonstrate that KIR-Agent improves the F1 score on closed-source models from 69.60% to 74.59%,with a notable reduction in the consistency of incorrect answers.Furthermore,the proposed synergy mechanism between fine-tuned models and the agent elevates the F1 score on open-source models from 48.41% to 63.56%.

Key words: Large language models, Sequential knowledge, Agent, Dependency parsing

CLC Number: 

  • TP391
[1] HUANG Y,BAI Y,ZHU Z,et al.C-eval:A multi-level multi-discipline chinese evaluation suite for foundation models[J].Advances in Neural Information Processing Systems,2023,36:62991-63010.
[2] WEI J,KARINA N,CHUNG H W,et al.Measuring short-form factuality in large language models[J].arXiv:2411.04368,2024.
[3] HE Y,LI S,LIU J,et al.Chinese simpleqa:A chinese factuality evaluation for large language models[J].arXiv:2411.07140,2024.
[4] SUN K L,LUO X D,LUO Y Y.Survey of Applications of Pretrained Language Models[J].Computer Science,2023,50(1):176-184.
[5] GUI T,XI Z H,ZHENG R,et al.A Survey on Robustness Research of Natural Language Processing Based on Deep Learning[J].Chinese Journal of Computers,2024,47(1):90-112.
[6] ZHANG W,LU W,WANG J,et al.Unexpected phenomenon:LLMs’ spurious associations in information extraction[C]//Findings of the Association for Computational Linguistics ACL 2024.2024:9176-9190.
[7] LIU X Y,YUN J,LI B,et al.Survey of Retrieval-AugmentedGeneration Based on Large Language Models[J].Computer Engineering and Applications,2025,61(13):1-25.
[8] CHENG D W,WU J X,LI J T,et al.Research on Evaluation Framework for Large Model Capabilities in Financial Scenarios[J].Computer Science,2025,52(3):239-247.
[9] BERGLUND L,TONG M,KAUFMANN M,et al.The Reversal Curse:LLMs trained on“ A is B” fail to learn“ B is A”[J].arXiv:2309.12288,2023.
[10] BALESNI M,KORBAK T,EVANS O.The Two-Hop Curse:LLMs trained on A→B,B→C fail to learn A→C [J].arXiv:2411.16353,2024.
[11] GUO Q,WANG R,GUO J,et al.Mitigating reversal curse inlarge language models via semantic-aware permutation training[J].arXiv:2403.00758,2024.
[12] LYU A,ZHANG K,XIE S,et al.An analysis and mitigation of the reversal curse[C]//Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing.2024:13603-13615.
[13] XU J,FEI H,PAN L,et al.Faithful logical reasoning via symbolic chain-of-thought[J].arXiv:2405.18357,2024.
[14] SAHOO P,SINGH A K,SAHA S,et al.A systematic survey of prompt engineering in large language models:Techniques and applications[J].arXiv:2402.07927,2024.
[15] RADFORD A,WU J,CHILD R,et al.Language models are unsupervised multitask learners[J].OpenAI Blog,2019,1(8):9.
[16] BROWN T,MANN B,RYDER N,et al.Language models are few-shot learners[J].Advances in Neural Information Proces-sing Systems,2020,33:1877-1901.
[17] WEI J,WANG X,SCHUURMANS D,et al.Chain-of-thought prompting elicits reasoning in large language models[J].Advances in Neural Information Processing Systems,2022,35:24824-24837.
[18] ZHENG M Q,CHEN X H,LIU B,et al.A Survey on Chain of Thought Generation and Enhancement Methods in Prompt Learning[J].Computer Science,2025,52(1):56-64.
[19] WANG L,XU W,LAN Y,et al.Plan-and-Solve Prompting:Improving Zero-Shot Chain-of-Thought Reasoning by Large Language Models[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics.2023:2609-2634.
[20] ZHOU P,PUJARA J,REN X,et al.Self-discover:Large language models self-compose reasoning structures[J].Advances in Neural Information Processing Systems,2024,37:126032-126058.
[21] LI G P,WU R Q,TAN H S,et al.A Plan Reuse Mechanism for LLM-Driven Agent[J].Journal of Computer Research and Development,2024,61(11):2706-2720.
[22] GUO L X,WANG Y Y,LI Q Y,et al.A comprehensive survey of LLM-based agent operating systems[J].Computer Science,2026,53(1):1-11.
[23] NAKANO R,HILTON J,BALAJI S,et al.Webgpt:Browser-assisted question-answering with human feedback[J].arXiv:2112.09332,2021.
[24] YAO S,ZHAO J,YU D,et al.React:Synergizing reasoning and acting in language models[C]//International Conference on Learning Representations(ICLR).2023.
[25] SCHICK T,DWIVEDI-YU J,DESSÌ R,et al.Toolformer:Language models can teach themselves to use tools[J] Advances in Neural Information Processing Systems,2023,36:68539-68551.
[26] LU P,PENG B,CHENG H,et al.Chameleon:Plug-and-play compositional reasoning with large language models[J] Advances in Neural Information Processing Systems,2023,36:43447-43478.
[27] QIN Y,HU S,LIN Y,et al.Tool learning with foundation mo-dels[J].ACM Computing Surveys,2024,57(4):1-40.
[28] KOJIMA T,GU S S,REID M,et al.Large language models are zero-shot reasoners[J].Advances in Neural Information Processing Systems,2022,35:22199-22213.
[29] WANG X,WEI J,SCHUURMANS D,et al.Self-consistencyimproves chain of thought reasoning in language models[J].arXiv:2203.11171,2022.
[30] ZHOU D,SCHÄRLI N,HOU L,et al.Least-to-most prompting enables complex reasoning in large language models[J].arXiv:2205.10625,2022.
[31] XI Z,JIN S,ZHOU Y,et al.Self-polish:Enhance reasoning in large language models via problem refinement[J].arXiv:2305.14497,2023.
[32] SHINN N,CASSANO F,GOPINATH A,et al.Reflexion:Language agents with verbal reinforcement learning[J].Advances in Neural Information Processing Systems,2023,36:8634-8652.
[33] SONG C H,WU J,WASHINGTON C,et al.Llm-planner:Few-shot grounded planning for embodied agents with large language models[C]//Proceedings of the IEEE/CVF International Conference on Computer Vision.2023:2998-3009.
[34] AKYÜREK A F,AKYÜREK E,MADAAN A,et al.Rl4f:Ge-nerating natural language feedback with reinforcement learning for repairing model outputs[J].arXiv:2305.08844,2023.
[35] PENG B,GALLEY M,HE P,et al.Check your facts and tryagain:Improving large language models with external knowledge and automated feedback[J].arXiv:2302.12813,2023.
[36] LIU H,SFERRAZZA C,ABBEEL P.Chain of hindsight aligns language models with feedback[J].arXiv:2302.02676,2023.
[37] XI Z,CHEN W,GUO X,et al.The rise and potential of large language model based agents:A survey[J].Science China Information Sciences,2025,68(2):121101.
[38] EISNER J.Bilexical grammars and their cubic-time parsing algorithms[C]//Advances in Probabilistic and Other Parsing Technologies.Springer,2000:29-61.
[39] CHEN W,ZHANG M,ZHANG Y.Semi-supervised featuretransformation for dependency parsing[C]//Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing.2013:1303-1313.
[40] DOZAT T,MANNING C D.Deep biaffine attention for neural dependency parsing[J].arXiv:1611.01734,2016.
[41] XU S Y,ZENG J J,ZHANG W Y,et al.Dependency Parsing for Chinese Electronic Medical Record Enhanced by Dual-scale Collaboration of Large and Small Language Models[J].Computer Science,2025,52(2):253-260.
[42] TIAN C Y,CHEN D H,WANG M,et al.Structured Processing for Pathological Reports Based on Dependency Parsing[J].Journal of Computer Research and Development,2016,53(12):2669-2680.
[43] DU Q M,LI N,LIU W F,et al.Sentiment analysis of Chinese short texts combining context and dependency syntactic information[J].Computer Science,2023,50(3):307-314.
[44] LIU J,LIU A,LU X,et al.Generated knowledge prompting for commonsense reasoning[J].arXiv:2110.08387,2021.
[45] TEAM Q.Introducing qwen1.5 [EB/OL].https://qwenlm.github.io/blog/qwen1.
[46] LIU A,FENG B,WANG B,et al.Deepseek-v2:A strong,economical,and efficient mixture-of-experts language model[J].arXiv:2405.04434,2024.
[47] YANG A,LI A,YANG B,et al.Qwen3 technical report[J].arXiv:2505.09388,2025.
[48] GUO D,YANG D,ZHANG H,et al.Deepseek-r1:Incentivizing reasoning capability in llms via reinforcement learning[J].ar-Xiv:2501.12948,2025.
[1] HE Jiaojun, LI Xin. Review of Graph Learning Based on Large Language Models:Methods,Benchmarks and Advances [J]. Computer Science, 2026, 53(9): 1-15.
[2] LI Luozheng, LI Lingbo, YUAN Quan. Survey of Chinese Datasets for LLM Safety Alignment:Landscape and Prospects [J]. Computer Science, 2026, 53(9): 16-23.
[3] ZHANG Rongjie, PANG Xiongwen, WANG Fengling. Review of Large Language Model-based Time Series Modeling via Fine-tuning and AgentArchitecture [J]. Computer Science, 2026, 53(9): 55-70.
[4] GUO Yuyang, SHI Lei, LIU Huan, DONG Yixiang, LI Rui. Domain-adapted and Dynamically Retrieval-augmented Approach for Large-scale History Discipline Model Construction [J]. Computer Science, 2026, 53(9): 92-100.
[5] LI Zhennan, QIAN Jiayan, WANG Xinzhi, ZHANG Hui. Technology Risk Structure Recognition Based on Multi-granularity Semantic Dual Reflection [J]. Computer Science, 2026, 53(9): 395-404.
[6] LIU Jing. Review of Music Artificial Intelligence Driven by Large Language Models [J]. Computer Science, 2026, 53(8): 229-244.
[7] 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.
[8] HAN Linrui, SONG Gaojie, ZHENG Ri, LI Bing, CUI Yan. Automated Judicial Document Generation for Criminal Cases Based on Multi-agent Collaboration [J]. Computer Science, 2026, 53(8): 336-356.
[9] CHEN Zhixiang, XIE Zhipeng. Event Causal Data Augmentation Method Based on Large Language Model [J]. Computer Science, 2026, 53(7): 125-131.
[10] ZHANG Yan, ZHOU Jian, HAN Lei, CHENG Chunling. Gate-controlled Agent Attention Mechanism-based Soft Prompt Transfer Method [J]. Computer Science, 2026, 53(7): 139-145.
[11] ZHENG Jiaqi, PENG Shihao, ZHAO Junjie, HONG Daocheng, ZHU Dandan, SANG Jinqiu, ZHANG Guixu. Cognitive LLM Agent for Mater Education Based on Hybrid Reasoning [J]. Computer Science, 2026, 53(6A): 250400056-7.
[12] XU Rui, LIU Jin, LIU Xudong, GUAN Jian, DONG Wei. Exploring the Generalization Ability of Prompt-based Large Language Models for TextClassification [J]. Computer Science, 2026, 53(6A): 250400092-7.
[13] WEI Qing, ZHANG Yupeng, LIU Shaoxun, ZHANG Jinfeng, ZHANG Yuezhong, CHEN Haoyang. Fuzzing Driver Generation Based on Large Language Models [J]. Computer Science, 2026, 53(6A): 250400113-8.
[14] ZHANG Yongyu, GUO Chenjuan, FEI Xueqin, LI Feng. Study on Financial Text Sentiment Analysis Method Based on Large Language Models with Market Feedback Supervision [J]. Computer Science, 2026, 53(6A): 250500073-14.
[15] LIU Jiaqi, GAO Zhizezhang, MENG Xianjia, SUN Xia, FENG Jun. Automatic Knowledge Point Annotation for Student Code Based on Multi-agent Collaboration:A Case Study of C Language [J]. Computer Science, 2026, 53(6): 59-68.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!