Implementation of Zero-Shot Learning on Edge AI for Deterministic Interpretation of Electrical Metrics using Quantized Large Language Models

Salman Al Majali, Ganjar M Faisal, Novi Rukhviayanti

Abstract


Automatic interpretation of building electrical metric data is essential for assessing the reliability and suitability of electrical systems. The emergence of Large Language Models (LLMs) has created new opportunities to automate the inspection and deterministic interpretation of these metric values without requiring manual input. This study evaluates the performance of local computing (Edge AI) in interpreting and classifying electrical system status using a Zero-Shot Learning approach without the need for model retraining. The interpretation rules were based on the PUIL 2020 standard and included parameters such as voltage deviation, frequency, current load, imbalance, and power factor. The comparative evaluation involved two 8-bit quantized models: Llama 3.1 (8B) and Qwen 2.5 (7B), tested using 200 historical building electrical panel data samples (100 normal and 100 anomalous).
The assessment covered LLM performance metrics (syntactic and semantic accuracy), anomaly detection classification, and hardware resource efficiency. The results show that Qwen 2.5 (7B) outperformed Llama 3.1 (8B) in mathematical reasoning tasks, achieving an accuracy of 91.50% and a precision of 95.60%, with minimal false positives. In addition, Qwen completed the analysis 42 minutes faster while using a peak RAM consumption of 8.9 GB. In contrast, Llama 3.1 demonstrated excessive sensitivity, resulting in an accuracy of 57.50%, a precision of 54.19%, and higher memory usage (11.9 GB). These findings indicate that the effectiveness of Zero-Shot Learning in LLMs for logical reasoning tasks depends more on the model’s training bias than on the number of parameters. Models specifically trained for programming and mathematical reasoning, such as Qwen 2.5, are more reliable, consistent, and efficient in interpreting electrical metrics compared to general conversational models.

Keywords


edge AI; electrical anomalies; electrical metric interpretation; large language model; PUIL 2020; zero-shot learning; Llama 3.1; Qwen 2.5

Full Text:

PDF

References


S. J. Safitri, G. A. Ramdhaniawan, A. Asro, and N. Rukhviyanti, “Analisis Literatur Review Perencanaan Strategi Sistem Informasi menggunakan Metode Metode Five Competitive Force Pada CV. Bio Chitosan Indonesia,” Bridge : Jurnal publikasi Sistem Informasi dan Telekomunikasi, Vol. 2, No. 4, pp. 319–327, Sep. 2024, DOI: 10.62951/bridge.v2i4.263.

N. Widaningsih, N. Windiyanti, and N. Rukhviyanti, “Web-based Inventory Information System using Agile Scrum Method at CV Tunggal Putra Jaya,” Sistemasi: Jurnal Sistem Informasi, Vol. 14, No. 3, pp. 1471–1488, May 2025, DOI: 10.32520/STMSI.V14I3.5253.

A. Fadhil, K. Al Jufri, S. A. Paskalis, and N. Rukhviyanti, “Design of A Web-based Regional Food Ordering Information System at Seribu Rasa Restaurant,” Jurnal Inovtek Polbeng - Seri Informatika, Vol. 10, No. 1, p. 2025, Mar. 2025, DOI: 10.35314/mb5xe359.

P. Adinda, D. Eviliana, and N. Rukhviyanti, “Website-based Baduy Tourism Information System using the Software Development Life Cycle Method,” INOVTEK Polbeng - Seri Informatika, Vol. 10, No. 1, pp. 538–549, Mar. 2025, DOI: 10.35314/V8VTVT27.

D. Zatnika and N. Rukhviyanti, “Penerapan Metode Forward Chaining pada Sistem Pakar Rekomendasi Mobil Second dari Aspek Penghasilan Kerja,” Jurnal Penelitian Inovatif, Vol. 4, No. 4, pp. 2463–2476, Dec. 2024, DOI: 10.54082/jupin.759.

A. N. Fatyandri, B. Guo, and E. S. Muchsinati, “Impact of Artificial Intelligence and Human Resource Management on Leadership Organization Performance,” Jurnal Teknologi dan Manajemen Informatika, Vol. 10, No. 2, pp. 123–132, Dec. 2024, DOI: 10.26905/jtmi.v10i2.14060.

E. S. Eriana and A. Zein, Artificial Intelligence (AI). Eureka Media Aksara, 2023.

B. Bidang et al., “Artificial Intelligence,” Jan. 2026.

A. Mumuni and F. Mumuni, “Large Language Models for Artificial General Intelligence (AGI): A Survey of Foundational Principles and Approaches,” Jan. 2025, Accessed: Mar. 30, 2026. [Online]. Available: http://arxiv.org/abs/2501.03151

T. Kojima, S. S. Gu, M. Reid, Y. Matsuo, and Y. Iwasawa, “Large Language Models are Zero-Shot Reasoners,” Adv. Neural Inf. Process. Syst., Vol. 35, May 2022, Accessed: Nov. 03, 2025. [Online]. Available: https://arxiv.org/pdf/2205.11916

D. Nam, A. MacVean, V. Hellendoorn, B. Vasilescu, and B. Myers, “Using an LLM to Help with Code Understanding,” Proceedings - International Conference on Software Engineering, Vol. 13, pp. 1184–1196, May 2024, DOI: 10.1145/3597503.3639187;ISSUE:ISSUE:DOI.

R. Sinha, A. Elhafsi, C. Agia, M. Foutter, E. Schmerling, and M. Pavone, “Real-Time Anomaly Detection and Reactive Planning with Large Language Models,” Jul. 2024, Accessed: Mar. 31, 2026. [Online]. Available: http://arxiv.org/abs/2407.08735

Y. Torabi, “AI-Driven Cardiorespiratory Signal Processing: Separation, Clustering, and Anomaly Detection,” Feb. 2026, Accessed: Mar. 31, 2026. [Online]. Available: http://arxiv.org/abs/2602.09210

A. Zaboli, S. L. Choi, T.-J. Song, and J. Hong, “A Novel Generative AI-based Framework for Anomaly Detection in Multicast Messages in Smart Grid Communications,” Jun. 2024, Accessed: Mar. 31, 2026. [Online]. Available: http://arxiv.org/abs/2406.05472

X. Zhao, X. Leng, L. Wang, N. Wang, and Y. Liu, “Efficient Anomaly Detection in Tabular Cybersecurity Data using Large Language Models,” SCI. Rep., Vol. 15, No. 1, Dec. 2025, DOI: 10.1038/s41598-025-88050-z.

S. Shafian, “Development of an Offline Interactive Chemistry Tutor using Generative AI and Large Language Model,” Journal of Advanced Research in Computing and Applications Journal homepage, Vol. 40, pp. 63–75, 2025, DOI: 10.37934/arca.40.1.6375.

K. Mahowald, A. A. Ivanova, I. A. Blank, N. Kanwisher, J. B. Tenenbaum, and E. Fedorenko, “Dissociating Language and Thought in Large Language Models,” Trends Cogn. SCI., Vol. 28, No. 6, pp. 517–540, Jan. 2023, DOI: 10.1016/j.tics.2024.01.011.

K. Buga, R. Tesic, E. Koyuncu, and T. Hanne, “Large Language Models for Structured Information Processing in Construction and Facility Management,” Electronics 2025, Vol. 14, Page 4106, Vol. 14, No. 20, p. 4106, Oct. 2025, DOI: 10.3390/ELECTRONICS14204106.

Y. Liu, H. Wu, and B. Liu, “A Rule-Aware Prompt Framework for Structured Numeric Reasoning in Cyber-Physical Systems,” Dec. 2025, Accessed: Mar. 31, 2026. [Online]. Available: http://arxiv.org/abs/2512.12794

C. Shorten et al., “StructuredRAG: JSON Response Formatting with Large Language Models,” Aug. 2024, Accessed: Nov. 03, 2025. [Online]. Available: https://arxiv.org/pdf/2408.11061

A. Soffiyun Nada and S. Farisa Chaerul Haviana, “Implementasi Zero-Shot Learning untuk Prediksi Solusi dari Kalimat Masalah pada Artikel Ilmiah menggunakan Large Language Models (LLM),” Jurnal Transistor Elektro dan Informatika (TRANSISTOR EI, Vol. 7, No. 1, p. 2025, 2025, DOI: http://dx.doi.org/10.30659/ei.7.1.%25p.

A. Muharom and N. Rukhviyanti, “Development of Web-based Multimedia Learning for Grade 3 Elementary School Mathematics,” Jurnal Inovtek Polbeng - Seri Informatika, Vol. 10, No. 2, pp. 1142–1152, Jul. 2025, DOI: 10.35314/sj1qng08.

D. N. Pryatama and N. Rukhviyanti, “Rancang Bangun Aplikasi Stok Barang dengan QRcode menggunakan Metode Waterfall dan Framwork Laravel pada Konveksi Sfgiandra,” Jurnal Kridatama Sains dan Teknologi, Vol. 7, No. 01, pp. 71–89, Feb. 2025, DOI: 10.53863/KST.V7I01.1488.

K. V. Benedict and N. Rukhviyanti, “Analysis of the Classification of Data on the Launch of Apple Mobile Phone Prices in China and Pakistan using the Decision Tree Algorithm in Python Programming,” Eduvest-Journal of Universal Studies, Vol. 5, No. 9, pp. 10534–10546, Sep. 2025, DOI: 10.59188/eduvest.v5i9.51409.

N. Rukhviyanti, “Balanced Scorecard: Performance Measurement of University Mediated By Student Loyalty,” Jurnal Manajemen, Vol. 29, No. 2, pp. 400–420, Jun. 2025, DOI: 10.24912/JM.V29I2.2694.

B. Wiguna Nugraha and N. Rukhviyanti, “The Effect of Work Engagement, Work-Life Balance, and Work Overload on Employee Productivity: The Role of Job Satisfaction as Mediating Variable at BRI Employees In Bandung City,” Indonesian Interdisciplinary Journal of Sharia Economics (IIJSE), Vol. 7, No. 2, 2024, DOI: 10.31538/iijse.v7i2.5235.




DOI: https://doi.org/10.32520/stmsi.v15i5.6352

Article Metrics

Abstract view : 22 times
PDF - 3 times

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.