<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>AI-Based Fault Detection in IoT Cloud Systems</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Kapoor</surname><given-names>Aryan</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<aff id="aff1">School of Computer Science Engineering, KIIT University, Bhubaneswar, India.</aff>
</contrib-group>
<abstract><p>This paper investigates the use of Artificial Intelligence (AI) technologies for identifying faults in Internet of Things (IoT) cloud systems. By utilizing machine learning and deep learning models, the suggested method seeks to improve fault detection accuracy, minimize downtime, and enhance resource allocation in IoT-enabled cloud settings. The research reviews a range of AI models, assesses their effectiveness on IoT cloud data, and introduces an optimized hybrid model. The findings indicate significant improvements in fault detection rates and management of cloud resources. The study also discusses the implications for the robustness of cloud systems and the monitoring of real-time IoT applications.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Artificial intelligence</kwd><kwd>Internet of things cloud systems</kwd><kwd>Fault detection</kwd><kwd>Machine learning</kwd><kwd>Cloud</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1">
<p>computing.</p>
</sec>
<sec id="sec-2"><label>1</label><title>Introduction</title>
<p>Combined with the Internet of Things (IoT), cloud computing has radically transformed how we collect, process, and analyze data across industries <xref ref-type="bibr" rid="ref-1">[1]</xref>. This interconnected ecosystem of devices—from simple sensors to complex industrial systems—enables massive volumes of data to be generated and transmitted in real-time. These data streams are processed and stored on cloud platforms, providing the computational power, storage capabilities, and scalability needed to support IoT environments&apos; diverse and dynamic nature. The fusion of IoT and cloud computing has numerous applications across various sectors, including smart cities, healthcare, manufacturing, transportation, and agriculture <xref ref-type="bibr" rid="ref-2">[2]</xref>. In smart cities, for instance, IoT devices collect data on traffic flow <xref ref-type="bibr" rid="ref-3">[3]</xref>, air quality, and energy usage, which is then processed in real time by cloud-based systems to optimize infrastructure and enhance city services. Similarly, in healthcare, connected medical devices transmit patient data to cloud systems for continuous monitoring and diagnostics, improving patient care while reducing the workload on healthcare providers <xref ref-type="bibr" rid="ref-4">[4]</xref>.</p>
<fig id="fig1"><label>Figure 1</label><caption><p>Integration of internet of things with cloud.</p></caption><graphic xlink:href="https://uda.reapress.com/public/journals/1/jats-figures/40/fig-1-265716ef3598.jpg"/></fig>
<p>Artificial Intelligence (AI)-based fault detection is emerging as a crucial technique to address these issues <xref ref-type="bibr" rid="ref-5">[5]</xref>. By leveraging machine learning and deep learning, cloud systems can analyze large volumes of data, detect patterns, and identify faults in real-time. Implementing AI in fault detection offers the potential to predict failures before they occur, mitigating downtime and ensuring smooth operations <xref ref-type="bibr" rid="ref-6">[6]</xref>.</p>
<fig id="fig2"><label>Figure 2</label><caption><p>Flowchart illustration of the machine learning-based analysis procedure.</p></caption><graphic xlink:href="https://uda.reapress.com/public/journals/1/jats-figures/40/fig-2-668a056bd872.png"/></fig>
<table-wrap id="tab1"><label>Table 1</label><caption><p>Common faults in internet of things cloud systems.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:1:66,197.1,537,228"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Device malfunction Physical or software failure in IoT devices Loss of data, downtime Communication failure Loss of connectivity between devices and the cloud Disrupted data flow Resource overload Cloud resources overwhelmed by data traffic Slow response, crashes Security breach Unauthorized access or data tampering Data theft, downtime Software bug Programming errors in IoT applications Unexpected system behavior</p>
<p>IoT systems, when integrated into cloud environments, introduce new challenges <xref ref-type="bibr" rid="ref-7">[7-9]</xref>:</p>
<p>I. Scalability: With an increasing number of devices, the system must scale efficiently without losing performance.</p>
<p>II. Real-time processing: IoT data needs to be processed instantly for effective fault detection and recovery. III. Resource management: Efficient use of cloud resources is critical to handle the diverse and massive data influx from IoT devices.</p>
<p>IV. Fault tolerance: System components must handle unexpected failures and continue operations without disrupting service.</p>
</sec>
<sec id="sec-3"><label>2</label><title>Literature Review</title>
<sec id="sec-4"><label>2.1</label><title>Traditional Fault Detection Methods</title>
<p>Fault detection in IoT cloud systems relies on rule-based or threshold-based systems <xref ref-type="bibr" rid="ref-10">[10]</xref>. These systems analyze incoming data streams from IoT devices and flag any deviations from predefined parameters as potential faults. While effective in austere environments, these methods have significant limitations, particularly in detecting complex, unknown fault types.</p>
<p>Fault diagnosis is a critical component of maintaining the reliability and performance of IoT cloud systems. While fault detection aims to identify when a failure or anomaly has occurred, fault diagnosis goes a step further by determining the cause and location of the fault. This process is essential for rapid fault recovery, system optimization, and preventive maintenance. In the context of AI-based fault detection in IoT cloud systems, some key fault diagnosis methods are employed (<xref ref-type="fig" rid="fig3">Fig. 3</xref>).</p>
<fig id="fig3"><label>Figure 3</label><caption><p>Fault diagnosis methods.</p></caption><graphic xlink:href="https://uda.reapress.com/public/journals/1/jats-figures/40/fig-3-898a9e7ace8e.jpg"/></fig>
</sec>
<sec id="sec-5"><label>2.2</label><title>Artificial Intelligence-Based Fault Detection Techniques</title>
<p>AI has revolutionized fault detection by allowing systems to learn from historical data, adapt to changing environments, and make accurate predictions in real time <xref ref-type="bibr" rid="ref-11">[11-13]</xref>.</p>
<sec id="sec-6"><label>2.2.1</label><title>Supervised learning techniques</title>
<p>Supervised learning models such as decision trees, random forests, and Support Vector Machines (SVMs) are often used in fault detection <xref ref-type="bibr" rid="ref-14">[14]</xref>, <xref ref-type="bibr" rid="ref-15">[15]</xref>. These models are trained on labeled datasets that include historical instances of faults and normal behavior.</p>
<sec id="sec-7"><title>Decision trees</title>
<p>Useful for classifying faults based on predefined features.</p>
</sec>
<sec id="sec-8"><title>Support vector machines</title>
<p>Highly effective for binary classification problems, such as fault/no-fault scenarios.</p>
<fig id="fig4"><label>Figure 4</label><caption><p>Decision models for fault detection and diagnosis.</p></caption><graphic xlink:href="https://uda.reapress.com/public/journals/1/jats-figures/40/fig-4-e16325860c25.jpg"/></fig>
</sec>
</sec>
<sec id="sec-9"><label>2.2.2</label><title>Unsupervised learning techniques</title>
<p>When labeled data is scarce, unsupervised learning models <xref ref-type="bibr" rid="ref-16">[16]</xref>, such as K-means clustering and autoencoders, are employed <xref ref-type="bibr" rid="ref-17">[17]</xref>. These models identify patterns and anomalies without prior knowledge of fault types.</p>
<sec id="sec-10"><title>K-means clustering</title>
<p>Useful for grouping data points into clusters, enabling detection of abnormal behavior as outliers.</p>
</sec>
<sec id="sec-11"><title>Autoencoders</title>
<p>Neural networks designed to detect anomalies by reconstructing input data and flagging deviations.</p>
</sec>
</sec>
</sec>
<sec id="sec-12"><label>2.3</label><title>Hybrid Artificial Intelligence Models for Fault Detection</title>
<p>Recent advancements suggest combining supervised and unsupervised learning techniques in hybrid AI models yields superior results. The hybrid approach leverages the strengths of both methods, offering a more robust fault detection mechanism.</p>
<p><xref ref-type="table" rid="tab2">Table 2</xref> highlights how AI-based methods, especially hybrid models, outperform traditional methods in scalability, accuracy, and the ability to handle unknown faults. This demonstrates why AI-driven approaches are critical for fault detection in complex IoT cloud environments.</p>
<table-wrap id="tab2"><label>Table 2</label><caption><p>Comparison of traditional and artificial intelligence-based fault detection techniques.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:3:66,263.7,537,365.9"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
</sec>
</sec>
<sec id="sec-13"><label>3</label><title>Proposed Artificial Intelligence-Based Model for Fault Detection</title>
<p>The proposed AI-based fault detection model integrates both supervised and unsupervised learning methods. The primary objective is to maximize detection accuracy while minimizing computational overhead in large-scale IoT cloud systems.</p>
<sec id="sec-14"><label>3.1</label><title>Architecture of the Proposed Model</title>
<p>The hybrid model consists of two main components:</p>
<p>I. Supervised learning component: Trained on historical data to identify known fault types.</p>
<p>II. Unsupervised learning component: Monitors real-time IoT data to identify new, previously unseen fault patterns.</p>
<p>Data from IoT devices is collected and processed in the cloud. The supervised component classifies known faults, while the unsupervised component looks for anomalies that deviate from expected patterns.</p>
<fig><label>Figure 4</label><caption><p>Concept of model-based fault detection and isolation.</p></caption><graphic xlink:href="https://uda.reapress.com/public/journals/1/jats-figures/40/fig-5-b85d6c801506.png"/></fig>
</sec>
<sec id="sec-15"><label>3.2</label><title>Fault Detection Algorithm</title>
<p>The following steps outline the proposed fault detection algorithm:</p>
<p>I. Data collection: Real-time IoT data is continuously streamed to the cloud.</p>
<p>II. Supervised learning: Known fault types are classified based on historical data.</p>
<p>III. Unsupervised learning: Anomalies in real-time data are detected using clustering techniques.</p>
<p>IV. Fault identification: Faults are identified and flagged for further action.</p>
<p>V. Action: Alerts are generated, and automated recovery mechanisms are triggered.</p>
<p>Example of a fault detection algorithm flow:</p>
<p>I. Input: IoT sensor data is fed into the system.</p>
<p>II. Preprocessing: Data cleaning and normalization.</p>
<p>III. Feature extraction: Relevant features (e.g., temperature, voltage) are identified.</p>
<p>IV. Model: Supervised or unsupervised learning models analyze the data.</p>
<p>V. Anomaly detection: Any deviation from standard patterns triggers fault detection.</p>
<p>VI. Output: The system flags an anomaly and triggers an alert or automated action.</p>
<fig id="fig5"><label>Figure 5</label><caption><p>Fault detection algorithm workflow.</p></caption><graphic xlink:href="https://uda.reapress.com/public/journals/1/jats-figures/40/fig-6-7de6c5a35e4a.png"/></fig>
<sec id="sec-16"><title>Internet of things dataset characteristics</title>
<p>In AI-based fault detection in IoT cloud systems, the quality and scope of the dataset play a crucial role in training the models and achieving accurate fault detection results. The effectiveness of machine learning and deep learning models depends on the volume, variety, and veracity of the data collected from IoT devices. A well-structured dataset allows models to learn and distinguish normal behavior patterns from anomalies or faults.</p>
<p>For fault detection, the dataset typically includes sensor readings, event logs, performance metrics, and historical fault data collected from various IoT devices in real-time. These devices could range from temperature sensors in industrial settings to smart home devices connected via cloud platforms. The data is often time-series, reflecting continuous monitoring of environmental conditions or device performance. Key characteristics of the dataset, such as the number of devices, data points collected, data types, and the volume of data, directly influence the performance of the AI models. A comprehensive dataset ensures that the model can accurately identify known faults (using supervised learning) and unknown anomalies (using unsupervised learning).</p>
<table-wrap id="tab3"><label>Table 3</label><caption><p>Internet of things dataset characteristics.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:66,110.2,537,184.1"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Data types Sensor data, log files, system alerts Average data size 100 GB</p>
</sec>
</sec>
</sec>
<sec id="sec-17"><label>4</label><title>Results and Analysis</title>
<sec id="sec-18"><label>4.1</label><title>Evaluation Metrics</title>
<p>The model was evaluated using the following performance metrics:</p>
<p>I. Precision: Percentage of correctly identified faults.</p>
<p>II. Recall: Ability of the model to detect all relevant faults.</p>
<p>III. F1 score: Harmonic mean of precision and recall.</p>
<table-wrap id="tab4"><label>Table 4</label><caption><p>Performance metrics of different artificial intelligence models.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,520.2,537,622.4"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
</sec>
<sec id="sec-19"><label>4.2</label><title>Experiment Results</title>
<p>The proposed hybrid AI model was tested on a dataset from various IoT devices integrated into a cloud system. The model demonstrated a high degree of accuracy in detecting both known and unknown faults. The results significantly improved over traditional rule-based systems, particularly regarding recall and fault identification speed.</p>
</sec>
</sec>
<sec id="sec-20"><label>5</label><title>Discussion</title>
<p>Implementing AI in fault detection for IoT cloud systems presents several advantages.</p>
<p>The hybrid approach provides:</p>
<p>I. Improved accuracy: By combining supervised and unsupervised learning, the model can detect known and unknown faults accurately.</p>
<p>II. Scalability: The model adapts well to an increasing number of IoT devices without significant performance loss.</p>
<p>III. Real-time detection: Faults can be detected and addressed in real-time, minimizing downtime and preventing major system failures.</p>
<p>However, there are challenges regarding computational overhead and the need for large datasets to train the supervised models. Future work could explore methods to further optimize the model for real-time applications.</p>
<table-wrap id="tab5"><label>Table 5</label><caption><p>Advantages and challenges of artificial intelligence techniques for fault detection.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,174.4,537,205.4"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Supervised learning High accuracy for known fault types Requires labeled data Unsupervised learning Can detect unknown anomalies Less accurate for known faults Hybrid models Combines strengths of both approaches Computationally intensive</p>
</sec>
<sec id="sec-21"><label>6</label><title>Conclusion</title>
<p>AI-based fault detection in IoT cloud systems offers a promising solution to system reliability and fault tolerance challenges. The hybrid model proposed in this paper integrates supervised and unsupervised learning techniques to deliver superior performance in real-time fault detection.</p>
<p>By enhancing fault detection accuracy, reducing false positives, and improving response times, AI can play a key role in maintaining the stability of IoTs cloud systems as they continue to grow in complexity and scale.</p>
</sec>
<sec id="sec-22"><title>Data Availability</title>
<p>All data are included in the text.</p>
</sec>
<sec id="sec-23"><title>Funding</title>
<p>This research received no specific grant from funding agencies in the public, commercial, or not-for-profit sectors.</p>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>Parida, B. R., Rath, A. K., &amp; Mohapatra, H. (2022). Binary self-adaptive salp swarm optimization-based dynamic load balancing in cloud computing. International journal of information technology and web engineering (IJITWE), 17(1), 1-25. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.4018/IJITWE.295964">https://doi.org/10.4018/IJITWE.295964</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Botta, A., De Donato, W., Persico, V., &amp; Pescapé, A. (2016). Integration of cloud computing and internet of things: A survey. Future generation computer systems, 56, 684-700. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.future.2015.09.021">https://doi.org/10.1016/j.future.2015.09.021</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Mohapatra, H., Rath, A. K., &amp; Panda, N. (2022). IoT infrastructure for the accident avoidance: An approach of smart transportation. International journal of information technology, 14(2), 761-768. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s41870-022-00872-6">https://doi.org/10.1007/s41870-022-00872-6</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Altawaiha, I., Atan, R., Yaakob, R. B., &amp; Abdullah, R. B. H. (2024). Assessing and prioritizing crucial drivers for cloudiot-based healthcare adoption: An analytic hierarchy process approach. International journal of information technology, 1-18. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s41870-024-01742-z">https://doi.org/10.1007/s41870-024-01742-z</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Ghasemi Parvin, B., &amp; Ghasemi Parvin, L. (2023). Applications of artificial intelligence in fault detection and prediction in technical systems. 14th international conference on recent developments in management and industrial engineering. Figshare. <ext-link ext-link-type="uri" xlink:href="http://dx.doi.org/10.6084/m9.figshare.25180289">http://dx.doi.org/10.6084/m9.figshare.25180289</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Thakfan, A., &amp; Bin Salamah, Y. (2024). Artificial-intelligence-based detection of defects and faults in photovoltaic systems: A survey. Energies, 17(19), 4807. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/en17194807">https://doi.org/10.3390/en17194807</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Díaz, M., Martín, C., &amp; Rubio, B. (2016). State-of-the-art, challenges, and open issues in the integration of Internet of things and cloud computing. Journal of network and computer applications, 67, 99–117. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jnca.2016.01.010">https://doi.org/10.1016/j.jnca.2016.01.010</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Stergiou, C., Psannis, K. E., Kim, B. G., &amp; Gupta, B. (2018). Secure integration of IoT and cloud computing. Future generation computer systems, 78(Special Issue), 964–975. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.future.2016.11.031">https://doi.org/10.1016/j.future.2016.11.031</ext-link></mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Botta, A., de Donato, W., Persico, V., &amp; Pescapé, A. (2016). Integration of cloud computing and internet of things: A survey. Future generation computer systems, 56(Special Issue), 684–700. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.future.2015.09.021">https://doi.org/10.1016/j.future.2015.09.021</ext-link></mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Uppal, M., Gupta, D., Juneja, S., Dhiman, G., &amp; Kautish, S. (2021). Cloud-based fault prediction using IoT in office automation for improvisation of health of employees. Journal of healthcare engineering, 2021(1), 8106467. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1155/2021/8106467">https://doi.org/10.1155/2021/8106467</ext-link></mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Kashpruk, N., Piskor-Ignatowicz, C., &amp; Baranowski, J. (2023). Time series prediction in industry 4.0: A comprehensive review and prospects for future advancements. Applied sciences, 13(22), 12374. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/app132212374">https://doi.org/10.3390/app132212374</ext-link></mixed-citation></ref>
<ref id="ref-12"><label>12</label><mixed-citation>Ahmed, I., Jeon, G., &amp; Piccialli, F. (2022). From artificial intelligence to explainable artificial intelligence in industry 4.0: A survey on what, how, and where. IEEE transactions on industrial informatics, 18(8), 5031– 5042. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TII.2022.3146552">https://doi.org/10.1109/TII.2022.3146552</ext-link></mixed-citation></ref>
<ref id="ref-13"><label>13</label><mixed-citation>Lu, Y. (2019). Artificial intelligence: A survey on evolution, models, applications and future trends. Journal of management analytics, 6(1), 1–29. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/23270012.2019.1570365">https://doi.org/10.1080/23270012.2019.1570365</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>14</label><mixed-citation>Noshad, Z., Javaid, N., Saba, T., Wadud, Z., Saleem, M. Q., Alzahrani, M. E., &amp; Sheta, O. E. (2019). Fault detection in wireless sensor networks through the random forest classifier. Sensors, 19(7), 1568. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/s19071568">https://doi.org/10.3390/s19071568</ext-link></mixed-citation></ref>
<ref id="ref-15"><label>15</label><mixed-citation>Teles, G., Rodrigues, J. J. P. C., Rabelo, R. A. L., &amp; Kozlov, S. A. (2021). Comparative study of support vector machines and random forests machine learning algorithms on credit operation. Software: practice and experience, 51(12), 2492–2500. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/spe.2842">https://doi.org/10.1002/spe.2842</ext-link></mixed-citation></ref>
<ref id="ref-16"><label>16</label><mixed-citation>Usama, M., Qadir, J., Raza, A., Arif, H., Yau, K. A., Elkhatib, Y., Hussain, A., &amp; Al-Fuqaha, A. (2019). Unsupervised machine learning for networking: Techniques, applications and research challenges. IEEE access, 7, 65579–65615. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/ACCESS.2019.2916648">https://doi.org/10.1109/ACCESS.2019.2916648</ext-link></mixed-citation></ref>
<ref id="ref-17"><label>17</label><mixed-citation>Berahmand, K., Daneshfar, F., Salehi, E. S., Li, Y., &amp; Xu, Y. (2024). Autoencoders and their applications in machine learning: A survey. Artificial intelligence review, 57. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/s10462-023-10662-6">https://doi.org/10.1007/s10462-023-10662-6</ext-link></mixed-citation></ref>
</ref-list></back>
</article>