AGN selection in the AKARI NEP deep field with the fuzzy SVM algorithm
Artem Poliszczuk, Aleksandra Solarz, Agnieszka Pollo, Maciej Bilicki,, Tsutomu T. Takeuchi, Hideo Matsuhara, Tomotsugu Goto, Toshinobu Takagi,, Takehiko Wada, Yoichi Ohyama, Hitoshi Hanami, Takamitsu Miyaji, Nagisa Oi,, Matthew Malkan, Kazumi Murata, Helen Kim, Jorge D\'iaz Tello

TL;DR
This paper presents a new catalog of 275 AGN candidates from the AKARI NEP-Deep field, using a fuzzy SVM algorithm that incorporates measurement uncertainties for improved classification accuracy.
Contribution
The study introduces a fuzzy SVM approach for AGN selection that effectively utilizes infrared data and measurement uncertainties, creating a reliable candidate catalog.
Findings
Identified 275 new AGN candidates in the AKARI NEP-Deep field.
Demonstrated the effectiveness of fuzzy SVM in astrophysical object classification.
Produced a high-quality, unclassified AGN candidate catalog.
Abstract
The aim of this work is to create a new catalog of reliable AGN candidates selected from the AKARI NEP-Deep field. Selection of the AGN candidates was done by applying a fuzzy SVM algorithm, which allows to incorporate measurement uncertainties into the classification process. The training dataset was based on the spectroscopic data available for selected objects in the NEP-Deep and NEP-Wide fields. The generalization sample was based on the AKARI NEP-Deep field data including objects without optical counterparts and making use of the infrared information only. A high quality catalog of previously unclassified 275 AGN candidates was prepared.
| kernel | roc auc | kappa | matthews | precision | recall |
|---|---|---|---|---|---|
| nir_rbf | 0.85 | 0.19 | 0.29 | 0.23 | 0.90 |
| mir_rbf | 0.74 | 0.22 | 0.29 | 0.32 | 0.85 |
| wide_mir_rbf | 0.70 | 0.14 | 0.25 | 0.24 | 0.93 |
| 6_colors_rbf | 0.82 | 0.33 | 0.43 | 0.36 | 0.96 |
| mi_features_rbf | 0.72 | 0.19 | 0.30 | 0.29 | 0.96 |
| poly_mi_features_rbf | 0.71 | 0.13 | 0.24 | 0.26 | 0.96 |
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.
\Received\Accepted
\KeyWords
methods: data analysis — methods: statistical — catalogs — galaxies: active — infrared: galaxies
AGN selection in the AKARI NEP deep field
with the fuzzy SVM algorithm
Artem Poliszczuk11affiliation: National Centre for Nuclear Research, ul.Pasteura 7, 02-093 Warsaw, Poland Address: National Centre for Nuclear Research, ul.Pasteura 7, room 523, 02-093 Warsaw, Poland [email protected]
Aleksandra Solarz
11affiliationmark:
Agnieszka Pollo11affiliationmark: 22affiliation: Astronomical Observatory of the Jagiellonian University, ul.Orla 171, 30-244 Krakow, Poland
Maciej Bilicki33affiliation: Center for Theoretical Physics, Polish Academy of Sciences, al. Lotników 32/46, 02-668, Warsaw, Poland 44affiliation: Leiden Observatory, Leiden University, P.O.Box 9513, 2300RA Leiden, The Netherlands
Tsutomu T. Takeuchi55affiliation: Division of Particle and Astrophysical Science, Graduate School of Science, Nagoya University, Nagoya 464-8602, Japan
Hideo Matsuhara66affiliation: Institute of Space and Astronautical Science, Japan Aerospace Exploration Agency, 3-1-1 Yoshinodai, Chuo-ku, Sagamihara, Kanagawa 252-5210, Japan
Tomotsugu Goto77affiliation: National Tsing hua University, No. 101, Section 2, Kuang-Fu Road, Hsinchu, Taiwan 30013.
Toshinobu Takagi88affiliation: Japan Space Forum, 3-2-1, Kandasurugadai, Chiyoda-ku, Tokyo 101-0062 Japan
Takehiko Wada66affiliationmark:
Yoichi Ohyama99affiliation: Academia Sinica Institute of Astronomy and Astrophysics, P .O. Box 23-141, Taipei 10617, Taiwan
Hitoshi Hanami1010affiliation: Physics Section, Faculty of Humanities and Social Sciences , Iwate University, 020-8550, Morioka, Japan
Takamitsu Miyaji1111affiliation: Instituto de Astronomía sede Ensenada, Universidad Nacional Autónoma de México, Ensenada, BC, 22860, Mexico
Nagisa Oi1212affiliation: Tokyo University of Science, 1-3 Kagurazaka, Shinjuku-ku, Tokyo 162-8601, Japan
Matthew Malkan1313affiliation: Department of Physics and Astronomy, UCLA, Los Angeles, CA, 90095-1547, USA
Kazumi Murata1414affiliation: Hosei University, 3-7-2 Kajino-cho, Koganei, 184-1584 Tokyo, Japan
Helen Kim1313affiliationmark:
Jorge Díaz Tello1111affiliationmark:
The NEP Team
Abstract
The aim of this work is to create a new catalog of reliable AGN candidates selected from the AKARI NEP-Deep field. Selection of the AGN candidates was done by applying a fuzzy SVM algorithm, which allows to incorporate measurement uncertainties into the classification process. The training dataset was based on the spectroscopic data available for selected objects in the NEP-Deep and NEP-Wide fields. The generalization sample was based on the AKARI NEP-Deep field data including objects without optical counterparts and making use of the infrared information only. A high quality catalog of previously unclassified 275 AGN candidates was prepared.
1 Introduction
In the modern astronomy rapid growth of volume of incoming data implies a necessity of applying new tools, adjusted to the big data requirements. In particular, data growth becomes a serious issue in the case of sky surveys. One of the most popular solutions to this problem is the usage of machine learning algorithms. The support vector machine (SVM) algorithm is one of the most popular and efficient among them. The classical version of the SVM ([Vapnik & Cortes (1995)]) has been applied to numerous astrophysical tasks, e.g. to create catalogs of various celestial sources (Solarz et al., 2012; Małek et al., 2013; Kurcz et al., 2016; Krakowski et al., 2016; Marton et al., 2016; Solarz et al., 2017; Toth et al., 2017) as well as to detect and classify detailed structures of interstellar medium in the local Universe (Beaumont et al., 2011). However, the classical version is unable to incorporate measurement uncertainties into the classification process. This issue can be overcome by applying a modified version of the SVM algorithm - the fuzzy SVM (Lin & Wang, 2002, 2004) referred to as fSVM. In the present work, a catalog of active galactic nuclei (AGN) from AKARI NEP-Deep data was prepared. The selection of AGN candidates was performed by applying a binary classification task based on the fSVM algorithm (i.e., AGNs vs the rest of objects) to the infrared AKARI NEP-Deep source catalog, which was not based on the optical counterparts.
The AKARI satellite mission was launched in February 22, 2006, and carried out a series of infrared photometric surveys from the near-infrared (NIR) to the far-infrared (FIR) passbands. In particular, it performed a deep survey of the north ecliptic pole (NEP). Both the region of observation and the wavelength range of the survey (NIR and MIR) create a great opportunity for searching for distant and dusty AGNs. High galactic latitude reduces the star and galactic dust pollution while the wavelength range (MIR in particular) provides the most crucial information for identification of the type 2 AGNs (Assef et al. (2018)). A strong underrepresentation of type 2 AGNs with respect to the predictions in the most of modern catalogs (Stern et al. (2012); Huang et al. (2017)) makes searching for dusty AGNs an important step to better understanding of AGN properties, their evolution and environmental dependencies. The efficiency of mid-IR detection of type 2 AGNs is based on the fact that the dusty torus re-emits a significant amount of accretion disk light in the MIR part of the spectrum. A sensitivity comparable to the MIR type 2 AGNs is shown by X-ray surveys, however, observation time needed to collect the same amount of data is significantly smaller in the case of IR surveys (Stern et al. (2012)). All of the previously mentioned advantages of the MIR AGN search make the AKARI NEP-Deep data uniquely suited to study distant type 2 AGNs.
This work is organized as follows. In Section 2 description of the data used for training and generalization is given. Section 3 is a brief overview of the SVM algorithm model. In Section 4 the algorithm training process and feature selection are described. Evaluation of the performance of different classifiers is presented in Section 5. In Section 6 properties of the final catalog are discussed. Section 7 contains a brief summary and discussion of the results.
2 The data
The AKARI NEP-Deep survey covers the 0.4 deg2 area around the NEP (Matsuhara et al., 2006). Observations were carried out by the Infra-red Camera (Onaka et al., 2007) in nine filters, which were centered at 2 m (), 3 m (), 4 m (), 7 m (), 9 m (), 11 m (), 15 m (), 18 m () and 24 m (). ’W’ letter next to the name of some of the filers (, ) stands for wider filters, which covered a part of the spectrum corresponding to the nearest filters: covered the wavelength range of and , while covered the range of and .
A source catalog used in the present work was constructed for the previous SVM-based classification of the NEP-Deep data by Solarz et al. (2012). It was prepared by applying source extraction software SExtractor (Bertin & Arnouts, 1996) to field images made in each of the filters separately, and limiting the data set to the objects with an existing measurement in the passband. Thus, this original catalog is N2-selected. Properties of this catalog are listed in Table 2.
The decrease in the number of objects with the increasing wavelength is caused both by the diminishing sensitivity of the passbands and by the increase of the brightness of the Cat’s Eye Nebula (NGC 6543) occupying a part of the field at longer wavelengths.
Because of the supervised type of the machine learning method used to search for AGNs, the training dataset with known labels (or classes) of each of the data points was needed. In the present work the identification of the training sample was based on the optical spectroscopic data. Because of the small number of the available spectroscopic data from the NEP-Deep field, the training sample was constructed by cross-matching the AKARI NEP-Wide data (Kim et al., 2012) with spectroscopic observations of this region (Shim et al., 2013) performed by MMT/Hectospec (Fabricant et al., 2005) and WYIN/Hydra (Barden et al., 1993) spectrographs. Primary targets for spectroscopic observations described by Shim et al. (2013) were MIR sources with fluxes limited at S11 (S11 18.5 mag) and L18 (L18 17.9 mag) passbands. These limits gave approximately 50% completeness of the NEP-Wide data in the corresponding filters. This MIR-selected sample was additionally limited by R-band cuts: 16 mag R 22.5 mag for Hectospec and 16 mag R 21 mag for Hydra. The bright end limit was imposed in order to avoid saturation and the faint end limit was introduced to select objects bright enough to obtain spectra of a good quality. Next, the sample for spectroscopic observations was randomly chosen from the primary targets set limited in R and MIR bands. Beside this main target selection, a smaller number of special targets was selected, among them high-redshift galaxy or AGN candidates. The AGN targets for spectroscopic observations were chosen by applying color cuts described in Lee et al. (2007): N2-N4 0 and S7-S11 0. In addition, the X-ray information to mark XAGN (Krumpe et al., 2015) was used.
This sample based on Shim et al. (2013) was enriched by additional small sample of spectroscopic NEP data gathered by Keck/DEIMOS (Faber et al., 2003), GTC/OSIRIS (Cepa et al., 2000) and Subaru/FMOS (Kimura et al., 2010) telescopes and available in the internal database of the AKARI NEP collaboration. Properties of the labeled sample are listed in Table 2. Histograms of the N2 magnitude of labeled set and unlabeled NEP-Deep source catalog are shown in Figure 1(a). Redshift distribution of labeled objects is shown in Figure 1(b). The training sample construction is described in more detail in Section 4.3.
3 The SVM algorithm
The SVM is a supervised learning algorithm. This implies the usage of data with a priori known labels for the training process. As a result, it is possible to create a classifier, which can be used on a sample of objects with an unknown assignment - this stage of algorithm performance will be referred to as generalization.
Even having data labeled, it is still often very difficult or even impossible to separate classes in the input feature space (called input space). The main idea of the SVM algorithm is to map the data into the high dimensional feature space (called feature space), where the construction of separating hyperplane becomes possible. An output of such a classifier relies on the position of classified objects with respect to the separation hyperplane. It can be written as
[TABLE]
where is the kernel function, which in the SVM formulation can substitute the information about the real mapping from input space to feature space, is a linear coefficient, and is bias, which refers to the perpendicular distance to the hyperplane.
In the classical SVM formulation there is no possibility to incorporate measurement uncertainties into the classification process. The fuzzy SVM allows to assign so called fuzzy memberships to each of the training points. These memberships affect the importance of a particular training object in the hyperplane construction process. If fuzzy memberships are based on measurement uncertainties in a way which maximizes the importance of the training objects for the most precise measurement, one would get a more reliable and physically motivated classification.
In the present work fuzzy memberships were constructed as
[TABLE]
An expression in the numerator is defined as
[TABLE]
where is a measurement uncertainty of the i-th object’s j-th feature. A parameter is defined as a maximal in a particular class :
[TABLE]
and is some small constant included to avoid the case =0. In the current work was chosen to be equal to 10*-4*.
A detailed discussion on fuzzy SVM and its comparison to the classical SVM algorithm will be presented in Poliszczuk et al. (in prep.).
4 Construction of the classifier
In this section specification of tools used for training and evaluation is given. The code written for the present work was based on the scikit-learn library (Pedregosa et al., 2011), which incorporates lib-svm library (Chang & Lin, 2011). All classifiers presented here were binary classifiers trained on samples of AGN vs the rest of the sample (galaxies and stars).
4.1 Training process and classifier specifications
Training of the SVM classifier is based on searching for the optimal hyperplane for a given training data and tuning parameters of a model, including the topology of the separating hyperplane governed by the kernel function. In the present work two types of kernel functions were used. The radial basis kernel function (RBF)
[TABLE]
and sigmoid kernel function
[TABLE]
Another very popular kernel function - a polynomial kernel was not used in this work due to its high computational cost.
Parameters that can be tuned are the parameters of kernel functions. In the case of the RBF kernel it is , which defines how much of importance a single training point has. In the case of the sigmoid kernel a pair of parameters is used. One of the advantages of the fuzzy SVM in comparison to the classical SVM is that fuzzy memberships can be treated as additional free parameters - this aspect of the fuzzy SVM makes it more flexible in the hyperplane construction. Another parameter that needs to be tuned is a regularization parameter (denoted by ), which controls the amount of misclassifications which can be made in a training process in order to obtain the best generalization ability.
To obtain the best combination of parameters one has to perform so called grid search process (Burges, 1998), where different combinations of parameters are used to fit the training data and to obtain the most efficient classifier. The values of a parameter grid used in the present work are shown in Table 4.1.
After the grid search is finished, one has to search trough the volume of parameter space near the point of the best combination. This stage of the training is called deep grid search. Parameters found in such a procedure were used in the present work for generalization on the unlabeled data. In the present work the 4-loop deep grid search was used, where each iteration used a grid with half-values of the parameters from the previous iteration.
4.2 Evaluation metrics
To find the best parameter combination in the grid search process one must be able to compare performance of classifiers with different parameter values. Such a performance measure is called the evaluation metric (Japkowicz & Shah, 2014) and the grid search process is based on the maximization of one or multiple evaluation metrics. To be reliable, metric value is calculated on the set which was not used in the training process. Such a set will be referred to as a test set.
Maximization of the metric value can carry the risk of leaking of the information about the distribution of the test set to the next grid search iterations. As a result, a classifier tries to fit to a test set and, as a consequence, its real generalization ability is overestimated by metrics. Such a situation is called overfitting (Bishop, 2006).
One of methods of avoiding overfitting is a k-fold cross validation (Bishop, 2006), where instead of a simple training-test data division, a whole labeled dataset is divided into subsets. A final metric value is calculated in an iterative process: elements of subsets are used as a training set and elements of the last subset are used for testing and metric evaluation. As a consequence a set of different metric results is obtained. The final metric value is calculated by taking a mean value of results. In the present work 5-fold cross validation was used.
Metric used for the maximization in the grid search process was an area under the receiver operating characteristic curve (ROC curve, Fawcett (2006)), which will be referred to as ROC AUC (Bradley, 1996). The ROC curve describes the efficiency of a binary classifier with a change of the discrimination threshold and is created by plotting true positive rate (TPR) against false positive rate (FPR).
True positive rate or recall (which is a more common name in the case of its usage as a single metric) is defined as
[TABLE]
In the case of a binary classifier one has to assign one of two class flags to an object. These flags can be referred to as positive or negative (in the case of this work positive class corresponds to the AGN class and negative - to the not-AGN or ”Other” class). The TPR metric is defined as a ratio of the number of properly classified positive objects TP (True Positive) to the number of positive objects in the sample TP+FN (True Positive + False Negative). As a consequence one can interpret TPR (or recall) as a measurement of the completeness of the catalog of positive objects.
False positive rate (or the probability of the false alarm) is defined as
[TABLE]
or the ratio of the false positive candidates to all the objects classified as negative.
Both metrics, TPR and FPR, can have values from 0 to 1, where 1 corresponds to the highest value of the metric. In the simplest interpretation, the ROC curve describes a better classifier if the area under the curve is bigger. The random classification corresponds to the straight line connecting points (0,0) and (1,1). To generate the ROC curve for a single SVM classifier one has to calculate posterior probabilities for the classified objects. In the present work Platt’s algorithm for the creation of the posterior probabilities was used (Platt, 1999). An output of the SVM classifier produces an uncalibrated value, which represents the distance of the object from the decision surface. The Platt’s method is based on fitting a parametric form of sigmoid function:
[TABLE]
which maps the SVM output f to posterior probability.
In addition to ROC AUC metric, which was maximized in the grid search process, other metrics were used for additional evaluation of the classifier performance. One of them, beside recall mentioned above, was precision, which is defined as
[TABLE]
or the ratio of the number of properly classified positive objects to all positive candidates. This formula can be interpreted as the measure of the purity of the output catalog of positive objects. Precision, just as recall or ROC AUC, can take values from 0 to 1.
One of the most crucial properties of the evaluation metric is its sensitivity to the size of the classes in the labeled sample. In the case of imbalanced data, which occurs in the present work (and is discussed in detail in the next subsection), a proper metric should be chosen for the correct evaluation of the performance on a smaller class. The ROC AUC is such a metric, because of its insensitivity to the imbalanced data. Maximization of the ROC AUC allows to optimize the completeness of the catalog without unnecessary loss of its purity (Fawcett, 2006).
In the present work two additional popular metrics for unbalanced data application were used. One of them was Cohen’s Kappa Coefficient (later referred to as kappa) which describes the agreement between real and predicted labels and can have values from 0 to 1, where 1 corresponds to the perfect agreement and 0 corresponds to the random classification (Cohen, 1960). The second one is the Matthews Correlation Coefficient (later related to as matthews), which also describes a correlation between true and predicted labels and can have values from -1 to +1 (Matthews, 1975). The Matthews coefficient is well known to be slightly more sensitive to the performance of the classifier on the smaller class than Cohen’s Kappa.
Both recall and precision are sensitive to the imbalanced data. Possible interpretation of their values as, correspondingly, completeness and purity of the catalog of positive candidates makes them important indicators of the classifier’s efficiency.
4.3 Feature selection
A decreasing efficiency of the AKARI Infrared Camera at longer wavelengths and the resultant decrease of the number of objects leads to a number of input features dilemma. Bigger number of passbands gives more complete information about particular objects and simplifies the classification task. However, at the same time, it strongly reduces the number of objects and yields a more complicated selection function. A smaller number of filters gives bigger training and unlabeled sets but reduces the amount of information about data and makes the classification process more difficult. On the other hand, from the machine learning perspective, a bigger number of features can lead to overfitting.
In the present work different feature selection strategies were tested. Physically motivated feature sets, and feature sets constructed using feature selection techniques were both used. In the case of feature selection methods, a relatively small training set available for AKARI NEP data was a strong limitation factor. Small amount of labeled data makes the proper evaluation of the performance of an algorithm a challenging task. Because of that, feature selection techniques based on application of machine learning algorithms to find the best feature set for a particular model, so called wrapper techniques (Kohavi & John, 1997), were not used in the present work. A filter feature selection technique based on mutual information (MI) was used instead (Vergara & Estévez, 2014). Filter methods assume complete independence between the learning algorithm and the data and therefore are much less prone to the risk of overfitting.
Mutual information is a measure of statistical independence between two variables and is based on properties of the Shannon entropy. Defining the Shannon entropy of a variable x as
[TABLE]
which can be interpreted as a measure of its uncertainty, one can also define a conditional entropy
[TABLE]
where the is the entropy of all , which are associated with . The conditional entropy measures the remaining uncertainty of the random variable when the value of the random variable is known. The minimum value of the appears when these two values are statistically dependent and there is no uncertainty in when the is known. The mutual information between and can be defined as
[TABLE]
which is a non-negative quantity with the zero value corresponding to the statistically independent variables. The mutual information is widely used in the machine learning feature selection process because of its ability to capture any relation between two features, even if it is strongly nonlinear (Vergara & Estévez, 2014). The main weakness of this method is that it may fail to select the best feature set for a particular algorithm and data. The mutual information feature selection applied in this paper was based on the standard scikit-learn implementation.
In the present work six different feature sets were examined:
A feature set containing only measurements in the NIR filters and colors corresponding to the neighboring passbands: N2, N3, N4, N2-N3, N3-N4 (5 features). This feature set will be referred to as . 2. 2.
A feature set containing only measurements in the MIR narrow filters (except L18W, which was used instead of L24) and colors corresponding to the neighboring passbands: S7, S11, L15, L18W, S7-S11, S11-L15, L15-L18W (7 features). This feature set will be referred to as . 3. 3.
A feature set containing measurements of the NIR and wide MIR filters and corresponding colors of neighboring passbands: N2, N3, N4, S9W, L18W, N2-N3, N3-N4, N4-S9W, S9W-L18W (9 features). This feature set will be referred to as . 4. 4.
A feature set constructed from the colors of neighboring NIR and narrow MIR passbands (except L18W, which was used instead of L24): N2-N3, N3-N4, N4-S7, S7-S11, S11-L15, L15-L18W (6 features). This feature set will be referred to as . 5. 5.
A set of 10 features constructed using mutual information feature selection method: N2, N2-N3, N2-N4, N2-S7, N2-S9, N2-L15, N2-L18, N3-N4, S11-L15, S11-L18. This feature set will be referred to as . 6. 6.
A set of 10 features constructed using mutual information feature selection method on the second degree polynomial features obtained from the input feature set: N2-N4, N2(N2-N4), N3(N2-N4), N4(N2-N4), S7(N2-N4), S7(N3-N4), S9W(N2-N4), S11(N2-N4), L15(N2-N4), L18(N2-N4). This feature set will be referred to as .
The first two feature sets were constructed considering the strategy of preserving the higher number of unlabeled generalization data. Using the NIR and MIR passbands as separate feature sets allows us to work on the NIR source catalog without reducing its volume. Moreover, in the case of the high performance of classifiers trained on such separate feature sets, it would be possible to use the classifier to select AGNs in the data without counterparts not only in optical but also in the NIR part of the spectrum. However, because of the importance of the MIR measurements in the process of AGN selection, such a separation makes the classifier ability to distinguish between the two classes much lower.
The feature set was constructed as a compromise between the data volume preserving strategy presented in the and feature sets and the importance of the information contained in the MIR passbands. In addition to the NIR measurements, the data from the wide MIR passbands was also included. The wide MIR passbands do not define the MIR properties of the object as precisely as narrow passbands do, but they are available for a significantly bigger number of objects.
The feature set presents a widely applied physically motivated feature selection in the form of colors constructed from the neighboring filters. Its efficiency in the machine learning classification of the astronomical data was described in several publications (Walker et al., 1989; Wolf et al., 2001; Solarz et al., 2012).
The MI-based feature sets can be treated as a reference point for physically motivated feature sets because of their purely statistical nature. Both and were selected as the most informative features during the MI feature selection from the set of all possible filters and colors (except for L24 filter) in the case of and from the set of all terms of the second degree polynomial constructed from all filters and all colors (except for L24 filter) in the case of .
Uncertainties of the color values, which were used for the fuzzy membership construction were defined as
[TABLE]
where and are values of fluxes used in the color definition and , are their uncertainties. In the case of a feature constructed as a multiplication of color and flux, its uncertainty was defined as
[TABLE]
Despite the reduction of the data volume based on the selection of different features, an additional limitation occurs on the stage of creation of the final catalog. Classical machine learning techniques can be considered reliable only in the region of the input parameter space occupied by the training sample. Moving outside this region leads to the extrapolation of the model to unknown distribution and can cause significant catalog contamination. This issue will be discussed in the next section. Other selection effects that should be considered are:
- •
classification model was based on the objects with optical counterparts which implies that the classifier is trained to search for similar types of objects,
- •
all objects in the generalization set are detected in the N2 filter, i.e. we start from the N2-selected catalog.
Table 4.3 shows numbers of objects in particular feature sets.
5 Comparison of classifiers
5.1 Main comparison
In this Section results of the performance evaluation of different classifiers are shown. Because of different labeled sets used for training, the comparison between models based on different input feature space can be treated only as an approximation. However, a precise comparison between RBF and sigmoid kernels within the same parameter set can be made. The detailed results of the evaluation metrics are listed in Table 5.1.
Visualizations of the metric values without standard deviations with additional ROC curves for the sigmoid and RBF kernels for all feature sets are shown in Figures 2 and 3. All metric values exhibit prevalence of the RBF kernel over the sigmoid kernel for every feature set. Moreover, ROC curves show a stronger tendency to occupy the top left corner of the diagram in the case of RBF kernel - this tendency also demonstrates better performance and higher ROC AUC score of the classifiers with the RBF kernel. Based on these results, RBF kernel has been selected for the final classification. Consequently, only RBF kernel’s performance will be discussed in the further analysis. From now on the ”RBF” will be dropped from the description of the classifiers (it is left on the plots, though, to keep them self-explanatory).
The comparison between different feature sets is less intuitive because of different training samples. Visualizations of the evaluation metric values without standard deviations with additional ROC curves for all feature sets are shown in Figure 2. In all cases the recall value is higher than precision because of indirect recall optimization in the process of ROC AUC maximization in grid search. Due to the similarity between kappa and matthews their behavior is similar for all classification strategies.
One very prominent result is a poor performance of the MIR classifier, which shows very low Cohen’s kappa, Matthews correlation coefficient and precision results even in the case of the RBF kernel. This result indicates that even if the MIR is crucial to identify AGNs, the MIR data alone is not sufficient for this task. The better performance of the classifier can be explained by the properties of the specific training samples. The reduced number of objects in the case of the classifier could cause difficulties in the hyperplane construction process, not possible to overcome without additional information from the NIR passbands. The same tendency is visible in the ROC curve plot, where the classifier curve is far from the top left corner.
The best performance results are obtained for the and classifiers. In the further analysis these classifiers will be considered as the most efficient.
5.2 Extrapolation properties
As it was mentioned in the previous section, the classifier trained on a particular data set will have difficulties in the extrapolation to the region outside the space occupied by the training data. Because of these difficulties the generalization sample should be limited to ranges of the training sample. However, trying to reflect original selection effects and due to difficulties in the proper representation of the high dimensional data it was decided to apply cuts only for flux measurements. Such cuts yield a more conservative limitation of the input feature space than cuts on the color values.
Limiting the space of the generalization sample only by introducing filter cuts has also additional implications. In this case high dimensional space occupied by the training sample is dipped in the generalization space which still corresponds to the bigger volume. Because of this issue the classifier will still have to extrapolate near the outskirts of the training data space in the generalization process.
To investigate the ability of the classifier to extrapolate outside the region of the training set, the training sample was divided into two parts: 70% of the labeled data was assigned to a new training sample and the remaining 30%, containing objects with maximal (or minimal) values of the particular feature, were assigned to a new test sample. Such divisions were made separately for objects with the highest redshift and the faintest fluxes in the N2, S7 (or S9 in the case of feature set) and L18 passbands. In particular differences in distributions of N2 flux and redshift values of training and generalization sets are shown in Fig. 1.
After training the classifier on the new training set using 5-fold cross validation, its performance was tested on the extrapolation test set. Tables with exact results can be found in the Appendix A. The feature set classifier was excluded from the extrapolation tests with MIR limited passbands. The feature set classifier was excluded from the extrapolation test with N2 limited passband. The visualization of the evaluation metric values for different extrapolation tests is presented in Figure 4.
Results shown in this section are only an approximation of the extrapolation efficiency of the classifier. The small amount of labeled data reduces the precision of the performance of the evaluation and constricts the investigation of the declining extrapolation performance cause. Because of these limitations one can only expect that the proper classifier will not show poor results in the extrapolation test. Performance on the redshift-limited test sample shows very high recall values with well preserved values of the ROC AUC score and drastically lower results in the case of precision, Cohen’s kappa and Matthews correlation coefficient in comparison with the main evaluation discussed in Sect. 5.1. High recall values and lower results for other evaluation metrics imply that classifier recognizes most of unlabeled objects as AGN candidates and, as a result, it will obtain a highly complete catalog with relatively low purity. In this case the classifier shows the best performance. A similar tendency is visible in the case of N2-limited sample. Results for the classifier are drastically lower for this extrapolation experiment because of the lack of the MIR measurements, which could compensate limited NIR information. A similarly poor performance can be observed in the case of the classifier for the experiments with S7 and L18-limited samples. These experiments show that in order to minimize the risk of the wrong classification in the case of extrapolation near the range of the training sample one has to use feature sets that contain both NIR and MIR measurements. Both classifiers selected in the main performance tests, and classifiers, show the best results in all tests except for the L18 limited experiment. Because of this fact, these two classifiers were selected as the best classifiers for the generalization task.
5.3 Selection of the best classifier
Both and classifiers showed good, very similar results in the performance evaluation process. Finally, because of a better physical motivation, more convenient interpretation of the results and better performance in most of the extrapolation experiments, a classifier was chosen as the best model for the generalization.
Cuts applied to the generalization set were based on limitations of the training set used in Section 5.1. These cuts are shown in Table 5.3. After they were applied, a generalization sample of 1716 objects was created. Color properties of the unlabeled generalization data in comparison with the training sample are shown in Figure 5. Distribution of fluxes in different NIR and MIR filters of the training and generalization feature set samples, corresponding flux uncertainties and fuzzy memberships for labeled data can be found in Appendix B.
The distribution of most of colors have similar ranges in the labeled and unlabeled sets. However, shapes of the MIR color distributions are different. It can be caused by the differences in properties of samples from which they were drawn. The training set is mostly made of objects with optical counterparts from a shallower survey (AKARI NEP Wide), while the generalization set preserved objects with no optical counterparts. Consequently, as a sample from deeper survey (AKARI NEP Deep), it contains higher redshift objects with different properties and with different lines located in the MIR range.
6 Results
6.1 Software
Parameters of the best RBF classifier (presented in Table 5.1) trained on the feature set making use of the whole training data as it was described in 5.1 were chosen to be and in the grid search process. Time needed for training of each classifier was equal to approximately 20-60 seconds on the machine with 16 GB RAM and Intel i7-4790K. The generalization takes approximately 10 seconds. The code used in the present work is available from the github repository: github.com/ArtemPoliszczuk.
6.2 AGN catalog
Using the classifier a set of 598 AGN candidates and 1118 candidates of the ”Other” class was obtained. To further analyze the quality of AGN candidates catalog one can plot the distribution of the distance of objects from the decision surface and corresponding Platt’s probability of an object being properly classified. Both of these distributions are shown in Figure 6.
Probability values lower than 0.5 in the case of the AGN candidates occur because of imbalanced sizes of training sets. The SVM has a tendency to shift the separating hyperplane towards the smaller class (Batuwita & Palade, 2012). As a consequence, more objects from the smaller class lie near the boundary. Due to the direct relation between the distance from the decision surface and the Platt’s probability, this shift results in probability values lower than 0.5. In such a situation one cannot treat values of the Platt’s probability as directly applicable measures. However, the probability distribution still can be used to select objects with the highest confidence of a particular class membership. Figure 7 shows the Platt’s probability distribution only for AGN candidates and the relation between the probability cut and the number of objects remaining in the catalog of AGN candidates.
The probability threshold was set on the value in the minimum before the peak of the objects with the highest confidence value. As a result, a catalog of 275 AGN candidates was obtained. None of these candidates was present in the training sample. Color properties of the final AGN candidates catalog are shown in Figure 8. Additional histograms of and colors for AGN candidates with different probability thresholds are shown in Figure 9. It is seen that distributions shift with the change of the probability threshold. In the case of color the distribution is shifted towards redder values, while in the case of the color distribution moves towards bluer values. These two particular colors were selected as they allow for comparison with other AGN selection method which is presented in the next Section.
6.3 Comparison with color selection method
Lee et al. (2007) studied properties of sources brighter than 18.5 mag at 11m in the Early AKARI NEP-Deep data and proposed an AGN selection method based on the - vs - color-color diagram, where AGNs occupy an area of -0 and -0.
Among SVM-selected AGN candidates with probability cut applied, 256 (93% of the sample) fulfill this criterion, while 36 objects (12% of the generalization sample) were not classified as AGNs. However, if the original cut is applied to all the samples, the numbers shrink to 55 (100% of the sample) fulfilling the Lee et al. (2007) criterion, and 17 objects (3% of the generalization sample) not classified as AGNs with high probability by SVM in spite of fulfilling the Lee et al. (2007) criterion. The - vs - color-color diagram of SVM-selected AGN candidates, together with the cuts proposed by Lee et al. (2007) is presented in Fig. 10. One can conclude that both methods are largely consistent but do not yield exactly the same selection; multi-color feature space very likely allows for a more robust classification. To demonstrate that, the properties of the objects with different classification by both methods will be analyzed in the future work.
7 Summary
In the present work the fuzzy SVM algorithm with the fuzzy memberships based on the measurement uncertainties was applied to the AKARI NEP-Deep data for the AGN selection task. Six different feature sets were tested. Some of them were physically motivated, some were constructed using filter feature selection method. Classifiers based on different kernels and feature sets were tested by using a set of evaluation metrics. Additional extrapolation experiments were also performed. The feature set made of six colors of neighboring passbands turned out to be the most efficient and informative. The classifier based on the RBF kernel function and 6 colors feature set was then used for the creation of the AGN candidates catalog. The final AGN catalog was made by applying additional probability cuts in order to obtain objects with the most reliable classification outcome. The majority of sources (77%) selected as AGN candidates by SVM fulfills the simpler color-color selection criterion proposed by Lee et al. (2007) but the selection is not exactly the same. The properties of the deviating sources will be studied in the future work.
AKARI NEP-Deep data turned out to be a challenging ground for the automated classification tasks. The shallower training sample in comparison with the data used for generalization increases the risk of the bad representativeness of the labeled data - this is the problem of most of supervised classifications performed on the photometric survey data with labels taken from spectroscopic surveys. Additional small volume of such labeled sample makes the differences between the training and generalization samples harder to control. As a consequence, more advanced tools, such as extrapolation experiments and Platt’s probability thresholds were applied in order to increase the reliability of the output catalog.
Because of many different selection effects and probability cut, the completeness of the final catalog was strongly reduced. The main purpose of this work was to obtain a reliable catalog of AGNs characterized by the high purity. This goal was accomplished, however, it is hard to precisely evaluate purity of the final catalog. A simple look on the precision value cannot be treated as a real purity measure due to the imperfect representativeness of the training sample and additional purity raise after the probability cut.
The key role in the creation of the final catalog was played by the physical information incorporated into the classification process both by applying a fuzzy memberships based on measurement uncertainties and using well physically motivated feature set. Such a construction of fuzzy memberships allowed to increase the importance of properly measured objects in the process of decision boundary creation and to reduce the influence of the artifacts specific for the current data set.
The new catalog of AGN candidates contains a potentially unique set of faint infrared AGNs and will be investigated in the further research.
{ack}
Authors are very thankful to the referee for corrections, which allowed to significantly improve the manuscript.
Authors are grateful for the support from the Polish Ministry of Science and Higher Education through a grant DIR/WK/2018/12.
A. Poliszczuk, A. Pollo and M. Bilicki were supported by the Polish National Science Centre grant UMO-2012/07/D/ST9/02785.
A. Poliszczuk was supported by the Polish Ministry of Science and Higher Education grant MNiSW 212727/E-78/M/2018.
A. Pollo was supported by Polish National Science Centre, grant No. 2017/26/A/ST9/00756.
M.B. was supported by the Netherlands Organization for Scientific Research, NWO, through grant number 614.001.451.
A. Solarz was supported by the Polish National Science Centre grant UMO-2015/16/S/ST9/00438.
Tomotsugu Goto acknowledges the support by the Ministry of Science and Technology of Taiwan through grant 105-2112-M-007-003-MY3.
T. Miyaji is supported by UNAM-DGAPA-PAPIIT IN111319 and CONACyT 252531.
Appendix A Results of the extrapolation experiments
Results of the extrapolation experiments described in Sect. 5.2. Table 7 shows values of different evaluation metrics for a sample of 30% of labeled data with extreme values of particular flux or redshift, which was excluded from the training process. The best results were obtained by and RBF classifiers.
Appendix B Properties of the data used for the 6 colors feature set
Properties of the data used for the feature set. Figures 11- 14 show flux distribution in particular passbands for labeled and generalization samples as well as distribution of corresponding flux uncertainties. Figure 15 shows distribution of fuzzy memberships for particular classes.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Vapnik & Cortes (1995) Vapnik, V.,& Cortes N. 1995, Machine Learning, 20, 273
- 2Solarz et al. (2012) Solarz, A., et al. 2012, A&A, 541, A 50
- 3Małek et al. (2013) Małek, K., et al. 2013, A&A, 557, A 16
- 4Kurcz et al. (2016) Kurcz, A., et al. 2016, A&A, 592, A 25
- 5Krakowski et al. (2016) Krakowski, T., et al. 2016, A&A, 596, A 39
- 6Marton et al. (2016) Marton, G., et al. 2016, IAU Symposium, 319, 101
- 7Solarz et al. (2017) Solarz, A., et al. 2017, A&A, 606, A 39
- 8Toth et al. (2017) Toth, L., et al. 2017, PKAS, 32, 49
