Cargando…

Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach

Making internet-of-things (IoT)-based applications context-aware demands large amounts of raw data to be collected, interpreted, stored, and reused or repurposed if needed from many domains and applications. Context is transient but interpreted data can be distinguished from IoT data in many aspects...

Descripción completa

Detalles Bibliográficos
Autores principales: Weerasinghe, Shakthi, Zaslavsky, Arkady, Loke, Seng Wai, Hassani, Alireza, Medvedev, Alexey, Abken, Amin
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10222717/
https://www.ncbi.nlm.nih.gov/pubmed/37430681
http://dx.doi.org/10.3390/s23104767
_version_ 1785049766245171200
author Weerasinghe, Shakthi
Zaslavsky, Arkady
Loke, Seng Wai
Hassani, Alireza
Medvedev, Alexey
Abken, Amin
author_facet Weerasinghe, Shakthi
Zaslavsky, Arkady
Loke, Seng Wai
Hassani, Alireza
Medvedev, Alexey
Abken, Amin
author_sort Weerasinghe, Shakthi
collection PubMed
description Making internet-of-things (IoT)-based applications context-aware demands large amounts of raw data to be collected, interpreted, stored, and reused or repurposed if needed from many domains and applications. Context is transient but interpreted data can be distinguished from IoT data in many aspects. Managing context in cache is a novel area of research that has been given very little attention. Performance metric-driven adaptive context caching (ACOCA) can have a profound impact on the performance and cost efficiency of context-management platforms (CMPs) when responding to context queries in realtime. Our paper proposes an ACOCA mechanism to maximize both the cost and performance efficiency of a CMP in near realtime. Our novel mechanism encompasses the entire context-management life cycle. This, in turn, distinctively addresses the problems of efficiently selecting context for caching and managing the additional costs of context management in the cache. We demonstrate that our mechanism results in long-term efficiencies for the CMP that have not been observed in any previous study. The mechanism employs a novel, scalable, and selective context-caching agent implemented using the twin delayed deep deterministic policy gradient method. It further incorporates an adaptive context-refresh switching policy, a time-aware eviction policy, and a latent caching decision management policy. We point out in our findings that the additional complexity of adaptation introduced to the CMP through ACOCA is significantly justified, considering the cost and performance gains achieved. Our algorithm is evaluated using a real-world inspired heterogeneous context-query load and a data set based on parking-related traffic in Melbourne, Australia. This paper presents and benchmarks the proposed scheme against traditional and context-aware caching policies. We demonstrate that ACOCA outperforms the benchmarks in both cost and performance efficiency, i.e., up to 68.6%, 84.7%, and 67% more cost efficient compared to traditional data caching policies to cache context, redirector mode, and context-aware adaptive data caching under real-world-like circumstances.
format Online
Article
Text
id pubmed-10222717
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-102227172023-05-28 Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach Weerasinghe, Shakthi Zaslavsky, Arkady Loke, Seng Wai Hassani, Alireza Medvedev, Alexey Abken, Amin Sensors (Basel) Article Making internet-of-things (IoT)-based applications context-aware demands large amounts of raw data to be collected, interpreted, stored, and reused or repurposed if needed from many domains and applications. Context is transient but interpreted data can be distinguished from IoT data in many aspects. Managing context in cache is a novel area of research that has been given very little attention. Performance metric-driven adaptive context caching (ACOCA) can have a profound impact on the performance and cost efficiency of context-management platforms (CMPs) when responding to context queries in realtime. Our paper proposes an ACOCA mechanism to maximize both the cost and performance efficiency of a CMP in near realtime. Our novel mechanism encompasses the entire context-management life cycle. This, in turn, distinctively addresses the problems of efficiently selecting context for caching and managing the additional costs of context management in the cache. We demonstrate that our mechanism results in long-term efficiencies for the CMP that have not been observed in any previous study. The mechanism employs a novel, scalable, and selective context-caching agent implemented using the twin delayed deep deterministic policy gradient method. It further incorporates an adaptive context-refresh switching policy, a time-aware eviction policy, and a latent caching decision management policy. We point out in our findings that the additional complexity of adaptation introduced to the CMP through ACOCA is significantly justified, considering the cost and performance gains achieved. Our algorithm is evaluated using a real-world inspired heterogeneous context-query load and a data set based on parking-related traffic in Melbourne, Australia. This paper presents and benchmarks the proposed scheme against traditional and context-aware caching policies. We demonstrate that ACOCA outperforms the benchmarks in both cost and performance efficiency, i.e., up to 68.6%, 84.7%, and 67% more cost efficient compared to traditional data caching policies to cache context, redirector mode, and context-aware adaptive data caching under real-world-like circumstances. MDPI 2023-05-15 /pmc/articles/PMC10222717/ /pubmed/37430681 http://dx.doi.org/10.3390/s23104767 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Weerasinghe, Shakthi
Zaslavsky, Arkady
Loke, Seng Wai
Hassani, Alireza
Medvedev, Alexey
Abken, Amin
Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach
title Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach
title_full Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach
title_fullStr Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach
title_full_unstemmed Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach
title_short Adaptive Context Caching for IoT-Based Applications: A Reinforcement Learning Approach
title_sort adaptive context caching for iot-based applications: a reinforcement learning approach
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10222717/
https://www.ncbi.nlm.nih.gov/pubmed/37430681
http://dx.doi.org/10.3390/s23104767
work_keys_str_mv AT weerasingheshakthi adaptivecontextcachingforiotbasedapplicationsareinforcementlearningapproach
AT zaslavskyarkady adaptivecontextcachingforiotbasedapplicationsareinforcementlearningapproach
AT lokesengwai adaptivecontextcachingforiotbasedapplicationsareinforcementlearningapproach
AT hassanialireza adaptivecontextcachingforiotbasedapplicationsareinforcementlearningapproach
AT medvedevalexey adaptivecontextcachingforiotbasedapplicationsareinforcementlearningapproach
AT abkenamin adaptivecontextcachingforiotbasedapplicationsareinforcementlearningapproach