A Novel Framework for Next Word Prediction Using Long-Short Term Memory Networks

Read full text
Authors: Ali Deveci, Merve Erkan, İhsan Tolga Medeni, TUNÇ DURMUŞ MEDENİ
Cited by: 2
References: 14

Abstract

Natural Language Processing (NLP) has become a cornerstone in various fields, revolutionizing how machines interpret and process human language. Among its diverse applications, next-word prediction emerges as a highly practical and impactful example of generative AI. This research focuses on the use of Long Short-Term Memory (LSTM) models—an innovative class of Recurrent Neural Network (RNN)—for predictive text generation. LSTMs excel in capturing sequential and contextual information, making them ideal for language tasks. While transformer models dominate accuracy benchmarks, this work addresses the critical need for efficient alternatives in resource-constrained deployment scenarios. This study presents a novel LSTM-based framework enhanced with hybrid architecture and advanced regularization techniques, trained on a carefully curated dataset of 15,000 English sentences. The proposed model achieves superior performance with 84.2% training accuracy, 79.6% test accuracy, and a perplexity score of 2.41, significantly outperforming traditional approaches. The methodology addresses overfitting through dropout regularization, batch normalization, and adaptive learning rate strategies while effectively capturing long-term contextual dependencies. This research contributes to the advancement of neural language modeling by providing a robust framework that bridges the gap between computational efficiency and prediction accuracy in real-world NLP applications.

Fields of Study & Subjects

Topic Modeling Machine Learning in Healthcare Big Data and Digital Economy

Publication details

Journal / source
Deu Muhendislik Fakultesi Fen ve Muhendislik
Publisher
Deu Muhendislik Fakultesi Fen ve Muhendislik
Volume
28
Issue
82
Pages
113–120
Publication date
27 January 2026