Saved in:
Bibliographic Details
Main Authors: Hu, Jiawei, Jia, Hong, Hassan, Mahbub, Yao, Lina, Kusy, Brano, Hu, Wen
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.15211
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917847367680000
author Hu, Jiawei
Jia, Hong
Hassan, Mahbub
Yao, Lina
Kusy, Brano
Hu, Wen
author_facet Hu, Jiawei
Jia, Hong
Hassan, Mahbub
Yao, Lina
Kusy, Brano
Hu, Wen
contents We propose LightLLM, a model that fine tunes pre-trained large language models (LLMs) for light-based sensing tasks. It integrates a sensor data encoder to extract key features, a contextual prompt to provide environmental information, and a fusion layer to combine these inputs into a unified representation. This combined input is then processed by the pre-trained LLM, which remains frozen while being fine-tuned through the addition of lightweight, trainable components, allowing the model to adapt to new tasks without altering its original parameters. This approach enables flexible adaptation of LLM to specialized light sensing tasks with minimal computational overhead and retraining effort. We have implemented LightLLM for three light sensing tasks: light-based localization, outdoor solar forecasting, and indoor solar estimation. Using real-world experimental datasets, we demonstrate that LightLLM significantly outperforms state-of-the-art methods, achieving 4.4x improvement in localization accuracy and 3.4x improvement in indoor solar estimation when tested in previously unseen environments. We further demonstrate that LightLLM outperforms ChatGPT-4 with direct prompting, highlighting the advantages of LightLLM's specialized architecture for sensor data fusion with textual prompts.
format Preprint
id arxiv_https___arxiv_org_abs_2411_15211
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LightLLM: A Versatile Large Language Model for Predictive Light Sensing
Hu, Jiawei
Jia, Hong
Hassan, Mahbub
Yao, Lina
Kusy, Brano
Hu, Wen
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
Signal Processing
We propose LightLLM, a model that fine tunes pre-trained large language models (LLMs) for light-based sensing tasks. It integrates a sensor data encoder to extract key features, a contextual prompt to provide environmental information, and a fusion layer to combine these inputs into a unified representation. This combined input is then processed by the pre-trained LLM, which remains frozen while being fine-tuned through the addition of lightweight, trainable components, allowing the model to adapt to new tasks without altering its original parameters. This approach enables flexible adaptation of LLM to specialized light sensing tasks with minimal computational overhead and retraining effort. We have implemented LightLLM for three light sensing tasks: light-based localization, outdoor solar forecasting, and indoor solar estimation. Using real-world experimental datasets, we demonstrate that LightLLM significantly outperforms state-of-the-art methods, achieving 4.4x improvement in localization accuracy and 3.4x improvement in indoor solar estimation when tested in previously unseen environments. We further demonstrate that LightLLM outperforms ChatGPT-4 with direct prompting, highlighting the advantages of LightLLM's specialized architecture for sensor data fusion with textual prompts.
title LightLLM: A Versatile Large Language Model for Predictive Light Sensing
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
Signal Processing
url https://arxiv.org/abs/2411.15211