IEEE Consumer Electronics Magazine - May/June 2023 - 67

FIGURE 4. Blockchain simulation result for various cases. (a) Blockchain simulation result for Case I.
(b) Blockchain simulation result for Case II.
1) performance of ML model under data poisoning
attacks and 2) performance of ML model without
data poisoning attacks. In the first case, we show
how the data poisoning attacks can reflect the ML
model when the data are on some cloud storage
(i.e., not in the blockchains), whereas in the second
case, we show the effect when the data are in
the blockchains (i.e., without data poisoning
attacks).
Performance Metrics
To depict the correct performance analysis of
the ML models under data poisoning attack, we
have used four important ML metrics. Assume
that TPn, TNn, FPn, and FNn denote the " true
positive, " " true negative, " " false positive, " and
" false negative, " respectively, for the nth experiment.
The following metrics are then defined.
Accuracy Accuracy score is a very important
performance metric, which can be used to depict
the correct prediction score of the ML models.
The accuracy can be defined mathematically as
Accuracy ¼
TPnþTNn
TPnþTNnþFPnþFNn
.
Recall Recall is one of the most useful performance
metrics that can be used in ML to show
the true positive rate of the model. It can be
defined as Recall ¼
TPn
TPnþFNn
.
Precision Precision is another very important
performance metric, which depicts the precision
of the ML model. It used to compare the number
of true positives that a model claim with the
total true positives in the dataset. It is defined as
Precision ¼
TPn
TPnþFPn
.
May/June 2023
Salt noise injecting attack: In the case of the
salt noise injecting attack, an attacker gains
the access of the data storage and then uses
the standard salt noise function to corrupt the
data in a meaningful way.
Label flipping attack: In the case of the label
flipping attack, the attacker first gains the
67
F1 Score F1 score is most important metric
used in ML to show how the ML model trades
with both recall and precision. It is the weighted
average of recall and precision of the ML model.
It is defined as F1 Score ¼
2TPn
2TPnþFPnþFNn
.
Performance of ML Model Under Data
Poisoning Attacks
This section describes about the performance
of the ML model under data poisoning
attacks.
Correct data are crucial for the ML model to
perform better. If the training data are corrupted
by any means, they can hamper the overall performance
of the ML model. Data that are present
in any centralized database can easily be corrupted
as the database does not ensure the
tamper proof ability of the data storage. In contrast,
if the data are present in any blockchain
system, they are guaranteed to be tamper proof
by the design of the blockchain system. So, if the
data are not stored in any blockchain system,
various data poisoning attacks are possible on
the training data of the ML model. In the following,
we discuss about two types of data poisoning
attacks, namely 1) salt noise injecting attack
and 2) label flipping attack.

IEEE Consumer Electronics Magazine - May/June 2023

Table of Contents for the Digital Edition of IEEE Consumer Electronics Magazine - May/June 2023

Contents
IEEE Consumer Electronics Magazine - May/June 2023 - Cover1
IEEE Consumer Electronics Magazine - May/June 2023 - Cover2
IEEE Consumer Electronics Magazine - May/June 2023 - Contents
IEEE Consumer Electronics Magazine - May/June 2023 - 2
IEEE Consumer Electronics Magazine - May/June 2023 - 3
IEEE Consumer Electronics Magazine - May/June 2023 - 4
IEEE Consumer Electronics Magazine - May/June 2023 - 5
IEEE Consumer Electronics Magazine - May/June 2023 - 6
IEEE Consumer Electronics Magazine - May/June 2023 - 7
IEEE Consumer Electronics Magazine - May/June 2023 - 8
IEEE Consumer Electronics Magazine - May/June 2023 - 9
IEEE Consumer Electronics Magazine - May/June 2023 - 10
IEEE Consumer Electronics Magazine - May/June 2023 - 11
IEEE Consumer Electronics Magazine - May/June 2023 - 12
IEEE Consumer Electronics Magazine - May/June 2023 - 13
IEEE Consumer Electronics Magazine - May/June 2023 - 14
IEEE Consumer Electronics Magazine - May/June 2023 - 15
IEEE Consumer Electronics Magazine - May/June 2023 - 16
IEEE Consumer Electronics Magazine - May/June 2023 - 17
IEEE Consumer Electronics Magazine - May/June 2023 - 18
IEEE Consumer Electronics Magazine - May/June 2023 - 19
IEEE Consumer Electronics Magazine - May/June 2023 - 20
IEEE Consumer Electronics Magazine - May/June 2023 - 21
IEEE Consumer Electronics Magazine - May/June 2023 - 22
IEEE Consumer Electronics Magazine - May/June 2023 - 23
IEEE Consumer Electronics Magazine - May/June 2023 - 24
IEEE Consumer Electronics Magazine - May/June 2023 - 25
IEEE Consumer Electronics Magazine - May/June 2023 - 26
IEEE Consumer Electronics Magazine - May/June 2023 - 27
IEEE Consumer Electronics Magazine - May/June 2023 - 28
IEEE Consumer Electronics Magazine - May/June 2023 - 29
IEEE Consumer Electronics Magazine - May/June 2023 - 30
IEEE Consumer Electronics Magazine - May/June 2023 - 31
IEEE Consumer Electronics Magazine - May/June 2023 - 32
IEEE Consumer Electronics Magazine - May/June 2023 - 33
IEEE Consumer Electronics Magazine - May/June 2023 - 34
IEEE Consumer Electronics Magazine - May/June 2023 - 35
IEEE Consumer Electronics Magazine - May/June 2023 - 36
IEEE Consumer Electronics Magazine - May/June 2023 - 37
IEEE Consumer Electronics Magazine - May/June 2023 - 38
IEEE Consumer Electronics Magazine - May/June 2023 - 39
IEEE Consumer Electronics Magazine - May/June 2023 - 40
IEEE Consumer Electronics Magazine - May/June 2023 - 41
IEEE Consumer Electronics Magazine - May/June 2023 - 42
IEEE Consumer Electronics Magazine - May/June 2023 - 43
IEEE Consumer Electronics Magazine - May/June 2023 - 44
IEEE Consumer Electronics Magazine - May/June 2023 - 45
IEEE Consumer Electronics Magazine - May/June 2023 - 46
IEEE Consumer Electronics Magazine - May/June 2023 - 47
IEEE Consumer Electronics Magazine - May/June 2023 - 48
IEEE Consumer Electronics Magazine - May/June 2023 - 49
IEEE Consumer Electronics Magazine - May/June 2023 - 50
IEEE Consumer Electronics Magazine - May/June 2023 - 51
IEEE Consumer Electronics Magazine - May/June 2023 - 52
IEEE Consumer Electronics Magazine - May/June 2023 - 53
IEEE Consumer Electronics Magazine - May/June 2023 - 54
IEEE Consumer Electronics Magazine - May/June 2023 - 55
IEEE Consumer Electronics Magazine - May/June 2023 - 56
IEEE Consumer Electronics Magazine - May/June 2023 - 57
IEEE Consumer Electronics Magazine - May/June 2023 - 58
IEEE Consumer Electronics Magazine - May/June 2023 - 59
IEEE Consumer Electronics Magazine - May/June 2023 - 60
IEEE Consumer Electronics Magazine - May/June 2023 - 61
IEEE Consumer Electronics Magazine - May/June 2023 - 62
IEEE Consumer Electronics Magazine - May/June 2023 - 63
IEEE Consumer Electronics Magazine - May/June 2023 - 64
IEEE Consumer Electronics Magazine - May/June 2023 - 65
IEEE Consumer Electronics Magazine - May/June 2023 - 66
IEEE Consumer Electronics Magazine - May/June 2023 - 67
IEEE Consumer Electronics Magazine - May/June 2023 - 68
IEEE Consumer Electronics Magazine - May/June 2023 - 69
IEEE Consumer Electronics Magazine - May/June 2023 - 70
IEEE Consumer Electronics Magazine - May/June 2023 - 71
IEEE Consumer Electronics Magazine - May/June 2023 - 72
IEEE Consumer Electronics Magazine - May/June 2023 - 73
IEEE Consumer Electronics Magazine - May/June 2023 - 74
IEEE Consumer Electronics Magazine - May/June 2023 - 75
IEEE Consumer Electronics Magazine - May/June 2023 - 76
IEEE Consumer Electronics Magazine - May/June 2023 - 77
IEEE Consumer Electronics Magazine - May/June 2023 - 78
IEEE Consumer Electronics Magazine - May/June 2023 - 79
IEEE Consumer Electronics Magazine - May/June 2023 - 80
IEEE Consumer Electronics Magazine - May/June 2023 - 81
IEEE Consumer Electronics Magazine - May/June 2023 - 82
IEEE Consumer Electronics Magazine - May/June 2023 - 83
IEEE Consumer Electronics Magazine - May/June 2023 - 84
IEEE Consumer Electronics Magazine - May/June 2023 - 85
IEEE Consumer Electronics Magazine - May/June 2023 - 86
IEEE Consumer Electronics Magazine - May/June 2023 - 87
IEEE Consumer Electronics Magazine - May/June 2023 - 88
IEEE Consumer Electronics Magazine - May/June 2023 - 89
IEEE Consumer Electronics Magazine - May/June 2023 - 90
IEEE Consumer Electronics Magazine - May/June 2023 - 91
IEEE Consumer Electronics Magazine - May/June 2023 - 92
IEEE Consumer Electronics Magazine - May/June 2023 - 93
IEEE Consumer Electronics Magazine - May/June 2023 - 94
IEEE Consumer Electronics Magazine - May/June 2023 - 95
IEEE Consumer Electronics Magazine - May/June 2023 - 96
IEEE Consumer Electronics Magazine - May/June 2023 - 97
IEEE Consumer Electronics Magazine - May/June 2023 - 98
IEEE Consumer Electronics Magazine - May/June 2023 - 99
IEEE Consumer Electronics Magazine - May/June 2023 - 100
IEEE Consumer Electronics Magazine - May/June 2023 - 101
IEEE Consumer Electronics Magazine - May/June 2023 - 102
IEEE Consumer Electronics Magazine - May/June 2023 - 103
IEEE Consumer Electronics Magazine - May/June 2023 - 104
IEEE Consumer Electronics Magazine - May/June 2023 - 105
IEEE Consumer Electronics Magazine - May/June 2023 - 106
IEEE Consumer Electronics Magazine - May/June 2023 - 107
IEEE Consumer Electronics Magazine - May/June 2023 - 108
IEEE Consumer Electronics Magazine - May/June 2023 - 109
IEEE Consumer Electronics Magazine - May/June 2023 - 110
IEEE Consumer Electronics Magazine - May/June 2023 - 111
IEEE Consumer Electronics Magazine - May/June 2023 - 112
IEEE Consumer Electronics Magazine - May/June 2023 - 113
IEEE Consumer Electronics Magazine - May/June 2023 - 114
IEEE Consumer Electronics Magazine - May/June 2023 - 115
IEEE Consumer Electronics Magazine - May/June 2023 - 116
IEEE Consumer Electronics Magazine - May/June 2023 - Cover3
IEEE Consumer Electronics Magazine - May/June 2023 - Cover4
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20240102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20231112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20230102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20221112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20220102
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20211112
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210708
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210506
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_20210304
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202010
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202009
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202007
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202004
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202003
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_202001
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201910
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201909
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201907
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201905
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201903
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201901
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201811
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201809
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201807
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201805
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_201803
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2017
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2016
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_october2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_july2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_april2015
https://www.nxtbook.com/nxtbooks/ieee/consumerelectronics_january2015
https://www.nxtbookmedia.com