Reduction in Data Imbalance for Client-Side Training in Federated Learning for the Prediction of Stock Market Prices

Author:

Shaheen Momina1ORCID,Farooq Muhammad Shoaib1ORCID,Umer Tariq2ORCID

Affiliation:

1. School of Systems and Technology, University of Management and Technology, Lahore 54000, Pakistan

2. Department of Computer Science, COMSATS University Islamabad Lahore Campus, Lahore 54000, Pakistan

Abstract

The approach of federated learning (FL) addresses significant challenges, including access rights, privacy, security, and the availability of diverse data. However, edge devices produce and collect data in a non-independent and identically distributed (non-IID) manner. Therefore, it is possible that the number of data samples may vary among the edge devices. This study elucidates an approach for implementing FL to achieve a balance between training accuracy and imbalanced data. This approach entails the implementation of data augmentation in data distribution by utilizing class estimation and by balancing on the client side during local training. Secondly, simple linear regression is utilized for model training at the client side to manage the optimal computation cost to achieve a reduction in computation cost. To validate the proposed approach, the technique was applied to a stock market dataset comprising stocks (AAL, ADBE, ASDK, and BSX) to predict the day-to-day values of stocks. The proposed approach has demonstrated favorable results, exhibiting a strong fit of 0.95 and above with a low error rate. The R-squared values, predominantly ranging from 0.97 to 0.98, indicate the model’s effectiveness in capturing variations in stock prices. Strong fits are observed within 75 to 80 iterations for stocks displaying consistently high R-squared values, signifying accuracy. On the 100th iteration, the declining MSE, MAE, and RMSE (AAL at 122.03, 4.89, 11.04, respectively; ADBE at 457.35, 17.79, and 21.38, respectively; ASDK at 182.78, 5.81, 13.51, respectively; and BSX at 34.50, 4.87, 5.87, respectively) values corroborated the positive results of the proposed approach with minimal data loss.

Publisher

MDPI AG

Subject

Control and Optimization,Computer Networks and Communications,Instrumentation

Reference88 articles.

1. Lionel, V. (2023, November 30). Internet of Things (IoT) and non-IoT Active Device Connections Worldwide from 2010 to 2025(in billions). Available online: https://www.statista.com/statistics/1101442/iot-number-of-connected-devices-worldwide/#:~:text=The%20total%20installed%20base%20of,that%20are%20expected%20in%202021.

2. Petroc, T. (2023, November 30). Volume of Data/Information Created, Captured, Copied, and Consumed Worldwide from 2010 to 2020, with Forecasts from 2021 to 2025. Available online: https://www.statista.com/statistics/871513/worldwide-data-created/.

3. McMahan, B., Moore, E., Ramage, D., Hampson, S., and y Arcas, B.A. (2017). Artificial Intelligence and Statistics, Available online: https://proceedings.mlr.press/v54/mcmahan17a.html.

4. Decentralized Federated Learning: Fundamentals, State of the Art, Frameworks, Trends, and Challenges;Bernal;IEEE Commun. Surv. Tutor.,2023

5. Federated learning over wireless networks: Convergence analysis and resource allocation;Dinh;IEEE/ACM Trans. Netw.,2020

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3