Research on Automatic Construction Algorithm of Ideological and Political Knowledge Graph in Universities Based on Large Language Model
DOI:
https://doi.org/10.54691/1r95gx53Keywords:
Large language model; ideological and political education in universities; knowledge graph; entity-relation joint extraction; knowledge calibration.Abstract
Addressing the core pain points in current university ideological and political knowledge graph construction—poor domain adaptability of traditional methods, insufficient entity-relation extraction accuracy, weak implicit knowledge mining capabilities, and the difficulty of general-purpose large models adapting to the rigorous knowledge system and semantic norms of the ideological and political field—this paper proposes a hierarchical entity-relation joint extraction and knowledge calibration algorithm (LLM-HERCKA) driven by a large language model for the ideological and political field. First, a dedicated corpus covering four core ideological and political courses in universities and a fine-tuning paradigm are constructed to achieve deep adaptation of the large model to the ideological and political field. Second, a three-layer ontology architecture for ideological and political knowledge and a hierarchical joint extraction mechanism are designed to solve the error propagation problem of traditional pipeline methods. Finally, a dual-path knowledge calibration module is proposed to ensure the compliance and factual accuracy of extracted knowledge. Experiments were conducted on a self-constructed dataset of 2000 labeled samples for ideological and political education evaluation. Results show that the algorithm achieves an F1 score of 94.27% for entity extraction and 92.58% for relation extraction, representing improvements of 8.35 and 9.76 percentage points respectively compared to the traditional BERT+CRF model, and improvements of 5.12 and 6.34 percentage points respectively compared to the zero-sample extraction of general large-scale models. Ablation experiments validated the effectiveness of each core module. This algorithm can achieve efficient and automated construction of ideological and political knowledge graphs in universities, providing core technical support for digital teaching and intelligent applications of ideological and political education.
Downloads
References
[1] C, P., L, S., & L, Y. (2024). A study on the integration of “ideological and political courses” and “curriculum based ideological and political education” in colleges and universities based on corpus. Journal of North China Electric Power University (Social Science Edition), 5(3), 123–131.
[2] T, W. (2025). Research on the three level fusion AI teaching system driven by dynamic knowledge graph. Science and Technology Exploration, 1(2), 17–25.
[3] C, J., & N, Y. (2025). Favorable conditions, practical dilemmas and optimization paths of artificial intelligence empowering ideological and political courses in colleges and universities. Journal of Zhengzhou University of Light Industry (Social Science Edition), 26(2), 50–57.
[4] Z, P. (2025). AI empowers the ‘101 Plan’ in the field of mechanics – ‘AIM’ large scale mechanical model. Mechanics in Practice, 47(6), 1086–1097.
[5] Z, L., Z, Z., & W, D. (2024). Research on Automatic Classification of Siku Quanshu Based on Large Language Model. Journal of Information Resources Management, 14(5), 23–35.
[6] Y, X. (2025). Risks and Prevention of Ideological Issues in Universities in the Era of Artificial Intelligence. Journal of Nanchang Hangkong University (Social Science Edition), 27(1), 28–36.
[7] S, J. (2025). AI4LS: A New Paradigm for Learning Science Research in the Intelligent Era. Journal of Central China Normal University (Humanities and Social Sciences Edition), 64(3), 154–162.
[8] W, Y., H, M., Tana, S, H., G, Y., Z, W., & F, J. (2024). Large Language Model and Its Application in Government Affairs. Journal of Tsinghua University (Natural Science Edition), 64(4), 649–658.
[9] Deng, Q., Zhang, C., Yu, W., & Wang, X. (2023). A teaching method of ideological and political education in colleges and universities based on knowledge graph. Advances in Education Technology and Psychology, 7(6), 15–19.
[10] Yang, Q., Li, X., Chen, B., Shen, F., Ma, C., & Qi, J. (2025). Taking Basic Medical Courses as an Example: A Review of the Application and Value Realization of Knowledge Graph in Curriculum Ideological and Political Education and Teaching Evaluation. Journal of Commercial Biotechnology, 30(3), 1024–1034.
[11] Zhang, Q. (2025). Research Status and Evolutionary Trends of Student Ideological Education: A Knowledge Mapping Analysis Based on CiteSpace. Studies in Religion and Philosophy, 1(1), 109–120.
[12] J, C., Z, Y., & S, Y. (2025). Research on the narrative optimization path of ideological and political education in colleges and universities in the era of artificial intelligence. Journal of Anhui University of Technology (Social Science Edition), 42(3), 101–104.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Scientific Journal Of Humanities and Social Sciences

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.





