Literature DB >> 34141580

Classification and discrimination of real and fake blood based on photoacoustic spectroscopy combined with particle swarm optimized wavelet neural networks.

Zhong Ren1,2, Tao Liu1, Guodong Liu1,2.   

Abstract

In this work, photoacoustic spectroscopy was employed to distinguish real blood from fake blood rapidly, accurately, and recoverably. To achieve this goal, a photoacoustic detection system for blood was established in the forward mode. In the experiments, four kinds of animal blood and two kinds of fake blood in a total of 150 groups were used. The time-resolved photoacoustic signal and peak-to-peak values (PPVs) of all blood were captured in 700-1064 nm with intervals of 5 nm. Experimental results show that the amplitudes, profiles, peak-point time, and PPVs are different between real and fake blood. Although the PPVs of real blood are larger than those of the fake ones at 700-850 nm, the differences in PPVs are not obvious at 850-1064 nm, especially when there are spectral overlaps of PPVs. To accurately classify and discriminate real and fake blood, a wavelet neural network (WNN) was used to train 120 groups of blood and test 30 groups of blood. Moreover, the particle swarm optimization (PSO) algorithm was used to optimize the weights and thresholds, as well as the translation and scale factors of the Morlet-liked wavelet basis function of the WNN. Under optimal parameters, the correct rate of the WNN-PSO algorithm was improved from 63.3% to 96.7%. Next, principal component analysis (PCA) was combined into the WNN-PSO algorithm to further improve the correct rate. The results indicate that the correct rate of the PCA-WNN-PSO algorithm with 10 principal components reaches 100 %. Therefore, photoacoustic spectroscopy combined with the PCA-WNN-PSO algorithm exhibits excellent performance in the classification and discrimination of real and fake blood.
© 2021 The Author(s).

Entities:  

Keywords:  Blood; Correct rate; Particle swarm optimization; Photoacoustic spectroscopy; Wavelet neural network

Year:  2021        PMID: 34141580      PMCID: PMC8188063          DOI: 10.1016/j.pacs.2021.100278

Source DB:  PubMed          Journal:  Photoacoustics        ISSN: 2213-5979


Introduction

Blood is not only one of most important tissues in the biological body but it also plays a significant role in some fields, such as biomedical therapy, criminal investigation, and edible animal blood food. Due to the high economic added value, some events with abuse of blood have recently occurred. For example, it was reported that fake blood was used to forge and disturb the criminal scenes [1,2]. In animal inspection and quarantine, there have also been some cases of fake blood being used under the false pretence of being real blood. In addition, fake blood was used to produce counterfeit blood products. These events seriously threaten society stability and food safety. Therefore, the accurate detection and discrimination of real and fake blood is very urgent need in daily life. Since fake blood looks like real blood from colour and morphology viewpoints, it is not easy to distinguish it by only visual inspection. For gas or liquid chromatography [3,4] and biochemical analysis [5], professional staff are needed to operate the instrument and analyse the detection results via professional knowledge, and the cost of these instruments is very expensive. In addition, pure spectral methods, such as near infrared spectroscopy, Raman spectroscopy, and fluorescence spectroscopy, were used to identify real and fake blood. Wan et al. [6] used infrared spectroscopy and the correlation coefficient method to recognize blood. The correlation coefficient between the same species of animals reached 0.99, but the correlation coefficient between different species of animals ranged from 0.50948 to 0.91613. Bai et al. [7] combined Raman spectroscopy with principal component analysis (PCA) to distinguish the blood attributions of animals and humans. The recognition rate between human and animal blood reached 95 %, and the recognition rate between animals reached 90 %. Mclaughlin et al. [8] employed Raman spectroscopy and a chemometric model to identify the origin of human and animal blood. Wang [9] combined Raman spectroscopy with a chemometric method to distinguish human blood from animal blood, and the recognition rate of human and animal blood was improved by extracting phase information from Raman spectra based on the Hilbert transform. Gao et al. [10] used fluorescence spectroscopy and a back propagation neural network (BPNN) to study the recognition and classification of animal blood. Lu [11] processed the fluorescence spectra of four kinds of animal blood (pigeon, chicken, mouse, sheep) by using wavelet denoising and feature extraction of discriminant statistics and used a support vector machine (SVM) algorithm to classify and discriminate the blood. Although the distinction of blood has already been studied by using pure spectral methods, the captured spectra of samples were easily interrupted by other components and scattering light. At the same time, spectral overlap is easily generated, which limits the accuracy of spectral detection. To overcome these drawbacks, the discrimination of real and fake blood was studied via a novel alternative method, i.e., photoacoustic spectroscopy, in this work. It is a promising, hybrid and non-invasive detection method that combines the advantages of pure optics and pure ultrasonics. More importantly, the problems of scattering light and spectral overlap can be overcome because the method captures ultrasonic signals rather than photons, which can improve the detection accuracy. To date, photoacoustic spectroscopy has already been used in biomedical diagnosis, e.g., blood glucose [[12], [13], [14]], blood oxygen [[15], [16], [17]], and tumor detection [18,19]. However, research on the classification and discrimination of real or fake blood by using photoacoustic spectroscopy has not been reported before. In this work, to classify and discriminate real and fake blood via photoacoustic spectroscopy, a set of photoacoustic detection systems was established to obtain the photoacoustic signals of real and fake blood. In the system, a 532 nm pumped optical parameter oscillator (OPO) tunable pulsed laser was used as the excitation source, and a focused ultrasonic transducer was used to capture the photoacoustic signal of blood. In the experiments, six different kinds of blood, i.e., four kinds of animal blood (horse, cow, rabbit, and sheep) and two kinds of fake blood (props blood and red ink), were used as the experimental samples. The time-resolved photoacoustic signal and PPVs of all blood samples were obtained in the wavelength range 700−1064 nm with an intervals of 5 nm. To achieve highly accurate classification and discrimination of real and fake blood, a wavelet neural network (WNN) algorithm was employed. Meanwhile, a Morlet-liked wavelet basis function was used. Moreover, to improve the correct rate, the weights, thresholds, translation and scaling factors of the wavelet basis function of the WNN were optimized by the particle swarm optimization (PSO) algorithm. To obtain the optimal parameters of the WNN and WNN-PSO algorithms, the effects of neuron number in the hidden layer, two learning rate factors (, ), inertia weight, two acceleration factors (, ), iteration times, and training times on the correct rates and mean square errors of classification and discrimination of the real and fake blood were all studied. The performances of the WNN and WNN-PSO algorithms were compared. To further improve the correct rate, the PCA algorithm was used to extract the characteristic information from the photoacoustic peak-to-peak spectra at full wavelengths, then, it was also coupled into the WNN-PSO algorithm, that is, the PCA-WNN-PSO algorithm was used. To obtain the optimal principal components, the effect of different principal components on the correct rate and mean square error was investigated. Under the optimal parameters, the correct rate of classification and discrimination of real and fake blood based on the PCA-WNN-PSO algorithm reaches 100 %. There are three aims in this work. The first is to supply a novel alternative method of identifying real and fake blood. To achieve this purpose, a set of photoacoustic detection systems of blood was established to capture the time-resolved photoacoustic signal and peak-to-peak spectra of blood samples from visible light to near-infrared wavebands. The second is to compare and analyze the different properties of blood samples from the viewpoints of photoacoustic signals, as well as state the necessity of using the WNN algorithm to classify and distinguish real and fake blood. The third is to accurately classify and distinguish real blood and fake blood by using the WNN algorithm. More importantly, to further improve the correct rate, the WNN was optimized by PSO and combined with PCA, i.e., the PCA-WNN-PSO algorithm was used.

Theories

Photoacoustic spectroscopy

The basic mechanism of photoacoustic spectroscopy is the photoacoustic effect. When a beam of modulated laser with a short pulse (∼ns) irradiates a sample, the temperature will be raised within a certain period time due to the absorbed energy in the irradiated region, which results in rapid volume expansion and then generates ultrasonic waves, i.e., the photoacoustic signal. In general, the photoacoustic effect can be described by a semi-quantitative formula [20], i.e.,where is the proportion coefficient. is the energy of pulsed laser. is the optical absorption coefficient of the sample. is the radius of photoacoustic source. is the distance between the ultrasonic transducer and the photoacoustic source. In Eq. (1), , , and are constants: , , and . From Eq. (1), it can be seen that the intensity of the photoacoustic signal () is related to the parameters of the laser and ultrasonic transducer (, and ), optical properties (), and thermal and ultrasonic properties (, and ). For the different types of blood, the optical, ultrasonic and thermal properties are different, which results in a difference in the photoacoustic signal. Then, the different types of blood can be distinguished via the inversion and analysis of the photoacoustic signal.

WNN

In this work, the WNN algorithm [21] was used to classify and discriminate real and fake blood because it combines the wavelet transform and the artificial neural network. It has the great capacities of strong learning, self-adaptability and fault tolerance because it avoids nonlinear optimization problems, including the blindness of structure design and local optimization of BPNN [22]. The basic structure of WNN is shown in Fig. 1.
Fig. 1

The basic structure of WNN.

The basic structure of WNN. In Fig. 1, the WNN has three layers, i.e., input layer (Layer 1), hidden layer (Layer 2), and output layer (Layer 3). Suppose that the input layer has () neurons, and the groups of input photoacoustic PPVs are expressed as . The hidden layer has () neurons. The output layer has () neurons. In the hidden layer, a neuron excitation function , i.e., a Morlet-liked wavelet basis function, was constructed based on the Morlet wavelet basis [23] to replace the sigmoid function. The Morlet-liked wavelet is given as follows: The output values of the hidden layer () can be expressed as follows:where is the weight value between the input layer and the hidden layer and and are the translation factor and scaling factor of the wavelet basis function , respectively. and are the neuron nodes in the input layer and the hidden layer, respectively. The output values of output layer can be expressed as follows:where is the weight value between the hidden layer and the output layer. In the output layer, the linear function was chosen as the excitation function . In the WNN, the real output values are denoted as . Suppose that the desired output values of WNN are denoted as , and the objective error function of training can be expressed as follows: In addition, error back propagation was used to correct the parameters of the WNN network, i.e., the weights ( and ), translation factor and scaling factor ( and ) of the wavelet basis function, which are expressed as follows:where , , and are the corrected weights, translation and scaling factors of the wavelet basis function, respectively. , , and are the uncorrected weights, translation and scaling factors of the wavelet basis function, respectively. and are the learning rate factors.

PSO

The PSO [24] algorithm is a kind of evolutionary computation technology that originates from research on the predation behavior of birds. The basic mechanism of PSO is to find the optimal solution through cooperation and information sharing among individuals in the population. In this work, to improve the classification and discrimination rate of real and fake blood, the parameters of the WNN network, including weights, thresholds, translation factor and scaling factor of the Morlet-liked wavelet basis function, were optimized by the PSO algorithm. The basic flow chart of the PSO algorithm is shown in Fig. 2.
Fig. 2

Flow chart of PSO algorithm.

Flow chart of PSO algorithm. In the PSO algorithm, the velocity and location vectors of the particles are the two most important properties, which can be updated via the following relationship:where is the initial velocity of the particle, , and is the total number of particles. is the updated velocity of the particle, is the inertia weight, and . and are the acceleration factors, and are random numbers uniformly distributed in (0, 1), is the initial location of particle, is the updated location of particle, is the previous best particles, i.e., the individual best location of the particle, is the global best particle, i.e., the global best location among all the particles. is the iteration index. According to the Eq. (7), the updated particles are brought into the WNN network again, then the new individual and population extremum can be obtained via the training and test operations, and the worst particles are replaced by the best ones according to the migration strategy. In addition, the inertia weight is related to the global and local search capabilities of the PSO algorithm. With the increase in inertia weight, the global search capability can be improved, but the local search capability is weakened. Conversely, the global search capability can be weakened, but the local search capability is improved. To balance the two search capabilities, the inertia weight can be adjusted by the linear decreasing inertia weight (LDIW) strategy [25], i.e.,where is the present number of iterations, is the maximum number of iterations, is the initial inertia weight, and is the final inertia weight at the maximum number of iterations. is inertia weight variant, . In general, at the minimum number of iterations, the inertia weight is at a maximum, and the global search capability is the best. Then, gradually decreases with increasing number of iterations.

Experimental

Set-up

In this work, a set of photoacoustic detection system of blood was established, which is shown in Fig. 3.
Fig. 3

Experimental set-up.

Experimental set-up. In the system, a tunable Nd:YAG 532 nm pumped OPO pulsed laser (OPOletteTM, 532 II, OPOTEK Inc., USA) was used as the excitation source, its repetition rate was 20 Hz, the duration time was 7 ns, and the maximum output energy of the unit pulse was approximately 2 mJ. A focused ultrasonic transducer (Doppler Co., China) with a central echo frequency of 2.5 MHz was used to capture the photoacoustic signal of the blood. Then, the photoacoustic signal was amplified by a signal amplifier (ATA-5620, Aigtek Co. China) with a gain of 60 dB and filtered via a low-pass filter (BLP-7-75+, Mini-Circuits, USA). After that, a two-channel digital oscilloscope (54642D, Agilent Co., USA) with a bandwidth of 500 MHz and acquisition rate of 2 Gs/s was used to acquire and display the photoacoustic signal. Finally, a GPIB-USB card (GPIB-USB-HS, NI Co., USA) was used to transmit the photoacoustic data of blood into the computer. The signal acquisition and data storage operations were performed via a self-developed program based on the LabVIEW software platform. In addition, to facilitate the replacement of blood samples in the experiments, a set of circulation sub-system of blood samples was built, which consisted of mini pump, transparent silicon tube (inner and outer diameters were 3 mm and 5 mm), and beakers. The irradiated section of the silicon tube runs through and was fixed on the walls of a plastic cylinder, which was placed in front of the head face of the ultrasonic transducer. The distance between the lower edge of the outer wall of the silicon tube and the surface of the ultrasonic transducer is approximately 5.5 mm. In the experiments, water was used as the coupling agent, and it was loaded between the silicon tube and the ultrasonic transducer. To ensure that the focused laser spot precisely falls into the blood sample loaded in a silicon tube, the laser spot location can be adjusted via a 3D translational platform. Before the experiments, the OPO pulsed laser was preheated for approximately 30 min. During the experiments, the room temperature was kept at approximately 20 °C. In this work, a focused ultrasonic transducer with a central echo frequency of 2.5 MHz was used to capture the photoacoustic signal of blood samples. The echo signal and frequency spectrum of the ultrasonic transducer are shown in Fig. 4(a) and (b), respectively. From Fig. 4(a), it can be seen that the echo signal profile of the ultrasonic transducer looks like a bipolar sinusoidal wave. From Fig. 4(b), we can see that the central echo frequency of the ultrasonic transducer is approximately 2.5 MHz. Fig. 4(c) shows the Hilbert transform and Hilbert envelope of the photoacoustic echo signal for the ultrasonic transducer. According to reference [26], the axial resolution of the ultrasonic transducer can be obtained by using the full width at half-maximum (FWHM) of the Hilbert-transformed envelope of the time-domain photoacoustic signal. Fig. 4(c) shows that the axial resolution of the ultrasonic transducer is approximately 375 μm. Although the axial resolution is relatively larger than the size of red blood cells (approximately 2–8 μm), the inner diameter (3 mm) of the silicon tube is sufficiently large to ensure that the focused laser spot falls into the blood sample in the silicon tube and generates the effective photoacoustic signal of blood.
Fig. 4

(a) Time-domain echo signal, (b) the frequency spectrum, and (c) the axial resolution of the ultrasonic transducer.

(a) Time-domain echo signal, (b) the frequency spectrum, and (c) the axial resolution of the ultrasonic transducer.

Blood samples

In the experiments, four kinds of animal blood (horse, cow, rabbit, and sheep) were supplied by Zhengzhou Yikang Bioengineering Co., Ltd., and two kinds of fake blood (props blood and red ink) were used as experimental samples, which are shown in Fig. 5. Prop blood is fake blood used for stage or movie performances and was purchased from Manxiang e-commerce Co., Ltd. (Yiwu, China). The main components of prop blood are edible pigment, honey and water. Red ink was purchased from Cheng Zhutang Co., Ltd. (Jiangxi, China). The main components of red ink are natural mineral pigments, gum, spices, and water. Although the colour of props blood and red ink looks like the real blood, there is no haemoglobin, haemocytes, or other blood components in either of them. To prevent animal blood from clotting, anticoagulant (ethylenediamine tetraacetic acid, EDTA) at a proportion of 1.6 mg/mL was added to the animal blood samples. The total number of blood samples was 150 groups, that is, the number of each kind of blood sample was 25 groups, where the training samples were 20 groups and the test samples were 5 groups. In all experiments, we used medical alcohol to sterilize the beaker and silicon tube in the circulation sub-system and then boiled them in water for a secondary disinfection.
Fig. 5

Experimental blood samples. (a) horse blood; (b)cow blood; (c)rabbit blood; (d)sheep blood; (e)props blood; (f)red ink.

Experimental blood samples. (a) horse blood; (b)cow blood; (c)rabbit blood; (d)sheep blood; (e)props blood; (f)red ink.

Experimental results and analysis

In experiments, 10-mL blood samples were loaded into the circulation sub-system. The excitation wavelengths of the OPO pulsed laser from 700 nm to 1064 nm with an interval of 5 nm were considered. The time-resolved photoacoustic signals of all blood samples at different excitation wavelengths were obtained an average of 128 times. Fig. 6(a–d) shows the time-resolved photoacoustic signals of the six kinds of blood samples at 750 nm, 780 nm, 905 nm, and 1000 nm, respectively.
Fig. 6

Time-resolved photoacoustic signals of six different kinds of blood samples at the excitation wavelengths of 750 nm (a), 780 nm (b), 905 nm (c), and 1000 nm (d).

Time-resolved photoacoustic signals of six different kinds of blood samples at the excitation wavelengths of 750 nm (a), 780 nm (b), 905 nm (c), and 1000 nm (d). Fig. 6(a–d) shows that the different kinds of blood samples have different amplitudes and profiles of time-resolved photoacoustic signals at a certain wavelength. In general, the amplitudes of real blood samples are larger than those of fake blood samples. Especially for horse blood, its amplitudes are the largest among the blood samples. Moreover, three obvious peak signals (labeled with A, B, and C in Fig. 6(a–d)) exist in the time-resolved photoacoustic signal of the real blood samples. The arrival times of the three peaks are approximately 3.7 μs, 4.7 μs, and 5.7 μs, respectively. However, for the photoacoustic signal of the two kinds of fake blood, only one peak signal at approximately 4.7 μs is relatively large, but the two others are not obvious. In Fig. 6(a–d), according to the edge effect of the photoacoustic signal of the absorbers [27], we know that the first peak (i.e., A) is the photoacoustic signal for the beginning (first edge) of the inner diameter of the silicon tube. Since the silicon tube was immersed in the coupling water, supposing that the sound speed in water is approximately 1500 m/s, we can compute the theoretical distance between the surface of the ultrasonic transducer and the beginning of the inner diameter of the silicon tube as approximately 5.55 mm, which is basically in agreement with the actual distance (5.5 mm). From Fig. 6, it can be seen that the arrival time of peak signal C is approximately 5.7 μs. The time difference between A and C is approximately 2 μs. From the results, we know that the distance between peak A and peak C is approximately 3 mm based on the sound speed of 1500 m/s in the blood, which is in good agreement with the actual inner diameter of the silicon tube. Therefore, the third peak (i.e., C) is the photoacoustic signal for the upper edge of the inner diameter of the silicon tube, i.e., peak C corresponds to the end (second edge) of the inner diameter of the silicon tube. Then, we found that the second peak (i.e., B) was the photoacoustic signal of the focused laser spot in the blood. From the arrival time of the second peak, it can be seen that the focused spot of the laser lies in the middle of the silicon tube, and the parts between point A and point C are the time-resolved photoacoustic signals of blood samples. In addition, Fig. 6(a–d) shows that the arrival time of the second peak (i.e., B) of different blood samples is different. The arrival times of the peak points of real blood samples are slightly less than those of the fake ones, which demonstrates that the ultrasonic velocities of real blood samples are larger than those of the fake ones. For three kinds of real blood, the arrival time of the peak point of horse blood is less than those of the two others, and the time order from small to large is horse blood, cow blood and rabbit blood. For the two kinds of fake blood, the time of peak point of red ink is slightly less than that of the props blood. In addition, Fig. 6(a–d) shows that the amplitudes of the time-resolved photoacoustic signals of six different kinds of blood samples are different at different wavelengths, although their profiles are similar. At the same time, the amplitudes are also different between real blood and fake blood at different wavelengths. In Fig. 6(a–d), the amplitudes of the time-resolved photoacoustic signal of blood samples at 750 nm are larger than those of other wavelengths. Moreover, at a wavelength of 750 nm, the amplitudes of all blood samples, i.e., the amplitudes of the second peak (i.e., B) shown in Fig. 6, are large, and the amplitude differences between real blood and fake blood are relatively small. However, at wavelengths of 780 nm, 905 and 1000 nm, the amplitude differences are large between real blood and fake blood, i.e., the amplitudes of real blood are relatively larger than those of fake blood, especially for horse blood and sheep blood. According to Eq. (1), the amplitudes of the photoacoustic signal are related to the absorption coefficients of the samples. To compare the different optical absorption rates between real blood and fake blood at different wavelengths, photoacoustic PPVs were used in this work. The photoacoustic PPVs of all samples at full wavelengths (700−1064 nm) were obtained according to the time-resolved photoacoustic signal of blood samples from 3.7 μs to 5.7 μs. For six different kinds of real and fake blood samples, since the large amount of data cannot be completely shown here, the photoacoustic mean peak-to-peak spectra were obtained based on the photoacoustic PPVs of all samples at 700−1064 nm, which are shown in Fig. 7. According to the relationship between the photoacoustic amplitude and the optical absorption, we know that the photoacoustic PPV spectra given in Fig. 7 are a representation of the optical absorption spectra of the samples. From Fig. 7, it can be seen that not only are the optical absorption of blood samples different at the different wavelengths but also the optical absorption between the real blood and the fake blood samples are also different at the same wavelength. At full wavelengths, the PPVs of all blood samples at wavelengths of 700−850 nm were obviously larger than those at wavelengths of 850−1064 nm. At the same time, at 700−850 nm, the photoacoustic PPVs of real blood samples are larger than those of fake samples, especially at 700−760 nm. At 850−1064 nm, the differences in PPVs between the real blood samples and the fake samples are not obvious except near the wavelengths of 905 nm, 950 nm, and 1000 nm. However, we also find that some PPVs of real and fake blood samples overlap at some wavelengths, which results in the difficulty of distinguishing real and fake blood from the time-resolved photoacoustic signal and peak-to-peak spectra.
Fig. 7

Photoacoustic mean peak-to-peak spectra of blood samples.

Photoacoustic mean peak-to-peak spectra of blood samples.

Classification and discrimination of real and fake blood

Classification and discrimination results based on WNN and WNN-PSO

To ensure the accurate classification and discrimination of real and fake blood, the WNN algorithm (see Fig. 1) was used in this work. Six different kinds of blood samples with 150 groups were used, where 120 groups were used as the training samples and 30 groups were used as the test samples. The photoacoustic PPVs of blood samples at full wavelengths were used as the input data of the WNN network, i.e., the neuron number of the input layer was 74. The neuron number in the hidden layer was determined by using the empirical formula [28], i.e., , where is the neuron number in the input layer and is the number of neurons in the output layer, i.e., 1. In general, is a constant, . Therefore, the number of neurons in the hidden layer can be chosen in the interval . For the training operation of the WNN network, the supervised training method was used, i.e., 1, 2, 3, 4, 5, and 6 were used to label horse blood, cow blood, rabbit blood, sheep blood, props blood, and red ink, respectively. In addition, to improve the classification and discrimination rate of real and fake blood, the weights, thresholds, translation and scaling factor of the Morlet-liked wavelet basis function (see Eq. (2)) of the WNN network was optimized by the PSO algorithm. To obtain the optimal number of neurons in the hidden layer from 8 to 18, under two optimal learning rate factors (see Eq. (6)), i.e., =0.001 and =0.1, the effect of the number of neurons in the hidden layer on the correct rates of classification and discrimination of real and fake blood based on the WNN algorithm and WNN-PSO algorithm were obtained and compared, which is shown in Fig. 8(a).
Fig. 8

The effect of parameters of WNN network on the correct rates of classification and discrimination of real and fake blood. (a) the effect of neurons number of hidden layer; (b) the mean square error curves of two different neurons number of hidden layer in the training process;(c) the effect of learning factor ; (d) the mean square error curves of two different values of learning factor ;(e) the effect of learning factor ; (f) the mean square error curves of the learning factor.

The effect of parameters of WNN network on the correct rates of classification and discrimination of real and fake blood. (a) the effect of neurons number of hidden layer; (b) the mean square error curves of two different neurons number of hidden layer in the training process;(c) the effect of learning factor ; (d) the mean square error curves of two different values of learning factor ;(e) the effect of learning factor ; (f) the mean square error curves of the learning factor. In Fig. 8(a), for the WNN algorithm, the largest correct rate is 56.7 % when the number of neurons in the hidden layer is 8. However, for the WNN-PSO algorithm, the correct rates under different numbers of neurons in the hidden layer are all improved. When the number of neurons in the hidden layer for the WNN-PSO algorithm is 10 and 13, the correct rate can reach 93.3 %. To obtain the optimal number of neurons in the hidden layer, the mean square error curves of 10 and 13 neurons in the training process were obtained, which are shown in Fig. 8(b). In Fig. 8(b), the mean square errors of the neuron number of 13 in the hidden layer are less than those of the neuron number of 10. Therefore, the neuron number of 13 in the hidden layer was chosen in this work. Then, the effects of learning rate factors (, and ) on the correct rates were investigated for both algorithms, as shown in Fig. 8(c) and (e), respectively. The range of the learning rate factor is from 0.001 to 0.01, and the range of the learning rate factor is from 0.1 to 1. In Fig. 8(c), when the learning rate factor is 0.001, the correct rate based on the WNN algorithm is the largest, i.e., 56.7 %. For the WNN-PSO algorithm, the largest correct rate is 93.3 % when the learning rate factor is 0.001 and 0.002. Moreover, with increasing learning rate factor , the correct rates of both algorithms all decrease. To obtain the optimal value of the learning rate factor , the mean square error curves for the learning rate factor =0.001 and 0.002 were obtained, which are shown in Fig. 8(d). From Fig. 8(d), it can be found that the mean square errors of =0.001 are less than those of =0.002. Therefore, the learning rate factor=0.001 was determined as the optimal value of . For another learning rate factor , Fig. 8(e) shows that with the increase in the learning rate factor , the correct rate of the WNN algorithm first increases and then decreases. When the learning rate factor is 0.08, the correct rate of the WNN algorithm is the largest, i.e., 63.3 %. However, for the WNN-PSO algorithm, the correct rate first increases, then decreases and finally increases. When the learning rate factor is 0.05 and 0.1, the correct rates of the WNN-PSO algorithm are the largest, i.e., 96.7 %. To determine the optimal learning rate factor , Fig. 8(f) gives the mean square error curves of =0.05 and 0.1 with increasing training times. In Fig. 8(f), both mean square error curves decrease with increasing training time. The mean square errors of =0.1 are less than those of =0.05. Therefore, the learning rate factor =0.1 is optimal. From Fig. 8(a)-(f), it can be seen that the correct rate of classification and discrimination of real and fake blood based on the WNN-PSO algorithm is superior to that of the WNN algorithm. Then, for the WNN-PSO algorithm, the effects of the inertia weight () on the correct rate were studied, which are shown in Fig. 9(a)–(d).
Fig. 9

Effects of PSO parameters on the correction rates of classification and discrimination of real and fake blood samples based on WNN-PSO algorithm. (a) the effect of inertia weight ; (b) mean square error curves of two different inertia weights; (c) the effect of the final inertia weight ; (d) mean square error curves of two different values of final inertia weight.

Effects of PSO parameters on the correction rates of classification and discrimination of real and fake blood samples based on WNN-PSO algorithm. (a) the effect of inertia weight ; (b) mean square error curves of two different inertia weights; (c) the effect of the final inertia weight ; (d) mean square error curves of two different values of final inertia weight. In Fig. 9(a), when the two acceleration coefficients ( and ) are set to 1.8 and 1.3, the inertia weight () is set to different constants, and the effect of inertia weight on the correct rates of classification and discrimination of real and fake blood are obtained. From Fig. 9(a), it can be seen that when is 0.4, the correct rate is the lowest, i.e., 76.7 %. When is 0.6 and 0.7, the correct rates can reach the maximum value, i.e., 93.3 %. However, from the mean square error curves in the training process shown in Fig. 9(b), we can find that the mean square errors of =0.7 are less than those of =0.6. In this work, to balance the local and global search capabilities of the PSO algorithm, the inertia weight () was adjusted by using the LDIW strategy (see Eq. (8)). Here, the maximum number of iterations () was set to 200, and the initial inertia weight () was set to 1. The dynamic range of inertia weight () corresponding to the final inertia weight () is shown in Table 1.
Table 1

The dynamic range of inertia weight (w) corresponding to the final inertia weight (wend).

wend0.10.20.30.40.50.60.70.80.91.0
w1→0.11→0.21→0.31→0.41→0.51→0.61→0.71→0.81→0.91.0
The dynamic range of inertia weight (w) corresponding to the final inertia weight (wend). The effect of on the correct rates based on the WNN-PSO algorithm is shown in Fig. 9(c). In Fig. 9(c), the correct rate can reach the maximum value when is 0.3 and 0.7. From Table 1, we know that for =0.3, the corresponding dynamic decreasing range of is from 1 to 0.3. For =0.7, the dynamic decreasing range of is from 1 to 0.7. To obtain the optimal value of , the mean square error curves in the training process of both values of are obtained, which are shown in Fig. 9(d). In Fig. 9(d), the mean square errors of =0.3 are less than those of =0.7. Therefore, =0.3 is optimal. In addition, compared with Fig. 9(a), for the fixed value of inertia weight, i.e., =0.7, the global search capability of the PSO algorithm is always stronger than that of the local search capability. Although the convergence speed of the PSO algorithm is faster, the correct rate is not satisfactory. However, for the dynamic inertia weight based on the LDIW strategy, when is 1 and is 0.3, the inertia weight () can be changed in the range of 1 to 0.3. At the beginning of the PSO algorithm iteration, a larger inertia weight can ensure the search of a larger area and locate the optimal solution quickly. Then, with the decrease in the inertia weight, the local search capability is stronger than that of the global search capability, which results in a more accurate solution, although the number of iterations is increased. From Fig. 9(a) and (c), it can be seen that the correct rate is improved from 93.3% to 96.7% by using the LDIW strategy. In addition, the prediction results of the inertia weight =0.7 and the final inertia weight =0.3 for 120 groups of training blood samples are compared, which are shown in Fig. 10. From Fig. 10, it can be seen that the correct rate of the final inertia weight =0.3 for the training samples is 99.2 %, which is better than that of the inertia weight =0.7.
Fig. 10

Prediction results of inertia weight and final inertia weight for train blood samples.

Prediction results of inertia weight and final inertia weight for train blood samples. In the PSO algorithm, the two acceleration factors ( and ) have an important role in the search capability of the optimal solution and convergence speed of the PSO algorithm. The effects of the two acceleration factors ( and ) on the correct rate were studied. Since a mutual relationship exists between the different values of and , one of two acceleration factors should be determined first. In this work, the optimal value of the acceleration factor () was determined first. In the standard PSO algorithm, the values of and are usually [29], and another commonly used value is [30]. In addition, Carlisle [31] integrated various research results in PSO parameter selection and analyzed the influence of different control parameters on algorithm performance in detail. He proposed a group of relatively perfect and reasonable parameter values, = 2.8 and = 1.3 [32]. However, when it is applied in the classification and discrimination of real and fake blood in this manuscript, it does not ensure whether these values are still appropriate or not, and what the training error, convergence speed and accuracy are. Consequently, to solve this problem, the above three groups of parameters were selected as the initial values, and then our experiments were conducted under different values of . The range of was set from 1 to 2 with an interval of 0.1. The effects of different values of on the correct rate under three values of were studied, which are shown in Fig. 11(b). At the same time, the correct rates of different coupling values of and are obtained and compared, shown in Fig. 11(b).
Fig. 11

(a)The influence of on the correct rate of classification and discrimination of real and fake blood; (b) the effect of different values of on the correct rate under three values of ; (c) the effect of the training times on the mean square error under =1.3; (d) the effect of the training times on the mean square error under =1.49445; (e) the effect of the training times on the mean square error under =2.

(a)The influence of on the correct rate of classification and discrimination of real and fake blood; (b) the effect of different values of on the correct rate under three values of ; (c) the effect of the training times on the mean square error under =1.3; (d) the effect of the training times on the mean square error under =1.49445; (e) the effect of the training times on the mean square error under =2. From Fig. 11(a–b), it can be seen that the correct rate of = 1.3 is the largest. Therefore, = 1.3 was first set as the optimal parameter value of . Then, we determine the optimal acceleration factor of from Fig. 11(a). In Fig. 11(a), we can find that the correct rates are the highest for =1.7 and 1.8 when = 1.3. To compare the results between =1.7 and 1.8, the effect of training times on the correct rate was obtained, which is shown in Fig. 11(c). From Fig. 11(c), it can be seen that the effect of =1.8 is the best because its minimum training error is less than approximately 0.0127. To compare the effect of =1.8, and = 1.3, the correct rates of four different coupling values of and were obtained, which are shown in Fig. 11(b). From Fig. 11(b), it can be seen that when =1.8 and = 1.3, the correct rate is the largest (i.e., 96.7 %). To further ensure the effect of =1.8, and = 1.3, the effect of training times on the mean square error under different coupling values of and was studied. When = 1.3 and = 1.49445, the effect of training times on the mean square error was also obtained, as shown in Fig. 11(d). From Fig. 11(d), it can be seen that the mean square error is approximately 0.0225, which is larger than that of =1.8, and = 1.3. When = 2, =1.5, and 1.8, the effects of training times on the mean square error were also obtained, which are shown in Fig. 11(e). From Fig. 11(e), it can be seen that the mean square errors are 0.0366 and 0.0346, respectively, which are all larger than those of =1.8, and = 1.3. Therefore, for , , and in the PSO algorithm, when dynamically changes in the range from 1 to 0.3, is 1.8, and is 1.3, the results are satisfied. Fig. 12(a) shows the effect of the number of iterations on the correct rate based on the WNN and WNN-PSO algorithms. From Fig. 12(a), it can be seen that for the WNN-PSO algorithm, the correct rate increases with increasing iteration times. When the number of iterations is 1, the correct rate is only 60 % and is less than that of the WNN algorithm (i.e., 63.3 %). With the increase in the iteration times, the correct rate is over 70 % and is larger than that of the WNN algorithm. Then, with the continuous increase in the iteration times, the correct rate is also continuously improved. When the number of iterations is 126, the correct rate of the WNN-PSO algorithm reaches a maximum, i.e., 96.7 %. After that, with the continuous increase in the iteration times, the correct rate of the WNN-PSO algorithm is still constant.
Fig. 12

Comparison results of classification and discrimination of real and fake blood based on WNN algorithm and WNN-PSO algorithm. (a) the effect of iteration times of WNN-PSO algorithm on the correct rate; (b) the effect of training times of both algorithms on the mean square error; (c) comparison results of classification and discrimination for test samples between WNN algorithm and WNN-PSO algorithm.

Comparison results of classification and discrimination of real and fake blood based on WNN algorithm and WNN-PSO algorithm. (a) the effect of iteration times of WNN-PSO algorithm on the correct rate; (b) the effect of training times of both algorithms on the mean square error; (c) comparison results of classification and discrimination for test samples between WNN algorithm and WNN-PSO algorithm. Then, the effect of the training times of both algorithms on the mean square errors was also studied, which are shown in Fig. 12(b). In Fig. 12(b), with the increase in the training times, although the mean square errors of both algorithms all decrease with an exponential function, the mean square errors of the WNN-PSO algorithm are less than those of the WNN algorithm. Moreover, at the beginning of training, the oscillation phenomenon of the mean square error is greatly reduced via the WNN-PSO algorithm. From Fig. 12(b), it can be seen that the best mean square error of the WNN-PSO algorithm is approximately 0.012721 at the training times of 200, which is obviously less than that of the WNN algorithm, i.e., 0.21281. To further compare the performance of the WNN algorithm and WNN-PSO algorithm, the results of classification and discrimination for test blood samples were obtained, which are shown in Fig. 12(c). From Fig. 12(c), it can be found that the correct rate of the WNN algorithm for the test blood samples is not satisfactory, i.e., 63.3 %. Especially for the first kind of real blood sample, i.e., the five horse blood samples, the prediction result of only one sample is correct. For other kinds of blood samples, one or two prediction errors also occur. However, for the WNN-PSO algorithm, only one sheep blood sample was misjudged as cow blood, and the correct rate reached 96.7 %, which was much larger than that of the WNN algorithm.

Classification and discrimination results based on PCA-WNN-PSO

In Section 4.1, the photoacoustic PPVs of blood samples at full wavelengths (700−1064 nm) were used as the input values. However, from Fig. 7, we know that there is obvious overlap in the photoacoustic peak-to-peak spectra. Moreover, at 850−1064 nm, the differences in PPVs were not obvious between real and fake blood samples. Therefore, the photoacoustic peak-to-peak spectra at full wavelengths not only contain the useful characteristics of blood, but also involve some useless information limited to distinguishing real and fake blood. At the same time, too many parameters, high computational complexity, and the large dimension of input data also greatly impact the classification and discrimination of real and fake blood. To further improve the correct rate of the classification and discrimination for real and fake blood based on the WNN-PSO algorithm, the PCA algorithm [33] was used to extract the feature information from the photoacoustic peak-to-peak spectra. The basic theory of the PCA algorithm is data dimension reduction, that is, the information of many variables is replaced by less variable information, but most of the original information is preserved to the greatest extent. The PCA algorithm can be described as follows,where are the original variants, and the subscript is the number of variants. are the new variants, i.e., the principal components, and the subscript m is the number of new variants. is the load coefficients. For the and , their relationship is . In this work, the cumulative contribution rates of different principal components were computed, which are shown in Fig. 13.
Fig. 13

Cumulative contribution rates of different principal components.

Cumulative contribution rates of different principal components. In Fig. 13, the cumulative contribution rates of all principal components are larger than 80 %. With the increase in the principal components, the cumulative contribution rates also increase. In this work, to retain the original characteristic information of photoacoustic peak-to-peak spectra of real and fake blood as long as possible, a cumulative contribution rate of 95 % was used to choose the principal components. Under four kinds of different principal components, the effects of the neuron number in the hidden layer and two learning rate factors on the correct rates of classification and discrimination for real and fake blood based on the PCA-WNN-PSO algorithm were studied, which are shown in Fig. 13(a)–(c), respectively. In Fig. 14(a), with the increase in principal components from 6 to 10, the correct rates increase under different numbers of neurons in the hidden layer. For the principal components of 10, the best correct rate reaches 100 % under 10 neurons of the hidden layer. However, when the principal components increase to 12, the best correct rates corresponding to 11 and 13 neurons numbers of hidden layer are 93.3 %. For the learning rate factor , in Fig. 14(b), the correct rates corresponding to the principal components of 10 are superior to those of three others, especially for the learning rate factor =0.001, where the correct rate of 10 principal components reaches 100 %. For another learning rate factor , in Fig. 14(c), the correct rates of the 10 principal components are higher than those of the three others when the learning rate factor is 0.04, and the correct rate of the PCA-WNN-PSO algorithm reaches 100 %.
Fig. 14

The effects of four different principal components on the correct rate of classification and discrimination for real and fake blood based on PCA-WNN-PSO algorithm. (a) the number of neurons in the hidden layer; (b) the learning factor ; (c) the learning factor.

The effects of four different principal components on the correct rate of classification and discrimination for real and fake blood based on PCA-WNN-PSO algorithm. (a) the number of neurons in the hidden layer; (b) the learning factor ; (c) the learning factor. The effects of iteration times on the correct rate under different principal components based on the PCA-WNN-PSO algorithm were obtained, which are shown in Fig. 15(a). In Fig. 15(a), with the increase in iteration times from 6 to 10, the correct rates increase for all principal components. For the principal components of 10, when the number of iterations is 108, the correct rate reaches 100 %. However, when the number of principal components increases to 12, the correct rate decreases to 93.3 % at 121 iterations. Therefore, the correct rate and number of iterations of the 10 principal components are satisfactory. Fig. 15(b) gives the mean square error curves of four kinds of different principal components in the training process of the PCA-WNN-PSO algorithm. From Fig. 15(b), it can be seen that for all principal components, the mean square errors all decrease with increasing training times. Moreover, the mean square errors decrease with the increase in principal components. To better compare the performances of different principal components, the prediction results of 30 test blood samples under four kinds of different principal components based on the PCA-WNN-PSO algorithm were obtained, which are shown in Fig. 15(c). In Fig. 15(c), the correct rate of the 6 principal components is not satisfactory (i.e., 83.3 %), and four classification errors occur in three kinds of real blood, i.e., cow blood, rabbit blood, and sheep blood. For 8 principal components, there was one fake blood, i.e., props blood, that was misjudged to be red ink. The correct rate of the 8 principal components is 96.7 %. For the 12 principal components, there was one fake blood of red ink misjudged to be prop blood, and its correct rate was also 96.7 %. However, for 10 principal components, the classification and discrimination of all real and fake blood samples are correct, i.e., the correct rate reaches 100 %. Therefore, the performance of principal component number 10 based on the PCA-WNN-PSO algorithm is the best.
Fig. 15

(a) Comparison results of different principal components for the iteration times, (b) training times, and (c) predicted results of test samples.

(a) Comparison results of different principal components for the iteration times, (b) training times, and (c) predicted results of test samples.

Comparison results of different algorithms

Finally, the classification and discrimination performances for real and fake blood were compared by using seven different algorithms. Five kinds of algorithms are supervised classification and recognition algorithms, i.e., extreme learning machine (ELM) [34], SVM [35], WNN, WNN-PSO, and PCA-WNN-PSO with 10 principal components. In addition, two kinds of unsupervised classification and recognition algorithms were used, i.e., competitive neural network (CNN) [36] and self-organizing map neural network (SOMNN) [37]. The correct rates based on these seven kinds of algorithms are shown in Fig. 16.
Fig. 16

Correct rates of classification and discrimination for real and fake blood based on different algorithms.

Correct rates of classification and discrimination for real and fake blood based on different algorithms. In Fig. 16, for two kinds of unsupervised algorithms (i.e., CNN and SOMNN), their correct rates are less than those of the supervised algorithms. However, for the simple WNN algorithm, its correct rate is not satisfied, which is less than those of other algorithms. However, for the WNN optimized by the PSO algorithm, i.e., the WNN-PSO algorithm, its correct rate is greatly improved, which is 96.7 % and larger than those of the ELM algorithm and SVM algorithm. For the PCA-WNN-PSO algorithm, the correct rate is further improved to 100 % when the principal components are 10.

Conclusion

The rapid and accurate identification of real and fake blood is very important in such fields as biomedicine, food safety, and criminal investigation. To achieve this goal, photoacoustic spectroscopy was used to establish a blood detection system. The time-resolved photoacoustic signals of six different kinds of real and fake blood with 150 groups in total were captured at 700−1064 nm with 5 nm intervals, as well as the PPVs. To achieve a high classification and discrimination rate, the WNN algorithm was used. At the same time, the PSO algorithm was used to optimize the weights, thresholds, translation factor and scale factor of the wavelet basis function of the WNN. For the WNN and WNN-PSO algorithms, the effects of the parameters of both algorithms on the correct rate were investigated. Meanwhile, the LDIW strategy was used to modify the inertia weight of the PSO algorithm. Then, the PCA algorithm was combined into the WNN-PSO algorithm to further improve the correct rate. The effect of different principal components on the correct rate based on the PCA-WNN-PSO algorithm was studied. Finally, the performances of seven different algorithms were compared. The results show that (1) the amplitudes, profiles, peak-point time, and PPVs between real and fake blood are different at some wavelengths, but the spectral overlaps of PPVs impact the accurate classification and discrimination of real and fake blood, which is the purpose of using WNN algorithms to improve the correct rate. (2) Compared with the WNN algorithm, under the optimal parameters, the correct rate was improved by 33.4 % via the WNN-PSO algorithm. At the same time, the correct rate of the WNN-PSO algorithm with the LDIW strategy is superior to that of the fixed inertia weight. (3) The correct rate of the PCA-WNN-PSO algorithm with 10 principal components reached 100 %, and the mean square error at 200 training iterations was improved by approximately 99.8 %. Moreover, the number of iterations corresponding to the largest correct rate also decreased from 126 to 108. (4) The comparison results of seven different algorithms show that the highly accurate classification and discrimination of real and fake blood can be significantly achieved by using photoacoustic spectroscopy combined with the PCA-WNN-PSO algorithm.

Funding information

This work was supported by the Chinese National Natural Science Fund Project (No. 61650402, No. 51763011), Innovation of Outstanding Young Personnel Training Program of Jiangxi Province (No. 20192BCBL23015), Young top-notch personnel fund project of JXSTNU (No. 2014QNBJRC004), and the project of Key Laboratory of Optic-electronic Detection and Information Processing of Nanchang City (No. 2019-NCZDSY-008).

Declaration of Competing Interest

The authors declare that there are no conflicts of interest.
  16 in total

1.  Remote spectroscopic identification of bloodstains.

Authors:  Rolf H Bremmer; Gerda Edelman; Tessa Dijn Vegter; Ted Bijvoets; Maurice C G Aalders
Journal:  J Forensic Sci       Date:  2011-08-09       Impact factor: 1.832

2.  Determination of opiates in whole blood using microextraction by packed sorbent and gas chromatography-tandem mass spectrometry.

Authors:  Margarida Prata; Andreia Ribeiro; David Figueirinha; Tiago Rosado; David Oppolzer; José Restolho; André R T S Araújo; Suzel Costa; Mário Barroso; Eugenia Gallardo
Journal:  J Chromatogr A       Date:  2019-05-15       Impact factor: 4.759

3.  Overcome chromatism of metasurface via Greedy Algorithm empowered by self-organizing map neural network.

Authors:  Ruichao Zhu; Jiafu Wang; Tianshuo Qiu; Sai Sui; Yajuan Han; Yuxiang Jia; Yongfeng Li; Mingbao Yan; Yongqiang Pang; Zhuo Xu; Shaobo Qu
Journal:  Opt Express       Date:  2020-11-23       Impact factor: 3.894

4.  Biochemical blood analysis along pregnancy in Martina Franca jennies.

Authors:  Alessia Gloria; Maria Cristina Veronesi; Rita Carluccio; Salvatore Parrillo; Ippolito De Amicis; Alberto Contri
Journal:  Theriogenology       Date:  2018-04-30       Impact factor: 2.740

5.  Liquid chromatography-tandem mass spectrometry method for estimation of a panel of lysophosphatidylcholines in dried blood spots for screening of X-linked adrenoleukodystrophy.

Authors:  Archana Natarajan; Rita Christopher; Manjunath Netravathi; Maya Bhat; Sadanandavalli Retnaswami Chandra
Journal:  Clin Chim Acta       Date:  2018-07-07       Impact factor: 3.786

6.  [Identification of Animal Whole Blood Based on Near Infrared Transmission Spectroscopy].

Authors:  Xiong Wan; Jian Wang; Peng-xi Liu; Ting-ting Zhang
Journal:  Guang Pu Xue Yu Guang Pu Fen Xi       Date:  2016-01       Impact factor: 0.589

7.  Estimating blood oxygenation from photoacoustic images: can a simple linear spectroscopic inversion ever work?

Authors:  Roman Hochuli; Lu An; Paul C Beard; Benjamin T Cox
Journal:  J Biomed Opt       Date:  2019-12       Impact factor: 3.170

8.  A three-dimensional modeling method for quantitative photoacoustic breast imaging with handheld probe.

Authors:  Tao Han; Meng Yang; Fang Yang; Lingyi Zhao; Yuxin Jiang; Changhui Li
Journal:  Photoacoustics       Date:  2020-11-28

9.  On the performance of linear decreasing inertia weight particle swarm optimization for global optimization.

Authors:  Martins Akugbe Arasomwan; Aderemi Oluyinka Adewumi
Journal:  ScientificWorldJournal       Date:  2013-10-31

10.  Single-shot photoacoustic microscopy of hemoglobin concentration, oxygen saturation, and blood flow in sub-microseconds.

Authors:  Chao Liu; Yizhi Liang; Lidai Wang
Journal:  Photoacoustics       Date:  2019-12-26
View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.