As the Internet of Things expands, the need to embed artificial intelligence algorithms into resource-constrained devices for real-time applications is growing. These systems require efficient and scalable algorithms to perform rapid and autonomous decision-making without relying on centralized cloud servers. Hyperdimensional Computing (HDC) has recently emerged as a compelling paradigm for learning tasks in such environments, offering computational efficiency, exceptional parallelism, and scalability. In this work, we present HD-CBBIN, a lightweight and efficient implementation of the HD-CB framework for modeling and automating sequential decision-making Contextual Bandits (CB) problems on embedded systems. By introducing modifications to the original algorithm, HD-CBBIN exclusively uses binary hypervectors, significantly reducing computational demands. We benchmark the performance of HD-CBBIN on synthetic datasets, comparing it to the real-valued counterpart and the traditional state-of-the-art LinUCB algorithm. We also evaluate its execution time, computational complexity, and memory requirements on various embedded platforms and demonstrate additional gains through hardware acceleration. The results show that our approach achieves linear execution time with respect to the context vector size and up to a 141× speedup over LinUCB while maintaining competitive performance, establishing a new milestone in contextual bandit algorithms for time-critical, resource-constrained applications.

HD-CBBIN: A Lightweight Approach for Contextual Bandit Learning in Real-Time Applications / Angioli, M., Rosato, A., Barbirotta, M., Martino, R., Marcelli, A., Mastrandrea, A., Olivieri, M.. - (2025), pp. 1-8. (2025 International Joint Conference on Neural Networks, IJCNN 2025 Pontifical Gregorian University, ita ) [10.1109/IJCNN64981.2025.11228537].

HD-CBBIN: A Lightweight Approach for Contextual Bandit Learning in Real-Time Applications

Angioli M.
Primo
;
Rosato A.;Barbirotta M.;Martino R.;Marcelli A.;Mastrandrea A.;Olivieri M.
2025

Abstract

As the Internet of Things expands, the need to embed artificial intelligence algorithms into resource-constrained devices for real-time applications is growing. These systems require efficient and scalable algorithms to perform rapid and autonomous decision-making without relying on centralized cloud servers. Hyperdimensional Computing (HDC) has recently emerged as a compelling paradigm for learning tasks in such environments, offering computational efficiency, exceptional parallelism, and scalability. In this work, we present HD-CBBIN, a lightweight and efficient implementation of the HD-CB framework for modeling and automating sequential decision-making Contextual Bandits (CB) problems on embedded systems. By introducing modifications to the original algorithm, HD-CBBIN exclusively uses binary hypervectors, significantly reducing computational demands. We benchmark the performance of HD-CBBIN on synthetic datasets, comparing it to the real-valued counterpart and the traditional state-of-the-art LinUCB algorithm. We also evaluate its execution time, computational complexity, and memory requirements on various embedded platforms and demonstrate additional gains through hardware acceleration. The results show that our approach achieves linear execution time with respect to the context vector size and up to a 141× speedup over LinUCB while maintaining competitive performance, establishing a new milestone in contextual bandit algorithms for time-critical, resource-constrained applications.
2025
2025 International Joint Conference on Neural Networks, IJCNN 2025
Contextual Bandits; Embedded AI; Hyperdimensional Computing; LinUCB; Real-time
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
HD-CBBIN: A Lightweight Approach for Contextual Bandit Learning in Real-Time Applications / Angioli, M., Rosato, A., Barbirotta, M., Martino, R., Marcelli, A., Mastrandrea, A., Olivieri, M.. - (2025), pp. 1-8. (2025 International Joint Conference on Neural Networks, IJCNN 2025 Pontifical Gregorian University, ita ) [10.1109/IJCNN64981.2025.11228537].
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1778287
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact