Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in...

25
Columbia International Publishing Journal of Advanced Internet of Things (2013) 1: 19-43 doi:10.7726/jait.2013.1002 Research Article ______________________________________________________________________________________________________________________________ *Corresponding e-mail: [email protected] 1* School of Computer Sciences, Universiti Sains Malaysia, 11800 Penang, Malaysia 2 School of Information Technology and Electrical Engineering, University of Queensland, Brisbane 4072, Australia 3 School of Computer Science and Technology, Northwestern Polytechnical University, Shaanxi, China 19 Counterfeiting Detection in RFID-enabled Supply Chain Manmeet Mahinderjit-Singh 1* , Xue Li 2 , and Zhanhuai Li 3 Received 30 August 2013; Published online 30 March 2013 © The author(s) 2013. Published with open access at www.uscip.org Abstract Counterfeiting is a generalized term which includes both the act of RFID tags, cloning and fraud. RFID tag counterfeiting attacks lead to financial losses, loss of trust and confidence in the adoption and acceptance of RFID technology. The challenge of implementing a cost-based counterfeit detection system in RFID supply chains is non-trivial because counterfeit tags exist across billions of RFID tags. In this paper, a cost-sensitive learning approach is presented. The motivation of this work is to effectively reduce the overall cost of counterfeiting attack for RFID tagged products. Experiments are conducted to present the efficiency, effectiveness, misclassification cost and test cost evaluations. Findings from this paper conclude that MetaCost learners provide the best result. However, when compared to AdaCost, MetaCost is more expensive in classifying counterfeit tags. Keywords: Counterfeiting; Cloned; Fraud; RFID; Supply Chain Management (SCM) 1. Introduction Radio Frequency Identification (RFID) technology is the latest ubiquitous application used to identify and track products in applications such as supply chain management (SCM), retail, healthcare, pharmaceutical supplies and vehicle management. Despite the benefits of visibility and fast identification advantages provided by this technology, especially in SCM, the lack of resources on the RFID tags leads to security and privacy threats. Lack of hardware storage and memory of these tags means it is impossible to install high-end security capabilities on the tags. The need for the tags to be cheap, especially the Electronic Product Code (EPC) gen-2 used in SCM, makes it even harder and contributes to the increasing incidence of counterfeiting (Juels, 2005).

Transcript of Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in...

Page 1: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Columbia International Publishing Journal of Advanced Internet of Things (2013) 1: 19-43 doi:10.7726/jait.2013.1002 Research Article

______________________________________________________________________________________________________________________________ *Corresponding e-mail: [email protected] 1* School of Computer Sciences, Universiti Sains Malaysia, 11800 Penang, Malaysia 2 School of Information Technology and Electrical Engineering, University of Queensland, Brisbane 4072, Australia 3 School of Computer Science and Technology, Northwestern Polytechnical University, Shaanxi, China

19

Counterfeiting Detection in RFID-enabled Supply Chain Manmeet Mahinderjit-Singh1*, Xue Li2, and Zhanhuai Li3 Received 30 August 2013; Published online 30 March 2013 © The author(s) 2013. Published with open access at www.uscip.org Abstract Counterfeiting is a generalized term which includes both the act of RFID tags, cloning and fraud. RFID tag counterfeiting attacks lead to financial losses, loss of trust and confidence in the adoption and acceptance of RFID technology. The challenge of implementing a cost-based counterfeit detection system in RFID supply chains is non-trivial because counterfeit tags exist across billions of RFID tags. In this paper, a cost-sensitive learning approach is presented. The motivation of this work is to effectively reduce the overall cost of counterfeiting attack for RFID tagged products. Experiments are conducted to present the efficiency, effectiveness, misclassification cost and test cost evaluations. Findings from this paper conclude that MetaCost learners provide the best result. However, when compared to AdaCost, MetaCost is more expensive in classifying counterfeit tags. Keywords: Counterfeiting; Cloned; Fraud; RFID; Supply Chain Management (SCM) 1. Introduction Radio Frequency Identification (RFID) technology is the latest ubiquitous application used to identify and track products in applications such as supply chain management (SCM), retail, healthcare, pharmaceutical supplies and vehicle management. Despite the benefits of visibility and fast identification advantages provided by this technology, especially in SCM, the lack of resources on the RFID tags leads to security and privacy threats. Lack of hardware storage and memory of these tags means it is impossible to install high-end security capabilities on the tags. The need for the tags to be cheap, especially the Electronic Product Code (EPC) gen-2 used in SCM, makes it even harder and contributes to the increasing incidence of counterfeiting (Juels, 2005).

Page 2: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

20

RFID-enabled supply chains are in an open network environment. The impact of this is severe as the whole supply chain is vulnerable to counterfeiting attacks. Counterfeiting through an RFID tag cloning and fraud attacks (Gaoet.al. 2004) lead to financial losses, loss of trust and confidence in the adoption and acceptance of RFID technology (Lehtonen et al., 2007; Derakhshan et al., 2007). One way to tackle RFID security and privacy threats is to apply the concept of trust management. Trust management plays an important role as an instrument of decision making about whether a system is worthwhile to be used with minimal risk (Ruohomaa and Kutvonen, 2005). In previous work (Mahinderjit-Singh and Li, 2009; Mahinderjit-Singh and Li, 2010), they proposed a novel seven-layer trust framework for RFID-enabled supply chain management. The seven-layer trust framework provides an approach to establish trustworthiness of large scale tracking systems and usefulness of RFID systems. This framework suggests a few prevention and detection mechanisms for a variety of counterfeit attacks. Detecting a counterfeiting attack before the point of sale in a supply chain can minimise the impact and severity of the attack, save thousands of dollars and increase the trust between supply chain owners. However, a traditional detection system handles cost equally, which is inadequate especially in fraud and cloning detection because the presence of a false negative within the plant can jeopardise the supply chain and cause counterfeit tagged RFID products to reach the market. Even though a false positive reduces the accuracy of a system, it is more beneficial to handle false negatives. RFID counterfeit detection is vital, since undetected counterfeit RFID tags could cause damage in terms of system efficiency, effectiveness and business losses in terms of profit and trustworthiness. A cost-sensitive classification and modeling system able to detect counterfeit tags has never been tackled before in the RFID field.However, the implementation of cost-sensitive detection faces three main challenges such as 1) how to quantify and compute different types of cost required in running a detection system; 2) how to manipulate different cost metrics in achieving low false negative without trading off performance rate; and 3) how can rare counterfeit tags detect across an open supply chain management with large scale RFID tags. Thus, the first aim of this paper is to 1) presents a suite of cost-sensitive algorithms using misclassification cost. A list of cost-sensitive algorithms with a comprehensive usage guideline and evaluation is presented. In this work, the performance of each classifier and the applicability of each classifier under supply chain environments are discussed. The challenge here will be to misclassify as few examples as possible and to incur the smallest misclassification cost by using different types of cost-sensitive algorithms. The experiments will be evaluated in term of effectiveness, misclassification and test cost. This paper also presents a novel pre-processing method extended from the time-to-live (TTL) fundamental (Li et.al.2009) which is applicable for RFID applications. TTL is defined as the period of time that an RFID event can legally live in an RFID data management system. The second aim is to apply our proposed cost-model (Mahinderjit-Singh et al., 2011) in computing cost of handling cloned and fraud RFID tags. Three different costs; i) damage ii) response and iii) operational(Mahinderjit-Singh et al., 2011) will also be calculated. To compute the cost model, a comparison is presented between costs in terms of dollars estimated in handling counterfeit attacks in two different categories: cost-sensitive and cost-insensitive. Finally, the third aim is presenting a cloned and fraud detector system which extends the cost-sensitive functionalities from both WEKA (Waikato Environment for Knowledge Analysis) and OAIDBT (Other Application

Page 3: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

21

Interactively Demonstrating Techniques of Boosting) tools in testing cost-sensitive algorithms. The aims of this detector system are 1) to distinguish the whereabouts of counterfeiting such as a cloning attack occurring in the supply chain and 2) to calculate the cost of counterfeit in dollar value and analyze whether a response is needed when a system is compromised. This will be achievable by applying the proposed cost model (Mahinderjit-Singh et al.,2011). The main contribution will be to provide supply chain owners with choices of tools they can use as cost-sensitive algorithms. This includes a comprehensive guide on how to use these tools. Secondly, some benchmarking experimental results are shown. The aim of this exercise is for assisting researchers and owners in selecting the best classifier equivalent to their business requirement. Finally, the cloned and fraud detector proposed combined with the novel RFID system cost model is the first of its kind. This paper constructs as follows. Section II discusses the problem of counterfeiting, an overview on seven layer trust framework and the cost-sensitive learning. Section III explains the RFID-enabled supply chain and the data structure and simulation of the supply chain datasets using the Monte-Carlo technique. Section IV presents the result and a comprehensive discussion on the evaluation and experiment results. Section V presents the result and a comprehensive discussion on the evaluation and experiment results. This is then followed by a conclusion and recommendations for future work in Section VI. 2. Related Work In this section, the definition of the counterfeiting, seven-layer trust framework and the cost-sensitive classification problem is discussed. 2.1 Counterfeiting- Cloning and Fraud Attacks in RFID-enabled system In this section, the definitions of clone, fraud and counterfeiting in RFID tags is provided. Counterfeiting is a generalized term which includes both the act of RFID tags cloning and fraud. Counterfeit RFID tags are tagged onto fake products in the market for the consumer’s personal benefit. An RFID tag is a clone when the tag identification numbers (TID) and the form factors are copied to an empty tag (Lehtonen et al., 2009). In contrast, fraud is an act of using the cloned tags and adding the serial numbers of future EPC codes. These future EPC codes are the codes in the systems, which are yet to be tagged to the products. There are four different attacks that contribute to cloning in an RFID system which are skimming, eavesdropping, man-in the middle attack and physical attack (Mahinderjit-Singh and Li, 2009; Mahinderjit-Singh and Li, 2010). These attacks occur within an RFID-enabled application namely SCM. 2.2 Trust Importance - Seven layer Trust Framework for RFID Systems Seven layer trust framework proposed by Mahinderjit-Singh and Li (2009, 2010) provides a theoretical solution solving the gap in trustworthiness in RFID systems. The seven layer trust framework is defined as a “comprehensive decision making instrument that joint security elements in detecting security threats and preventing attacks through the use of basic and extended security techniques such as cryptography and human interaction with the reputation models.”

Page 4: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

22

.AUTHENCITY

EXPERIENCES

SHA

RE

D

VA

LU

E

KNOWLEDGECONVENIENCE

INTE

RACT

ION

CATEGORY

CULTURE

ATTITUDES

BELIE

FS

MONITORING

AUDITING PROCESS

POLICY REGULATION

RULE B

ASED

APPROACH EPCGLOBAL

SERVICES

THIRD PARTY - CA

DATA

INTE

GRAT

ION

SEMANTIC

NETWORK

TIMELINE

MUTUAL AUTHENTICATION

LIGHTWEIGHT PROTOCOL -

Symmetric & Asymmetric

HASH, Random No

LOCALITY

2

3

67

1

4

5

AUTHENCITY

Fig 1. Seven Layer Trust Framework Mahinderjit-Singh and Li (2009 , 2010)

Seven layer trust framework (Fig 1) functions as i) a solution to embrace trustworthiness by employing core functions at three main levels, which are the RFID system physical level (e.g. tags and readers) core functions, including security and privacy level core functions, and the RFID service core functions at the middleware level by utilizing multiple data integration platforms such as the EPC trust services(Verisign,2004). The third party software system such as intrusion detection systems (IDS) can also be used. Finally, the core functions at the application level by using reputation systems based on user interaction experiences and beliefs ii) to provide a guideline for designing trust in solving open system security threats. This trust framework can be extended by adding cost-sensitive component for reducing false negatives in certain RFID applications such as SCM and health care. Cost-sensitive detection can be plugged in at layer 3 up to layer 5. 2.3 Cost-Sensitive Background The key difference between cost-sensitive learning and cost-insensitive learning is that cost-sensitive learning takes misclassification and other types of cost into consideration (Turney, 1999). The goal of this type of learning is to minimize total cost. Meta-classifiers are algorithms that can be used to perform cost-sensitive learning besides striving to improve the performance of a predictive

Page 5: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

23

model using any given classifier as a base classifier (Witten and Frank, 2005). The most popular meta-classifiers are bagging, AdaBoost and stacking. In this paper, bagging approach is utilized. The bagging algorithm uses the idea of voting and works well with unstable learning algorithms. A decision tree is an example of an unstable algorithm, in which small changes in the training set result in large changes in predictions (Witten and Frank, 2005). Bagging can be used in combination with any classifier. 2.4 Cost Model The cost model approach proposed by Lee et al. (1999) formulates the total expected cost of an IDS, and presents cost-sensitive machine learning techniques that can produce detection models that are optimized for user-defined cost metrics. The detection technique used by Fan et.al. (2000) and Lee et al. (1999) uses an inductive rule learner, called Repeated Incremental Pruning, to Produce Error Reduction (RIPPER). The cost model is based on a combination of several factors: the cost of detecting the intrusion; the amountof damage caused by the attack; and the operational cost of the reaction to the intrusion. Their work has been extended by Chen and Laih (2008) , who claimed that their approach could be potentially lower the consequential cost in current IDS. Mahinderjit-Singh et al. (2011)proposed a cost-based model by using Multi- Criteria Decision Making (MCDM) (Satty, 1990) tool .The aim of this tool is to quantify cost when curbing counterfeiting in RFID-enabled SCM. The authors have shown that the MCDM approach could be used for implementing a practical cost-sensitive model, as validated by their analytical results. Mahinderjit-Singh et al. (2011) argued that the definitions of damage, response and operational costs are complex, especially when applying theoretical attack criticality and progress attack in determining cloning and fraud costs. This cost model is to calculate the total financial losses related to RFID tag cloning and fraud. 3. Proposed Fraud and Cloned Detector 3.1 Decision Tree In the background section, discussion on some related work in the cost-sensitive classification, some algorithm techniques that are cost-sensitive and thedataset simulation process are done. The decision tree (DT) is one of the most popular data mining algorithms for decision-making and classification problems which achieve very good classification quality in many practical applications (Turney, 1995; Witten and Frank, 2005). The benefit of using a decision tree as a data mining technique is due to three main reasons. Firstly, a classification with a tree is straightforward and is done within a shorter time frame. Second, in addition to its intuitive and appealing structure, a tree has predictive characteristics. Next, trees are easy to interpret and implement and have the ability to provide the reasoning behind predictions (Witten and Frank, 2005). The decision trees generated by J48 can be used for classification. J48 is an open source Java implementation of the C4.5 algorithm in Weka. J48 is used as a base learner in these experiments is due to the benefit of the J48 in handling missing attributes and the efficiency of this decision tree type. 3.2 Cost-Sensitive Algorithms The latest survey classifies meta-learning into two categories: direct cost-learning category via optimal cost-sensitivity and smoothing, and cost-sensitive learning by input-manipulation category. In this section, some of the cost-sensitive learners that exist in Weka(Hall, 2009 ) and the OAIDTB toolare explored.We enhance the existing knowledge of Weka cost-sensitive algorithms ofMetaCost

Page 6: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

24

(Domingos, 1999) and CSC (Ting, 1998; Witten and Frank, 2005) to the sampling (Zadrozny et al.,2003; Weiss et al., 2007) method. i) Direct cost-learning The nature of direct cost-learning is to use the output of classifiers in making an optimal cost-sensitive prediction. In this category, neither training data nor classifier behavior is influenced in producing the cost-sensitive prediction. Two methods used here are the CSC (Ting, 1998; Witten and Frank, 2005), a relabelling method, and smoothing (Provost and Domingos 2002). a) CSC The other group of relabeling method is the meta-classifier known as the Cost Sensitive Classifier. According to Witten and Frank (2005), the CSC readjusts the probability thresholds of each class to get a model with minimized misclassification cost. Two methods can be used to introduce cost-sensitivity: i) reweighting training instances according to the total cost assigned to each class (Ting 1998); and ii) predicting the class with minimum expected misclassification cost (rather than the most likely class). b) Smoothing Smoothing is used to maximize accuracy for classifiers that produce class probabilities such as a decision tree. One popular smoothing method is the Laplace correction method, suggested byProvost and Domingos (2002). The idea of Laplace correction is to compute the expected loss at each node using the smoothed probability estimates, the cost matrix, and the training set. The Laplace correction method is a standard feature of J48. ii) Cost-sensitive learning by input-manipulation The second group of cost-sensitive learning approaches is called cost-sensitive learning by input-manipulation. These approaches try to transform cost-insensitive classifiers by manipulating the input-data. Unlike the direct cost-sensitive learning approaches, these methods take the output of the classifier as it is, without having to adjust the interpretation of the model. Despite being a category of cost-sensitive methods itself, this category can also be sub-categorized into three categories: wrapper or relabeling (Domingos, 1999), resampling (Zadrozny et al., 2003; Weiss et al., 2007), and weighting (Freund and Schapire, 1996; Fan, 1999). a) Wrapper/ Relabeling Wrapper methods use existing classifiers, which are treated as a sub-routine. They repeatedly generate decision trees, which are then used in the classification process. Costs are applied in a calculation, which finds the least costly class and assigns it to an exampleat the classification stage using the multiple decision trees induced.MetaCost is a procedure developed by Domingos (1999) that relabels the training instance and assigns them to different classes regardless of the quality of the probability estimates. This can turn any cost-insensitive classifier into a cost-sensitive classifier. As described, MetaCost relabels the training data and then uses the relabelled data as input to the base learner. Further advancement on MetaCost was made by Ting (2000) who argue that the accuracy of the internal-classifier was better than running the base algorithm. Two new variants were designed: MetaCost_A and MetaCost_CSB. MetaCost_A uses AdaBoost(Freund and Schapire,

Page 7: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

25

1996) as an internal classifier, and it implementation converts the error-based procedure into a cost-sensitive technique by applying the minimum expected cost criterion. MetaCost_A was also amended to create MetaCost_CSB. Weka(Hall, 2009 ) is an open source Java package which contains machine learning algorithms and cost algorithms for the instance MetaCost algorithm, can be used for solving the RFID counterfeit issue in SCM. Figure 2 shows how RFID tags are fed into any classification classifier bagged with MetaCost. This procedure is an example of how wrapper method executes. MetaCost_A was also amended to create MetaCost_CSB. Weka(Hall, 2009 ) is an open source Java package which contains machine learning algorithms and cost algorithms for the instance MetaCost algorithm, can be used for solving the RFID counterfeit issue in SCM. Figure 2 shows how RFID tags are fed into any classification classifier bagged with MetaCost. This procedure is an example of how wrapper method executes.

Input: a set of audit data: T= {t1,…, tm} where each example Ti has attributes { Po, Pm, Psd, Pt, Pr} T =< (xi,yi),i=1,2,…,m >,

Labels yi Є Y = {1,…, k} A (k x k) misclassification cost matrix L, L = a classification algorithm

Output: H Estimate the class probabilities P (yi|xi)

Relabel H = L (x, y)

Return H

Fig 2. MetaCost procedure for the RFID dataset

b) Resampling The idea of resampling is to alter the distribution of the classes in a dataset according to the costs of misclassification to make any cost-insensitive classifier sensitive to costs (Zadrozny et al., 2003; Weiss et al., 2007). The goal of the resampling process is to increase the frequency of the rare class by a factor that is determined by the ratio of the costs of misclassifying the rare class and the dominant class. Undersampling In undersampling, instances of the majority class are randomly removed. This method is repeated until the target frequencies of the classes are reached. The resulting sample will have the same number of instances from the rare class but fewer instances from the majority class than before (Weiss et al., 2007). The total number of instances is reduced. By using Weka, undersampling can be done on a dataset by using the Spreadsubsample filter (Hall, 2009).

Page 8: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

26

Oversampling In oversampling, all instances of the majority class are kept. In order to reach the target frequency, instances of the minority class are sampled with replacements and added to the new sample. The total number of instances in this sample is increased because instances of the rare class may appear several times in it (Zadrozny et al., 2003). The Synthetic Minority Oversampling TEchnique (SMOTE) is a Weka implementation of the oversampling technique. The main idea is to form new minority class examples by interpolating between several minority-class examples that lie together. Costing Costing is an algorithm that builds on the undersampling technique. Basically, costing is a combination of wellknown methods: bagging and undersampling. In costing, multiple samples are drawn via undersampling and each is applied to the same classifier. For a prediction of a new instance, each classification model will vote for a class (Zadrozny et al., 2003). Its implementation builds on Weka’s voting-classifier and on its resampling filter (Witten and Frank, 2005). c) Weighting The weighting technique produces a model that is sensitive based on its weight. An expensive instance means a higher weight. Among the classifiers that fall into this category are AdaBoost (Freund and Schapire, 1996) and AdaCost (Fan et al., 1999). Weighting in general can be used to minimize the cost of misclassification if the weights are assigned according to the cost-matrix. AdaBoost AdaBoost.M1, which stands for “adaptive boosting”, was introducedby Freund and Shapire(1996).AdaBoost can be used with many different classifiers and it improves classification accuracy. This algorithm is also not prone to overfitting.In AdaBoost, the models are always trained with the whole dataset, but the instances are re-weighted after each iteration and that way leads to different models. AdaBoost.M1 is the straightforward adaptation of AdaBoost to multi-class case.AdaBoost.M1 is implemented in Weka (Hall, 2009) and can be used with any classifier. AdaCost AdaCost (Fan et.al, 1999) is a variant of AdaBoost, and hence, a variant of weighting in general. The main difference of AdaCost compared to AdaBoost, is that the calculation of the new weights of instances takes the correctness of the prediction of an instance into account and the misclassification cost of that instance. Hence, while AdaBoost is considered to be sensitive to rare classes, AdaCost is sensitive to classes with high misclassification costs. Another difference in the implementation of both algorithms is that, unlike in AdaBoost where allinstances start with the same weights, instances in AdaCost start with weights according to their misclassification costs. While AdaBoost.M1 is provided by Weka’s standard library of learning methods, AdaCost is not. However, there is an add-on for Weka that provides a collection of boosting-algorithms including AdaCost. This add-on is called the OAIDTB.

Page 9: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

27

AdaCost is designed for two-class problems. By using CSB(as shown in Figure 3) and CS-AdaBoost, the internal classifier in the adaption of MetaCost, multi-class problem (Ting, 1998) can be represented. CSAdaBoost.MH is a modified version of CSB and AdaCost to apply to the multi-class. The main idea is to assign in each artificially created binary problem per class the cost of misclassifying that class as the total sum of classifying it as any other class. CSB0, CSB1 and CSB2 are variants introduced Ting (2000) are adaptations of the AdaBoost algorithm. Adaptations to create CSB0, amended the update weight rule so that for correctly classified examples their weights are assigned the old weight. However for incorrectly classified examples, the cost of misclassifying the example is multiplied by the old weight. It does not use confidence-rated predictions in this version of the weight update function. CSB1 is a variant of CSB0. The update weight function is the only difference. CSB2 has been yet another variant of CSB0, the only difference is that this is modified by altering the weight update function of the weight vector by using misclassification costs and a parameter a.

Fig 3.Weight initialisation and weight update rule for cost-sensitive boosting CSB

3.3 Dataset Simulation 3.3.1 RFID Data Structure The data privacy and security issues can be handled by assigning a time constraint on RFID tags. The time-to-live value indicates the time restriction that targets events should satisfy. Since most RFID applications have a time restriction, it is arguable that if carefully defined, the notion of TTL to detect clones and fraudulent tags in a typical SCM is relevant. Based on the TTL taxonomy( Li et.al., 2009) there are four different notions of TTL based on the event types (including both primitive and complex events): absolute TTL (TTLa), relative TTL (TTLr), periodic TTL (TTLp), and sequential TTL (TTLsE). The detection process of cloned and fraudulent tags manipulates all of the above TTL notions. However, based on RFID applications, three relevant TTL notions for an SCM transaction and monitoring process are TTLa, TTLrand TTLsE.This paper adopts and extends TTL concept proposedby Li et.al (2009) to fit within the RFID application. In addition, the absolute TTL

Page 10: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

28

(TTLa) notion can be further categorised based on RFID applications. Some applications, such as pharmaceuticals and fast moving products (for example, dairy and foodstuff), require restrictions on the expiry date as the TTLa. 3.3.2 Simulation ofRFID Supply Chain Dataset The RFID-enabled supply chain involves either single-link or multi-link paths or both physical and business transactions. Physical transactions are the movement of products tagged with EPC tags from one location to another. In contrast, business transaction involves all the business components such as orders, invoicing, financial payment which could take place via any ERP system (Ranasinghe et al. 2008). The dataset had been simulated by understanding only the physical transactions of the supply chain. RFID tags are attached to products, for instance, Pepsi bottles. The RFID-based supply chain system involves the movement and flow of millions of data. The data generated consists of RFID tuples in the form of (EPC, location, time), where an EPC is the unique identifier read by an RFID reader, location is the place where the RFID reader scanned the item, and time is the time when the reading took place. The data generated for the RFID-based supply chain involves different supply chain partners with each partner performing different business steps and disposition (Derakhshan et al., 2007; Ranasinghe et al., 2008).Mahinderjit-Singh and Li (2009, 2010) seven-layer trust framework resides in a centralized server with an Object Naming Service (ONS) and EPC-Information Service (EPC-IS) repository (Verisign, 2004; Ranasinghe et al., 2008). The fifth layer, the detection module, consists of predefined rules of a real-time monitoring and tracking system. The tracking and monitoring system can even play a role as an intrusion detection system by using an event rule and the trigger function in the database. In simulating the supply chain datasets, a real-life supply chain link which includes two different links is projected. The path involves a manufacturer-wholesaler-retailer A and retailer B (as shown in Figure 4). Simulation of real-life supply chain involves understanding every supply chain event happening at each site such as manufacturing, tagging, sending, receiving, distributing, packaging and shelving. Monte-Carlo technique is employed for simulating RFID supply chain dataset. Other processes used in a multi-link supply chain involve the sites of a manufacturer, one distributor, one wholesaler and two retailers. Monte-Carlo simulation, or probability simulation, is a technique used to understand the impact of risk and uncertainty in financial, project management, cost, and other forecasting models(Wittwer, 2004). In a Monte-Carlo simulation, a random value is selected for each of the tasks, based on the range of estimates. The model calculates based on this random value. 3.3 RFID-Enabled Supply Chain Fraud Detector In this section, discussion on how RFID tag cloning and fraud detection and cost modeling supported by the seven-layer trust framework (Mahinderjit- Singh and Li, 2009; Mahinderjit-Singh and Li, 2010) is presented.The RFID detection system has three main components: pre-processing; detection; and response and decision module (as shown in Figure 4). Pre-processing is the component that collects an RFID event set E that is supplied by different supply chain partners. RFID event sets are then sent to the detection component where the information sources are analyzed. Several detection functions are performed on this component, such as pattern matching, traffic or protocol analysis, and finite state transition. The response and decision component notify

Page 11: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

29

the system administrator where and when an intrusion takes place and calculates the total cost of any attack. The detection engine uses the classification algorithm, and in testing, J48 is focused. The profiles contain a range of RFID tag EPC. Based on the rules set in the extension of the classification algorithm in the detection engine, it is much easier to classify the counterfeit RFID tags into fraudulent and cloned tags. Once an attack is detected, the confusion matrix will be generated. In addition, the fraud detector will be able to distinguish the locations where the cloned RFID tags were detected. This is evaluated based on the pattern of the audit data. Consequently, the result is then fed into the cost model evaluation in which computation of cost is done to obtain the decision about whether a response is required or not. This is done by calculating the cumulative cost for operating the fraud detector system.

Fig 4. Detection and cost model architecture

Cloned and fraud detector has been extended to include a package of OAIDTB software, an extension of Weka (screen shot of the system as shown in Figure 5). This extension of plug-in software is essential to ease the usage of the cost-sensitive algorithm together with classification algorithms. The OAIDTB package consists of several cost-sensitive algorithms such asAdaCost (Fan et.al., 1999), AdaBoost (Freund and Schapire, 1996), CSB variants (Ting, 2000) andother Weka cost-sensitive algorithm, namely MetaCost (Domingos, 1999).The fraud detector system is able to provide supply chain owners with different choices of cost-sensitive algorithms. The motive in this paper is to provide the most comprehensive type of cost-sensitive algorithms and evaluate each algorithm in terms of efficiency and effectiveness.

AUDIT

DATA

DETECTION

ENGINE

PROFILES

Authentication

Cost Model Evaluation

Plot graph

MODELS

ATTACK IF Deviant

SCM DATA FROM Transaction table

Add / Update New Profiles

Feed profile Profile matching

IF New profile

Provide credential before injecting testing data into detector

Once authentciated ,

- /

Feed Into

Supply Chain Plants – Manufacturer , Distributor or Retailer

ELSE

Matching Against

Prediction

Detection and Cost Model Architecture

SA Employees

Page 12: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

30

Fig 5. RFID-enabled SCM cloning/fraud detection system with OAIDTB

4. Evaluation/Results 4.1 Experiment Setup The engine is trained with a training dataset. Cloning attacks such as skimming, eavesdropping and man-in-the middle are simulated. To train the models, cross-validation was employed. Cross-validation is a standard statistical technique where training and validation data set are split into several parts of equal size, for example 10% of the compounds for a 10-fold cross-validation. An independent test dataset is simulated as well. Weka tool is utilised for experiments and use J48 as base learner. Weka normalises (reweights) the cost matrix to ensure that the sum of the costs equals the total amount of instances. There are 35 attributes which consist of EPC ID, reader ID, Product ID, TTL values and others audit pre-processed data. A size of 2000 instances is used in our experiment (as shown in Table 1). Small size of dataset is used in this work because of two reasons. Firstly, as this work stands as a pilot study and first of it kind especially in the field of RFID enabled SCM, the small size of dataset provide sufficient result in understanding the full capabilities of each classifier. Secondly, the work is mainly in its exploratory stage especially in understanding the result of both cloning and fraud acts in an RFID SCM plant. Consequently, even if the real-life SCM dataset which consist millions of RFID tags are used, experimental results of this work could be their benchmark in understanding the data patterns. A multi-link supply chain is also designed to simulate the dataset. The supply chain assembly has six points: tag tagging, packaging, shipping, receiving, unpacking and shelving.

Page 13: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

31

Table 1 RFID SCM dataset classes and distributions

Dataset Type

Attribute Instance Class Distributions genuine/cloned/fraud

Single 35 217 3 188/22/7 Multi SC 37 410 3 375/22/13 2 days 37 790 3 750/33/7 5 days 37 2514 3 2476/24/14

4.2 Multi-class classification vs. two-class classification The counterfeit detection problem can be transformed to a three-class problem since the classification model has to classify an observation as cloned, fraudulent or genuine. Most Weka classifiers can handle multi-class problems (i.e., more than two-class labels) (Witten and Frank, 2005). Some handle this naturally. Other learners that are binary class learners achieve this via learning a classifier for each label (usually in a one-against-the rest or pair-wise fashion). According to the author of Weka (Hall, 2009),Weka does not compute multi-class AUC. Each class is taken in turn as a two-class situation (where all other classes, except the one in question, are treated as the negative class). Overall, accurate results by using weighted AUC for three-class classification have been obtained. In addition, by applying pair-wise fashion (1-to-1), experiments for two scenarios: cloned vs. genuine and fraudulent vs. genuine are executed. 4.3 Evaluation Metrics Factors that affect the selection of the learner’s model include accuracy, efficiency or time taken to build the model, robustness, and the ability of the learner to handle missing values and interpretability, which means the goodness provided by the learner in terms of rule generation such as provided by decision trees(Hall, 2009).The Receiver Operating Curve (ROC) curve is a plot of the probability of true positive (recall) as a function of the probability of false alarm across all threshold settings. An ROC curve provides an intuitive way to evaluate the classification performance of an RFID detection system. The AUC (Hand, 2009) of a classifier can be interpreted as the probability that the classifier will rank a randomly chosen positive example higher than a randomly chosen negative one. In this study, AUC is used as a value to compare the performance of different prediction models on a dataset. The higher the AUC, the better the learner behaves. Evaluation of a single target class using different classification techniques (multi-class, two-class and one-class) can be performed by accumulating all predictions for each possible target held-out class combination. The area under the ROC curve (AUC) is then calculated for each target class. To compare classifier performance on the entire multi-class dataset, weighted average AUC is used, where each target class is weighted according to its prevalence (as shown in (1)).

AUC weighted = ∑ AUC (ci) x p(ci)∀𝐶𝑖∈𝐶 (1) The error rate computes a ratio of incorrectly classified instances and the total number of instances. Kappa statistic and f-measure metrics could also be used to evaluate the performance of the classifier. The kappa statistic measures the agreement between prediction and actual class. A higher kappa statistic value in observing two different learners is more favoured than the lower one. In addition, the f-measure averages both the precision-recall values equally. A guideline on how to

Page 14: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

32

convert a cost-insensitive algorithm to a cost-sensitive algorithm by using some techniques is shown in Table 2. In Table 2, various types of cost-sensitive categories and the relevant algorithms are shown. The method of how these individual algorithms in Weka can be bagged, build and transform into cost-sensitive algorithms are revealed. These findings have never been explored and discussed in detailed. So far, this novel finding demonstrates the full optimisation and functionality of the Weka tool, especially in the field of cost-sensitive classification. Table 2 Cost-sensitive algorithms (Misclassification Cost)

Cost-Sensitive Category

Types Algorithm Weka techniques

Direct Optimal C4.5 CS C4.5 + csc C4.5CS_ mc C4.5 + csc + set min cost to

true Probability Smoothing C4.5 + Laplace= true

By input manipulation

Wrapper (Relabeling )

Metacost (bagging)

C4.5 + Metacost

Metacost_A C4.5 + Metacost + Adaboost Metacost_CSB C4.5 + Metacost + CSB

Resampling

Undersampling

C4.5 + Spreadsubsample

Oversampling C4.5 + SMOTE Costing

C4.5 + Costing SpreadSubsample using voting

Weighting

Adaboos( bagging)

C4.5 + Adaboost

Adacost (OAIDTB) C4.5 + Adacost 5. Results of Experiments In this section, the results of the experiments are shown. The following plotted table and figures such as Table 3 and Figures 6-8 demonstrate the performance of the classifiers in terms of effectiveness and efficiency. These figures consist of single-link SCM and 5 days accumulated data. In addition, results are collected for different types of cost such as misclassification and test cost. Different variants of MetaCost and CSB variants are also tested. We illustrate the calculated cost by applying the cost model (Mahinderjit-Singh et al., 2011). Finally, the performance of multi classifiers against a different size of dataset is also discussed. For multi-dataset performance, due to page constraint, the result obtained is not attached here. The experiment results and its discussion are done together to ease the reader’s understanding. 5.1 Accuracy Rates per- Classifier The result for single-link dataset is shown in Table 3 in term of performance rates such as accuracy, error rate and precision-recall. The experiments for different datasets are also run, but the result is not included in this paper due to pages constraint.

Page 15: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

33

Table 3 Overall performance of single-link SCM dataset Condition : Without Cost Algorithms Accura

cy W.AUC

Error rate

Average precision

Average Recall

F-measure

Kappa

Time(s)

J48 (CV) 96.31 0.787 3.69 0.965 0.963 0.96 0.8241

0.31

J48, binary split=True ( CV)

95.39 0.819 4.60 0.952 0.954 0.952 0.7943

0.06

Condition : With Cost Algorithms Accura

cy W.AUC Error

rate Average Precision

Average Recall

F-measure

Kappa Time(s)

J48 ( bagging) 95.85 0.796 4.15 0.96 0.959 0.955 0.7987

0.12

a) Direct cost-sensitive

i) Optimal : CSC (reweight)

96.31 0.787 3.69 0.965 0.963 0.96 0.8241

0.01

: CSC Min error

96.31 0.862 3.69 0.965 0.963 0.96 0.8241

0.01

ii) Smoothing :Laplace; true

96.31 0.786 3.69 0.965 0.963 0.96 0.8241

0.01

b) Cost-sensitive by learning

i) Resampling Under sampling –

96.31 0.791 3.69 0.965 0.963 0.96 0.8241

0.12

Costing 96.31 0.862 3.69 0.965 0.963 0.96 0.8241

0.01

Oversampling 95.54 0.817 4.46 0.958 0.955 0.952 0.8205

0.01

ii) Weighting Adaboost.M1 91.71 0.806 8.29 0.908 0.917 0.908 0.590

4 0.19

Adacost 96.31 3.69 0.959 1 0.979 0.8241

0.08

Metacost 95.85 0.845 4.15 0.96 0.959 0.955 0.7987

0.34

In contrast, when CSC with minimum expected cost is employed, the accuracy increases to 86.2%. Comparing both oversampling and undersampling, the accuracy of oversampling is much higher. Overall, costing which combines the advantage of undersampling and oversampling had the highest accuracy score compared to MetaCost and AdaCost. The resampling method is far less complex compared to weighting method. This supports the characteristic of MetaCost classifier as it increases learning time compared to other error-based classifiers. MetaCost increases the time by a fixed factor, which is approximately the number of resamples.

Page 16: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

34

The resampling technique is divided between undersampling and oversampling. In this technique, both majority and minority classes are resampled and have equal class prior probabilities. By using supply chain dataset, oversampling technique outperforms undersampling in both single-link and multi-link scenarios. This result is contrary to the finding of Drummond and Holte (2000); that undersampling often performs better than oversampling when using C4.5. This result is similar to the findings of Zadrozny et al. (2003); in which the authors claim that the difference in the datasets used and the need to perform more experiments with different levels of resampling could support the finding of the result. Overall, the resampling technique outperforms MetaCost and other techniques. However, MetaCost performs well compared to other techniques. This is because MetaCost performs well when a multi-class is used (Witten andFrank 2005) and could be bagged with any classifier. CSC provides the worse accuracy within the cost-sensitive algorithm. In a multi-link condition, the 5 day dataset which is with a higher number of instances and when data is collected for 5 days, the AUC rate showed that resampling techniques via oversampling beat other techniques. This is then followed by MetaCost. However, when a higher number of datasets are used, MetaCost and J48 with bagging have the highest kappa statistics. The kappa statistic averages the relative accuracy of all three classes and can be used to indicate the best performance learner as well. Finally, the efficiency factor, which is the speed of the learner in modelling a training dataset, indicates the speed is related to the size of training datasets. Within a single-link scenario, many learners have less time to build the model at 0.01s. For a sample collected over 5 days, the resampling technique via undersampling has a remarkably good speed at 0.16s. This is also due to reason that oversampling sampled the fraudulent and cloned tags twice, in contrast with undersampling which removes some instances. Overall, when the size of training increases, both oversampling and MetaCost have good weighted AUC. Oversampling is also faster compared to MetaCost which has a speed of 2.34s. However, from the kappa statistic, MetaCost is preferred. Accordingly, it can be concluded that, when both accuracy metrics and efficiency factors are evaluated, MetaCost is a better learner for the RFID counterfeiting problem and should be applied by business owners. 5.2 Accuracy Rates per Class Accordingly, when only the class of cloned vs. genuine is evaluated, the following result is set: i) In the single-link dataset, AdaCost outperforms other classifiers. This is then followed by MetaCost. This is shown in Figure 7. Based on Figure 7, we observe the ROC curve result for various classifiers distinguished by different categories. ii) When multi-link datasets (single and two day multi-link datasets) are used, oversampling and costing techniques seem to perform better than undersampling. MetaCost has much higher performance compared to other weighting algorithms followed by other techniques. The worst classifier for these two datasets is AdaCost. However, the downside with the resampling technique being the best classifier is the increment in learning time and discrimination in dataset distributions.

Page 17: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

35

Fig 7. ROC curve for cloned vs. genuine for single-link dataset iii) When the 5 day multi-link dataset is employed, MetaCost outperforms other classifiers. This is then followed by AdaBoost and AdaCost. MetaCostas a learning algorithm is proved empirically to show excellent performance in classifying a counterfeit dataset. However, when a higher number of training sets was used via the 5 day multi-link dataset, MetaCost outperforms other classifiers. Accordingly, when only the class of fraudulent vs. genuine is evaluated, the following result is set:

Page 18: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

36

i) For single-link SC, resampling using oversampling has much higher performance. It performs better than other weighting techniques. This is shown from Figure 8. ii) Thoroughly, in a multi-link scenario, oversampling performs well under the 2 day and single multi-link chain. However under the 5 day scenario, AdaCost performs the best. For the fraud distribution dataset, oversampling performs better than undersampling.

Fig 8. ROC curve for fraudulent vs. genuine for single-link dataset

Page 19: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

37

Overall, for both class distributions, oversampling is always a better option compared to other resampling techniques. Meanwhile, both MetaCost and AdaCost are also good options for a larger dataset. However, based on the distribution of both classes, the number of instances in each class and its distribution plays a significant part in finding the optimal classifier. As a result, when performances are evaluated based on class, the summation can be made that oversampling, MetaCost and AdaCost provide surprisingly good results in contrast to the rest. 5.3 Total Misclassification Cost The following result is the total misclassification cost calculated by adjusting the cost matrix and when the changes took effect in terms of accuracy. The result obtained is then computed in terms of dollar value based on the value of cost model (Mahinderjit-Singh et al., 2011) for both cloned and fraudulent tags. Table 4 2x2 cost Matrix (SA testing cost) (Mahinderjit-Singh et.al, 2011) Table 5 Cost Model calculated for SA testing (using matrix in Table 4) (Mahinderjit-Singh et.al, 2011)

Cost types| Cost matrice

FN FP (DCost ≥ Rcost)

TP (∀∈ E’ SA)

TN

SDCost 29.5 29.5 0 Operational 20 20 20 Penalty 20 0 Sum 49.5 69.5 20 139 Normalized Score

35.6% 0.0% 50.0% 14.4% 100.0%

Attack No Attack Detection RcA+ OcA RcA+ OcA+ Pe No detection DcA+ OcA OcA

Page 20: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

38

Fig 6. Total misclassification cost (in US dollars) for multiple classifiers

By using the cost model (Mahinderjit-Singh et al., 2011), test cost, which requires system administrator intervention, can be calculated as well. Cost matrix in Table 4 demonstrates how SA testing cost can be calculated by using cost types such as damage (DcS), penalty cost (Pe)and operational cost (Ocs). Table 5 was derived values quantified by using Multi-criteria decision making tool such as AHP. In depth explanation on how to quantify these values can be referred from Mahinderjit- Singh et.al (2011) work. Each value obtained has been outlined according to Table 5. The value is in USD dollar and for 10 tags. Based on Table 5 for testing both cloned and fraud, an average USD 4.00 is being charged. By using Turney (2000) approach as shown in (2) , the average cost can be normalized by dividing it by the standard cost. Let be the frequency of class iin the given dataset. That is, is the fraction of the cases in the dataset that belong in class i. The entire dataset can be calculated and not just the training set.Let Ci,j be the cost of guessing that a case belongs in class i, when it actually belongs in class j. Let T be the total cost of doing all of the possible tests. The standard cost (Turney, 2000) is defined as follows:

Standard Cost = T + min (1 – fi ) max Cij (2) Based on the misclassification cost shown in Figure 6, it is concluded that these results are similar to the weighted AUC curve result. This finding is surprisingly true as all three classifiers that have the highest AUC rate, even have the lowest misclassification cost. The MetaCost total misclassification cost for multi-link SCM is the lowest at $8.00. This is then followed by oversampling and AdaCost. The worst is AdaBoost.

Page 21: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

39

5.4 Accuracy for MetaCost and its Variants Table 6 shows the results of MetaCost and it’s variants. In addition, Table 7 presents the modelled cost values for running the cloning and fraud detector for a single-link dataset. Table 6 RFID SCM dataset accuracy for boosting and weighting category classifiers

Datasets Single MSM 2 days 5 days Metacost 95.8 95.9 98.9 99.7 CS_Adaboost.M1 91.7 94.9 98.2 99.1 CSB0 10.1 5.1 4.1 1.0 CSB1 54.4 94.39 2.41 0 CSB2 57.1 82.4 30.3 0.68 Metacost_A 95.4 95.1 98.4 99.3 Metacost_CSB0 8.8 91.2 0 0.2 Metacost_CSB1 77.0 90 28.2 0.03 Metacost_CSB2 87.6 37.1 96.5 19.0 Adacost 96.31 95.122 97.59 99.48

Based on the result in Table 6, both MetaCost and boosting category algorithms were evaluated to observe the accuracy result of each algorithm using RFID dataset. Overall, both complex approaches without any variants such as MetaCost and Adacost perform the best over all the datasets. According to Ting (2000), a good cost-sensitive classifier should always take cost considerations into account in the training process. When MetaCost variants such as MetaCost_A and MetaCost_CSB techniques are used, no cost is taken into account in the training set. These wrapper types of classifiers do not perform as well as MetaCost itself. However, based on the evaluation, MetaCost_A performs slightly better than MetaCost_CSB variants. In addition, MetaCost_CSB2 outperforms the other variants of MetaCost_CSB. AdaCost, on the other hand, performs better in term of performance comparisons to other MetaCost variants, AdaBoost and CSB algorithms. However, MetaCost is still preferred when multi-class dataset is present. Another interesting point is that AdaBoost always performs better than CSB variants and MetaCost_CSB variants due to the fact that CSB only works for two-class problems and CS_AdaBoost should be selected to represent multi-class problems. CS-AdaBoost performs much better than CSB and should be selected to represent multi-class problems. CSB performs worse, compared to AdaBoost in a multi-class problem. 5.5 Cost Model Based on the cost model by Mahinderjit-Singh (2011), the cost of cloned and fraudulent RFID tags in the supply chain are calculated. In this paper, only the single-link cost model result (as shown in Table 7) is plotted for both the cloning and fraud cost matrix. By applying the novel RFID-enabled SCM cost-model in Mahinderjit-Singh (2011), damage, response, system administrator costs and penalty cost is further defined and discussed.

Page 22: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

40

Table 7 Cost model computation for single-link dataset

Single Link Dataset Cost matrix for cloning attack Cost types|

FN FP (DCost ≥ Rcost)

TP (DCost ≥ Rcost)

TP (DCost<Rcost) TP

(all SA) TN SUM

DCost 80.55

80.55 80.55 0 241.65 SDCost 29.5

29.5

0 59

RCost

80.55 80.55

0 161.1 Penalty

20

20 0 40

Sum 110.05 100.55 110.05 80.55 100.55 0 501.75

Attacks \Cost model Cost-Insensitive Cost-Sensitive SUM

Cloning 501.75 210.60 712.35

Fraud 196.08 80.70 276.78

Counterfeiting (Sum) 697.83 291.30 989.13 Based on the damage and response cost calculation, there is a need for System Administrator (SA) to respond to these counterfeiting attacks since the damage cost is more than the response cost. In addition, empirically two different models are being calculated, namely, a cost-sensitive and cost-insensitive model. Another compelling result is that, both the cost of the cost-insensitive and cost-sensitive model as we run the fraud system is also calculated. The overall counterfeiting cost of the cost-insensitive model is around USD 698.00. In contrast, the cost to execute the system in a cost-sensitive manner is only USD 292.00. There is a reduction of 42% when the system is evaluated using the cost-sensitive model. 5.6. Multi-Dataset Performance The performance of multiple classifiers against different types of datasets concludes that weighted accuracy for classifiers increases based on the size of the dataset of training. When 5 day multi-link

Single Link Dataset Cost matrix for Fraud

Cost types|

FN FP (DCost ≥ Rcost)

TP (DCost ≥ Rcost)

TP (DCost<Rcost)

TP(all SA) TN SUM DCost 21.96 21.96 21.96 0 65.88 SDCost 29.5 29.5 0 59 RCost 15.6 15.6 0 31.2 Penalty 20 20 0 40 Sum

51.46 35.6 45.1 21.96 41.96 0 196.08

Page 23: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

41

datasets were tested with different types of cost-sensitive classifiers, the oversampling technique has the highest weighted accuracy. It is then followed by MetaCost (97.3%). The worst result is collected by CSC (78.8%) followed by undersampling (79.1%). In terms of precision, MetaCost has much higher precision followed by oversampling (99.7%). For recall on the other hand, the MetaCost result falls behind AdaCost. On average, MetaCost is still the best cost-sensitive classifier for all types of RFID counterfeit dataset distributions in this work. R 6. Conclusion Based on the experiments done regarding the learners’ performances in term of effectiveness (weighted AUC, precision-recall, f-measure, and kappa statistics), efficiency (speed of learner), misclassification cost and average test-cost result, we could conclude that MetaCost learners provide the best result. However, we also found that compared to AdaCost, MetaCost is more expensive in classifying counterfeit tags. Another interesting result shown is that within the resampling techniques, both oversampling and undersampling turn out to perform well under different circumstances. Overall, for both class distributions, oversampling is always a better option and provides good quality result compared to other resampling techniques. When the size of the training set increases, MetaCost and AdaCost outperform other classifiers. However, when efficiency becomes an issue, AdaCost takes a longer time to build the training model. On the whole, the experiments executed in this paper will provide supply chain owners with tools they can use to apply cost-sensitive algorithms. This paper provides a comprehensive guide on how to use these tools and provides a guide as to which learner is better than the rest. However, the selection of the type of classifier still requires the justification from the business owners according to their business need. The pre-processing method plays a vital role as well. Our future work will be utilising the knowledge and expertise learned in cost-sensitive detection of counterfeiting with other types of security attacks in RFID SCM. Another engaging work will be to apply the result studied here to real-world RFID-enabled SCM. Acknowledgement This work is partially sponsored by Ministry of Higher Education Malaysia. References Chen P.T and Laih C.S. "IDSIC: an intrusion detection system with identification capability." Int. J. Inf.

Secur.7(3): 185-197 2008. http://dx.doi.org/10.1007/s10207-007-0024-z

Derakhshan R, Orlowska ME, Li X. RFID data management: Challenges and opportunities. In: D.W.Engels, IEEE International Conference on RFID 2007. IEEE International Conference on RFID, 2007, Grapevine, Texas, USA, pp 175-182,26-28 March, 2008 Domingos P. MetaCost: A general method for making classifiers cost-sensitive. In Proceedings of the Fifth International Conference on Knowledge Discovery and Data Mining, pp 155-164, 1999 ACM Press.

Drummond C, Holte R. Exploiting the cost insensitivity of decision tree splitting criteria. In Proceedings of the 17th International Conference on Machine Learning, 2000 pp 239- 246

Page 24: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

42

Fan W, Stolfo S. AdaCost: misclassification cost-sensitive boosting, In Proc. 16th International Conf. on Machine Learning, 1999,pp 97--105

Fan W, Lee W, Stolfo S, Miller M. A multiple model cost sensitive approach for intrusion detection. In: Proc. Eleventh European Conference of Machine Learning, Barcelona Spain, pp. 148–156, 2000.

Freund Y, Schapire RE . Experiments with a new boosting algorithm. In Machine Learning: Proceedings of the Thirteenth International Conference, pp148 -156. Morgan Kauffman, San Francisco.

Gao X, Wang H, Shen J, Song JH, "An Approach to Security and Privacy of RFID System For Supply Chain," Proceedings of the IEEE International Conference on E-Commerce Technology for pp 164 – 168.Frontiers, Springer, pp 1-20, July 2009, PMCid:2631383

Hall M, Holmes G, Pfahringer B, Reutemann P,and Witten IH (2009) . "The WEKA Data Mining Software: An Update; SIGKDD Explorations." 11(1) http://dx.doi.org/10.1145/1656274.1656278

Hand DJ. "Measuring classifier performance: a coherent alternative to the area under the ROC curve", Journal in Machine Learning, 2009, pp 103-123.

Juels A. Strengthening EPC Tags Against Cloning, (Jakobsson M and Poovendran R, eds.), ACM Workshop on Wireless Security (WiSe), pp.67-76. 2005.

Lee W, Stolfo S, Mok K. A Data Mining Framework for Building Intrusion Detection Models. Proceedings of the IEEE Symposium on Security and Privacy, Oakland, CA, pp. 120-132. 1999.

Lehtonen M, Michahelles F, Fleisch, E. How to Detect Cloned Tags in a Reliable Way from Incomplete RFID Traces. In 2009 IEEE International Conference on RFID, Orlando, Florida, April 27-28, 2009, pp. 257 - 264.

Lehtonen M. Trust and Security in RFID-Based Product Authentication System, Systems Journal, IEEE, vol. 1, pp. 129-144, 2007 http://dx.doi.org/10.1109/JSYST.2007.909820

Li X, Liu J, Sheng QZ, Zeadally S, Zhong W. TMS-RFID: Temporal Management of Large-ScaleRFID Applications,International Journal of Information Systems Frontiers, Springer, pp 1-20, July 2009,

Mahinderjit-Singh M, Li X ;Trust in RFID-Enabled Supply-Chain Management,in International Journal of Security and Networks (IJSN), 5, 2/3 (Mar. 2010), 96-105. http://dx.doi.org/10.1504/IJSN.2010.032208. http://dx.doi.org/10.1504/IJSN.2010.032208

Mahinderjit-Singh M, Li X, Li Z. A Cost-based Model for Risk Management in RFID-Enabled Supply Chain Applications", Chapter 9, in Supply Chain Management, Edited by PengZhong Li, ISBN 978-953-307-184-8, pp201-236, 2011. http://dx.doi.org/10.5772/15067

Mahinderjit-Singh M, Li X. "Trust Framework for RFID Tracking in Supply ChainManagement," Proc of The 3rd International Workshop on RFID Technology – Concepts, Applications, Challenges (IWRT 2009),Milan, Italy, pp 17-26, 6-7 May 2009.

OAIDTB (Other Aplication Interactively Demonstrating Techniques of Boosting) URL http://pisuerga.inf.ubu.es/lsi/Software/oaidtb

P.D.Turney "Cost-sensitive classification: Empirical evaluation of a hybrid genetic decision tree induction algorithm." Journal of Artificial Intelligence Research: 369--409 1999.

Provost FJ, Domingos P.Tree induction for probability –based ranking. In Procedding of Machine Learning, pp 199-215.

Quilan JR . C4.5, Programs for Machine Learning. Morgan Kaufmann Publishers, 1993. Ranasinghe DC, Harrison MG, Cole PH.: EPC network architecture In: Cole PH and Ranasinghe DC, (eds.)

Networked RFID Systems and Lightweight Cryptography: Raising Barriers to Product Counterfeiting. Springer; 1 edition . 2000. pp. 59-78 ISBN 9783540716402

Ruohama S and Kutvonen L. Trust management survey, Proceedings of iTrust 2005, number 3477 in LNCS, pp 77--92, Springer-Verlag 2005.

Page 25: Counterfeiting Detection in RFID-enabled Supply Chain - Counterfeiting Detection in RFID...Counterfeiting Detection in RFID-enabled Supply Chain . Manmeet Mahinderjit-Singh1*, ...

Manmeet Mahinderjit-Singh, Xue Li, and Zhanhuai Li / Journal of Advanced Internet of Things (2013) 1: 19-43

43

Saaty T. An exposition of the AHP in reply to the paper remarks on the analytic hierarchy process. Management Science 36 (3),1990 259–268. http://dx.doi.org/10.1287/mnsc.36.3.259

Ting KM. A comparative study of cost-sensitive boosting algorithms.In Proceedings of the 17th International Conference on Machine Learning(ICML), 2000 pp983--990.

Ting KM. Inducing Cost-Sensitive Trees via Instance Weighting. In Proceedings of the Second European Symposium on Principles of Data Mining, 1998 pp 139-147

Turney PD. Types of cost in inductive concept learning. In Proceedings of the Workshop on Cost-Sensitive Learning at the Seventeenth International Conference Machine Learning, Stanford University, California, 2000 pp 15--21.

VeriSign Inc: EPC Network Architecture (2004),URL : http://www2.wiwi.hu-berlin.de/is/internetekonomie/downloads/rfid/IT_Infrastruktur/013343.pdf

Weiss GM, McCarthy K, and Zabar B. Cost-sensitive Learning vs. Sampling: Which is Best for Handling Unbalanced Classes with Unequal Error Costs? In Proceedings of the 2007 International Conference on Data Mining, CSREA Press, pp 35-41, 2007.

Weka Machine Learning Project, "Weka," URL http://www.cs.waikato.ac.nz/~ml/weka Witten IH and Frank E. Data Mining – Practical Machine Learning Tools and Techniques with Java

Implementations. Morgan Kaufmann Publishers. Wittwer JW. "Monte Carlo Simulation Basics" From Vertex42.com, June 1, 2004,

http://vertex42.com/ExcelArticles/mc/MonteCarloSimulation.html Zadrozny B, Langford J, Abe N. Cost- sensitive learning by Cost-Proportionate instance Weighting. In

Proceedings of the 3rd International Conference on Data Mining, pp. 435 2003. http://dx.doi.org/10.1109/ICDM.2003.1250950