Semantic Mastery: Enhancing LLMs with Advanced Natural Language Understanding

View at publisher
Authors: Mohanakrishnan Hariharan
Cited by: 2
References: 15

Abstract

Software engineering processes increasingly depend on understanding vast amounts of technical documentation, code repositories, bug reports, and requirements specifications. While Large Language Models (LLMs) show promise in automating software engineering tasks, they face critical challenges in understanding domain-specific semantics, maintaining contextual consistency across codebases, and accurately reasoning about software artifacts. This paper presents Semantic Mastery, a novel framework that enhances LLMs with software engineering-focused semantic understanding capabilities through specialized knowledge graphs, code-aware training, and multi-modal analysis of software artifacts. Our approach integrates software ontologies, API documentation, and codebase relationships to create contextually-aware models capable of accurate defect prediction, automated code review, and intelligent software analysis. We introduce a hierarchical attention mechanism for multi-file code understanding and demonstrate significant improvements in software engineering tasks, including defect prediction (31% improvement in precision), automated code review (28% reduction in false positives), and requirements traceability (24% better accuracy). The framework addresses critical challenges in software development, including cross-language compatibility, analysis of legacy systems, and maintaining semantic consistency across large-scale software projects.

Fields of Study & Subjects

Natural Language Processing Techniques Text Readability and Simplification Topic Modeling

Publication details

Journal / source
2026 IEEE 5th International Conference on AI in Cybersecurity (ICAIC)
Publisher
IEEE
Pages
1–7
Publication date
18 February 2026