Supervised Neural Networks for Helioseismic Ring-Diagram Inversions
Rasha Alshehhi, Chris S. Hanson, Laurent Gizon, Shravan Hanasoge

TL;DR
This paper demonstrates that supervised neural networks can significantly accelerate helioseismic ring-diagram inversions, maintaining accuracy and detecting solar Rossby waves with much less computational effort.
Contribution
The authors introduce a neural network-based method that replaces traditional inversion techniques, drastically reducing computation time while preserving the ability to detect subtle solar flow signatures.
Findings
Neural networks predict subsurface flows with half the error of traditional methods.
Flow predictions for an entire Carrington rotation take seconds, compared to 31 CPU hours.
Rossby wave signatures are detectable in machine learning flow maps over six years.
Abstract
The inversion of ring fit parameters to obtain subsurface flow maps in ring-diagram analysis for 8 years of SDO observations is computationally expensive, requiring ~3200 CPU hours. In this paper we apply machine learning techniques to the inversion in order to speed up calculations. Specifically, we train a predictor for subsurface flows using the mode fit parameters and the previous inversion results, to replace future inversion requirements. We utilize Artificial Neural Networks as a supervised learning method for predicting the flows in 15 degree ring tiles. To demonstrate that the machine learning results still contain the subtle signatures key to local helioseismic studies, we use the machine learning results to study the recently discovered solar equatorial Rossby waves. The Artificial Neural Network is computationally efficient, able to make future flow predictions of an entire…
| Method | CPU Time (s) | Flow RMSE (m/s) | ||
|---|---|---|---|---|
| Mean | 2 | 2 | 8.6 | 7.3 |
| Median | 28 | 63 | 8.6 | 7.3 |
| Most-Frequent | 31860 | 87963 | 8.9 | 7.4 |
| Method | CPU Time (s) | Flow RMSE (m/s) | ||
| MM-01 | 3 | 3 | 8.6 | 7.3 |
| MM-11 | 3 | 4 | 8.6 | 7.3 |
| MA | 5 | 3 | 8.6 | 7.3 |
| SS | 4 | 4 | 8.6 | 7.3 |
| Method | CPU Time (s) | Flow RMSE (m/s) | ||
|---|---|---|---|---|
| Kbest | 6 | 3 | 13.41 | 11.05 |
| ET | 44 | 44 | 13.85 | 8.58 |
| DT | 234 | 242 | 13.94 | 8.26 |
| CCA-1 | 14 | 12 | 8.61 | 7.29 |
| CCA-2 | 14 | 14 | 8.61 | 7.29 |
| PLS | 9 | 11 | 13.06 | 10.55 |
| ML | Training & Prediction Time | RMSE (m/s) | ||
|---|---|---|---|---|
| Lin | ¡1 | ¡1 | 8.8 | 7.3 |
| Bay | ¡1 | ¡1 | 8.8 | 7.3 |
| DT | 19 | 20 | 8.8 | 7.4 |
| ET | 2 | 2 | 8.7 | 7.3 |
| RF | 39 | 42 | 10.5 | 9.0 |
| GTB | 274 | 154 | 8.6 | 7.3 |
| KNN | 50 | 35 | 9.0 | 7.7 |
| NN | 170 | 169 | 8.6 | 7.3 |
| SVR | 61441 | 47555 | 8.5 | 7.3 |
| No. of layers | CPU Time (s) | Flow RMSE (m/s) | ||
|---|---|---|---|---|
| 1 | 170 | 169 | 8.59 | 7.29 |
| 2 | 360 | 194 | 8.59 | 7.29 |
| 3 | 342 | 330 | 8.59 | 7.30 |
| 4 | 427 | 439 | 8.61 | 7.30 |
| 5 | 3099 | 1695 | 8.62 | 7.30 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNMR spectroscopy and applications
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings
11institutetext: Center for Space Science, NYUAD Institute, New York University Abu Dhabi, UAE
Max-Planck-Institut für Sonnensystemforschung, Justus-von-Liebig-Weg 3, 37077 Göttingen, Germany
Institut für Astrophysik, Georg-August-Universität Göttingen, Friedrich-Hund-Platz 1, 37077 Göttingen, Germany
Tata Institute of Fundamental Research, Homi Bhabha Road, Mumbai 400005, India
11email: [email protected],[email protected]
Supervised Neural Networks for
Helioseismic Ring-Diagram Inversions
Rasha Alshehhi 11
Chris S. Hanson 2211
Laurent Gizon 223311
Shravan Hanasoge 441111223344
(Received ; accepted XXX)
Abstract
*Context. *The inversion of ring fit parameters to obtain subsurface flow maps in ring-diagram analysis for 8 years of SDO observations is computationally expensive, requiring 3200 CPU hours.
*Aims. *In this paper we apply machine learning techniques to the inversion step of the ring-diagram pipeline in order to speed up the calculations. Specifically, we train a predictor for subsurface flows using the mode fit parameters and the previous inversion results, to replace future inversion requirements.
*Methods. * We utilize Artificial Neural Networks as a supervised learning method for predicting the flows in ring tiles. We discuss each step of the proposed method to determine the optimal approach. In order to demonstrate that the machine learning results still contain the subtle signatures key to local helioseismic studies, we use the machine learning results to study the recently discovered solar equatorial Rossby waves.
*Results. *The Artificial Neural Network is computationally efficient, able to make future flow predictions of an entire Carrington rotation in a matter of seconds, which is much faster than the current CPU hours. Initial training of the networks requires 3 CPU hours. The trained Artificial Neural Network can achieve a root mean-square error equal to approximately half that reported for the velocity inversions, demonstrating the accuracy of the machine learning (and perhaps the overestimation of the original errors from the ring-diagram pipeline). We find the signature of equatorial Rossby waves in the machine learning flows covering six years of data, demonstrating that small-amplitude signals are maintained. The recovery of Rossby waves in the machine learning flow maps can be achieved with only one Carrington rotation ( days) of training data.
*Conclusions. *We have shown that machine learning can be applied to, and perform more efficiently than the current ring-diagram inversion. The computation burden of the machine learning includes 3 CPU hours for initial training, then around CPU hours for future predictions.
Key Words.:
**Sun: helioseismology – Sun: oscillations – Sun: interior – Methods: numerical – Methods: data analysis **
1 Motivation: Speeding up ring-diagram inversions
Local helioseismology seeks to image the subsurface flows utilizing the complex wave field observed at the surface (see review by Gizon & Birch, 2005). The procedure of imaging the subsurface flow fields from the Dopplershift images of the surface is summarized as follows; the projection and tracking of large Dopplergram times series, transformation into Fourier space, analysis of perturbations in the acoustic power spectrum (local frequency shifts) and inversions. The refinement of large data sets into the significantly smaller flow maps is computationally expensive, and has to be repeated for all future observations. The field of machine learning seeks to develop data driven models that, given sufficient training samples, will predict future observations, without the need for the aforementioned procedure. With over 20 years of space-based observations, the field of local helioseismology now possesses large amounts of data that can be utilized by machine learning algorithms to improve existing techniques, or find relationships previously unknown to the field.
The field of machine learning grew out of the work to build artificial intelligence. The application of machine learning is broad in both scientific research and industries that analyze ‘big data’, with some impressive results (e.g. Pearson et al., 2018). However, the field of local helioseismology has thus far not utilized this technique, despite the advantages it could provide given the large amounts of data available. However, some work has been done in using deep learning for multi-height local correlation tracking near intergranular lanes (Asensio Ramos et al., 2017).
A widely used technique in local helioseismology is ring-diagram analysis (see Antia & Basu, 2007, for detailed review). First presented by Hill (1988), the ring diagram technique analyzes slices (at constant frequency ) of the 3D power spectrum of an observed (tracked and projected) patch of the solar surface . The cross-section of the power spectrum reveals rings corresponding to the acoustic normal modes of the Sun (f- and p-modes). In the absence of flows these rings are symmetric in and . However, the presence of flows in the zonal () or meridional () directions breaks symmetry of these rings, manifesting as ellipsoids. Acoustic modes traveling with or against the direction of flow experience increases or decreases in travel time, resulting in changes to the phase speed. The frequency shift of a ring is then considered as a horizontal average of the flows within the observed patch. Each mode (ring) is then fit, and the mode-fit parameters and determined, revealing the ‘flow’ required to produce the shifts in each mode (ring). The true subsurface flow field is then considered as a linear combination of the mode-fits. In order to determine the flow field, an inversion is performed using the mode-fit parameters and and the sensitivity kernels that relate frequency shifts of a mode of radial order and harmonic degree to the horizontal velocity components and at height in the interior (by convention, is negative in the interior and zero at the photosphere):
[TABLE]
where is derived from solar models. The solution to the linear inversion is then a combination of the mode fits and coefficients that give maximum sensitivity at a target height ,
[TABLE]
The ring-diagram pipelines that derive these coefficients (Bogart et al., 2011a, b) are computationally expensive, requiring 16 s per tile or CPU hours for the entire SDO data set.
Our endeavor is to utilize the large data sets available in the pipeline, to improve the ring diagram procedure by utilizing deep network. Specifically, we seek (through machine learning) to determine the complex mapping from the raw Doppler time series to the flows. In this study we present initial results in performing the inversion without the need for any inversions or kernels, utilizing machine learning techniques.
In section 2 we present the data to be used and the proposed machine learning technique. Section 3 will examine the performance of the proposed method with a number of machine learning techniques in both accuracy and computational burden. Section 4 examines a case study of the effect of machine learning on equatorial Rossby waves. Discussions and conclusions are given in Section 5.
2 Proposed Method
Machine learning studies can be divided into two branches, unsupervised and supervised learning. This study will be of the latter kind, in which we know the flow corresponding to the mode fits (from the current pipeline) and thus train an estimator to predict flow values given a new set of mode fits. While no study has directly examined the accuracy of ring-diagram analysis, the results of a number of studies have remained consistent with other measurement techniques (e.g. Giles et al., 1997; Schou & Bogart, 1998). It is possible that the existing pipeline has systematic errors that affect the inversion results. Any supervised learning method will inherit these problems, as this is the weakness of data driven models. If problems were found and resolved in the pipeline, any trained machine learning models would have to be retrained for the correct flows, although this will not invalidate the results of this study. The proposed supervised method of this study comprises two main components: preprocessing and applying an ANN for regression, both of which are described in detail in the following sections.
For clarity in the terminology used here, we define the following. Input data will consist of a large number of tiles, each with a number of mode-fits/features identified in the ring pipeline. The output data consists of flow values, corresponding to each input tile, for 31 depths.
2.1 Extraction of features from pipeline
The ring diagram pipeline (Bogart et al., 2011a, b) developed for use on the high resolution, high cadence data of the Helioseismic and Magnetic Imager (HMI, Schou et al., 2012), has provided unprecedented analysis of the Sun’s subsurface flows. The data for each step in the pipeline is available on the NetDRMS 111http://jsoc.stanford.edu/netdrms/ database, and for this study we utilize the mode fits and and the inverted flows and . Due to the statistical nature of the machine learning, we ignore the derived error values of the fits in the training. However, in Sec. 3.2 we will show the effect realization noise has on the machine learning predictions.
The SDO program has been running since 2010, and has observed over 100 Carrington rotations (CRs). For this study we make use of the data from CR2097 to CR2201, which covers eight years. Each Carrington rotation consists of a maximum of 6816 tiles, but some rotations have less coverage. In total, over the 104 rotations, there are 709734 inversion results available in the pipeline. Additionally, we focus this study on the maps, which upon inversion probes depths down to Mm below the photosphere.
Each tile has a number of mode fits that have been detected by the pipeline. From tile to tile the presence of these modes can vary, sometimes detected, other times overlooked. For this study each unique mode, with radial order and harmonic degree , is considered an independent feature. The presence of a single mode in all tiles is called the mode coverage. In order to avoid bias from missing modes, we reduce the number of features by applying strict mode coverage requirements. Specifically, for a single mode, if it is detected in less than 90% of the tiles, then it is neglected. This significantly reduces the number of features in the machine learning, and minimizes any bias (to zero) we have from missing data. Upon application of this mode coverage requirement, 152 separate modes remain. Figure 1 shows the mode coverage for all modes detected in the pipeline, as well as the modes selected for this machine learning study.
In summary the dataset (for each horizontal component and of the flow) consists of 709734 tiles (samples) with 152 features (modes) each specifying the frequency shifts of acoustic waves due to flows. The corresponding target consists of 709734 flow vectors for each of the 30 depths from a depth of 0.696 Mm to 20.88 Mm.
2.2 Preprocessing of input features
The goal of preprocessing the input features is to produce more effective features which show high contrasts. Typically, this involves three steps: interpolation to fill missing data, normalization of the input features, and reduction of the number of input features.
Previously we neglected modes that appeared in less than 90% of the tiles. However, many of the tiles still do not have complete mode coverage. The problem of how to handle missing data is well known in machine learning. In statistics and machine learning literature, the replacement of missing data is known as data imputation. A number of solutions exist in completing the missing data (e.g. Little & Rubin, 1987). However, for this study we utilize the simple solution of replacing the missing values by the mean of the mode.
The next stage is the normalization of each feature, which will bring all features into a similar dynamic range. The need for this is driven by the fact that many machine learning techniques will be dominated by features with a large range, while narrow ranged features can be ignored. To avoid this, normalization of each feature is performed in order to bring all features into the same range, and thus remove any preference for a specific feature. There are a number of different approaches that can be taken to achieve this (e.g., minimum-maximum feature scaling, standard score, student’s t-statistic and studentized residual), and we recommend the reader to read Juszczak et al. (2002) for an in-depth explanation of each approach. For this study we use standard score. The transformation of a vector of frequency shift measurements to the new normalized feature of observation is as follows:
[TABLE]
where is the mean of the elements of and the standard deviation. The new features will have a zero mean with unit variance.
The final step in the preprocessing of this study is reduction of the 152 features (modes) to a smaller number, in order to ease computational burden. Typically, the processing of features is done through either feature selection; i.e. choosing only a subsample of modes or feature reduction; i.e. new feature space is generated from original modes. (see Alpaydin, 2010, Chapter 6). By limiting our study to those 152 features with sufficient mode coverage, we have already performed feature selection. However, the remaining number of modes is still quite high and we seek to further reduce this through feature reduction. Here, feature reduction is achieved through Canonical Correlation Analysis (CCA, Hotelling, 1936; Hardoon et al., 2004).
The CCA seeks linear combinations of the input data and output data (flow velocities), which have a maximum correlation with each other. Specifically, we seek Canonical Correlation Vectors and that maximize the correlation
[TABLE]
Following the method outlined by Härdle & Simar (2007), it can be shown that and are related to the covariance matrices and through
[TABLE]
where and are the th left and right singular vectors from the following singular value decomposition (SVD):
[TABLE]
with the diagonal matrix of singular values and . It remains to be determined how many Canonical correlation vectors are required to capture the relationship between and . In section 3.2 we will show that upon application of CCA the number of features in the input data reduces from 152 to 1, for each depth and flow component.
Figure 2(a) shows the coefficients of the modes for feature reduction, computed through CCA, for two target depths. Over plotting the phase speed corresponding to modes with a lower turning point at the target depth, shows that the CCA gives more weight to modes that are sensitive to horizontal flows at the target depth. Thus, while we have reduced the 152 features to 1 (for each depth and flow component) the sensitivity to horizontal flows at the target depth is maintained.
Figure 2(b) compares the averaging kernel computed for tile hmi.rdVtrack_fd15[2196][240][240][0][0] with one built with the coefficients derived through the CCA. While the CCA finds the coefficients that maximize the correlations between mode-fits and flows for all tiles, the results show that the kernels compare reasonably well (despite no prior requirement on depth localization). We note that the CCA kernels are more sensitive to the surface for deep , indicating that the CCA may find some depth correlations. The exact correlation of flows with depth is beyond the scope of this study, but is worth future investigation.
A schematic of the entire preprocessing pipeline is shown in Fig 3.
2.3 Neural Networks
The Artificial Neural Network (ANN) is one of the most common supervised machine learning methods with a wide range of literature (e.g. Hand et al., 2001; Haykin, 2009; Bishop, 2006). While many other methods exist in machine learning, we have found that the ANN performs best for this study (see Section 3.2), and thus will explain here in detail the ANNs we utilize. For an overview of other methods see Alpaydin (2010). One advantage of the ANN is that it can solve non-linear problems, which arise in this study due to different modes sets used in each tile’s inversion (dependent on noise and disk position etc.) that directly feed into the inversion results.
In this work a Multi-Layer Perceptron (MLP) neural network (e.g. Haykin, 1998) is used (see Fig. 4 for example). This class of the ANN is known as a feed-forward ANN, where each layer consists of multiple neurons (or activation functions) acting as fundamental computation units. Connectivity is unidirectional from neurons in one layer to neurons in the next layer such that the outputs of a neuron in a layer serve as input to neurons in the following layer. The degree to which each neuron is activated is specified by the weight of the neuron.
The MLP utilizes supervised learning in order to determine the correct weights for each neuron. This algorithm proceeds in two phases: forward and backward propagation. The network is initialized with random values for the weights. The forward propagation then runs the input through the network, generating outputs based on the initial layer weights. In the backward propagation (BP), the errors between the ANN outputs and actual values (flows) are computed. Using this error, the weights of each activation function are then updated (through stochastic gradient descent) in order to minimize the output errors. The BP algorithm is performed in mini-batches (200 samples) of the total dataset, with several passes over the entire set until convergence is achieved. Unlike classic stochastic gradient descent which updates the weights after every sample pass through the ANN, mini-batches settle on the minimum better because they are less subjected to noise. On average, each iteration will improve the weights, minimizing the difference between the predicted output and pipeline output.
The specific algorithm for the forward and back propagation is as follows. For ring-diagram tile (sample) in mini-batch , let be the output of neuron in the layer (which consists of neurons) and be the weight applied to the output of neuron in the previous layer fed into neuron in layer . The previous layer () consists of neurons. In the forward propagation, the weights are fixed and the outputs are computed on a neuron by neuron basis:
[TABLE]
where
[TABLE]
and the function refers to the activation function and is the bias. In this work, the activation function in the hidden layers is the Rectifier Linear Unit (ReLU) function while the identity function is used for the output layer
[TABLE]
Our choice in the ReLU function for the hidden layers is due to it’s improved convergence over other activation functions and suffers less from the vanishing gradient problem (Glorot et al., 2011).
For tile , the output of the network is denoted by
[TABLE]
where for this study we have a different network for each depth (due to CCA, Sec. 2), and hence only one neuron in the output layer.
In order for the ANN to compute precise solutions, the weights need to be updated iteratively such that the following cost function is minimized:
[TABLE]
where is the data from the pipeline for tile (and for a given depth) and is the output of the ANN for mini-batch . For the first iteration (mini-batch), the weights are chosen randomly. The updating of the weights to minimize is then achieved through back-propagation.
In back-propagation, the layer weight is adjusted on a layer by layer basis, from the output layer to the first hidden layer. These updates occur for each iteration (mini-batch) , for several passes through all the training data. Each mini-batch consists a number of tiles. In this work the update of the weights and biases is achieved through stochastic gradient decent:
[TABLE]
where is the the learning rate which governs how much the weights are changed at each iteration with respect to the cost function. Here the partial derivatives, or intuitively; the response of the cost function to changes in a specific weight or bias, are computed through
[TABLE]
where is the error of neuron in layer for tile in mini-batch . In order to determine , one has to know the error of the proceeding neurons. Hence in order to determine all , the error of the output neuron is computed first,
[TABLE]
The errors of the neurons in layer are then computed from those neurons in layer , through
[TABLE]
where is the derivative of the activation function.
Figure 5 shows a diagram of the Back Propagation process in the both the hidden and output layers.
After updating the layer weights in the backward propagation, the next mini-batch is used in forward and back-propagation to further minimize the cost function. This is repeated (numerous times through the whole dataset) until the maximum allowed number of iterations is reached, or an early stopping criterion is met. The convergence rate of the ANN weights is governed by the learning rate , which must be chosen such that the weights converge in a reasonable number of iterations while still finding the global minimum of the cost function. Typically, the determination of is done experimentally, by slowly increasing until the loss starts to increase. For this study we find (through a grid search) to be a reasonable learning rate.
In practice a regularization term is included in Eq. 11 to penalize complex models that may result in over-fitting. Here we have set to 0.001.
3 Performance
In the previous section, the ANN is predicts flows from the mode shifts given by the ring-diagram pipeline. Here, the performance of the proposed method will be shown and compared to alternative approaches. In this study we use the software packages Python 3.5.4 and scikit-learn 0.19.1 (Pedregosa et al., 2011), which are freely available.
3.1 Experimental Metrics and Setup
The evaluation metric for this problem will be the root mean square error (RMSE),
[TABLE]
where is the flow for tile from the ring-diagram pipeline and the predicted flow from the machine learning. For this study the RMSE of each depth will be computed and compared to the mean of the pipeline inversion error. A success of an estimator is then measured by how small the prediction’s error is compared to the inverted flow error.
In order to verify that the proposed method (preprocessing and ANN) has the ideal performance when compared to other existing methods, an additional evaluation metric is introduced; the computational time (CPU time). As stated previously, the goal of this study is to improve upon the current pipeline, primarily in reducing the computational burden. As such, each step in preprocessing and the chosen ANN architecture will be compared to other methods/architectures in order to demonstrate both the computational burden and accuracy of the proposed method. We note that a large selection of methods exist and a comparison of them all is beyond the scope of this paper. Here we compare to the most common methods.
To avoid overfitting when training supervised methods, the dataset is split randomly into training and testing subsets, in a manner known as -fold cross-validation (e.g. Mosteller & Tukey, 1968). -fold cross validation splits the data into roughly equal sized sets. The training is then used on subsets and testing (using an evaluation metric) is performed on the remaining subset. This process is applied times, shifting the testing segment through all of the segments. In doing so the entire data set is used for training and in turn prediction. With each sample in the entire set being used for validation at one time through this process, we can then measure the performance metric of the prediction by averaging the entire set. For this study we will use 10-fold cross-validation on the flow data to obtain a complete set of predicted values. These predicted values will be compared with the actual values to obtain the evaluation metric (RMSE) mentioned above.
3.2 Experimental Analysis
In this section we present the results of each step in the proposed method, using the aforementioned evaluation metrics (computational time and RMSE). For clarity and brevity, we show the comparison results only for a depth of 10.44 Mm. However, the results are consistent with other depths. In order to assess each step in preprocessing, a basic ANN architecture is chosen. The network consists of 1 layer with 10 neurons. In order to assess each step in the preprocessing, the proposed method of Sec. 2 is used with only the chosen step varied. The CPU time and root mean square error of the machine learning is determined from the application of -fold cross-validation upon the entire data set (709734 tiles).
3.2.1 Data Imputation
Table 1 compares different methods for the completion of missing data in the mode fit parameters. In terms of computational gain, it is clear that the mean completion is ideal (2 CPU seconds).
3.2.2 Normalization
Table 2 shows the performance of four different normalization methods, namely, the feature scaling e.g. Minimum-Maximum scaled from 0 to 1 (MM-01) or -1 to 1 (MM-11), Maximum Absolute (MA) and the standardization scaling (SS). The computational burden for each step is rather small, with little difference between them. The same is also true for the RMSE, showing that the choice in normalization is arbitrary for the proposed method.
3.2.3 Feature Selection/Reduction
Table 3 shows the results of applying different feature reduction methods. The proposed CCA reduction is compared with different feature selection/reduction methods: selecting K best features using f-score (Hand et al., 2001), applying tree-based methods such as Decision Trees (Hand et al., 2001; Rokach & Maimon, 2014) or Ensemble Trees (Geurts et al., 2006) and Partial Least Squares (Hastie et al., 2001). The computational times show that our chosen method (CCA) is not the fastest, but when comparing the RMSE it out performs the other feature methods. Interestingly, using only a one-component vector achieves good accuracy, and increasing to two component vectors does not improve the result.
3.2.4 Neural Networks
The results thus far have focused on the preprocessing steps of the proposed method. We now focus on the performance of a number of Machine learning techniques and network architectures and compare them to the neural network proposed in this study.
Table 4 compares different supervised machine learning methods after applying data completion, normalization and feature reduction. The methods examined are Linear Regression, Bayesian Regression (Hastie et al., 2001; Bishop, 2006), Decision Tree (Hand et al., 2001; Rokach & Maimon, 2014), Ensemble Tree (Geurts et al., 2006), Random Forest (Breiman, 2001), Gradient Tree Boosting (Friedman, 2000), K-Nearest Neighbor (Hastie et al., 2001) and Support Vector Regression (Bishop, 2006; Haykin, 2009). The computation time for each method scales with the complexity of the model from the Linear model ( s) to Support Vector Regression ( s). While the proposed ANN takes s for training and predicting, this is still significantly small compared to the current burden of the pipeline. A comparison of the accuracy shows that the ANN presented in this paper is among the best performing methods with an RMSE of 8.6 m/s for and 7.3 m/s for .
The previous results have shown that the ANN performs best for the ring-diagram inversions. However, ideal results depend upon the architecture of the ANN, specifically, how many layers and neurons gives the best results for the ANN. Table 5 shows the performance of the ANN with different numbers of hidden layers. The results show that best performance is obtained with just one hidden layer. The addition of extra layers increases computational burden due to the increase in the complexity of the model. In terms of how many neurons are required per layer, we have found through experimentation that the RMSE does not improve with more than 10 units.
3.2.5 RMSE of Model with Depth
The results thus far have been shown for one depth (10.44 Mm), Fig. 6 shows the differences between mean inversion error and the RMSE of the ANN for all depths below the photosphere. We have ignored the results at Mm (photosphere) due to inconsistency in the inverted flows in the HMI pipeline. The results of Fig. 6 show that proposed ANN of this study achieves a RMSE that is generally below the inversion errors reported in the pipeline. While the errors are not directly comparable, the results provide confidence in the results of the machine learning. Additionally, while the errors reported in the pipeline are similar for and , there is a difference in the machine learning errors. This is due to errors in the machine learning resulting from a different variances in and with the former having larger variance than the latter. This variance leads to a more difficult fit for the model, thus higher error. Additionally, the machine learning may have difficulties fitting due to systematics in the patch tracking in the direction.
3.2.6 Effect of realization noise
So far, we have used just the mode fits in predicting the flow values. However, the determination of these mode fits is not exact and hence the effect of mode fit error on the machine learning model must be considered. In order to examine the propagation of errors we take CR 2107-2201 and build the ANN described previously. The mode fits of the remaining 10 rotations are then perturbed by a realization of the errors. Predictions are then made with the new noisy data. This process is repeated 1000 times and the deviation computed. Figure 6 shows the averaged deviation as a function of depth given the noisy data. For the errors are of the order of the inversion pipeline, while the are less. This result is not unexpected. The ANN was trained to find a particular relationship between the mode fits and the flows across the disk. By adding errors to the data, these errors propagate through the model, producing a deviation in the predictions higher then the RMSE of the model. The fact that the deviations are not significantly greater than those reported in the pipeline is a good indicator of the robustness of the model to errors.
3.2.7 RMSE vs. Number of Samples
We conclude this section by addressing the question of how many samples are needed for an accurate ANN. In the field of machine learning, the answer to the common question of how to get a better model is; more data. Thus, we compute the model error (RMSE) between a model that is trained with the complete 105 Carrington rotations, and those trained with only a subset. Again we use 10-fold cross-validation in prediction. Figure 7 shows the convergence of models trained with a increasing subset size to that trained with the full data set. The results show that with just a small subset of around 1-10CRs (-60,000 Tiles) the model error between the predictions of an ANN trained with the 105 CRs and an ANN trained with a subset is below 4 m/s for the three depths examined. The results also show that converge slower than . Larger sample sizes slowly improve the model to that of the full set.
4 Case Study: Equatorial Rossby Waves
In fitting any model to a vast amount of data, there is a possibility that the subtle helioseismic features in each tile are removed or altered. Figure 8 shows the pipeline and machine learning flows for both components of the flow, and their difference. Close examination shows that while the general structure is nearly identical, some small features present in the pipeline flows are not present in the machine learning (e.g. at longitude and latitude and , respectively). While these features appear as artifacts to the keen observer, it raises the question of whether the machine learning model (in an effort to fit a model) overlooks helioseismic signatures seen after averaging over long time scales. To explore this possibility, we examine equatorial Rossby waves in the same manner as Löptien et al. (2018), but with the predicted flows.
Löptien et al. (2018) recently reported the unambiguous detection of retrograde-propagating vorticity waves in the near-surface layers of the Sun. These waves exhibit the dispersion relation of sectoral Rossby waves. Solar Rossby waves have long periods of several months with amplitudes of a few meters per second, making them difficult to detect without averaging large amounts of data. To detect these Rossby waves in both the raw data and the ML data, we follow the technique of Löptien et al. (2018), specifically:
Flow tiles () are sorted into cubes of Latitude, Stoney-Hurst Longitude and time 2. 2.
The one year-frequency signal (B-angle) is removed 3. 3.
Missing data on the disk are interpolated in both time and latitude 4. 4.
Data exceeding a distance of from disk center are neglected 5. 5.
The data is remapped into a reference frame that rotates at the equatorial rotation rate (453.1 nHz). Then transformed back to a Carrington longitude grid 6. 6.
The longitude mean is subtracted 7. 7.
The vorticity is computed 8. 8.
Spherical harmonic transforms (with ) and temporal Fourier transforms are applied to produce a power spectrum
We apply this procedure to the flow maps at a depth of 0.696 Mm and 20.88 Mm.
In order to examine if Rossby waves are still present in the machine learning we take the results from the ANN model outlined in the previous sections for CR 2097-2181. The Rossby wave procedure outlined above was then followed using these new maps. Figure 9 compares the Rossby wave power spectrum from the pipeline flows and the ML, computed at a depth of 0.696 Mm. By visual inspection they are very similar, validating the ML method’s ability to recover the presence of Rossby waves. Additionally, Fig 10 shows slices of the power spectrum for different azimuthal order , for the proposed method trained with 1, 10 and 20 Carrington rotations (from the unused CR 2182-2201). The results show that just using as small a sample as 1 Carrington rotation ( tiles) for training the ML model, can produce a model that captures the Rossby wave power spectrum reasonably well.
5 Conclusion
Local helioseismology has a plethora of raw observed data of the Sun. Despite 50 years of observations and analysis, we are still have no consistent and complete answer to the Sun’s internal structure. The computational field of machine learning and artificial intelligence has grown in both usage and capabilities in the last few decades, and has shown promise in other fields in ways that could be extended to local heliseismology.
In this study we have shown that machine learning provides an alternative to computationally expensive methodologies. We have shown that in utilizing the data of 8 years of HMI observations, we can use an ANN model to predict future flow data with an RMSE that is well below that of the observations, while maintaining the flow components of interest to local helioseismology. Additionally, we find that the propagation of noise realization results in a deviation of the flow values that is of the order of the pipeline errors. The computational burden was previously 31 CPU hours for 1 Carrington rotation worth of data. With a trained ANN the computational costs is now CPU hours. While we have focused our efforts in obtaining an accurate ANN model, the results of Sec. 3 show that any number of common architectures or preprocessing can obtain a reasonable model for future predictions. Yet, non-linear models (such as the proposed ANN here) can capture some of the non-linearity (e.g. noise or missing modes) that occurs between all tiles across the disk.
Here we have only shown the computational efficiency gain for through the application of machine learning, but future improvements can be made. The method presented here has been purely data driven, without introducing constraints a-priori. Recent studies (e.g. Raissi et al., 2017a, b) have shown that physics informed neural networks can be built, capable of enforcing physical laws (e.g. mass conservation) when determining the machine learning model. While the constraint of physical laws is beyond the scope of the work here, these studies demonstrate the capabilities of applying machine learning in determining subsurface solar structures, to which we have prior knowledge of constraints. Additionally, the use of synthetic ring diagrams computed using computational methods with machine learning could improve current capabilities of the pipeline in probing solar subsurface flows. Thus the application of machine learning and deep learning techniques present a step forward for local helioseismic studies.
Acknowledgements.
This work was supported by NYUAD Institute Grant G1502 “NYUAD Center for Space Science”. RA acknowledges support from the NYUAD Kawadar Research Program. The HMI data is courtesy of NASA/SDO and the HMI Science Team. Computational resources were provided by the German Data Center for SDO funded by the German Aerospace Center. SMH and LG thank the Max Planck partner group program for supporting this work.
Author Contributions: CSH and LG designed the research goals. RA proposed the machine learning methodology for predicting flows and performed experimental and computational analysis. CSH prepared data and performed helioseismic analysis. All authors contributed to the final manuscript. We thank Aaron Birch and Bastian Proxauf for helpful insight on the ring-diagram pipeline.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Alpaydin (2010) Alpaydin, E. 2010, Introduction to Machine Learning, 2nd edn. (The MIT Press)
- 2Antia & Basu (2007) Antia, H. M. & Basu, S. 2007, Astronomische Nachrichten, 328, 257
- 3Asensio Ramos et al. (2017) Asensio Ramos, A., Requerey, I. S., & Vitas, N. 2017, A&A, 604, A 11
- 4Bishop (2006) Bishop, C. M. 2006, Pattern Recognition and Machine Learning (Information Science and Statistics) (Berlin, Heidelberg: Springer-Verlag)
- 5Bogart et al. (2011 a) Bogart, R. S., Baldner, C., Basu, S., Haber, D. A., & Rabello-Soares, M. C. 2011 a, in Journal of Physics Conference Series, Vol. 271, Journal of Physics Conference Series, 012008
- 6Bogart et al. (2011 b) Bogart, R. S., Baldner, C., Basu, S., Haber, D. A., & Rabello-Soares, M. C. 2011 b, in Journal of Physics Conference Series, Vol. 271, Journal of Physics Conference Series, 012009
- 7Breiman (2001) Breiman, L. 2001, Machine Learning, 45, 5
- 8Friedman (2000) Friedman, J. H. 2000, Annals of Statistics, 29, 1189
