Development of Knowledge Graph Construction and Intelligent Question Answering System in Education Based on Transformer Model
Efficient semantic information processing and multi-hop knowledge reasoning have become essential technologies for intelligent information services and next-generation networked systems. To address inaccurate semantic understanding caused by short or ambiguous queries and insufficient reasoning capability under fragmented knowledge structures, this study proposes an intelligent question answering framework that tightly integrates Transformer-based semantic encoding with graph attention reasoning. The proposed architecture employs DeBERTa-v3-base and conditional random fields for entity recognition, combines dual-tower vector retrieval with cross-encoder reranking for semantic disambiguation, and constructs k-hop knowledge subgraphs enhanced by multi-layer Graph Attention Networks to achieve relation-aware information propagation and evidence aggregation. A multi-task joint optimization strategy incorporating adaptive gradient normalization, adjacency reconstruction regularization, and negative sampling is further introduced to improve long-tail generalization and reasoning robustness. Neo4j graph storage and FAISS vector indexing enable near real-time retrieval and scalable deployment. Experimental evaluation demonstrates high semantic understanding accuracy, interpretable multi-hop reasoning capability, and stable performance under short and colloquial queries, with superior Exact Match and path reasoning accuracy compared with baseline models. Beyond educational applications, the proposed framework provides an effective methodology for semantic information fusion, distributed knowledge reasoning, intelligent query processing, and adaptive decision support, offering valuable references for communication-enabled information systems, networked knowledge services, and intelligent information infrastructures related to Electromagnetic Waves, Antennas and Propagation engineering applications.