Skip to main content

ABODE-Net: An Attention-based Deep Learning Model for Non-intrusive Building Occupancy Detection Using Smart Meter Data

  • Conference paper
  • First Online:
Smart Computing and Communication (SmartCom 2022)


Occupancy information is useful for efficient energy management in the building sector. The massive high-resolution electrical power consumption data collected by smart meters in the advanced metering infrastructure (AMI) network make it possible to infer buildings’ occupancy status in a non-intrusive way. In this paper, we propose a deep leaning model called ABODE-Net which employs a novel Parallel Attention (PA) block for building occupancy detection using smart meter data. The PA block combines the temporal, variable, and channel attention modules in a parallel way to signify important features for occupancy detection. We adopt two smart meter datasets widely used for building occupancy detection in our performance evaluation. A set of state-of-the-art shallow machine learning and deep learning models are included for performance comparison. The results show that ABODE-Net significantly outperforms other models in all experimental cases, which proves its validity as a solution for non-intrusive building occupancy detection.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others


  1. Akbar, A., Nati, M., Carrez, F., Moessner, K.: Contextual occupancy detection for smart office by pattern recognition of electricity consumption data. In: 2015 IEEE International Conference on Communications (ICC), pp. 561–566 (2015)

    Google Scholar 

  2. Albert, A., Rajagopal, R.: Smart meter driven segmentation: what your consumption says about you. IEEE Trans. Power Syst. 28(4), 4019–4030 (2013)

    Article  Google Scholar 

  3. Beckel, C., Kleiminger, W., Cicchetti, R., Staake, T., Santini, S.: The ECO data set and the performance of non-intrusive load monitoring algorithms. In: Proceedings of the 1st ACM Conference on Embedded Systems for Energy-efficient Buildings (BuildSys 2014), pp. 80–89 (2014)

    Google Scholar 

  4. Chen, D., Barker, S., Subbaswamy, A., Irwin, D., Shenoy, P.: Non-intrusive occupancy monitoring using smart meters. In: Proceedings of the 5th ACM Workshop on Embedded Systems for Energy-Efficient Buildings (BuildSys 2013), pp. 1–8 (2013)

    Google Scholar 

  5. Chen, W., Shi, K.: Multi-scale attention convolutional neural network for time series classification. Neural Netw. 136, 126–140 (2021)

    Article  Google Scholar 

  6. Feng, C., Mehmani, A., Zhang, J.: Deep learning-based real-time building occupancy detection using AMI data. IEEE Trans. Smart Grid 11(5), 4490–4501 (2020)

    Article  Google Scholar 

  7. Fu, J., et al.: Dual attention network for scene segmentation. In: Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 3146–3154 (2019)

    Google Scholar 

  8. Guo, M.-H., et al.: Attention mechanisms in computer vision: a survey. Comput. Vis. Media 1–38 (2022).

  9. Hao, Y., Cao, H.: A new attention mechanism to classify multivariate time series. In: Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence, pp. 1999–2005 (2020)

    Google Scholar 

  10. Hu, J., Shen, L., Sun, G.: Squeeze-and-excitation networks. In: Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 7132–7141 (2018)

    Google Scholar 

  11. Ismail Fawaz, H., Forestier, G., Weber, J., Idoumghar, L., Muller, P.-A.: Deep learning for time series classification: a review. Data Min. Knowl. Discovery 33(4), 917–963 (2019).

    Article  MathSciNet  MATH  Google Scholar 

  12. Karim, F., Majumdar, S., Darabi, H., Chen, S.: LSTM fully convolutional networks for time series classification. IEEE Access 6, 1662–1669 (2017)

    Article  Google Scholar 

  13. Karim, F., Majumdar, S., Darabi, H., Harford, S.: Multivariate LSTM-FCNs for time series classification. Neural Netw. 116, 237–245 (2019)

    Article  Google Scholar 

  14. Kleiminger, W., Beckel, C., Santini, S.: Household occupancy monitoring using electricity meters. In: UbiComp 2015 - Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing, pp. 975–986, September 2015

    Google Scholar 

  15. Korkas, C.D., Baldi, S., Michailidis, I., Kosmatopoulos, E.B.: Occupancy-based demand response and thermal comfort optimization in microgrids with renewable energy sources and energy storage. Appl. Energy 163, 93–104 (2016)

    Article  Google Scholar 

  16. Lemaître, G., Nogueira, F., Aridas, C.K.: Imbalanced-learn: a python toolbox to tackle the curse of imbalanced datasets in machine learning. J. Mach. Learn. Res. 18(17), 1–5 (2017)

    Google Scholar 

  17. Li, Q., Luo, Z., Zheng, J.: A new deep anomaly detection-based method for user authentication using multichannel surface EMG signals of hand gestures. IEEE Trans. Instrum. Meas. 71, 1–11 (2022)

    Article  Google Scholar 

  18. Liu, G., Guo, J.: Bidirectional LSTM with attention mechanism and convolutional layer for text classification. Neurocomputing 337, 325–338 (2019)

    Article  Google Scholar 

  19. Luo, Z., Li, Q., Zheng, J.: Deep feature fusion for rumor detection on twitter. IEEE Access 9, 126065–126074 (2021)

    Article  Google Scholar 

  20. Luong, M.T., Pham, H., Manning, C.D.: Effective approaches to attention-based neural machine translation. arXiv preprint arXiv:1508.04025 (2015)

  21. Miyato, T., Kataoka, T., Koyama, M., Yoshida, Y.: Spectral normalization for generative adversarial networks. arXiv preprint arXiv:1802.05957 (2018)

  22. Razavi, R., Gharipour, A., Fleury, M., Akpan, I.J.: Occupancy detection of residential buildings using smart meter data: a large-scale study. Energy Buildings 183, 195–208 (2019)

    Article  Google Scholar 

  23. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)

  24. Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: Advances in Neural Information Processing Systems, vol. 27 (2014)

    Google Scholar 

  25. Tang, Y., Xu, J., Matsumoto, K., Ono, C.: Sequence-to-sequence model with attention for time series classification. In: 2016 IEEE 16th International Conference on Data Mining Workshops (ICDMW), pp. 503–510. IEEE (2016)

    Google Scholar 

  26. Woo, S., Park, J., Lee, J.Y., Kweon, I.S.: Cbam: convolutional block attention module. In: Proceedings of the 2018 European Conference on Computer Vision (ECCV), pp. 3–19 (2018)

    Google Scholar 

Download references


This work was supported in part by the National Science Foundation under EPSCoR Cooperative Agreement OIA-1757207 and in part by the Institute for Complex Additive Systems Analysis (ICASA) of New Mexico Institute of Mining and Technology.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Jun Zheng .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Luo, Z., Qi, R., Li, Q., Zheng, J., Shao, S. (2023). ABODE-Net: An Attention-based Deep Learning Model for Non-intrusive Building Occupancy Detection Using Smart Meter Data. In: Qiu, M., Lu, Z., Zhang, C. (eds) Smart Computing and Communication. SmartCom 2022. Lecture Notes in Computer Science, vol 13828. Springer, Cham.

Download citation

  • DOI:

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-28123-5

  • Online ISBN: 978-3-031-28124-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics