Skip to main navigation Skip to search Skip to main content

Few-Shot Human Activity Recognition using lightweight Language Models

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The lack of labeled data and model generalization
abilities have historically represented major obstacles for Human
Activity Recognition (HAR). Few-Shot Learning (FSL) addresses
both of these issues. However, its application to HAR, is particularly
difficult, since transferring models into new environments
requires the model to adapt not only to a new set of activity
labels but also, in many cases, to a different sensor configuration
and possibly even a different sensor modality. The ability of
Large Language Models (LLMs) to understand and interpret
natural language, together with their versatility as few-shot
learners, can greatly simplify model transfer. This is particularly
the case where sensor activations can be transformed into text
descriptions, since such descriptions abstract from the specific
sensor modality and configuration. Unfortunately, the application
of LLMs at the edge is typically hindered by their hardware
requirements, making it unfeasible or highly inefficient to deploy
these models to be used locally within smart environments. In
this context, we propose a lightweight LLM-based FSL approach
to facilitate model transfer with only a few labeled data samples,
while using a model small enough to be deployable at the
edge. Our results show that a relatively small BERT-based LLM
architecture (hundreds of millions of parameters vs. hundreds of
billions of parameters) can outperform larger models (including
Chat-GPT). The approach was evaluated on two challenging
datasets, namely the “van Kasteren (VK)” and the “VK houses”
datasets. Using our 10-shot FSL approach, we obtain a macro
average F-score of 52.75% on “VK” vs. a baseline F-score of
26.63% using Chat-GPT. On the “VK houses” dataset, our macro
average F-score is 36.02%, in contrast to 15.46% for Chat-GPT.
Original languageEnglish
Title of host publication2025 International Conference on Activity and Behavior Computing (ABC)
PublisherIEEE
Pages1-9
Number of pages9
ISBN (Electronic)979-8-3315-3437-0
ISBN (Print)979-8-3315-3438-7
DOIs
Publication statusPublished online - 15 Aug 2025
Event2025 Internation Conference Activity Behavior Computing (ABC) - Al Ain, United Arab Emirates
Duration: 21 Apr 202525 Apr 2025

Conference

Conference2025 Internation Conference Activity Behavior Computing (ABC)
Abbreviated titleABC 2025
Country/TerritoryUnited Arab Emirates
CityAl Ain
Period21/04/2525/04/25

Bibliographical note

Publisher Copyright:
©2025 IEEE.

Funding

This research is supported by the ARC (Advanced Research Engineering Centre) project. PWC1 is in receipt of Grant for R&D support from Invest NI for ARC. This project is partfinanced by the European Regional Development Fund under the Investment for Growth and Jobs Programme 2014-2020.

Funders
Advanced Research Engineering Centre
Invest Northern Ireland
European Regional Development Fund

    UN SDGs

    This output contributes to the following UN Sustainable Development Goals (SDGs)

    1. SDG 3 - Good Health and Well-being
      SDG 3 Good Health and Well-being

    Keywords

    • Human Activity Recognition
    • Large Language Models
    • Lightweight Language Models
    • Few-Shot Learning
    • Next Sentence Prediction

    Fingerprint

    Dive into the research topics of 'Few-Shot Human Activity Recognition using lightweight Language Models'. Together they form a unique fingerprint.

    Cite this