+ All Categories
Home > Documents > BEAM DETECTION BASED ON MACHINE LEARNING...

BEAM DETECTION BASED ON MACHINE LEARNING...

Date post: 07-Jun-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
1
CNN for FEATURE EXTRACTION We construct a convolutional neural network based on VGG16 and extract features of the figures from transitive training of VGG16 outputs. This CNN is composed of 13 convolutional layers, 3 pooling layers and 3 fully connected layers as shown in the following figure. The output of penultimate and ante- penultimate layers are connected end to end to form the feature vectors. The feature for the th figure is denoted by . To avoid overfitting, we use principle components analysis (PCA) to extract the most influential features. FUTURE WORK 1. Combine linear regression and classification for the loss function. 2. Normalize figure intensity before training. 3. Optimize learning rates for each layer in CNN. ABSTRACT The positions of electron beams and la- ser beams are of fundamental impor- tance in the control and maintenance of the free electron laser at Stanford Linear Accelerator Center (SLAC). Thus, we hope to have an algorithm capable of locating the projected beams' positions on virtual cathode camera (VCC) screen quickly and automatically. To achieve this goal, we first construct a convolutional neural network (CNN) and train preprocessed pictures. The purpose of this step is extracting codewords in certain layers. Next we use these codewords as features and apply supportive vector machine (SVM) to regress and predict the positions of beam spots. BEAM DETECTION BASED ON MACHINE LEARNING ALGORITHMS Haoyuan Li ([email protected]) Qing Yin ([email protected]) DATASET The dataset in this project consists of 16362 VCC screen figures on which the ground truth of beam positions are well marked. Each figure contains only one beam spot. Only 162 of them originate from the SLAC database and are preprocessed by Gaussian blur and background subtraction. The rest 16200 figures are artificially generated by applying three methods on original ones: cutting and refilling, shifting and adding white noises. SVM for LINEAR REGRESSION We use supportive vector regression (SVR) with Gaussian kernel to model the situation. The position of the beam in each figure is represented by the coordinates of two diagonal vertices: . The four parameters of the position are independent. So we train a SVR model for each of the four labels by maximizing the following dual function: Here, regularization is implemented and , where is the penalty ratio of the difference between the predicted label and the real label, , . m is the number of training samples. REFERENCES [1] Z. Huang, K. Kim and R. Lindberg. Synchrotron Radiation and Free- Electron Lasers. Cambridge University Press, 2017. [2] C. Pellegrini, A. Marinelli, and S. Reiche. The physics of x-ray free- electron lasers. Rev.Mod. Phys., 88:015006, Mar 2016. [3] A. Smola and B. Scholkopf. A tutorial on support vector regression. Statistics and computing, 14(3):199–222, 2004. i q (i) 2 R 8192 z (i) =(y (i) min ,y (i) max ,x (i) min ,x (i) max ) T L s = m X i=1 s i z (i) s - 1 2 m X i,j =1 s i s j K (q (i) ,q (j ) ) s =1, 2, 3, 4 i 2 {1, 2, ··· ,m} t i 2 [-t, t] l 2 RESULTS AND DISCUSSIONS The codewords-based SVM obtains superior performance. Figure 1 demonstrates typical performance on test sets in a nine-fold cross validation. Red and white boxes are predictions and ground truth respectively. Colors in the subfigures represent relative intensity of beam. Figure 2 shows the influence of PCA dimension on the average ratio of overlapping to true spot area. Figure 3 demonstrates the training error. ABSTRACT DATASET SMV FOR LINEAR REGRESSION FUTURE WORKS REFERENCES CNN FOR FEATURE EXTRACTION RESULTS AND DISCUSSIONS 12/13/16 Copyright@Haoyuan&Qing
Transcript
Page 1: BEAM DETECTION BASED ON MACHINE LEARNING ALGORITHMScs229.stanford.edu/proj2016/poster/LiYin-Beam... · machine (SVM) to regress and predict the positions of beam spots. BEAM DETECTION

CNN for FEATURE EXTRACTIONWe construct a convolutional neural network based on VGG16and extract features of the figures from transitive training ofVGG16 outputs. This CNN is composed of 13 convolutionallayers, 3 pooling layers and 3 fully connected layers as shown inthe following figure. The output of penultimate and ante-penultimate layers are connected end to end to form the featurevectors. The feature for the th figure is denoted by .To avoid overfitting, we use principle components analysis(PCA) to extract the most influential features.

FUTURE WORK1. Combine linear regression and classification for the loss function.2. Normalize figure intensity before training.3. Optimize learning rates for each layer in CNN.

ABSTRACTThe positions of electron beams and la-ser beams are of fundamental impor-tance in the control and maintenance ofthe free electron laser at StanfordLinear Accelerator Center (SLAC).Thus, we hope to have an algorithmcapable of locating the projectedbeams' positions on virtual cathodecamera (VCC) screen quickly andautomatically. To achieve this goal, wefirst construct a convolutional neuralnetwork (CNN) and train preprocessedpictures. The purpose of this step isextracting codewords in certain layers.Next we use these codewords asfeatures and apply supportive vectormachine (SVM) to regress and predictthe positions of beam spots.

BEAM DETECTION BASED ON MACHINE LEARNING ALGORITHMSHaoyuan Li ([email protected])Qing Yin ([email protected])

DATASETThe dataset in this project consists of16362 VCC screen figures on whichthe ground truth of beam positionsare well marked. Each figurecontains only one beam spot. Only162 of them originate from theSLAC database and are preprocessedby Gaussian blur and backgroundsubtraction. The rest 16200 figures areartificially generated by applying threemethods on original ones: cutting andrefilling, shifting and adding whitenoises.

SVM for LINEAR REGRESSIONWe use supportive vector regression (SVR) with Gaussiankernel to model the situation. The position of the beam in eachfigure is represented by the coordinates of two diagonalvertices: . The four parametersof the position are independent. So we train a SVR model foreach of the four labels by maximizing the following dualfunction:

Here, regularization is implemented and , whereis the penalty ratio of the difference between the predicted

label and the real label, , . m is thenumber of training samples.

REFERENCES[1] Z. Huang, K. Kim and R. Lindberg. Synchrotron Radiation and Free-

Electron Lasers. Cambridge University Press, 2017.[2] C. Pellegrini, A. Marinelli, and S. Reiche. The physics of x-ray free-

electron lasers. Rev.Mod. Phys., 88:015006, Mar 2016.[3] A. Smola and B. Scholkopf. A tutorial on support vector regression.Statistics and computing, 14(3):199–222, 2004.

i q(i) 2 R8192

z

(i) = (y(i)min

, y

(i)max

, x

(i)min

, x

(i)max

)T

Ls =mX

i=1

↵si z

(i)s � 1

2

mX

i,j=1

↵si↵

sjK(q(i), q(j))

s = 1, 2, 3, 4i 2 {1, 2, · · · ,m}t

↵i 2 [�t, t]l2

RESULTS AND DISCUSSIONSThe codewords-based SVM obtains superior performance. Figure 1demonstrates typical performance on test sets in a nine-fold crossvalidation. Red and white boxes are predictions and ground truthrespectively. Colors in the subfigures represent relative intensity of beam.Figure 2 shows the influence of PCA dimension on the average ratio ofoverlapping to true spot area. Figure 3 demonstrates the training error.

ABSTRACT

DATASET SMV FOR LINEAR REGRESSION

FUTURE WORKS

REFERENCES

CNN FOR FEATURE EXTRACTION RESULTS AND DISCUSSIONS

12/13/16 Copyright@Haoyuan&Qing

Recommended