Internet Traffic Classification and Identification by Using Support Vector Machines
- Author
- LiuJianNan
- Advisor
- ZhangZongSheng
- School
- Jilin University
- Major
- Network and Information Security
- Classification
- TP393.06 Computer networks, test , run
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 70
- Citations
- 0
- Traffic Classification
- machine learning
- Support Vector Machine
- One Class Supportvector machine
- Parameter Selection
Abstract
Classifying and identifying the network traffic is important to improve the networkquality-of-service, optimize the network performance and avoid virus attack. With thedevelopment of network, How to classify network traffic accurately has become one of themost important issues. Port-based classification no longer guarantees the reliably accuracy.Using payload-content need to analyze the full flow payload, the overheads is unacceptable.To address this traditional question, we proposed a traffic classification and identificationbased on One Class Support Vector Machine which uses only positive labeled training dataset.The principle of Support Vector Machines which based on Structural Risk MinimizationPrinciple and Vapnik-Chervonenkis Dimension is to find the best separating hyperplanewhich guarantees the maximum margin to separate two classes. It converts the classificationproblem to a Quadratic Programming with Lagrange parameter and dual problem and mapsthe flow to a high dimensional space to make the training set linearly separable by using theKernel function. It is known that SVM is suitable for the small sample and the classificationproblem of high dimensional feature space. It is beneficial to use One Class Support vectorMachine against to the unbalance flow set, therefore, we build the traffic c lassification modelof OCSVM. This paper will use python and weka to deal with the data set, and also usematlab and libsvm as the development tools to implement the traffic classification model.For SVM, the classified performance is fully dependent on the values of parameter, so itis essential to optimize parameter selection. The F1-measure will be used as the criterion.Then, training the data to build module by the most optimal parameter.There are some innovations in this paper as is shown below:1. There are two experiment modules in my paper: one is with all kinds of flows, theother is only the kinds of DB、MAIL、SERV、WWW. Both of them would be high inprecision and low in false alarm rate.2. Because of the classification module is based on the One Class Support vectorMachine, the train set has only positive data, so the value of FP and TN will be0and theassessment will be laminated. This paper proposes one improved9fold cross validation algorithm, its dataset will not only contain the sample of its own type, but also contain thesamples in all the other types, so the assessment will be more reliable.3. The number of flow set used in this paper has248attributes, so either the process ofdata collecting or the process of classifying will be time-consumed, and the redundancy andnoise will affect the performance of classification to some extent. In the second module, weuse FCBF feature selection in classification to select20features from248of the flow,it cannot only clearly decrease the dimension of the flow and lower the time complexity, but alsoimprove the classification accuracy and stably.4. It is still less to research on the parameter optimization problem of OCSVM in the ITarea. In the whole process of optimizing parameters, this paper proposes three algorithms (thehigh resolution v-grid search, the particle swarm optimization with dynamic inertial factor w,the weight simulated annealing) to find the optimization parameter of the classification model,contrast to the default grid search algorithm, the genetic algorithm, the ant colony optim-ization algorithm, all of the algorithms have high F1-measure.According to the performance assessment, traffic classification module being proposedwill be more accurate and stable. It has great advantages in the unbalanced data sets and highdimensional attribute spaces.
Table of contents
Summary 4-5
Summary 5-7
Abstract 7-12
Chapter 1 Introduction 12-16 <br / > 1.1 background and significance 12-13
1.1.1 background 12
1.1.2 traffic Classification meaning 12-13
1.2 the traditional traffic classification methods 13-15
1.2.1 port mapping traffic classification method based 13-14
1.2.2 load -based traffic classification method of content analysis 14-15
1.3 thesis structure 15
1.4 Summary 15-16
Chapter 2 traffic classification 16-25 <br / > 2.1 traffic classification basics 16-18
2.1.1 workflow definition 16-17
2.1.2 traffic Classification basic process 17-18 <br / > 2.2 classification based on machine learning theoretical foundation 18-21
2.2.1 feature selection 18
2.2.2 training - cross validation 18-19
2.2.3 forecast - Evaluation Criteria 19-21
2.3 based on machine learning classification algorithms 21-24
2.3.1 unsupervised machine learning traffic classification 21-23
2.3.2 supervised machine learning traffic classification methods machine Learning traffic classification methods 23-24
2.3.3 semi- guided 24
2.4 Summary theory SVM 24-25
Chapter 3 supports 25-37
3.1 SLT theoretical foundation 25-28
3.1.1 empirical risk minimization principle 25-26
3.1.2 promotion of community 26-27
3.1.3 structured risk minimization theory 27-28
3.2 support vector machine theory 28-34
3.2.1 optimal hyperplane 29-30
3.2.2 linear inseparable issues 30-32
3.2.3 generalized linear classification 32-34
3.3 single- class support vector machine 34-36
3.4 of this chapter Summary 36-37
Chapter 4 OCSVM network traffic classifier based implementation 37-48
4.1 experimental Procedure 37
4.2 data set acquisition and processing 37-41
4.2.1 data acquisition 37-39
4.2.2 dataset sampling 39-40
4.2.3 format conversion 40
4.2.4 normalized 40-41
4.3 cross validation and parameter selection 41-45
4.3.1 improvements nine die cross validation 41-42
4.3.2 kernel parameter σ 42-43
4.3.3 equilibrium parameters v 43
4.3.4 OCSVM parameter selection 43-44
4.3.5 parameter selection dataset achieve 44-45
4.4 single- class classification model 45-47
4.4.1 grid search 45-47
4.4.2 single class classifier design and evaluation 47
4.5 Summary 47-48 Chapter 5
improved single class traffic detector 48-65
5.1 design flow 48-49
5.2 feature selection 49-51
5.2.1 FCBF algorithm 49-51
5.2.2 experimental evaluation initially achieved 51
5.3 single- class classification model 51-54 <br / > Preferences 5.3.1 dataset 51-52
5.3.2 evaluate the classification detector test dataset 52
single class detector 5.3.3 achieve 52-54
5.4 parameter selection optimization algorithm 54-64
5.4.1 improved V-GS 54-57
5.4.2 dynamic particle swarm inertia factor 57-60
5.4.3 weights simulated annealing 60-62
5.4.4 comparative assessment of genetic and ant colony algorithm 62-64
5.5 classification model to achieve improved contrast 64
5.6 summary 64-65
Chapter 6 summary and Outlook 65-67
6.1 summarizes 65
6.2 Prospects 65-67
References About 67-71
author and research obtained during the study period achievement 71-72
Thanks 72
Related dissertations
- Algorithm Design of Image Content Analysis Based on SVM
- Research on Object Counting Based on Support Vector Machine and Regularized Risk Minimization
- Microrna Prediction Using SVM Based on Imbalance Dataset
- Research Related to Support Vector Machines
- A Class of Intelligent Control Method Based on Learning Human Strategy and Its Stability Analysis
- SVM-Based Novel Method of Online Spam Filtering
- Research of Intrusion Detection Based on Combination of Multiple Classifiers
- Research on High-speed IP Service Awareness Based on Traffic Measurement
- Research of Network Traffic Classification Based on Sampling
- A Novel System for P2P Traffic Identification Based on Packet Inspection and Machine Learning
- Research on Key Techniques of Traffic Identification in Broadband Access Network
- Study on Key Technology of IP Network Service Identification
- Study on green credit rating model of commercial banks based on support vector machine
- The Risk Pre-warning Research of Commercial Bank That Based on SVM Method
- A Study of the Dollar Index Forecast Based on the SVM Theory
- Research and Implementation of Financial Crisis Early Warning for SMEs Listed Companies in China
- Research on Internal Control Quality Evaluation and Its Early-warning Function to Financial Fraud
- Research on the Delisting Risk Warning Methods of Listed Companies Based on SVM
- The Study of Cooperation Innovation Partners Trust Evaluation Based on Knowledge Transfer
- Research on Current Situation and Development Countermeasures of Modern Logistics Industry in Jilin Province