CORTEXA
← Browse
crossrefPeerJ Computer Science2026-05-21Cited by 0

A deep learning model using convolutional neural networks and conditional generative adversarial networks with multi-head attention for stock prediction

Zhiqi Wang, Feng Gu

Stock prediction utilizing machine learning and deep learning models has attracted increasing attention in recent years. While recent research has made substantial progress in stock forecasting, many existing models perform inconsistently across markets and are sensitive to random initialization settings, which raises concerns about their robustness, generalizability, and practical applications. To address these issues, we propose ATTention-integrated Convolutional Neural Network-based Conditional Generative Adversarial Network (ATTCNN-CGAN), which leverages real historical samples as inputs to the generator, enabling more deterministic forecasting. Moreover, conventional generative adversarial networks (GANs) often employ recurrent generators that rely on sequential hidden state propagation, which can lead to longer gradient paths and may complicate adversarial optimization. Our approach utilizes convolutional neural networks (CNNs) for both the generator and the discriminator, which avoids the recurrent state propagation and extracts local temporal patterns in parallel, thereby enhancing training stability. Experiments on nine US large-cap stocks, conducted across multiple input lengths and random seeds, demonstrate that ATTCNN-CGAN achieves improved mean predictive performance compared to strong baselines under the tested configurations and exhibits more consistent performance across stocks. Furthermore, ablation studies suggest that the multi-head attention feature extraction, enhanced by the innovative dual-average aggregation strategy, boosts optimized feature representations and the forecasting performance. The findings highlight the potential of multi-head attention enhanced with diverse aggregation strategies for time-series forecasting.

View free PDFSource page

Related papers

crossrefPeerJ Computer Science2026-07-23

Privacy-preserving machine learning with homomorphic encryption for diabetes mellitus detection

Jun Chen Ng, Xiang Wu, Pauline Shan Qing Yeoh, Nien Shoon Teng, Lee-Ling Lim, Lik Voon Kiew, et al.

Diabetes mellitus (DM) is a chronic metabolic disorder with severe complications, including blindness, lower limb amputation, and cardiovascular diseases, and its global prevalence continues to rise. While machine learning (ML) has shown strong potential for improving disease pre…

View free PDFSource page
openalexPeerJ Computer Science2026-07-23

Partially adaptive optimization driven spatial focused CNN with Gompertz non-linearity for interpretable Alzheimer’s disease diagnosis

Muhammad Waqar, Zeshan Aslam Khan, Mirza Hashim Ali Baig, Chung-Chian Hsu, Ihsan Ul Haq, Saadia Khan, et al.

Recently, deep learning has revolutionized various scientific disciplines. Strategies based on deep learning have consistently surpassed traditional methods, proving extraordinary efficiency in the healthcare environment. Alzheimer’s disease is one of the major global health thre…

View free PDFSource page
crossrefPeerJ Computer Science2026-07-15

Advancing multi-class classification: innovations, challenges, and ethical perspectives in machine learning

Yousef Qawqzeh, Abdullah Alourani, Fayez Alharbi, Mahdi Jemmali, Ghaith M. Jaradat

This review examines recent advances and persistent challenges in multi-class classification within machine learning (ML) and deep learning (DL), a core task underpinning many real-world applications in healthcare, finance, social media, and other high-impact domains. The review…

View free PDFSource page
crossrefPeerJ Computer Science2026-07-14

Adaptive dense bidirectional-based recurrent neural network with exponential soft ratio loss function for analyzing the virtual reality experiences using AI-based deep features

Fahad Alasim

Virtual reality (VR) systems are highly employed in applications such as immersive training, virtual education, interactive gaming, and healthcare simulations, where precise user experience validation and interaction are crucial. Nevertheless, validating VR experiences remains co…

View free PDFSource page
crossrefPeerJ Computer Science2026-07-07

Dense121GAN: transfer learning-enhanced conditional generative adversarial network with DenseNet121 for reliable and efficient segmentation in medical and industrial imaging

Muhammed Davud

Accurate image segmentation in medical and industrial domains remains challenging due to small object sizes, complex textures, and diverse defect morphologies. To address these limitations, we propose Dense121GAN, a conditional generative adversarial network (cGAN) that integrate…

View free PDFSource page
crossrefPeerJ Computer Science2026-07-07

JackVisualNet: a fine-tuned hybrid deep learning model for jackfruit disease classification with explainable AI

Amir Sohel, Md. Hasan Imam Bijoy, Sarbajit Paul Bappy, Rittik Chandra Das Turjy, Manal Othman, Md Abdus Samad

Jackfruit, a vital agricultural crop in Bangladesh, is a key player in ensuring food security and sustaining rural communities’ livelihoods. The escalating challenges posed by plant diseases and the shortcomings of traditional manual disease detection methods underscore the press…

View free PDFSource page