Next Article in Journal
Blind-Spot Collision Detection System for Commercial Vehicles Using Multi Deep CNN Architecture
Next Article in Special Issue
Video Compressive Sensing Reconstruction Using Unfolded LSTM
Previous Article in Journal
Assessment of GF3 Full-Polarimetric SAR Data for Dryland Crop Classification with Different Polarimetric Decomposition Methods
Previous Article in Special Issue
Adaptive Modular Convolutional Neural Network for Image Recognition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

WER-Net: A New Lightweight Wide-Spectrum Encoding and Reconstruction Neural Network Applied to Computational Spectrum

1
School of Information Science and Engineering, Shandong University, Qingdao 266237, China
2
Institute of Frontier and Interdisciplinary Science, Shandong University, Qingdao 266237, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(16), 6089; https://doi.org/10.3390/s22166089
Submission received: 27 July 2022 / Revised: 9 August 2022 / Accepted: 11 August 2022 / Published: 15 August 2022
(This article belongs to the Special Issue Compressed Sensing and Imaging Processing)

Abstract

:
The computational spectrometer has significant potential for portable in situ applications. Encoding and reconstruction are the most critical technical procedures. In encoding, the random mass production and selection method lacks quantitative designs which leads to low encoding efficiency. In reconstruction, traditional spectrum reconstruction algorithms such as matching tracking and gradient descent demonstrate disadvantages like limited accuracy and efficiency. In this paper, we propose a new lightweight convolutional neural network called the wide-spectrum encoding and reconstruction neural network (WER-Net), which includes optical filters, quantitative spectral transmittance encoding, and fast spectral reconstruction of the encoded spectral information. The spectral transmittance curve obtained by WER-net can be fabricated through the inverse design network. The spectrometer developed based on WER-net experimentally demonstrates that it can achieve a 2-nm high resolution. In addition, the spectral transmittance encoding curve trained by WER-Net has also achieved good performance in other spectral reconstruction algorithms.

1. Introduction

Due to the good acquisition ability of target spectral information and image information, imaging spectrometers are widely used in remote sensing, medical, industrial, aerospace, and other fields. The first spectral detection was made by Isaac Newton, who used a triangular prism to divide sunlight into a rainbow-colored pattern. Traditional spectrometers are bulky, which has hindered them from achieving wider application in scenarios such as in satellites, drones, and handheld platforms. The computational spectroscopy technology based on the principle of compressed sensing (CS) was proposed [1], and the spectrometer, which used wide spectral coding, became a hot topic in research because it could increase the signal-to-noise ratio (SNR). Many computational methods have been introduced into spectral detection. It has become possible to realize portable sensing systems [2,3].
Tao et al. proposed restricted isometry property (RIP) to guide the construction of the sensing matrix (i.e., the product of the measurement matrix of optical filters transmittance and the sparse basis matrix) [1]. Based on RIP, scholars have successively improved the original algorithm and proposed OMP [4], StOMP [5], and TMP [6]. Donoho proposed the non-correlation criterion of the measurement matrix constructed by the filter transmittance curve [7], which supplies researchers with an easy way to construct the sensing matrix. The performance of the computational spectrometer is strongly related to the non-correlation of its encoding filters. However, there is a full-beam relationship between the transmittance curve and the filter structure design parameters. The mass-production and then try to select only a few of them that can meet the in non-correlation criterion is unacceptable. The low encoding efficiency also explains why the reconstruction accuracy of the spectrometer obtained by this method is largely limited.
Recently, deep neural networks are being applied to the field of spectral reconstruction [8,9,10,11], but a lightweight convolution neural network (CNN) has few been reported in this arena. Kulkarni pioneered work in the field of image reconstruction by using CNNs [9]. Hao [8] applied neural networks in computational spectroscopy, and it is worth noting that the architecture is featured with all fully connected (FC) layers. The work of these authors inspired us to propose a CNN with both filter-encoding and spectral reconstruction capabilities. A CNN is featured with a few parameters that can increase efficiency. In addition, its virtue of weighting parameter sharing and the use of sparse connections of local receptive fields enables the CNN to have better performance in the training consumption and recovery accuracy of computational spectral reconstruction. WER-Net uses an FC layer without offset to encode the incident spectrum and reconstruct the encoded information afterward by combining convolutional layers and FC layers. The training data for this network is obtained from CAVE [10] and ICVL [11], and the transmittance curve of a group of filters and its corresponding reconstruction network can be completed after training.
The rest of this paper is organized as follows. In Section 2, we describe WER-Net’s architecture and methodology. Section 3 describes WER-Net’s training procedure. Experiment results are reported in Section 4. Finally, Section 5 concludes the paper.

2. Methodology

Neurons are used as the basis of deep neural networks to simulate the working process of biological neural networks, and the most commonly used neuron model is the M-P neuron model proposed by McCulloch [12]. Hopfield used neural networks to solve NP-hard problems for the first time [13], which helped drive the rapid development of neural networks. After this, LeCun proposed LeNet-5, the standard CNN [14], which greatly contributed to the development of the CNN. Since then, deep neural networks have flourished in a variety of fields. Among them, Kulkarni applied it to the field of image compression and reconstruction [9], opening up the use of deep neural networks to solve CS problems. Zhang then applied feed-forward neural networks to the field of spectral reconstruction [8].
WER-Net is composed of the encoding network and the reconstruction network. On the one hand, for the encoding network, because the spectral sampling process of the wide spectral encoding filter and the input operation process of the fully connected layer without bias are defined by matrix multiplication, a layer of fully connected layers without bias can be used to simulate the wide spectral coding filter and obtain the corresponding spectral transmittance curve. On the other hand, the reconstruction network simulates the process of solving the CS problem. According to the universal approximation theorem, the NP-hard problem of solving the CS problem can be solved by using more than three layers of neural networks. After adjusting the network structure to achieve the balance between solving accuracy and efficiency, we decided to use two layers of fully connected layers and three layers of a convolutional layer to realize the solving process.
The network architecture of WER-Net proposed in this paper is stated as follows. The first layer uses sampling of a fully connected layer without offset to simulate optical encoding filters, followed by spectral reconstruction by using two fully connected layers and three convolutional layers. Among them, except for the first and last layers, the ReLU function is used as the activation function. The above structure can also be described as: (FC without offset)-FC-Rule-(Conv-Rule)3-FC. To the best of our knowledge, this is the first-time convolutional layers are used in spectral reconstruction. The network structure diagram is shown in Figure 1.

2.1. Engineered Loss-Function

The input and output of WER-Net are 400~700 nm@2nm spectral information matrix, and the training goal is
Θ = a r g m i n | | S S ^ | | 2 ,
where Θ represents the set of parameters in each layer of the neural network, S is the spectral information matrix of the input, and S ^ is the spectral reconstruction matrix of the output.
Equation (1) simply indicate the nature of the computational spectrometer. However, it has no regulating ability on the optical filters. After rounds of training, it ends up with an ideal spectral transmittance curve that fully complies with the non-correlation criterion. That brings us to a severe problem for the fabrication of optical filters because transmittance curves in the real world lack the spectral diversity of the ideal ones. That means researchers can never have the result they want so they adopt the random Gaussian matrix as the measurement matrix [15,16]. This may make for impressive performance with regard to reconstruction accuracy, but the overly random filters cannot be produced.
To address this problem, with the development of deep learning technology, many reverse design methods dedicated to achieving spectral responses have been presented [17,18,19]. However, due to poor generalization, it is still difficult to achieve accurate reverse design for some extreme requirements. The good news is that as long as the spectral transmittance curve is smooth enough, the above methods can give good reverse design results. Therefore, in order to obtain filters that are characterized by technological feasibility while taking the requirements of Equation (1) into consideration, we make the weight parameters of the first FC layer as smooth as possible on each line. Consequently, we use the following loss function:
l o s s = | | S S ^ | | 2 + δ i | ω i ω i + 1 | .
To circumvent the slow speed of the circulation operation, we take the values of the first to nth columns of the weight matrix W to form the matrix W′, and take out the former n-1 columns of the W to form the matrix W″. The equivalent form of Equation (2) is shown in Equation (3):
l o s s = | | S S ^ | | 2 + δ | W W | .
The optical filter transmittance curve corresponding to the first FC layer without offsets trained in this way has good engineering characteristics and can be fabricated.

2.2. FC Layer in Encoding and Hierarchic Optimization

The structure of the M-P neuron model is shown in Figure 2.
The neuronal model in Figure 2 can be represented as the following equation:
y = f ( i = 0 n ω i x i + b ) = f ( W T · X + b ) ,
where f ( · ) represents the activation function, W = [ w 0 , w 1 , , w n ] for the weight value, and X = [ x 0 , x 1 , , x n ]   for the input. For an FC layer composed of multiple neurons, it can be expressed as Equation (5) when the role of the activation function is not considered:
Y = W T · X + B .
For wide-spectrum coding filters, the coding of spectra is as follows:
E = λ 1 λ 2 T ( λ ) S ( λ ) d λ ,
where E represents the output of the filter encoded spectral signal, T(λ) represents the spectral transmittance of the filter, and S(λ) represents the incident spectral signal.
Discretize Equation (6), and we have
E = i = 0 n T i ( λ ) S i ( λ ) .
Discretize the incident spectral signal and the spectral transmittance, and the encoded spectral information can be described in matrix form:
E = T T · S .
If the incident spectral signal matrix S in Equation (8) is taken as the input X represented in Equation (5), and the offset term B is zeroed, then the output Y of Equation (5) equals E of Equation (8). In a nutshell, an FC layer without offset can simulate the process when incidental light passes through the optical filter, hence being encoded. In the proposed WER-Net, this method is used to design the wide-spectrum encoding filter.
According to the principle of CS, the greater the non-correlation of the sampling matrix, the more object information can be obtained. Therefore, based on the aforementioned loss function, it can be judged that the training logic of the first FC layer without offset is to take into account the non-correlation and production process limitations. However, in the scenario following a certain number of training rounds, the spectral transmittance curve begins to jitter on the whole spectrum range, as shown in Figure 3. It improves with non-correlation, but it brings great difficulties to the fabrication process of the filter.
Therefore, this paper proposes a hierarchical optimization method for WER-Net. Specifically, under the condition that the filter transmittance curve shows sufficient diversity, we stop the training of the first FC layer parameters, and retain it, and on this basis, the training of the full connection layer and convolutional layer parameters of the reconstruction part is continued. The hierarchical optimization method helps to maintain the technical feasibility of filter fabrication and also reduce the time and spatial complexity of training.

2.3. Spectral Reconstruction Using CNN

Deep neural networks have extremely powerful expression capabilities. They require only a single hidden layer and a small number of neural units to fit functions of any complexity with high precision [20,21,22,23]. To the best of our knowledge, some deep neural networks have been introduced into computational spectrometry [8,15,16]. However, the application of CNNs in computational spectrometry is rarely reported. Moreover, this elucidates the major difference between WER-Net and other deep neural networks in spectrum reconstruction.
The structure of the convolutional layer can be expressed in Equation (9),
y = i , j n θ i , j x i , j + b ,
where θ_(i,j) represents the convolutional kernel element size of column j in row i, x_(i,j) represents the element size of column j in row i, and b is the deviation.
Although the common feedback-forward neural network in [8] can be used to calculate the spectral reconstruction, severe challenges with regard to time and accuracy performance remain.
On the one hand, the feedback-forward neural network has a great number of parameters to be trained and stored. As a result, it needs a gigantic training dataset and becomes incompatible with embedded systems. If there are 100 hidden neurons in the first FC layer when applying neural networks for computational spectral reconstruction, thousands of weighting parameters would need to be updated in the first FC layer alone. This would lead to a drastic increase in both system storage demands and the training dataset volume. Otherwise, we have an inefficient decoding network which cannot be applied to scenarios like in situ measurement or real-time measurement. In addition, this bulky network cannot be easily embedded on many types of hardware.
On the other hand, the feedback-forward neural network lacks the ability to share its weighting parameters which would result in low efficiency in data fitting. Taking a random curve for instance, there could be a lot of diversities in this curve. It could be a high-order function, a random noise, an aperiodic impulse curve, etc. In order to match this curve, the feedback-forward neural network would perform a crude and time-consuming fitting process. However, in the real world, most of the spectral curves are demonstrating gradual changes. It means the neighboring wavelengths have a relatively good correlation property. Obtaining this property would benefit the neural network greatly. CNNs solve the above problems by virtue of their weighting parameter sharing and the use of sparse connections of local receptive fields [14], which makes CNNs have better performance in the training consumption and recovery accuracy of computational spectral reconstruction.

2.4. Dataset Augmentation

To train the WER-Net, we used a total of 1,650,000 spectral data from the CAVE and ICVL. Both are 10-nm resolution data in the range of 400 to 700 nm.
In order to achieve the application of the network to a high-resolution spectrometer, this article conceives the idea to use some interpolation method to augment the 10-nm resolution database to a higher resolution one. For instance, to achieve 2-nm resolution, the least squares fitting is applied to augment the data of CAVE and ICVL, and the data of 31 × 1,650,000 is processed into 151 × 1,650,000 data. In the later experiment demonstration, the idea is verified.

2.5. Activation Function

At present, the mathematical principles of computational spectral algorithms, whether they are traditional GPSR [24], or OMP [4], or computational spectral algorithms based on deep learning, can be explained by CS theory.
Considering the signal x∈R^N, the measurement process can be expressed as follows:
y = Φ x ,
where the matrix Φ∈R^(M × N) is called the measurement matrix, and y∈R^M is the measurement vector. The encoding process is completed by the measurement process. The process of recovering the original signal from the measured value by means of a computational reconstruction is termed “reconstruction”. When Φ∈R^(M × N), Equation (10) is an underdetermined entity. The linear inverse problem is a pathological problem. Solving a problem means recovering more information with less information, which is clearly inconsistent with Nyquist’s sampling theorem. Based on the CS theorem [25,26,27], when both the signal and the measurement matrix meet certain conditions, even if M << N the original information can be recovered.
The process of solving the compressive perception is an NP-hard problem, instead of a simple linear problem. Referring to the universal approximation theorem, an activation function is needed to enable a neural network to fit a nonlinear problem. The nonlinearity of activation function needs delicate consideration.
It is widely acknowledged that the nonlinear performance of the ReLU function is superior to that of functions such as Tanh, as shown in Figure 4, and the training error rate of a four-layer convolutional neural network by using the ReLU function reaches 25% faster than that of an equivalent network with a Tanh activation function [28]. Therefore, the activation function used by WER-Net is the ReLU function.

3. WER-Net Training

3.1. Level-1 of Hierarchical Optimization

The training model used 151 × 1,650,000 data obtained by least squares interpolation. The data is divided into a training set and a test set by 10:1 ratio. Because the dataset is so large, if each piece of data is trained one by one, the cost of time and hashing power will be unbearable. Therefore, to ensure that the reconstruction accuracy is not lost, we have adopted the batch training method. Figure 5 shows the training error and test error for each training session. By the time the training reaches 10 times, the network has achieved preliminary convergence, the recovery accuracy of the training set has reached 1.5 × 10−4, and the recovery accuracy of the test set has reached 1.4 × 10−4.

3.2. Level-2 of Hierarchical Optimization

At this time, the smoothing characteristics of the obtained spectral transmittance curve are also very good, so the model is used as a pre-trained model for hierarchical optimization. Figure 6 shows the training error and test error of training, when training is getting close to 300 times. The accuracy improvement is very slow, although there is no overfitting, and the wasted computing power resources of continued training and the benefits of accuracy improvement are not rewarding. At this time, the training is stopped, and the recovery accuracy of the training set reaches 4.4 × 10−5, and the recovery accuracy of the test set reaches 4.3 × 10−5. The training of WER-Net far exceeds the network in [8] in terms of convergence speed and recovery accuracy. Through the later experimental verification, the trained WER-Net achieves a 2-nm resolution.
After the training, the spectral transmittance curve of the filter is obtained by invoking the FC layer parameter of the first FC layer without offset in the optimal network. As can be seen from Figure 7, the spectral transmittance curve of the filter is smooth, and it can be preliminarily judged that it can be reverse-designed and produced.

4. Experiment

4.1. Experimental Design and Results

To simulate the manufacturing errors generated in the filter production process, a Gaussian random noise with standard deviations σ of 0.001 and 0.01 was introduced to the weighting parameters of the first FC layer. According to the Monte Carlo method, we used the spectral information of nearly a thousand real objects with 2 nm resolution captured by IspecField-HH spectrometer, and entered them into the WER-Net for encoding and reconstruction. Some of the results are shown in Figure 8. As a result, the mean squared error (MSE) of the reconstructed spectra can reach 9.374 × 10−5. The result is much similar to the optimal network test error, so it can be concluded that the WER-Net has a good performance on resolution of 2 nm spectrum reconstruction. Table 1 shows the critical performance values for spectral data reconstruction, including MSE, full width at half maximum (FWHM), peak amplitude error, peak wavelength position deviation, and reconstruction speed. The recovery speed is experimental data running on the Nvidia GeForce RTX2060 platform.
Finally, the spectral transmittance curve trained by WER-Net is fed into the inverse design network (IDN) to prove its practical application [29]. The MSE of the spectral transmittance curve obtained by IDN is 4.62 × 10−2, which proves that the spectral transmittance curve trained by WER-Net can be designed and fabricated. At the same time, WER-Net has strong robustness. Table 1 shows that WER-Net performs extremely well even with a certain level of noise. Therefore, WER-Net can accept the error within a certain range in the reverse design and production of the filter, which can be really applied to engineering.

4.2. Comparison with Other Algorithms

We selected two traditional CS algorithms and a deep learning algorithm, namely gradient projection sparse reconstruction (GPSR), orthogonal matching trace (OMP) and PCSED in [8]. The results of the comparison are shown in Table 2. The reconstruction operation using GPSR and OMP has been performed on the AMD Ryzen 5-3500U platform, and PCSED has been performed on the Nvidia GeForce RTX2060 platform.
For GPSR and OMP algorithms, the ideal random Gaussian matrix and the optical filter matrix of WER-Net are both adopted. As expected, the ideal non-correlated Gaussian matrix plays better both on MSE and speed than the ones with optical filter of WER-Net. However, the fabrication of random Gaussian matrix type filters can hardly be possible.
In contrast, the filter obtained by WER-Net not only can be used by WER-Net, but can also have a good performance with other spectral reconstruction algorithms like GPSR and OMP. Table 2 shows the spectral reconstruction performance. The reconstruction accuracy (MSE) of the GPSR algorithm can reach 2.20 × 10−2, and the reconstruction accuracy of the OMP algorithm can reach 4.63 × 10−3. Most impressively, the WER-Net has better performance both on MSE and reconstruction speed. The reconstruction accuracy of WER-Net is 208 times higher than GPSR, 38 times higher than OMP, and the reconstruction speed is only 0.48% of GPSR and 2.65% of OMP.
Compared with PCSED described in [26], which also has the ability of encoding and reconstruction, the reconstruction accuracy of WER-NET is 17.3 times higher than that of PCSED, and the reconstruction speed is only 35.7% of that of PCSED. This indicates that the convolutional layers of WER-Net play a difference.

5. Discussion

This paper presents a novel encoding and reconstruction artificial neural network called WER-Net, which is applied in a computational spectrum field. First, an FC layer without offset was constructed to simulate the encoding process of the spectrum, and then two FC layers and three convolution layers were architected to reconstruct the encoded spectrum. The open-source CAVE and ICVL database were then used for least square interpolation to obtain a virtual higher resolution training dataset. The database is used to train WER-Net to obtain the spectral transmittance and decoding network. In the encoding part, to acquire spectral transmittance, the regular terms and hierarchical optimization methods during training are used to make it more practical in engineering. In the reconstruction part, CNNs are used to reduce the network parameters and improve computational efficiency. Finally, experimental demonstration proves that the wide-spectrum encoding filter trained by WER-Net has universal applicability. The high-precision spectral reconstruction is successfully realized in traditional GPSR, OMP, and other algorithms. Moreover, the reconstruction accuracy of WER-Net is 208 times higher than GPSR, 38 times higher than OMP, and the reconstruction speed is only 0.48% of GPSR and 2.65% of OMP. WER-Net not only solves the drawbacks of high cost caused by the “mass production selection” tendencies of wide-spectrum encoding filters, but also greatly improves the reconstruction efficiency.

Author Contributions

Conceptualization, X.D. and L.Y.; data curation, Z.Z. and M.Y.; formal analysis, X.D., Z.L. and H.L.; investigation, X.D. and H.L.; methodology, X.D. and L.Y.; writing—original draft, X.D. and L.Y.; writing—review and editing, L.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Natural Science Foundation of China (Nos.41774180).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Candes, E.J.; Tao, T. Decoding by Linear Programming. IEEE Trans. Inf. Theory 2005, 51, 4203–4215. [Google Scholar] [CrossRef]
  2. Wang, Z.; Yi, S.; Chen, A.; Zhou, M.; Luk, T.S.; James, A.; Nogan, J.; Ross, W.; Joe, G.; Shahsafi, A.; et al. Single-shot on-chip spectral sensors based on photonic crystal slabs. Nat. Commun. 2019, 10, 1020. [Google Scholar] [CrossRef] [PubMed]
  3. Wu, X.; Gao, D.; Chen, Q.; Chen, J. Multispectral imaging via nanostructured random broadband filtering. Opt. Express 2020, 28, 4859–4875. [Google Scholar] [CrossRef]
  4. David, L.D.; Michael, E.; Vladimir, N.T. Stable recovery of sparse overcomplete representations in the presence of noise. IEEE Trans. Inf. Theory 2006, 52, 6–18. [Google Scholar]
  5. Wright, J.; Yang, A.Y.; Ganesh, A.; Sastry, S.S.; Ma, Y. Robust face recognition via sparse representation. IEEE Trans. Pattern. Anal. 2009, 31, 210–227. [Google Scholar] [CrossRef] [PubMed]
  6. Sadegh, J.; Volker, M.; Marc, E.P.; Harry, Y. Sparse approximate solution of partial differential equations. Appl. Numer. Math. 2009, 60, 452–472. [Google Scholar]
  7. David, L.D.; Xiaoming, H. Uncertainty principles and ideal atomic decomposition. IEEE Trans. Inf. Theory 2001, 47, 2845–2862. [Google Scholar]
  8. Zhang, W.; Song, H.; He, X.; Huang, L.; Zhang, X.; Zheng, J.; Shen, W.; Hao, X.; Liu, X. Deeply learned broadband encoding stochastic hyperspectral imaging. Light Sci. Appl. 2021, 10, 1–7. [Google Scholar] [CrossRef]
  9. Li, R.; Zheng, Y.; Wen, D.; Song, Z. A Deep Learning Approach to real-time recovery for compressive hyper spectral imaging. In Proceedings of the 2017 IEEE 3rd Information Technology and Mechatronics Engineering Conference (ITOEC 2017), Chongqing, China, 3–7 October 2017. [Google Scholar]
  10. Miao, X.; Yuan, X.; Wilford, P. Spectral imaging with deep learning. In Digital Holography and Three-Dimensional Imaging; Optica Publishing Group: St. Petersburg, Russia, 2019. [Google Scholar]
  11. Mingde, Y.; Zhiwei, X.; Lizhi, W.; Dong, L.; Xuejin, C. Spectral-depth imaging with deep learning based reconstruction. Opt. Express 2019, 27, 38312–38325. [Google Scholar]
  12. Kulkarni, K.; Lohit, S.; Turaga, P.; Kerviche, R.; Ashok, A. Non-iterative reconstruction of images from compressively sensed measurements. In Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, 27–30 June 2016. [Google Scholar]
  13. Multispectral Image Database. Available online: https://www.cs.columbia.edu/CAVE/databases/multispectral/ (accessed on 15 June 2022).
  14. Hyperspectral Database—Early Access. Available online: http://icvl.cs.bgu.ac.il/hyperspectral/ (accessed on 15 June 2022).
  15. McCulloch, W.S.; Pitts, W. A logical calculus of the ideas immanent in nervous activity. Bull. Math. Biol. 1990, 52, 115–133. [Google Scholar] [CrossRef]
  16. Hopfield, J.J. Neural networks and physical systems with emergent collective computational abilities. Proc. Natl. Acad. Sci. USA 1982, 79, 2554–2558. [Google Scholar] [CrossRef] [PubMed]
  17. LeCun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proc. IEEE 1998, 86, 2278–2324. [Google Scholar] [CrossRef]
  18. Xiong, J.; Cai, X.; Cui, K.; Huang, Y.; Yang, J.; Zhu, H.; Li, W.; Hong, B.; Rao, S.; Zheng, Z.; et al. Dynamic brain spectrum acquired by a real-time ultraspectral imaging chip with reconfigurable metasurfaces. Optica 2022, 9, 461–468. [Google Scholar] [CrossRef]
  19. Wang, D.; Chen, Z.; Zhang, X.; Fu, T.; OuYang, R.; Bi, G.; Jin, L.; Wang, X. A High Optical Throughput Spectral Imaging Technique Using Broadband Filters. Sensors 2020, 20, 4387. [Google Scholar] [CrossRef] [PubMed]
  20. Liu, Z.; Zhu, D.; Rodrigues, S.; Lee, K.; Cai, W. A Generative Model for the Inverse Design of Metasurfaces. Nano Lett. 2018, 18, 6570–6576. [Google Scholar] [CrossRef]
  21. So, S.; Mun, J.; Rho, J. Simultaneous Inverse Design of Materials and Structures via Deep Learning: Demonstration of Dipole Resonance Engineering Using Core-Shell Nanoparticles. Acs. Appl. Mater. Inter. 2019, 11, 24264–24268. [Google Scholar] [CrossRef] [PubMed]
  22. Ma, W.; Cheng, F.; Liu, Y. Deep-Learning-Enabled On-Demand Design of Chiral Metamaterials. Acs. Nano 2018, 12, 6326–6334. [Google Scholar] [CrossRef] [PubMed]
  23. Hornik, K.; Stinchcombe, M.; White, H. Multilayer feedforward networks are universal approximator. Neural Net. 1989, 5, 359–366. [Google Scholar] [CrossRef]
  24. Wang, L.; Sun, C.; Zhang, M.; Fu, Y.; Huang, H. DNU: Deep non-local unrolling for computational spectral imaging. In Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–18 June 2020. [Google Scholar]
  25. Candes, E.J.; Romberg, J.; Tao, T. Robust uncertainty principles: Exact signal reconstruction from highly incomplete frequency information. IEEE Trans. Inform. Theory 2006, 52, 489–509. [Google Scholar] [CrossRef]
  26. Jiang, Y.; Li, G.; Ge, H.; Wang, F.; Li, L.; Chen, X.; Lv, M.; Zhang, Y. Adaptive compressed sensing algorithm for terahertz spectral image reconstruction based on residual learning. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2022, 281, 121586. [Google Scholar] [CrossRef]
  27. Chen, Z.; Ye, G. An asymmetric image encryption scheme based on hash SHA-3, RSA and compressive sensing. Optik 2022, 267, 169676. [Google Scholar] [CrossRef]
  28. Wang, X.; Li, J.; Wang, D.; Huang, X.; Liang, L.; Tang, Z.; Fan, Z.; Liu, Y. Sparse ultrasonic guided wave imaging with compressive sensing and deep learning. Mech. Syst. Signal Processing 2022, 178, 109346. [Google Scholar] [CrossRef]
  29. Song, H.; Ma, Y.; Han, Y.; Shen, W.; Zhang, W.; Li, Y.; Liu, X.; Peng, Y.; Hao, X. Deep-Learned Broadband Encoding Stochastic Filters for Computational Spectroscopic Instruments. Adv. Theory Simul. 2021, 4, 2000299. [Google Scholar] [CrossRef]
Figure 1. The network architecture of WER-Net.
Figure 1. The network architecture of WER-Net.
Sensors 22 06089 g001
Figure 2. M-P neuron model.
Figure 2. M-P neuron model.
Sensors 22 06089 g002
Figure 3. Jittering spectral transmittance curve.
Figure 3. Jittering spectral transmittance curve.
Sensors 22 06089 g003
Figure 4. Comparison of network training speed using ReLU and Tanh.
Figure 4. Comparison of network training speed using ReLU and Tanh.
Sensors 22 06089 g004
Figure 5. Training error and test error of level-1 of hierarchical optimization.
Figure 5. Training error and test error of level-1 of hierarchical optimization.
Sensors 22 06089 g005
Figure 6. Training error and test error of level-2 of hierarchical optimization.
Figure 6. Training error and test error of level-2 of hierarchical optimization.
Sensors 22 06089 g006
Figure 7. Spectral transmittance curves of all trained optical filters.
Figure 7. Spectral transmittance curves of all trained optical filters.
Sensors 22 06089 g007aSensors 22 06089 g007b
Figure 8. Reconstructed spectrum by WER-Net.
Figure 8. Reconstructed spectrum by WER-Net.
Sensors 22 06089 g008
Table 1. Mean value of WER-Net performance index.
Table 1. Mean value of WER-Net performance index.
σ = 0σ = 0.001σ = 0.01
MSE9.374 × 10−51.129 × 10−43.510 × 10−4
FWHM0.986 nm0.970 nm1.136 nm
Peak amplitude error1.452 × 10−31.255 × 10−32.821 × 10−3
Peak wavelength position deviation0.25 nm0.25 nm0.5 nm
Reconstruction speed343.89 μs447.04 μs378.22 μs
Table 2. WER-Net compares with other algorithms.
Table 2. WER-Net compares with other algorithms.
GPSR
(with Gaussian Matrix)
GPSR
(with Filter Matrix of WER-Net)
OMP
(with Gaussian Matrix)
OMP
(with Filter Matrix of WER-Net)
PCSEDWER-Net
MSE1.95 × 10−22.20 × 10−23.54 × 10−34.63 × 10−35.413 × 10−49.374 × 10−5
Reconstruction speed21 ms91.1 ms7.4 ms13.4 ms963.37 μs343.89 μs
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ding, X.; Yang, L.; Yi, M.; Zhang, Z.; Liu, Z.; Liu, H. WER-Net: A New Lightweight Wide-Spectrum Encoding and Reconstruction Neural Network Applied to Computational Spectrum. Sensors 2022, 22, 6089. https://doi.org/10.3390/s22166089

AMA Style

Ding X, Yang L, Yi M, Zhang Z, Liu Z, Liu H. WER-Net: A New Lightweight Wide-Spectrum Encoding and Reconstruction Neural Network Applied to Computational Spectrum. Sensors. 2022; 22(16):6089. https://doi.org/10.3390/s22166089

Chicago/Turabian Style

Ding, Xinran, Lin Yang, Mingyang Yi, Zhiteng Zhang, Zhen Liu, and Huaiyuan Liu. 2022. "WER-Net: A New Lightweight Wide-Spectrum Encoding and Reconstruction Neural Network Applied to Computational Spectrum" Sensors 22, no. 16: 6089. https://doi.org/10.3390/s22166089

APA Style

Ding, X., Yang, L., Yi, M., Zhang, Z., Liu, Z., & Liu, H. (2022). WER-Net: A New Lightweight Wide-Spectrum Encoding and Reconstruction Neural Network Applied to Computational Spectrum. Sensors, 22(16), 6089. https://doi.org/10.3390/s22166089

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop