Meta In-Context Learning: Harnessing Large Language Models for Electrical Data Classification
Open Access
- 18 September 2023
- Vol. 16 (18) , 6679
Abstract
The evolution of communication technology has driven the demand for intelligent power grids and data analysis in power systems. However, obtaining and annotating electrical data from intelligent terminals is time-consuming and challenging. We propose Meta In-Context Learning (M-ICL), a new approach that harnesses large language models to classify time series electrical data, which largely alleviates the need for annotated data when adapting to new tasks. The proposed M-ICL consists of two stages: meta-training and meta-testing. In meta-training, the model is trained on various tasks that have an adequate amount of training data. The meta-training stage aims to learn the mapping between electrical data and the embedding space of large language models. In the meta-testing stage, the trained model makes predictions on new tasks. By utilizing the in-context learning ability of large language models, M-ICL adapts models to new tasks effectively with only a few annotated instances (e.g., 1–5 training instances per class). Our contributions lie in the new application of large language models to electrical data classification and the introduction of M-ICL to improve the classification performance with the strong in-context learning ability of large language models. Furthermore, we conduct extensive experiments on 13 real-world datasets, and the experimental results show that the proposed M-ICL improves the average accuracy over all datasets by 19.06%, 12.06%, and 6.63% when only one, two, and five training instances for each class are available, respectively. In summary, M-ICL offers a promising solution to the challenges of electrical data classification.Keywords
Funding Information
- China Southern Power Grid (SEPRI-K22B099)
This publication has 33 references indexed in Scilit:
- FedHome: Cloud-Edge Based Personalized Federated Learning for In-Home Health MonitoringIEEE Transactions on Mobile Computing, 2020
- Electrical Load Forecasting Using Edge Computing and Federated Learning2020
- Software defined solutions for sensors in 6G/IoEComputer Communications, 2020
- Transformers: State-of-the-Art Natural Language Processing2020
- Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgetting2020
- Mobile Internet of Things Under Data Physical Fusion TechnologyIEEE Internet of Things Journal, 2019
- Hybrid deep learning and empirical mode decomposition model for time series applicationsExpert Systems with Applications, 2019
- $\mathbb {ECHO}$: An Adaptive Orchestration Platform for Hybrid Dataflows across Cloud and Edge2017
- Situation-Aware Dynamic Service Coordination in an IoT EnvironmentIEEE/ACM Transactions on Networking, 2017
- Cloud‐aware power control for real‐time application offloading in mobile edge computingTransactions on Emerging Telecommunications Technologies, 2015