计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 267-276.doi: 10.11896/jsjkx.250900181

• 人工智能 • 上一篇    下一篇

面向大语言模型的序列知识评测与优化

刘天华, 张维彦, 刘井平, 阮彤, 翟洁   

  1. 华东理工大学信息科学与工程学院 上海 200237
  • 收稿日期:2025-09-30 修回日期:2026-01-14 出版日期:2026-11-15 发布日期:2026-11-10
  • 通讯作者: 翟洁(zhbzj@ecust.edu.cn)
  • 作者简介:(y30231039@mail.ecust.edu.cn)
  • 基金资助:
    国家重点研发计划(2023YFF1204904)

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 Published:2026-11-15 Online: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).

摘要: 序列知识问答(如时间顺序、等级排序)是自然语言处理领域的一项基础任务,对事件推理、历史分析等应用至关重要。在将大语言模型(LLMs)应用于该任务时发现:当问题使用不同的句法结构表述时,即使语义保持不变,模型仍可能会系统性输出错误答案。为量化这一现象,构建了序列知识句法鲁棒性评测基准(Sequential Knowledge Syntactic Robustness Benchmark,SeqSR-Bench)。该基准涵盖10大知识领域,共计17 521个样本。实验结果显示,主流模型(如GPT-4、Qwen系列)的平均F1值仅为55.42%,较人类水平(99.10%)存在显著差距。为解决这一问题,提出了一种基于关键信息路由的智能体框架KIR-Agent(Key Information Routing Agent)。该框架包含问题分类器、提示策略库和模型选择器3个关键模块,核心是通过句法分析识别时序关系词判定类别,并据此动态选择专用推理模型和抗干扰提示模板(如思维链提示)。实验结果显示,KIR-Agent在闭源模型上将F1值由69.60%提升至74.59%,错误答案的一致性显著降低。此外,所提KIR-Agent与微调模型的协同机制在开源模型上将F1值由48.41%提升至63.56%。

关键词: 大语言模型, 序列知识, 智能体, 依存句法分析

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

中图分类号: 

  • 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.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!