Skip to main content

TL-SMOTE: Re-balancing Data in Federated Learning for Anomaly Detection

  • Conference paper
  • First Online:
Advances in Computer Science and Ubiquitous Computing (CUTECSA 2022)

Abstract

Due to the significant growth of computing devices, attacks on the network have received increasing consideration. In traditional anomaly detection methods, an agent must collect all data to train the model, potentially leading to data leakage. Thus, the security challenges have encouraged the use of federated learning to address this issue by anomaly detection while improving the efficiency and privacy of the training models. However, in an extensive network, the imbalance of data in the training set for each client and the large volume of data point distribution between classes are significant challenges for training models. Thus, it is necessary to re-balance the training dataset before anomaly tasks. In this paper, we propose a re-balancing scheme for mitigating the impact of imbalanced training data. This work combines k-nearest neighbors with the Tomek link synthetic minority oversampling method. While Tomek Link eliminates a pair of samples from two distinct classes (one majority class and one minority class) that are closest, k-nearest neighbors enrich the minority class by providing artificial examples in the minority class. Tomek link makes advantage of minority class data that k-SMOTE oversampled to obtain more accurate class clusters. Our experiments demonstrate the importance of acknowledging class imbalance.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 279.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. Albanese D, Filosi M, Visintainer R, Riccadonna S, Jurman G, Furlanello C (2013) minerva and minepy: a C engine for the MINE suite and its R, Python and MATLAB wrappers. Bioinformatics 29(3):407–408

    Article  Google Scholar 

  2. Wang H, Muñoz-González L, Eklund D, Raza S (2021) Non-IID data re-balancing at IoT edge with peer-to-peer federated learning for anomaly detection. In: Proceedings of the WiSec’21

    Google Scholar 

  3. Wang L, Xu S, Wang X, Zhu Q (2021) Addressing class imbalance in federated learning. In: AAAI

    Google Scholar 

  4. Rao RB, Krishnan S, Niculescu RS (2006) Data mining for improved cardiac care. ACM SIGKDD Explor Newsl 8(1):3–10

    Article  Google Scholar 

  5. Sergeev A, Del Balso M (2018) Horovod: fast and easy distributed deep learning in TensorFlow. arXiv preprint arXiv:1802.05799

  6. Wang S, Liu W, Wu J, Cao L, Meng Q, Kennedy PJ (2016) Training deep neural networks on imbalanced data sets. In: 2016 international joint conference on neural networks (IJCNN). IEEE, pp 4368–4374

    Google Scholar 

  7. Pereira RM, Costa YMG, Silla CN Jr (2020) MLTL: a multi-label approach for the Tomek Link undersampling algorithm. Neurocomputing 383:95–105

    Article  Google Scholar 

  8. Konecný J, McMahan HB, Yu FX, Richtárik P, Suresh AT, Bacon D (2016) Federated learning: strategies for improving communication efficiency. CoRR arXiv:1610.05492

  9. Caldas S, Wu P, Li T, Konecný J, McMahan HB, Smith V, Talwalkar A (2018) Leaf: a benchmark for federated settings. arXiv preprint arXiv:1812.01097

Download references

Acknowledgements

This research was partly supported by the Ministry of Science and ICT (MSIT), Korea, under the Information Technology Research Center (ITRC) support program (IITP-2022-2020-0-01602) supervised by the Institute for Information and Communications Technology Planning and Evaluation (IITP) and Institute of Information and communications Technology Planning and Evaluation (IITP) grant funded by the Korea government (MSIT) (No. 2020-0-00952, Development of 5G Edge Security Technology for Ensuring 5G+ Service Stability and Availability).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Souhwan Jung .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Nguyen-Thuy, L., Nguyen-Vu, L., Park, J., Hong, K., Jung, S. (2023). TL-SMOTE: Re-balancing Data in Federated Learning for Anomaly Detection. In: Park, J.S., Yang, L.T., Pan, Y., Park, J.H. (eds) Advances in Computer Science and Ubiquitous Computing. CUTECSA 2022. Lecture Notes in Electrical Engineering, vol 1028. Springer, Singapore. https://doi.org/10.1007/978-981-99-1252-0_2

Download citation

  • DOI: https://doi.org/10.1007/978-981-99-1252-0_2

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-99-1251-3

  • Online ISBN: 978-981-99-1252-0

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics