원시데이터 수집 시스템
선정목록으로

Rapid multivariate analysis of 3D ToF‐SIMS data: graphical processor units (GPUs) and low‐discrepancy subsampling for large‐scale principal component analysis

간접 관련 필름·전자재료 · (15) 디스플레이 패널재료 (11) 배리어 필름(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Peter J. Cumpson — National EPSRC XPS User's Service (NEXUS) Laboratory, School of Mechanical and Systems Engineering, Newcastle University, Newcastle upon Tyne, NE1 7RU UK
  2. Ian W. Fletcher — National EPSRC XPS User's Service (NEXUS) Laboratory, School of Mechanical and Systems Engineering, Newcastle University, Newcastle upon Tyne, NE1 7RU UK
  3. Naoko Sano — National EPSRC XPS User's Service (NEXUS) Laboratory, School of Mechanical and Systems Engineering, Newcastle University, Newcastle upon Tyne, NE1 7RU UK
  4. Anders J. Barlow — National EPSRC XPS User's Service (NEXUS) Laboratory, School of Mechanical and Systems Engineering, Newcastle University, Newcastle upon Tyne, NE1 7RU UK
DOI
10.1002/sia.6042
저널
Surface and Interface Analysis
발행년도
2016
발행기관
Wiley
피인용수
20
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1002/sia.6042
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W2396040939

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
(11) 배리어 필름, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
ToF-SIMS, Principal Component Analysis, 3D depth-profiles, surface analysis, multivariate analysis
판단 근거
본 논문은 표면 분석 기술인 ToF-SIMS 데이터의 대용량 다변량 분석(PCA)을 위한 알고리즘과 GPU 가속 및 샘플링 기법을 다룹니다. 이는 코오롱인더스트리의 필름, 디스플레이 소재, 고분자 막의 표면 화학 조성 및 층별 구조(depth-profile)를 정밀 분석하는 R&D 공정에 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
필름 및 고분자 막(PEM, CPI 등)의 다층 구조 분석, 계면 특성 평가, 표면 오염 및 조성 변화를 정밀하게 모니터링하는 분석 방법론으로 활용 가능합니다.
평가 입력
본문 42,486자 중 30,032자 발췌

초록

Principal component analysis (PCA) and other multivariate analysis methods have been used increasingly to analyse and understand depth‐profiles in XPS, AES and SIMS. For large images or three‐dimensional (3D) imaging depth‐profiles, PCA has been difficult to apply until now simply because of the size of the matrices of data involved. In a recent paper, we described two algorithms, random vector 1 (RV1) and random vector 2 (RV2), that improve the speed of PCA and allow datasets of unlimited size, respectively. In this paper, we now apply the RV2 algorithm to perform PCA on full 3D time‐of‐flight SIMS data for the first time without subsampling. The dataset we process in this way is a 128 × 128 pixel depth‐profile of 120 layers, each voxel having a 70 439 value mass spectrum associated with it. This forms over a terabyte of data when uncompressed and took 27 h to process using the RV2 algorithm using a conventional windows desktop personal computer (PC). While full PCA (e.g. using RV2) is to be preferred for final reports or publications, a much more rapid method is needed during analysis sessions to inform decisions on the next analytical step. We have therefore implemented the RV1 algorithm on a PC having a graphical processor unit (GPU) card containing 2880 individual processor cores. This increases the speed of calculation by a factor of around 4.1 compared with what is possible using a fast commercially available desktop PC having central processing units alone, and full PCA is performed in less than 7 s. The size of the dataset that can be processed in this way is limited by the size of the memory on the GPU card. This is typically sufficient for two‐dimensional images but not 3D depth‐profiles without sampling. We have therefore examined efficient sampling schemes that allow a good approximate solution to the PCA problem for large 3D datasets. We find that low‐discrepancy series such as Sobol series sampling gives more rapid convergence than random sampling, and we recommend such methods for routine use. Using the GPU and low‐discrepancy series together, we anticipate that any time‐of‐flight SIMS dataset, of whatever size, can be efficiently and accurately processed into PCA components in a maximum of around 10 s using a commercial PC with a widely available GPU card, although the longer RV2 approach is still to be preferred for the presentation of final results, such as in published papers. Copyright © 2016 The Authors Surface and Interface Analysis Published by John Wiley & Sons Ltd

본문 42,486자

본문 펼치기
Received: 21 January 2016 Revised: 19 April 2016 Accepted: 19 April 2016 Published online in Wiley Online Library: 5 May 2016 (wileyonlinelibrary.com) DOI 10.1002/sia.6042 # Rapid multivariate analysis of 3D ToF-SIMS data: graphical processor units (GPUs) and low-discrepancy subsampling for large-scale principal component analysis ### Peter J Cumpson,* Ian W Fletcher, Naoko Sano and Anders J Barlow Principal component analysis (PCA) and other multivariate analysis methods have been used increasingly to analyse and understand depth-profiles in XPS, AES and SIMS. For large images or three-dimensional (3D) imaging depth-profiles, PCA has been difficult to apply until now simply because of the size of the matrices of data involved. In a recent paper, we described two algorithms, random vector 1 (RV1) and random vector 2 (RV2), that improve the speed of PCA and allow datasets of unlimited size, respectively. In this paper, we now apply the RV2 algorithm to perform PCA on full 3D time-of-flight SIMS data for the first time without subsampling. The dataset we process in this way is a 128× 128 pixel depth-profile of 120 layers, each voxel having a 70439 value mass spectrum associated with it. This forms over a terabyte of data when uncompressed and took 27h to process using the RV2 algorithm using a conventional windows desktop personal computer (PC). While full PCA (e.g. using RV2) is to be preferred for final reports or publications, a much more rapid method is needed during analysis sessions to inform decisions on the next analytical step. We have therefore implemented the RV1 algorithm on a PC having a graphical processor unit (GPU) card containing 2880 individual processor cores. This increases the speed of calculation by a factor of around 4.1 compared with what is possible using a fast commercially available desktop PC having central processing units alone, and full PCA is performed in less than 7 s. The size of the dataset that can be processed in this way is limited by the size of the memory on the GPU card. This is typically sufficient for two-dimensional images but not 3D depth-profiles without sampling. We have therefore examined efficient sampling schemes that allow a good approximate solution to the PCA problem for large 3D datasets. We find that low-discrepancy series such as Sobol series sampling gives more rapid convergence than random sampling, and we recommend such methods for routine use. Using the GPU and low-discrepancy series together, we anticipate that any time-of-flight SIMS dataset, of whatever size, can be efficiently and accurately processed into PCA components in a maximum of around 10s using a commercial PC with a widely available GPU card, although the longer RV2 approach is still to be preferred for the presentation of final results, such as in published papers. Copyright © 2016 The Authors Surface and Interface Analysis Published by John Wiley & Sons Ltd Keywords: Time-of-Flight Secondary Ion Mass Spectrometry (ToFSIMS); Principal Component Analysis; PCA; Multivariate Analysis Introduction Principal component analysis <sup>[1]</sup> (PCA) is a powerful tool for surface analysis data and has many applications. It can provide an overview of exactly the type of complex data that modern surface analysis instruments produce. PCA can be used for revealing relations between spectra and peak positions, detecting outliers and finding patterns in massive datasets that are otherwise impossible to study by simply plotting one experimental variable against another. PCA has therefore been an important method of analysing spectra and images in surface analysis for at least the last 25 years. There exist excellent examples <sup>[2–8]</sup> and analytical reviews <sup>[9–11]</sup> of its use in the literature, applied to a range of problems. At the core of PCA software is singular value decomposition (SVD), a matrix algebra method for decomposing spectra into orthogonal (i.e. independent) components. <sup>[12,13]</sup> Until now, these methods have been difficult to apply to very large datasets such as spectra associated with two-dimensional (2D) images or threedimensional (3D) depth-profiles because the size of the dataset is too large to hold in the memory of commonly available personal computers (PCs). In recent work, <sup>[14]</sup> we applied the new ‘random vectors’ (RVs) method of SVD proposed by Halko <sup>[15]</sup> and co-authors to time-of-flight (ToF)-SIMS images for the first time. One variant of this ‘RVs’ algorithm, which we called RV1, increases the speed of calculation by a factor of several hundred, making PCA of these datasets practical on desktop PCs for the first time. More important, a second variant of this algorithm, RV2, allows any size of dataset to be processed by an ‘out-of-core’ method. When applying RV2, the ToF-SIMS data are stored on disc and brought into memory piece-by-piece for processing. This ensures that there is no limit (except the disc capacity itself) on the size of the dataset that can be processed. The ‘out of memory’ errors common in the past have been eliminated. This is especially useful when, for example, - Correspondence to: P. J. Cumpson, National EPSRC XPS User’s Service (NEXUS) Laboratory, School of Mechanical and Systems Engineering, Newcastle University, Newcastle upon Tyne NE1 7RU, UK. E-mail: peter.cumpson@ncl.ac.uk [This is an open access article under the terms of the Creative Commons Attribution](http://creativecommons.org/licenses/by/4.0/) License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited. National EPSRC XPS User’s Service (NEXUS) Laboratory, School of Mechanical and Systems Engineering, Newcastle University, Newcastle upon Tyne NE1 7RU, UK p y preparing data for publication or in a report, when one can wait a few hours or even a few days for RV2 to perform a complete and rigorous PCA analysis of the data. However, there are occasions where time is much more limited. Therefore, one purpose of this paper is to investigate how to do SVD (and therefore PCA) using the RV1 algorithm as rapidly as possible using modern commercially available PC hardware. We do this by 1. applying graphical processor units (GPUs) not previously used in surface analysis to increase the speed of PCA calculation by a factor of around 4.1 compared with the same PC without such a GPU card, and 2. for the largest datasets, we apply a new sampling method to select a subset of pixels (or voxels) for processing that converges more rapidly than previously used sampling methods. Methods (a) and (b) used individually or together allow us to apply PCA to moderate-sized ToF-SIMS datasets in a reasonable time (up to about 10 s) on a high-specification PC with a GPU card. For PCA analysis of a very large datasets where the longer calculation time is not an issue, we would still recommend using the RV2 algorithm described previously. RV2 runs well on any specification of PC, even laptops, and does not use any GPU card, but can take hours to complete processing a dataset because of the time taken fetching segments of the dataset from disc. Requirements of surface analysis We need a faster SVD algorithm for large images and especially 3D datasets. We can therefore identify three key requirements of an algorithm suitable for 3D imaging applications: 1. It should be fast for images in the limit of a large number of voxels and size of spectra in those voxels; 2. The memory requirements should be within those available on easily accessible PCs; and 3. It should be capable of decomposing low-rank data matrices, i.e. we believe that the spectra in the dataset are made-up of a small number of factors, typically below 100, and certainly a very small number compared with the total number of voxels. Note that there is an extensive literature and recommendations on data pre-processing required in XPS and ToF-SIMS, which may include normalisation, mean-centering and Poisson distribution variance correction. <sup>[16]</sup> While numerically quick and easy, it is not the purpose of this paper to examine them, as they do not affect the primary issue which is the scale of spectral imaging data, <sup>[17,18]</sup> and therefore pre-processing will not be considered here. A 3D ToF-SIMS test dataset As a set of test data, we chose a 20 kV C60 imaging depth-profile of a plant leaf using our Ionoptika J105 chemical imaging ToF-SIMS instrument in positive ion mode. The primary beam current was 5 pA, and the repetition rate was one pulse every 100 μs, with no sample bias. This dataset has 128 × 128 pixels in x and y, each pixel being 2 μm × 2μm, 120 levels in z, and a mass spectrum of 70439 values at each voxel, with this mass range covering the interval 30 to 600 amu. Assuming 8 bytes per mass spectrum value (as would be required for double-precision representation by most types of pre-processing), this means a dataset over 1 terabyte in size (although in most cases ToF-SIMS software will save this in a numerically compressed form). Figure 1 shows some key features that can be seen by plotting the intensity of particular chosen peaks from within this enormous dataset. In particular, there appears to be a hydrocarbon-rich (and therefore perhaps ‘waxy’) cuticle at the leaf surface (indicated by, for example, C7H7+ at m/z 91) above a region that gives rise to large range of Ca-containing ions and complex ions (e.g. Ca2O <sup>+</sup> ) that appear to indicate the location of cytoplasm within cells below the surface. Notice the dark horizontal band in the y–z plot shown in Fig. 1. This is an instrumental artefact caused by a temporary decrease in the primary beam current. We will not attempt to remove this by any normalisation or other correction, so the same band can be seen (and easily discounted) in the presentation of PCA results below. We processed this entire dataset (not just the small subset of that data shown in Fig. 1) including all of the mass spectra in full, in 27 h on an ordinary Windows PC (a Dell Optiplex 7010 having 16 Gb of memory) using the RV2 algorithm previously described. We calculated the first 100 principal components. When using RV2, the speed of processing is not very dependent on the specification of the central processing unit (CPU), but more dependent on the speed of reading from disc, so that a solid state disc drive offers a speed advantage, although in our case, the leaf data was processed using a conventional hard drive. It is important to note that the specific mode of operation of the J105 instrument makes PCA rather easier to apply than in some other designs of ToF-SIMS instrument. The J105 performs decoupling of the timing of the primary beam from the timing of ion pulses entering the mass analyser, avoiding calibration problems due to spatial distribution of formation of secondary ions and allowing the use of PCA with no need for prior calibration specific to the sample (although of course the mass scale of the instrument itself is calibrated). In other instrument designs, where the arrival time of ions in the analyser with respect to the impact of the primary ions on the sample is crucial, additional careful calibration may be needed to ensure valid PCA results. Figures 2 to 8 show PCA results, including orthogonal slices in x, y and z through the PCA component scores obtained from this calculation. PC1 represents the average of all of the spectra and was dominated by the relatively intense signals from the inorganic species present in the sample. These were mainly due to calcium species and arose from beneath the leaf surface. PC3 and PC5 (as well as some higher components not shown) are dominated by signals due to various Ca species. These presented as several series of cluster ions formed in the SIMS ionisation process containing Ca, O and H. Ions of the general form [(CaO)xH.nH2O] <sup>+</sup> and [Ca (CaO)x.nH2O] <sup>+</sup> were detected with x = 1 to 9 and n = 0 up to 8. Differences in the relative intensity distributions of these species may well reflect differences in the Ca chemistry within the leaf structure. PCs 2 and 4 were dominated by relatively weak signals from various organic and hydrocarbon species. Consideration of Figs 4 and 7 shows that the majority of these signals arose from the leaf surface region – this would be consistent with the presence of a waxy cuticle. Other signals in PC2 arose from the cell walls that would be consistent with a cellulosic material or similar. The remaining signals in PC4 were due to Ca species and appeared to be associated with the cell contents. Figure 5 shows loadings from PC2, plotted in blue for the positive part of the loading and red for the negative part. Even this is only a section from the entire 1 to 600 amu mass range, with only 70 to 160 amu being shown in this figure, nevertheless we can see the high mass-resolution of the mass spectral dataset at m/Δm ≈ 1500. Also the blue positive part of PC2 is dominated by organic fragment ions at higher than the nominal mass while the red negative part is p Figure 1. Leaf dataset, illustrating (a) some particular peaks in the SIMS spectrum and the distribution of their origin and (b) an Y–Z plane overlay (i.e. a vertical slice through the leaf) of C3H6O2+ (pink) indicating the waxy surface cuticle of the leaf, and Ca2O+ (green) showing the cell contents. The dark horizontal band in (b) is due to a temporary reduction in primary beam current during the depth-profile. Figure 2. First principal component scores calculated from the threedimensional ToF-SIMS dataset (128 × 128 pixels, 256 μm × 256μm, at 120 levels with 70 439 values per spectrum). This chemical component is primarily located beneath the leaf surface and seems correlated with the cell contents of the plant cells. The aspect ratio of x and y is correct in this view, but z greatly exaggerated. dominated by inorganic cluster ions at lower than the nominal mass (i.e. Ca2O2+ and Ca2O2H+ at m/z 112 and 113, respectively). There was also an instrument tuning issue that gave rise to split peaks/poor peak shapes in the mass spectra, but this had no effect on the results presented in this paper. This effect can be seen in Fig. 5 especially for the fragment ion peaks at m/z 109 and 115 Figure 3. As for Fig. 1, but showing a slice close to the surface where there appear to be just a few isolated cells. Figures 2 to 8 show the results of applying PCA to a dataset around 20 times larger than any that we know of as having previously appeared in the literature. The only real limit on the size of 13+ and C9H7+ due to C8H13+ and C9H7+, respectively. At the time these data were acquired, the instrument was very new and had a minor internal charging issue due to some surface contamination on some internal surfaces of the in the ToF. This has now been fully resolved with thorough cleaning and reassembly, but we do not expect this to have affected the performance of PCA on these data. due to C8H13+ p y Figure 4. Second principal component, PC2, is concentrated near the surface, but extends into the bulk of the leaf along what appear to be the plant cell walls. Blue areas show where the score is positive, and red areas where it is negative. dataset that can be processed using the RV2 algorithm is the capacity of the hard disc. Faster, if approximate, PCA results would be useful in many cases - therefore in the remainder of this paper, we will look first at accelerating the calculation using a GPU. Then, for the largest datasets, we look at efficient sampling to reduce the time taken in calculation. Figure 6 the third principal component seems (as with the first) to be located with the contents of plant cells in the leaf, possibly showing slightly higher spatial resolution. Blue areas show where this score is positive, and red where it is negative. Both the positive and negative loadings of PC3 contain Ca species. Time taken for the RV1 algorithms using CPU and GPU In Fig. 9, we compare calculation times for a very typical ToF-SIMS multivariate analysis problem of a 256× 256 pixel image having an increasing size of spectrum associated with each pixel. This is a large PCA problem but is still small enough (unlike our leaf data earlier) to be processed in memory by both CPU and GPU processors using the RV1 algorithm, given their memory limitations. All calculations in this section were performed on a Hewlett Packard Z440 desktop PC with 132 GB of memory and an Intel Xeon E5-1620 v3 CPU having eight cores operating at 3.5GHz, running 64-bit Microsoft Windows 7. MATLAB R2014b was used. The GPU card is an Nvidia Tesla K40 with 2880 processors and 12 Gb of memory. Clearly, both the CPU and GPU methods involve significant parallel processing, and monitors of CPU and GPU activity showed a fairly even spread of the workload across them. Overall, the use of the Figure 6. The third principal component seems (as with the first) to be located with the contents of plant cells in the leaf, possibly showing slightly higher spatial resolution. Blue areas show where this score is positive, and red where it is negative. Both the positive and negative loadings of PC3 contain Ca species. Figure 7. The fourth principal component, PC4, is concentrated very close to the surface of the leaf, even more so than PC2. However, like PC1 and PC3, it seems to be associated with cell contents at depth also. GPU accelerates the calculation by around a factor of 4.1 compared with the CPU alone. Thus, a very typical dataset, 256× 256 pixels each with 20 000 mass values, can be processed in around 7 s using the GPU card, including the time taken to move the large volume of data from PC to GPU card and retrieve the results. This is very much Figure 5. Section of loadings calculated for principal component 2. Here, the positive part of the loading is shown in blue, and the negative part is inverted and plotted in red. Figure 8. The fifth principal component, PC5, scores. Figure 9. Calculation times recorded for principal component analysis of complete 256 × 256 pixel images having increasing spectra associated with each pixel. The RV1 algorithm previously described to calculate 100 principal components using the central processing unit (CPU) and graphical processor unit (GPU) of the personal computer. For spectrum lengths typical of ToF-SIMS images (around n = 2000 to 50 000), the GPU performs principal component analysis remarkably quickly, but beyond the capacity of the GPU memory, the CPU still performs well. For the largest problems (n > 100 000), the 128 Gb memory of the personal computer becomes full, and the use of virtual memory leads to prohibitive calculation times. less than the time taken to acquire the data, even on the fastest ToF-SIMS instruments commercially available. Importantly for GPU acceleration, our PCA calculation applies the same instructions simultaneously to many segments of data, making it very suitable for full utilisation of these processors. If many different instructions needed to be executed simultaneously, it would most likely not be an advantage to use a GPU card. The need for sampling Unless you need to apply PCA to the largest datasets, you may not need to read this section. One obvious method of reducing the computational workload involved in processing the largest datasets is to sample only a proportion of the pixels (or voxels) in the data, as p shown schematically in Fig. 10. If we perform PCA on this sample (not the whole dataset), we can then apply the orthogonal basis set so obtained to the entire data. This is sometimes called using a ‘training set’, for example, Van Nuffel et al <sup>[19]</sup> used a training set of 6.1% of a 3D ToF-SIMS dataset, with voxels being selected from the full dataset at random. The entire spectrum from each sampled voxel (or pixel in the 2D case) is included as a row in the data matrix, but only a small number of voxels are sampled, and therefore the matrix is much smaller than if all the voxels were to appear as rows. The full dataset could be presented in terms of the projection of the spectrum in each pixel (or voxel) onto the principal component loadings. The result, ideally, would be very little different to seeing the PCA results of the entire data. Provided the sampled voxels (or pixels in the 2D case) are representative of the data as a whole, and there are more samples than the rank of the full data matrix (preferably many more), then, we should expect that the basis calculated by PCA will represent the data as a whole too, and nothing will be lost by using a sample of the data rather than the data as a whole. This is a risky assumption to make without knowledge of the source of the imaging data; however, in the specific case of ToF-SIMS imaging, we know that there is a fundamental diameter of the primary beam and sputtered volume limit below that pixels will be highly correlated. In the remainder of this paper, we will apply sampling schemes to our ToF-SIMS leaf dataset to examine the advantages and limitations of sampling, as well as which is the best method of sampling, as we shall now discuss. Qualitative discussion of sampling methods Key to the success of sampling is the selection of a suitable sampling method to choose the voxels (or pixels) to use. It is possible to sample using a regular grid. For example, one could include every kth voxel in the PCA calculation. This can be a good method, but requires careful choice of the grid to apply (i.e. a careful choice of k) in advance, and unfortunately one does not know the spatial extent of the components of the image in advance. For example, consider the 2D sampling grid shown in Fig. 11. In this case, we have sampled 500 pixels from an image of 256 × 256 pixels at regular intervals of (256× 256)/500 or around k = 131 pixels. Each sampled pixel is indicated by a small circle in Fig. 11. Clearly. this forms a pattern of repeated grid lines. It would be good to make sampling more homogenous and less directional than this grid method. The most obvious way to do this is to sample pixels (or voxels in 3D) at random. Figure 12 shows a random selection of 500pixels from the same set of 256 × 256 shown in Fig. 11. This time, there is no preferred direction in the distribution of sampled pixels, but one can identify random clusters of sampled pixels as well as voids where no sampling has taken place. Of course, in the limit of a large number of random sampled pixels, these voids and clusters will gradually disappear. In this limit of a large number of samples, this random sampling would properly represent the data, but our problem in ToF-SIMS is that our sample size, set by computational constraints, must be a rather small fraction of the total data, and we should look for a more efficient sampling scheme than a random selection if we can. Taking some concrete examples to illustrate this point, consider the effect of sampling on the images shown in Fig. 13. Here, we imagine that the spectra at each of the 256 × 256 pixels show particular chemical species labelled ‘A’ and ‘B’ that are what we would hope that PCA would extract for us and make clear what are the components of these spectra. There are sizeable regions p y Figure 10. Schematic diagram illustrating sampling from a large image. If we include each of these16 × 16 = 256 pixels in the data matrix, then the matrix would be 256 × n in size, where n is the length of the spectrum associated with each pixel. Sampling from just the eight marked pixels gives a smaller data matrix of size 8 × n. Figure 11. Sampling on a regular grid. Each circle represents a pixel sampled to construct the data matrix for subsequent principal component analysis. Provided these pixels are representative of the image as a whole, principal component analysis should elucidate the chemical components of the image. where species ‘A’ can reside within the image without being sampled at all, whereas region ‘B’ is sampled excessively and is overrepresented in the subsequent PCA analysis. The sampling problem here has features similar to those of multidimensional Monte Carlo integration, where methods based on low discrepancy series (LDS) have proved increasingly useful in recent years. LDS can be viewed as quasi-random number series that have poor randomness properties – they are in a sense quite poor random numbers. There are several possible LDS that may be used in our problem of sampling prior to PCA, but we have most often used one based on Sobol series. <sup>[20,21]</sup> We have previously used Sobol series in high-dimensional integration problems that arise in Monte Carlo integration of simulated electron trajectories in XPS. <sup>[22]</sup> Figure 14 shows pixels sampled from the same 256 × 256 by a Sobol sequence. One can see that, speaking roughly, the pixels sampled by this Sobol series fill the area more evenly than the random sampling scheme does. Formally, the discrepancy of a series is computed by comparing the actual number of sample points in a given Figure 12. Sampling random pixels from the image. Each circle represents a pixel sampled to construct the data matrix for subsequent principal component analysis. volume of multidimensional space with the number of sample points that should be there in a long-term limit of a uniform distribution. We would expect that the use of an LDS results in more rapid convergence towards the true singular values, eigenvalues and eigenvectors describing the data than would random sampling, and this is indeed what we observe in analysing the ToF-SIMS data. Sobol (and other LDSs) are easily extended to 3D. Low-discrepancy sequences originated in the context of numerical integration of functions in high-dimensional spaces. <sup>[23]</sup> Quasi-Monte Carlo integration uses an LDS such as the Halton <sup>[24]</sup> sequence or the Sobol sequence whereas conventional Monte Carlo uses a pseudorandom sequence. The function is sampled at points within the limits of integration according to these sequences, and the values of the function summed numerically. The advantage of using LDSs is a faster rate of convergence in this integration application, often proportional to N <sup>�1</sup> in the limit of large sample size N (as would be the case for sampling on a regular grid), whereas for random sampling, this is only around N <sup>�0.5</sup> . We conjecture that similar convergence behaviour will be seen in applying the low-discrepancy versus random sampling methods in p Figure 13. Voids between sampled pixels (A) or clusters of sampled pixels (B) can under or over-represent, respectively, the species present at these locations in the principal component analysis. Here, grid sampling (left) and random sampling (right) both show this problem. As discussed earlier, SVD is at the core of PCA calculation, whereby we can express a matrix as A ¼ U S V <sup>T</sup> where A is the ‘design matrix’ containing the spectra, U and V are unitary matrices (rows and columns orthonormal) and S is zero everywhere except along its leading diagonal. SVD is therefore a generalisation of matrix eigenvalue decomposition. In practical application of PCA to surface analysis, typically there are between roughly two and ten important principal components, although sometimes more. Therefore, a useful metric to assess how accurately PCA of a sampled dataset approximates the PCA components of the full dataset may be the following: we add the rootmean-square errors in the ratio of the second, third, … tenth singular values ratioed to the first, i.e. f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi W ¼ vf f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f i f f iffi uut X - <u>Ssampledði; iÞ</u> <u>ð</u> <u>Þ</u> �2 Þ <sup>�</sup> <sup><u>Sfull</u></sup> <sup><u>i; i</u></sup> X i¼2;3; :::10 <u>Ssampledði; iÞ</u> <u>ð</u> <u>Þ</u> Ssampledð1; 1Þ <sup>�</sup> S <sup><u>S</u></sup> full <sup><u>full</u></sup> ð1 <sup><u>i</u></sup> ; <sup><u>;</u></sup> 1 <sup><u>i</u></sup> Þ Figure 14. Sampling pixels from the image according to a low-discrepancy ‘Sobol sequence’. Each circle represents a pixel sampled to construct the data matrix for subsequent principal component analysis. SVD of large spectral imaging datasets for PCA. For the large sample sizes necessary in the PCA of ToF-SIMS datasets, this difference is very important. Since originally proposing this combination of PCA and LDS at the SIMS XX conference in Seattle in 2015, we have found previous published work that indicated that this combination has worked well in the entirely different context of quantitative financial analysis <sup>[25]</sup> and Monte Carlo methods. <sup>[26]</sup> Comparing convergence of Sobol vs. random sequences We will compare the application of random versus LDS methods to our 3D leaf ToF-SIMS dataset. Because of the more rapid convergence of LDS sampling in numerical integration applications, we would expect more rapid approximation of the PCA components of a 2D or 3D dataset when an LDS sampling method is used. This is the first time that we know of that LDS methods have been applied in surface analysis. Figure 15 shows the locations within the 3D dataset of 20 000 voxels sampled from the total of 128 × 128 × 120 = 1.96 million voxels in the leaf 3D dataset. where Sfull and Ssampled are the singular value matrices from SVD of the full and sampled design matrices, respectively. If the sampling produces a good approximation to the singular values (and eigenvalues) of the full problem, then W is small. We propose this performance metric as an indicator of how closely the sampling method reproduces the true ratios of the quantity of the different chemical species that show up as components in the PCA analysis. Other equally good metrics are no doubt possible, but this seems a reasonable one. We evaluated W numerically for 500 separate PCA calculations on the leaf 3D dataset. In each case, the full mass spectra (each voxel having 70439 values) were used, but the number of voxels sampled was increased from 0.01% to 1% of the full dataset in 500 steps. This allowed all calculations to be performed rapidly using the GPU card, as 1% of the dataset represents just under the 12 Gb memory capacity of our GPU card, allowing the RV1 algorithm to be used. To evaluate W, we used Sfull taken from our earlier (and much more time-consuming) RV2 calculation from the full 3D dataset of over 1 terabyte in size. Figure 16 shows how W decreases gradually as we increase the number of sampled voxels for both the random sampling and Sobol sampling methods. In the higher part of this range, the Sobol sampling method leads to a smaller error than random sampling on average, although there is naturally some random variability in both. Figure 17 shows the ratio of W for Sobol compared with random sampling. The most p y Figure 15. The 20 000 sampled voxels from the 128 × 128 × 120 ToF-SIMS dataset. Each sampled voxel is shown as a point for (a) Sobol and (b) random selection of voxels. While both have the appearance of randomness, the Sobol sampled voxels appear more evenly distributed on close inspection. Figure 16. Root-mean-square (RMS) error (summed over the first ten eigenvalues), W, as a function of the fraction of voxels sampled. Each point is the result of an SVD calculation using the graphical processor unit. Sobol sampling generally leads to a lower error in the case of sample sizes above around 0.05%. Above a sampling fraction of 1.0%, the number of voxels becomes too large to hold within the graphical processor unit card memory. important regime is the larger sample size range here, and taking an average over the range 0.5 to 1.0% sampling, we find that Sobol sampling gives about 0.58 of the root-mean-square error we observe from random sampling, corresponding effectively to an acquisition time reduced by a factor of about (1/0.58) <sup>2</sup> ≈ 3. Clearly, the exact improvement offered by Sobol sampling will be dependent on many parameters, but is likely to be an advantage in most practical studies. Comments on slow, ultra-high mass resolution SIMS spectromicroscopy, and the role of LDS sampling While the ToF analyser is now common in SIMS, there are some options in the future for much higher mass resolution based on Fourier-transform mass spectrometry (FTMS) analysers. There are few demonstrations of successful integration of FTMS analysers at present, with ion cyclotron resonance mass spectrometry (ICR-MS) being the only published example <sup>[27,28]</sup> that we know of at the time of writing; however, there is talk of integrating quadrologarithmic electrostatic traps and other types of ion-trap, and Figure 17. Data from the previous figure replotted as a ratio on linear axes. The average value between 0.5% and 1% sampling is 0.58, showing a useful improvement in accuracy by using Sobol sampling compared with random sampling. One would need about three times as much data (and three times as much processing) to reach the same accuracy using pseudorandom methods. RMS, root-mean-square. a commercial option has recently become available. <sup>[29]</sup> Although not widely available as yet, it is possible (although by no means certain given the commercial and cost issues) that these FTMS analysers will become popular additions to ToF-SIMS instruments in the future. These analysers offer extremely high mass resolution at the expense of longer acquisition times than the ToF analyser. These longer acquisition times can often be in the range 100 ms–10 s per analytical point, making image acquisition with these types of analyser very slow for, say, 256 × 256 pixel images and prohibitive for full 3D datasets. The previous discussion on the application of LDS sampling has some interesting implications for the use of these slow, high resolution analysers in conjunction with ToF-SIMS imaging. If one has a sample that one wishes to image using both ToF (fast) and FTMS (slow) analysers, and one begins with no initial knowledge of the sample, then it may be useful to use a Sobol (or other LDS) sequence to select pixels (or voxels) to be analysed by FTMS analysis, while the whole image (or 3D dataset) is acquired for ToF analysis. LDS sampling in this way has some nice properties such as avoiding sampling pixels in close proximity, while uniformly covering the imaged area. This application is reminiscent of the biological problem of placement of retinal photoreceptors by a ‘blue noise’ distribution that avoids having pairs of photoreceptors too close and yet allows high spatial frequencies to be detected without aliasing. <sup>[30]</sup> Taken together, data from both ToF and FTMS analysers may be processed very efficiently by the PCA methods we have discussed to make best use of the speed of the ToF and the mass resolution of the FTMS together. If, on the other hand, the ToF-SIMS imaging is done first and PCA performed on that image, then the location of regions rich in the chemical components revealed by PCA may be suitable choices of location for FTMS analysis. In that case, one is using prior knowledge of the sample gained from ToF-SIMS to guide the FTMS sampling. Conclusions We have demonstrated PCA on a large 3D ToF-SIMS dataset, and how GPU and LDS techniques may be used to obtain a rapid and accurate approximation to the PCA results from the full dataset. The most rapid PCA is performed using a PC having a GPU card executing algorithm RV1. This GPU card must have enough memory to accommodate the full, uncompressed dataset. A typical dataset of 256× 256 pixels and 2000 mass values can be accommodated on the GPU card we used, with 12 Gb of local memory. It is therefore important to ensure that any GPU card one uses has sufficient memory as well as processor cores. For datasets larger than the GPU card can accommodate, modern PCs with large physical memory work well, again using RV1, but are about four times slower. If the dataset is too large to accommodate in the physical memory of the PC, then one has two options: 1. Process the entire dataset using algorithm RV2. This will often take several hours, sometimes up to a day or two for the largest datasets. The speed of processing is less dependent on the specification of the CPU, and more dependent on the speed of reading from disc, so that a solid state disc drive offers a speed advantage: or 2. Subsample, ideally using a low-discrepancy method such as Sobol sampling, making a dataset sufficiently small to fit in the physical memory of the PC or GPU card, and then use RV1. This will typically reduce the time taken to between 5 and 10 s, so is particularly useful in the middle of taking spectra or images to inform decisions about where and how to take the next data. Finally, we should make one observation about these techniques and their take-up by the biological and medical communities. The use of high spatial and mass-resolution SIMS instruments together with multivariate analysis (see Figs 2 to 8 for example) offers a new and powerful tool for looking at the biochemistry of slices through 3D depth-profiles. This is a technology not well appreciated yet in biomedical communities, and therefore in an attempt to more precisely convey their power, we have presented these types of results under the name ‘tomomics’ internally at our university. Tomomics combines the Greek τόμoς (tomos) meaning ‘slice’ or ‘section’ (from which we also derive the word ‘tomography’) with an ‘-omics’ suffix. The Oxford English Dictionary defines nouns having this suffix in the context of cellular and molecular biology as having the sense of ‘all constituents considered collectively’. This seems very appropriate to the multivariate analysis of all the information in 3D SIMS datasets. In speaking to communities who are primarily interested in what results the technique is capable of rather than the details of instrumentation or software, and who are comfortable with the p meaning of genomics, proteomics and other ‘-omics’ fields, the term ‘tomomics’ may be useful. Acknowledgements Preliminary X-ray photoelectron spectroscopy (XPS) data were acquired at the National EPSRC XPS Users’ Service, an EPSRC Mid-Range Facility. The authors are very grateful to Paul Blenkinsopp of Ionoptika Ltd for assistance in acquiring the ToF-SIMS datasets using our Ionoptika J105 instrument now at Newcastle. This ToF-SIMS instrument was purchased as part of an instrument package funded by EPSRC’s ‘Great Eight’ capital funding grant EP/K022679/1 and Newcastle University. References [1] R. Bro, A. K. Smilde, Anal Methods 2014, 6, 2812–2831. [2] H. Tian, J. S. Fletcher, R. Thuret, A. Henderson, N. Papalopulu, J. C. Vickerman, N. P. Lockyer, J. Lipid Res. 2014, 55, 1970–1980. [3] M. S. Wagner, D. G. Castner, Langmuir 2001, 17, 4649–4660. [4] N. Sano, M.-L. Abel, J. F. Watts, The transfer of organics onto glass studied by ToF-SIMS, Surf. Interface Anal. 2011, 43, 423–426. [5] K. Artyushkova, J. E. Fulghum, J Elect Spectro. Relat. Phenom. 2005, 149, 51–60. [6] D. Barbash, J. E. Fulghum, J. Yang, L. Felton, Drug Dev. Ind. Pharm. 2009, 35, 480–486. [7] K. Artyushkova, J. E. Fulghum, Surf. Interface Anal. 2004, 36, 9. [8] M. C. Biesinger, P.-Y. Paepegaey, N. S. McIntyre, R. R. Harbottle, N. O. Petersen, Anal. Chem. 2002, 74, 5711–5716. [9] A. Henderson, Multivariate Analysis of SIMS Spectra. in TOF-SIMS: Materials Analysis by Mass Spectrometry (Eds: J. C. Vickerman, D. Briggs) (2nd edn), SurfaceSpectra, Manchester and IM Publications, Chichester, 2013, pp. 449–484. [10] M. S. Wagner, D. J. Graham, B. D. Ratner, D. G. Castner, Surf. Sci. 2004, 570, 78–97. [11] J. Walton, N. Fairley, XPS spectromicroscopy: exploiting the relationship between images and spectra, Surf. Interface Anal. 2008, 40, 478–481. [12] G. H. Golub, C. F. Van Loan, Matrix Computations (3rd edn), Johns Hopkins, Baltimore USA, 1996. [13] J. Walton, N. Fairley, J Electron. Spectrosc. Relat Phenom 2005, 148, 29–40. [14] P. J. Cumpson, N. Sano, I. W. Fletcher, J. F. Portoles, M. Bravo-Sanchez, A. J. Barlow, Surf. Interface Anal. 2015, 47, 986–993. [15] N. P. Halko, P. G. Martinsson, J. A. Tropp, Survey Rev. sec. 2011, 53, 217–288. [16] M. R. Keenan, P. G. Kotula, Appl. Surf. Sci. 2004, 231–232, 240–244. [17] D. J. Graham, M. S. Wagner, D. G. Castner, Appl. Surf. Sci. 2006, 252, 6860–6868. [18] B. T. Wickes, Y. Kim, D. G. Castner, Surf. Interface Anal. 2003, 35, 640–648. [19] S. Van Nuffel, C. Parmenter, D. J. Scurr, N. A. Russell and M. Zelzer, Multivariate analysis of 3D ToF-SIMS images: method validation and application to cultured neuronal networks Analyst, Advance Article DOI: 10.1039/C5AN01743B. [20] I. M. Sobol, USSR Comput. Math Math Physics 1967, 7, 86–112. [21] I. A. Antonov, V. M. Saleev, USSR Comput Math Math Physics 1979, 19, 252–256. [22] P. J. Cumpson, Two rapid Monte Carlo methods for calculating the depth distribution function, Surface and Interface Analysis 1993, 20, 727–741. [23] I. Krykova, Evaluation of Path-dependent Securities With Low-discrepancy Methods, Thesis, Worcester Polytechnic Institute, 2003. [24] J. H. Halton, Numerische Mathematik 1960, 2, 84–90. [25] T. Bielecki, D. Brigo, F. Patras, Credit Risk Frontiers: Subprime Crisis, Pricing and Hedging, CVA, MBS, Ratings, and Liquidity, John Wiley & Sons, Chichester, UK, 2011. [26] A. Keller, S. Heinrich, N Harald, Monte Carlo and Quasi-Monte Carlo Methods 2006 Springer, New York, 2007 [27] R. M. A. Heeren, D. F. Smith, J. Stauber, B. Kükrer-Kaletas, L. MacAleese, J. Am. Soc. Mass Spectrom. June 2009, 20(6), 1006–1014. [28] Donald F. Smith, Andras Kiss, F E. Leach, E. W. Robinson, P.-T. Ljiljana, M. A. Ron Heeren Analytical and Bioanalytical Chemistry, 2013, 405, 18, 6069-6076 [29] [www.iontofusa.com/news-archive-tof-sims.html](http://www.iontofusa.com/news-archive-tof-sims.html) [30] J. I. Yellot, Science 1983, 221, 382–5 Yellott JI Jr.

섹션 본문 29문단 · 32,909자

(제목 없음)

1Principal component analysis (PCA) and other multivariate analysis methods have been used increasingly to analyse and understand depth-profiles in XPS, AES and SIMS. For large images or three-dimensional (3D) imaging depth-profiles, PCA has been difficult to apply until now simply because of the size of the matrices of data involved. In a recent paper, we described two algorithms, random vector 1 (RV1) and random vector 2 (RV2), that improve the speed of PCA and allow datasets of unlimited size, respectively. In this paper, we now apply the RV2 algorithm to perform PCA on full 3D time-of-flight SIMS data for the first time without subsampling. The dataset we process in this way is a 128 × 128 pixel depth-profile of 120 layers, each voxel having a 70 439 value mass spectrum associated with it. This forms over a terabyte of data when uncompressed and took 27 h to process using the RV2 algorithm using a conventional windows desktop personal computer (PC). While full PCA (e.g. using RV2) is to be preferred for final reports or publications, a much more rapid method is needed during analysis sessions to inform decisions on the next analytical step. We have therefore implemented the RV1 algorithm on a PC having a graphical processor unit (GPU) card containing 2880 individual processor cores. This increases the speed of calculation by a factor of around 4.1 compared with what is possible using a fast commercially available desktop PC having central processing units alone, and full PCA is performed in less than 7 s. The size of the dataset that can be processed in this way is limited by the size of the memory on the GPU card. This is typically sufficient for two-dimensional images but not 3D depth-profiles without sampling. We have therefore examined efficient sampling schemes that allow a good approximate solution to the PCA problem for large 3D datasets. We find that low-discrepancy series such as Sobol series sampling gives more rapid convergence than random sampling, and we recommend such methods for routine use. Using the GPU and low-discrepancy series together, we anticipate that any time-of-flight SIMS dataset, of whatever size, can be efficiently and accurately processed into PCA components in a maximum of around 10 s using a commercial PC with a widely available GPU card, although the longer RV2 approach is still to be preferred for the presentation of final results, such as in published papers.

Introduction

2Principal component analysis [1] (PCA) is a powerful tool for surface analysis data and has many applications. It can provide an overview of exactly the type of complex data that modern surface analysis instruments produce. PCA can be used for revealing relations between spectra and peak positions, detecting outliers and finding patterns in massive datasets that are otherwise impossible to study by simply plotting one experimental variable against another. PCA has therefore been an important method of analysing spectra and images in surface analysis for at least the last 25 years. There exist excellent examples [2][3][4][5][6][7][8] and analytical reviews [9][10][11] of its use in the literature, applied to a range of problems.

3At the core of PCA software is singular value decomposition (SVD), a matrix algebra method for decomposing spectra into orthogonal (i.e. independent) components. [12,13] Until now, these methods have been difficult to apply to very large datasets such as spectra associated with two-dimensional (2D) images or threedimensional (3D) depth-profiles because the size of the dataset is too large to hold in the memory of commonly available personal computers (PCs). In recent work, [14] we applied the new 'random vectors' (RVs) method of SVD proposed by Halko [15] and co-authors to time-of-flight (ToF)-SIMS images for the first time. One variant of this 'RVs' algorithm, which we called RV1, increases the speed of calculation by a factor of several hundred, making PCA of these datasets practical on desktop PCs for the first time. More important, a second variant of this algorithm, RV2, allows any size of dataset to be processed by an 'out-of-core' method. When applying RV2, the ToF-SIMS data are stored on disc and brought into memory piece-by-piece for processing. This ensures that there is no limit (except the disc capacity itself) on the size of the dataset that can be processed. The 'out of memory' errors common in the past have been eliminated. This is especially useful when, for example, preparing data for publication or in a report, when one can wait a few hours or even a few days for RV2 to perform a complete and rigorous PCA analysis of the data. However, there are occasions where time is much more limited. Therefore, one purpose of this paper is to investigate how to do SVD (and therefore PCA) using the RV1 algorithm as rapidly as possible using modern commercially available PC hardware. We do this by 1. applying graphical processor units (GPUs) not previously used in surface analysis to increase the speed of PCA calculation by a factor of around 4.1 compared with the same PC without such a GPU card, and 2. for the largest datasets, we apply a new sampling method to select a subset of pixels (or voxels) for processing that converges more rapidly than previously used sampling methods.

4Methods (a) and (b) used individually or together allow us to apply PCA to moderate-sized ToF-SIMS datasets in a reasonable time (up to about 10 s) on a high-specification PC with a GPU card. For PCA analysis of a very large datasets where the longer calculation time is not an issue, we would still recommend using the RV2 algorithm described previously. RV2 runs well on any specification of PC, even laptops, and does not use any GPU card, but can take hours to complete processing a dataset because of the time taken fetching segments of the dataset from disc.

Requirements of surface analysis

5We need a faster SVD algorithm for large images and especially 3D datasets. We can therefore identify three key requirements of an algorithm suitable for 3D imaging applications:

61. It should be fast for images in the limit of a large number of voxels and size of spectra in those voxels; 2. The memory requirements should be within those available on easily accessible PCs; and 3. It should be capable of decomposing low-rank data matrices, i.e. we believe that the spectra in the dataset are made-up of a small number of factors, typically below 100, and certainly a very small number compared with the total number of voxels.

7Note that there is an extensive literature and recommendations on data pre-processing required in XPS and ToF-SIMS, which may include normalisation, mean-centering and Poisson distribution variance correction. [16] While numerically quick and easy, it is not the purpose of this paper to examine them, as they do not affect the primary issue which is the scale of spectral imaging data, [17,18] and therefore pre-processing will not be considered here.

A 3D ToF-SIMS test dataset

8As a set of test data, we chose a 20 kV C 60 imaging depth-profile of a plant leaf using our Ionoptika J105 chemical imaging ToF-SIMS instrument in positive ion mode. The primary beam current was 5 pA, and the repetition rate was one pulse every 100 μs, with no sample bias. This dataset has 128 × 128 pixels in x and y, each pixel being 2 μm × 2μm, 120 levels in z, and a mass spectrum of 70 439 values at each voxel, with this mass range covering the interval 30 to 600 amu.

9Assuming 8 bytes per mass spectrum value (as would be required for double-precision representation by most types of pre-processing), this means a dataset over 1 terabyte in size (although in most cases ToF-SIMS software will save this in a numerically compressed form). Figure 1 shows some key features that can be seen by plotting the intensity of particular chosen peaks from within this enormous dataset. In particular, there appears to be a hydrocarbon-rich (and therefore perhaps 'waxy') cuticle at the leaf surface (indicated by, for example, C 7 H 7 + at m/z 91) above a region that gives rise to large range of Ca-containing ions and complex ions (e.g. Ca 2 O + ) that appear to indicate the location of cytoplasm within cells below the surface. Notice the dark horizontal band in the y-z plot shown in Fig. 1. This is an instrumental artefact caused by a temporary decrease in the primary beam current. We will not attempt to remove this by any normalisation or other correction, so the same band can be seen (and easily discounted) in the presentation of PCA results below.

10We processed this entire dataset (not just the small subset of that data shown in Fig. 1) including all of the mass spectra in full, in 27 h on an ordinary Windows PC (a Dell Optiplex 7010 having 16 Gb of memory) using the RV2 algorithm previously described. We calculated the first 100 principal components. When using RV2, the speed of processing is not very dependent on the specification of the central processing unit (CPU), but more dependent on the speed of reading from disc, so that a solid state disc drive offers a speed advantage, although in our case, the leaf data was processed using a conventional hard drive.

11It is important to note that the specific mode of operation of the J105 instrument makes PCA rather easier to apply than in some other designs of ToF-SIMS instrument. The J105 performs decoupling of the timing of the primary beam from the timing of ion pulses entering the mass analyser, avoiding calibration problems due to spatial distribution of formation of secondary ions and allowing the use of PCA with no need for prior calibration specific to the sample (although of course the mass scale of the instrument itself is calibrated). In other instrument designs, where the arrival time of ions in the analyser with respect to the impact of the primary ions on the sample is crucial, additional careful calibration may be needed to ensure valid PCA results. Figures 2 to 8 show PCA results, including orthogonal slices in x, y and z through the PCA component scores obtained from this calculation. PC1 represents the average of all of the spectra and was dominated by the relatively intense signals from the inorganic species present in the sample. These were mainly due to calcium species and arose from beneath the leaf surface. PC3 and PC5 (as well as some higher components not shown) are dominated by signals due to various Ca species. These presented as several series of cluster ions formed in the SIMS ionisation process containing Ca, O and H. Ions of the general form [(CaO) x H.nH 2 O] + and [Ca (CaO) x .nH 2 O] + were detected with x = 1 to 9 and n = 0 up to 8. Differences in the relative intensity distributions of these species may well reflect differences in the Ca chemistry within the leaf structure. PCs 2 and 4 were dominated by relatively weak signals from various organic and hydrocarbon species. Consideration of Figs 4 and 7 shows that the majority of these signals arose from the leaf surface regionthis would be consistent with the presence of a waxy cuticle. Other signals in PC2 arose from the cell walls that would be consistent with a cellulosic material or similar. The remaining signals in PC4 were due to Ca species and appeared to be associated with the cell contents. Figure 5 shows loadings from PC2, plotted in blue for the positive part of the loading and red for the negative part. Even this is only a section from the entire 1 to 600 amu mass range, with only 70 to 160 amu being shown in this figure, nevertheless we can see the high mass-resolution of the mass spectral dataset at m/Δm ≈ 1500. Also the blue positive part of PC2 is dominated by organic fragment ions at higher than the nominal mass while the red negative part is dominated by inorganic cluster ions at lower than the nominal mass (i.e. Ca 2 O 2 + and Ca 2 O 2 H + at m/z 112 and 113, respectively). There was also an instrument tuning issue that gave rise to split peaks/poor peak shapes in the mass spectra, but this had no effect on the results presented in this paper. This effect can be seen in Fig. 5 especially for the fragment ion peaks at m/z 109 and 115 due to C 8 H 13 + and C 9 H 7 + , respectively. At the time these data were acquired, the instrument was very new and had a minor internal charging issue due to some surface contamination on some internal surfaces of the in the ToF. This has now been fully resolved with thorough cleaning and reassembly, but we do not expect this to have affected the performance of PCA on these data. Figures 2 to 8 show the results of applying PCA to a dataset around 20 times larger than any that we know of as having previously appeared in the literature. The only real limit on the size of dataset that can be processed using the RV2 algorithm is the capacity of the hard disc. Faster, if approximate, PCA results would be useful in many casestherefore in the remainder of this paper, we will look first at accelerating the calculation using a GPU. Then, for the largest datasets, we look at efficient sampling to reduce the time taken in calculation. Figure 6 the third principal component seems (as with the first) to be located with the contents of plant cells in the leaf, possibly showing slightly higher spatial resolution. Blue areas show where this score is positive, and red where it is negative. Both the positive and negative loadings of PC3 contain Ca species.

12Time taken for the RV1 algorithms using CPU and GPU In Fig. 9, we compare calculation times for a very typical ToF-SIMS multivariate analysis problem of a 256 × 256 pixel image having an increasing size of spectrum associated with each pixel. This is a large PCA problem but is still small enough (unlike our leaf data earlier) to be processed in memory by both CPU and GPU processors using the RV1 algorithm, given their memory limitations. All calculations in this section were performed on a Hewlett Packard Z440 desktop PC with 132 GB of memory and an Intel Xeon E5-1620 v3 CPU having eight cores operating at 3.5 GHz, running 64-bit Microsoft Windows 7. MATLAB R2014b was used. The GPU card is an Nvidia Tesla K40 with 2880 processors and 12 Gb of memory. Clearly, both the CPU and GPU methods involve significant parallel processing, and monitors of CPU and GPU activity showed a fairly even spread of the workload across them. Overall, the use of the GPU accelerates the calculation by around a factor of 4.1 compared with the CPU alone. Thus, a very typical dataset, 256 × 256 pixels each with 20 000 mass values, can be processed in around 7 s using the GPU card, including the time taken to move the large volume of data from PC to GPU card and retrieve the results. This is very much The fourth principal component, PC4, is concentrated very close to the surface of the leaf, even more so than PC2. However, like PC1 and PC3, it seems to be associated with cell contents at depth also. less than the time taken to acquire the data, even on the fastest ToF-SIMS instruments commercially available. Importantly for GPU acceleration, our PCA calculation applies the same instructions simultaneously to many segments of data, making it very suitable for full utilisation of these processors. If many different instructions needed to be executed simultaneously, it would most likely not be an advantage to use a GPU card.

The need for sampling

13Unless you need to apply PCA to the largest datasets, you may not need to read this section. One obvious method of reducing the computational workload involved in processing the largest datasets is to sample only a proportion of the pixels (or voxels) in the data, as shown schematically in Fig. 10. If we perform PCA on this sample (not the whole dataset), we can then apply the orthogonal basis set so obtained to the entire data. This is sometimes called using a 'training set', for example, Van Nuffel et al [19] used a training set of 6.1% of a 3D ToF-SIMS dataset, with voxels being selected from the full dataset at random. The entire spectrum from each sampled voxel (or pixel in the 2D case) is included as a row in the data matrix, but only a small number of voxels are sampled, and therefore the matrix is much smaller than if all the voxels were to appear as rows. The full dataset could be presented in terms of the projection of the spectrum in each pixel (or voxel) onto the principal component loadings. The result, ideally, would be very little different to seeing the PCA results of the entire data. Provided the sampled voxels (or pixels in the 2D case) are representative of the data as a whole, and there are more samples than the rank of the full data matrix (preferably many more), then, we should expect that the basis calculated by PCA will represent the data as a whole too, and nothing will be lost by using a sample of the data rather than the data as a whole. This is a risky assumption to make without knowledge of the source of the imaging data; however, in the specific case of ToF-SIMS imaging, we know that there is a fundamental diameter of the primary beam and sputtered volume limit below that pixels will be highly correlated. In the remainder of this paper, we will apply sampling schemes to our ToF-SIMS leaf dataset to examine the advantages and limitations of sampling, as well as which is the best method of sampling, as we shall now discuss.

Qualitative discussion of sampling methods

14Key to the success of sampling is the selection of a suitable sampling method to choose the voxels (or pixels) to use. It is possible to sample using a regular grid. For example, one could include every kth voxel in the PCA calculation. This can be a good method, but requires careful choice of the grid to apply (i.e. a careful choice of k) in advance, and unfortunately one does not know the spatial extent of the components of the image in advance. For example, consider the 2D sampling grid shown in Fig. 11. In this case, we have sampled 500 pixels from an image of 256 × 256 pixels at regular intervals of (256 × 256)/500 or around k = 131 pixels. Each sampled pixel is indicated by a small circle in Fig. 11. Clearly. this forms a pattern of repeated grid lines.

15It would be good to make sampling more homogenous and less directional than this grid method. The most obvious way to do this is to sample pixels (or voxels in 3D) at random. Figure 12 shows a random selection of 500 pixels from the same set of 256 × 256 shown in Fig. 11. This time, there is no preferred direction in the distribution of sampled pixels, but one can identify random clusters of sampled pixels as well as voids where no sampling has taken place. Of course, in the limit of a large number of random sampled pixels, these voids and clusters will gradually disappear. In this limit of a large number of samples, this random sampling would properly represent the data, but our problem in ToF-SIMS is that our sample size, set by computational constraints, must be a rather small fraction of the total data, and we should look for a more efficient sampling scheme than a random selection if we can. Taking some concrete examples to illustrate this point, consider the effect of sampling on the images shown in Fig. 13.

16Here, we imagine that the spectra at each of the 256 × 256 pixels show particular chemical species labelled 'A' and 'B' that are what we would hope that PCA would extract for us and make clear what are the components of these spectra. There are sizeable regions . Calculation times recorded for principal component analysis of complete 256 × 256 pixel images having increasing spectra associated with each pixel. The RV1 algorithm previously described to calculate 100 principal components using the central processing unit (CPU) and graphical processor unit (GPU) of the personal computer. For spectrum lengths typical of ToF-SIMS images (around n = 2000 to 50 000), the GPU performs principal component analysis remarkably quickly, but beyond the capacity of the GPU memory, the CPU still performs well. For the largest problems (n > 100 000), the 128 Gb memory of the personal computer becomes full, and the use of virtual memory leads to prohibitive calculation times.

17where species 'A' can reside within the image without being sampled at all, whereas region 'B' is sampled excessively and is overrepresented in the subsequent PCA analysis.

18The sampling problem here has features similar to those of multidimensional Monte Carlo integration, where methods based on low discrepancy series (LDS) have proved increasingly useful in recent years. LDS can be viewed as quasi-random number series that have poor randomness propertiesthey are in a sense quite poor random numbers. There are several possible LDS that may be used in our problem of sampling prior to PCA, but we have most often used one based on Sobol series. [20,21] We have previously used Sobol series in high-dimensional integration problems that arise in Monte Carlo integration of simulated electron trajectories in XPS. [22] Figure 14 shows pixels sampled from the same 256 × 256 by a Sobol sequence.

19One can see that, speaking roughly, the pixels sampled by this Sobol series fill the area more evenly than the random sampling scheme does. Formally, the discrepancy of a series is computed by comparing the actual number of sample points in a given volume of multidimensional space with the number of sample points that should be there in a long-term limit of a uniform distribution. We would expect that the use of an LDS results in more rapid convergence towards the true singular values, eigenvalues and eigenvectors describing the data than would random sampling, and this is indeed what we observe in analysing the ToF-SIMS data. Sobol (and other LDSs) are easily extended to 3D.

20Low-discrepancy sequences originated in the context of numerical integration of functions in high-dimensional spaces. [23] Quasi-Monte Carlo integration uses an LDS such as the Halton [24] sequence or the Sobol sequence whereas conventional Monte Carlo uses a pseudorandom sequence. The function is sampled at points within the limits of integration according to these sequences, and the values of the function summed numerically. The advantage of using LDSs is a faster rate of convergence in this integration application, often proportional to N À1 in the limit of large sample size N (as would be the case for sampling on a regular grid), whereas for random sampling, this is only around N À0.5 . We conjecture that similar convergence behaviour will be seen in applying the low-discrepancy versus random sampling methods in SVD of large spectral imaging datasets for PCA. For the large sample sizes necessary in the PCA of ToF-SIMS datasets, this difference is very important. Since originally proposing this combination of PCA and LDS at the SIMS XX conference in Seattle in 2015, we have found previous published work that indicated that this combination has worked well in the entirely different context of quantitative financial analysis [25] and Monte Carlo methods. [26] Comparing convergence of Sobol vs. random sequences

21We will compare the application of random versus LDS methods to our 3D leaf ToF-SIMS dataset. Because of the more rapid convergence of LDS sampling in numerical integration applications, we would expect more rapid approximation of the PCA components of a 2D or 3D dataset when an LDS sampling method is used. This is the first time that we know of that LDS methods have been applied in surface analysis. Figure 15 shows the locations within the 3D dataset of 20 000 voxels sampled from the total of 128 × 128 × 120 = 1.96 million voxels in the leaf 3D dataset.

22As discussed earlier, SVD is at the core of PCA calculation, whereby we can express a matrix as

23where A is the 'design matrix' containing the spectra, U and V are unitary matrices (rows and columns orthonormal) and S is zero everywhere except along its leading diagonal. SVD is therefore a generalisation of matrix eigenvalue decomposition. In practical application of PCA to surface analysis, typically there are between roughly two and ten important principal components, although sometimes more. Therefore, a useful metric to assess how accurately PCA of a sampled dataset approximates the PCA components of the full dataset may be the following: we add the rootmean-square errors in the ratio of the second, third, … tenth singular values ratioed to the first, i.e. where S full and S sampled are the singular value matrices from SVD of the full and sampled design matrices, respectively. If the sampling produces a good approximation to the singular values (and eigenvalues) of the full problem, then W is small. We propose this performance metric as an indicator of how closely the sampling method reproduces the true ratios of the quantity of the different chemical species that show up as components in the PCA analysis. Other equally good metrics are no doubt possible, but this seems a reasonable one. We evaluated W numerically for 500 separate PCA calculations on the leaf 3D dataset. In each case, the full mass spectra (each voxel having 70 439 values) were used, but the number of voxels sampled was increased from 0.01% to 1% of the full dataset in 500 steps. This allowed all calculations to be performed rapidly using the GPU card, as 1% of the dataset represents just under the 12 Gb memory capacity of our GPU card, allowing the RV1 algorithm to be used. To evaluate W, we used S full taken from our earlier (and much more time-consuming) RV2 calculation from the full 3D dataset of over 1 terabyte in size. Figure 16 shows how W decreases gradually as we increase the number of sampled voxels for both the random sampling and Sobol sampling methods. In the higher part of this range, the Sobol sampling method leads to a smaller error than random sampling on average, although there is naturally some random variability in both. Figure 17 shows the ratio of W for Sobol compared with random sampling. The most Figure 14. Sampling pixels from the image according to a low-discrepancy 'Sobol sequence'. Each circle represents a pixel sampled to construct the data matrix for subsequent principal component analysis. important regime is the larger sample size range here, and taking an average over the range 0.5 to 1.0% sampling, we find that Sobol sampling gives about 0.58 of the root-mean-square error we observe from random sampling, corresponding effectively to an acquisition time reduced by a factor of about (1/0.58) 2 ≈ 3. Clearly, the exact improvement offered by Sobol sampling will be dependent on many parameters, but is likely to be an advantage in most practical studies.

24Comments on slow, ultra-high mass resolution SIMS spectromicroscopy, and the role of LDS sampling While the ToF analyser is now common in SIMS, there are some options in the future for much higher mass resolution based on Fourier-transform mass spectrometry (FTMS) analysers. There are few demonstrations of successful integration of FTMS analysers at present, with ion cyclotron resonance mass spectrometry (ICR-MS) being the only published example [27,28] that we know of at the time of writing; however, there is talk of integrating quadrologarithmic electrostatic traps and other types of ion-trap, and a commercial option has recently become available. [29] Although not widely available as yet, it is possible (although by no means certain given the commercial and cost issues) that these FTMS analysers will become popular additions to ToF-SIMS instruments in the future. These analysers offer extremely high mass resolution at the expense of longer acquisition times than the ToF analyser. These longer acquisition times can often be in the range 100 ms-10 s per analytical point, making image acquisition with these types of analyser very slow for, say, 256 × 256 pixel images and prohibitive for full 3D datasets. The previous discussion on the application of LDS sampling has some interesting implications for the use of these slow, high resolution analysers in conjunction with ToF-SIMS imaging. If one has a sample that one wishes to image using both ToF (fast) and FTMS (slow) analysers, and one begins with no initial knowledge of the sample, then it may be useful to use a Sobol (or other LDS) sequence to select pixels (or voxels) to be analysed by FTMS analysis, while the whole image (or 3D dataset) is acquired for ToF analysis. LDS sampling in this way has some nice properties such as avoiding sampling pixels in close proximity, while uniformly covering the imaged area. This application is reminiscent of the biological problem of placement of retinal photoreceptors by a 'blue noise' distribution that avoids having . Root-mean-square (RMS) error (summed over the first ten eigenvalues), W, as a function of the fraction of voxels sampled. Each point is the result of an SVD calculation using the graphical processor unit. Sobol sampling generally leads to a lower error in the case of sample sizes above around 0.05%. Above a sampling fraction of 1.0%, the number of voxels becomes too large to hold within the graphical processor unit card memory. Figure 17. Data from the previous figure replotted as a ratio on linear axes. The average value between 0.5% and 1% sampling is 0.58, showing a useful improvement in accuracy by using Sobol sampling compared with random sampling. One would need about three times as much data (and three times as much processing) to reach the same accuracy using pseudorandom methods. RMS, root-mean-square. pairs of photoreceptors too close and yet allows high spatial frequencies to be detected without aliasing. [30] Taken together, data from both ToF and FTMS analysers may be processed very efficiently by the PCA methods we have discussed to make best use of the speed of the ToF and the mass resolution of the FTMS together. If, on the other hand, the ToF-SIMS imaging is done first and PCA performed on that image, then the location of regions rich in the chemical components revealed by PCA may be suitable choices of location for FTMS analysis. In that case, one is using prior knowledge of the sample gained from ToF-SIMS to guide the FTMS sampling.

Conclusions

25We have demonstrated PCA on a large 3D ToF-SIMS dataset, and how GPU and LDS techniques may be used to obtain a rapid and accurate approximation to the PCA results from the full dataset.

26The most rapid PCA is performed using a PC having a GPU card executing algorithm RV1. This GPU card must have enough memory to accommodate the full, uncompressed dataset. A typical dataset of 256 × 256 pixels and 2000 mass values can be accommodated on the GPU card we used, with 12 Gb of local memory. It is therefore important to ensure that any GPU card one uses has sufficient memory as well as processor cores.

27For datasets larger than the GPU card can accommodate, modern PCs with large physical memory work well, again using RV1, but are about four times slower. If the dataset is too large to accommodate in the physical memory of the PC, then one has two options:

281. Process the entire dataset using algorithm RV2. This will often take several hours, sometimes up to a day or two for the largest datasets. The speed of processing is less dependent on the specification of the CPU, and more dependent on the speed of reading from disc, so that a solid state disc drive offers a speed advantage: or 2. Subsample, ideally using a low-discrepancy method such as Sobol sampling, making a dataset sufficiently small to fit in the physical memory of the PC or GPU card, and then use RV1. This will typically reduce the time taken to between 5 and 10 s, so is particularly useful in the middle of taking spectra or images to inform decisions about where and how to take the next data.

29Finally, we should make one observation about these techniques and their take-up by the biological and medical communities. The use of high spatial and mass-resolution SIMS instruments together with multivariate analysis (see Figs 2 to 8 for example) offers a new and powerful tool for looking at the biochemistry of slices through 3D depth-profiles. This is a technology not well appreciated yet in biomedical communities, and therefore in an attempt to more precisely convey their power, we have presented these types of results under the name 'tomomics' internally at our university. Tomomics combines the Greek τόμoς (tomos) meaning 'slice' or 'section' (from which we also derive the word 'tomography') with an '-omics' suffix. The Oxford English Dictionary defines nouns having this suffix in the context of cellular and molecular biology as having the sense of 'all constituents considered collectively'. This seems very appropriate to the multivariate analysis of all the information in 3D SIMS datasets. In speaking to communities who are primarily interested in what results the technique is capable of rather than the details of instrumentation or software, and who are comfortable with the meaning of genomics, proteomics and other '-omics' fields, the term 'tomomics' may be useful.

참고문헌 30건

  1. Multivariate Analysis of SIMS Spectra 2013
  2. High mass accuracy and high mass resolving power FT-ICR secondary ion mass spectrometry for biological tissue imaging Analytical and Bioanalytical Chemistry · Springer Science+Business Media · 2013 101007s0021601370481
  3. Characterization of Adsorbed Protein Films by Time-of-Flight Secondary Ion Mass Spectrometry with Principal Component Analysis Langmuir · American Chemical Society · 2001 10.1021/la001209t
  4. Matrix computations (3rd ed.) Johns Hopkins University Press eBooks · Johns Hopkins University Press · 1996
  5. Angle resolved imaging of polymer blend systems: From images to a 3D volume of material morphology Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2005 10.1016/j.elspec.2005.07.001
  6. Monte Carlo and Quasi-Monte Carlo Methods 2004 Springer eBooks · Springer Nature · 2006 10.1007/3-540-31186-6
  7. The transfer of organics onto glass studied by ToF‐SIMS Surface and Interface Analysis · Wiley · 2010 10.1002/sia.3632
  8. Maximizing information obtained from secondary ion mass spectra of organic thin films using multivariate analysis Surface Science · Elsevier BV · 2004 10.1016/j.susc.2004.06.184
  9. On the efficiency of certain quasi-random sequences of points in evaluating multi-dimensional integrals Numerische Mathematik · Springer Science+Business Media · 1960 10.1007/bf01386213
  10. Elastic scattering corrections in AES and XPS: I. Two rapid Monte Carlo methods for calculating the depth distribution function Surface and Interface Analysis · Wiley · 1993 10.1002/sia.740200818
  11. XPS spectromicroscopy: exploiting the relationship between images and spectra Surface and Interface Analysis · Wiley · 2008 10.1002/sia.2731
  12. Optimal scaling of TOF-SIMS spectrum-images prior to multivariate statistical analysis Applied Surface Science · Elsevier BV · 2004 10.1016/j.apsusc.2004.03.025
  13. Information from complexity: Challenges of TOF-SIMS data interpretation Applied Surface Science · Elsevier BV · 2006 10.1016/j.apsusc.2006.02.149
  14. An economic method of computing LPτ-sequences USSR Computational Mathematics and Mathematical Physics · Pergamon Press · 1979 10.1016/0041-5553(79)90085-5
  15. Principal Component Analysis of TOF-SIMS Images of Organic Monolayers Analytical Chemistry · American Chemical Society · 2002 10.1021/ac020311n
  16. On the distribution of points in a cube and the approximate evaluation of integrals USSR Computational Mathematics and Mathematical Physics · Pergamon Press · 1967 10.1016/0041-5553(67)90144-9
  17. Multivariate analysis of extremely large ToFSIMS imaging datasets by a rapid PCA method Surface and Interface Analysis · Wiley · 2015 10.1002/sia.5800
  18. Noise reduction in X-ray photoelectron spectromicroscopy by a singular value decomposition sorting procedure Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2005 10.1016/j.elspec.2005.02.003
  19. Spatiotemporal lipid profiling during early embryo development of Xenopus laevis using dynamic ToF-SIMS imaging Journal of Lipid Research · Elsevier BV · 2014 10.1194/jlr.d048660
  20. Imaging mass spectrometry: Hype or hope? Journal of the American Society for Mass Spectrometry · American Chemical Society · 2009 10.1016/j.jasms.2009.01.011
  21. Spectral Consequences of Photoreceptor Sampling in the Rhesus Retina Science · American Association for the Advancement of Science · 1983 10.1126/science.6867716
  22. A Novel Imaging Technique to Investigate the Influence of Atomization Air Pressure on Film–Tablet Interfacial Thickness Drug Development and Industrial Pharmacy · Taylor & Francis · 2008 10.1080/03639040802438381
  23. Monte Carlo and quasi-Monte Carlo methods Acta Numerica · Cambridge University Press · 1998 10.1017/s0962492900002804
  24. Denoising and multivariate analysis of time‐of‐flight SIMS images Surface and Interface Analysis · Wiley · 2003 10.1002/sia.1580
  25. Mathematical topographical correction of XPS images using multivariate statistical methods Surface and Interface Analysis · Wiley · 2004 10.1002/sia.1841
  26. Multivariate analysis of 3D ToF-SIMS images: method validation and application to cultured neuronal networks The Analyst · Royal Society of Chemistry · 2015 10.1039/c5an01743b
  27. Principal component analysis Analytical Methods · Royal Society of Chemistry · 2014 10.1039/c3ay41907j
  28. High mass accuracy and high mass resolving power FT-ICR secondary ion mass spectrometry for biological tissue imaging Analytical and Bioanalytical Chemistry · Springer Science+Business Media · 2013 10.1007/s00216-013-7048-1
  29. Credit Risk Frontiers 2011 10.1002/9781118531839
  30. ToF-SIMS : materials analysis by mass spectrometry 2013