<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Galaxy Morphology Network: A Convolutional Neural Network Used to Study Morphology and Quenching in ∼100,000 SDSS and ∼20,000 CANDELS Galaxies</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>06/01/2020</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10168614</idno>
					<idno type="doi">10.3847/1538-4357/ab8a47</idno>
					<title level='j'>The Astrophysical Journal</title>
<idno>1538-4357</idno>
<biblScope unit="volume">895</biblScope>
<biblScope unit="issue">2</biblScope>					

					<author>Aritra Ghosh</author><author>C. Megan Urry</author><author>Zhengdong Wang</author><author>Kevin Schawinski</author><author>Dennis Turp</author><author>Meredith C. Powell</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We examine morphology-separated color-mass diagrams to study the quenching of star formation in ∼100,000 (z ∼ 0) Sloan Digital Sky Survey (SDSS) and ∼20,000 (z ∼ 1) Cosmic Assembly Near-Infrared Deep Extragalactic Legacy Survey (CANDELS) galaxies. To classify galaxies morphologically, we developed Galaxy Morphology Network (GAMORNET), a convolutional neural network that classifies galaxies according to their bulge-to-total light ratio. GAMORNET does not need a large training set of real data and can be applied to data sets with a range of signal-to-noise ratios and spatial resolutions. GAMORNETʼs source code as well as the trained models are made public as part of this work. We first trained GAMORNET on simulations of galaxies with a bulge and a disk component and then transfer learned using ∼25% of each data set to achieve misclassification rates of 5%. The misclassified sample of galaxies is dominated by small galaxies with low signal-to-noise ratios. Using the GAMORNET classifications, we find that bulge-and disk-dominated galaxies have distinct color-mass diagrams, in agreement with previous studies. For both SDSS and CANDELS galaxies, disk-dominated galaxies peak in the blue cloud, across a broad range of masses, consistent with the slow exhaustion of star-forming gas with no rapid quenching. A small population of red disks is found at high mass (∼14% of disks at z ∼ 0 and 2% of disks at z ∼ 1). In contrast, bulge-dominated galaxies are mostly red, with much smaller numbers down toward the blue cloud, suggesting rapid quenching and fast evolution across the green valley. This inferred difference in quenching mechanism is in agreement with previous studies that used other morphology classification techniques on much smaller samples at z ∼ 0 and z ∼ 1.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>We know from large-scale surveys that both local and highredshift galaxies show a bimodal distribution in the galaxy color-mass space <ref type="bibr">(Strateva et al. 2001;</ref><ref type="bibr">Baldry et al. 2004</ref><ref type="bibr">Baldry et al. , 2006;;</ref><ref type="bibr">Brammer et al. 2009</ref>) with a "blue cloud", a "red sequence", and a "green valley." Galaxy color-mass diagrams are useful for studying galactic evolution, as the stellar mass of a galaxy indicates its growth over time, and the color tracks its rate of star formation. The standard interpretation of the bimodal color-mass distribution is that, because there are few galaxies in the green valley, star formation in blue cloud galaxies must be quenched rapidly, perhaps aided by emission from an active galactic nucleus (AGN; <ref type="bibr">Bell et al. 2004;</ref><ref type="bibr">Faber et al. 2007)</ref>. Direct evidence of this AGN feedback remains murky, however <ref type="bibr">(Harrison 2017)</ref>.</p><p>Galaxy morphology adds a third interesting dimension to the color-mass space. Because elliptical galaxies typically form in major mergers, and galactic disks usually do not survive them, morphology can be used as a tracer of the recent merger history of a galaxy. The observed bimodality in the color-mass diagram (as well as interpretations therefrom) comes from superposing distinct populations with different morphological types, as first shown by <ref type="bibr">Schawinski et al. (2014)</ref>, who used Galaxy Zoo morphological classifications to study local (z &#8764; 0) galaxies. They suggested that there are two separate evolutionary tracks for galaxies: (1) major mergers forming ellipticals from disk-dominated galaxies, accompanied by AGN triggering and rapid quenching of star formation, and (2) slow, secular growth of disk-dominated galaxies, until they reach a critical halo mass, after which the remaining cold gas is slowly consumed and the stellar population gradually reddens. At z&#61600;&#8764;&#61600;0, the latter population is an order of magnitude larger than the merger-created ellipticals.</p><p>Still, most star formation and the most pronounced galaxy evolution happen not locally but at z&#61600;&#8764;&#61600;1 and above. Thus, it is important to investigate the galaxy color-mass diagram at z&#61600;&#61577;&#61600;1. <ref type="bibr">Powell et al. (2017)</ref> studied galaxies from The Great Observatories Origins Deep Survey (GOODS)-N and GOODS-S at z&#61600;&#8764;&#61600;1 and found that disks and spheroids have distinct color-mass distributions in rough agreement with the results at z&#61600;&#8764;&#61600;0. From the distribution of X-ray-selected AGN hosts in this sample, they concluded that AGN feedback may quench star formation in galaxies that undergo major mergers, but these are still less than half the galaxy population. However, this study was done with a sample of only 2651 disks and 126 spheroids. Much larger studies, across a broader redshift range, will better illuminate the effect of mergers and AGN on galaxy evolution.</p><p>The two traditional ways of obtaining morphological classifications-visual classification and fitting light profiles -are not easily scalable to the large data volumes expected from The Large Synoptic Survey Telescope (LSST), the Wide Field Infrared Survey Telescope (WFIRST), and Euclid. The most popular galaxy light profile fitting program, GALFIT <ref type="bibr">(Peng et al. 2002)</ref>, and automated versions of it like GALAPAGOS <ref type="bibr">(Barden et al. 2012)</ref>, suffer from the fact that the quality of the fit depends heavily on the input parameters, and when dealing with hundreds of thousands of galaxies, such hand-refinement of input parameters is an impossible task. There have been attempts to employ visual classifications on large galaxy samples via citizen science projects like Galaxy Zoo <ref type="bibr">(Lintott et al. 2008</ref><ref type="bibr">(Lintott et al. , 2011))</ref>, but even these will fail to keep up with the coming data volume. Moreover, reliable visual classifications require a decent signal-to-noise ratio (S/N), take time to set up and execute, and require an extremely careful debiasing of the vote shares obtained <ref type="bibr">(Lintott et al. 2008;</ref><ref type="bibr">Simmons et al. 2017)</ref>.</p><p>For these reasons, using machine learning to classify galaxy morphology is particularly attractive. Data available from the Sloan Digital Sky Survey (SDSS) inspired early attempts at using machine learning to classify galaxies morphologically on a large scale (e.g., <ref type="bibr">Ball et al. 2004;</ref><ref type="bibr">Kelly &amp; McKay 2004;</ref><ref type="bibr">Banerji et al. 2010)</ref>. These methods required the user to select proxies for morphology (such as color, concentration index, and spectral features) as inputs to the models. However, as the proxies could have an unknown and biased relation with galaxy morphology, these early networks were not ideal substitutes for the traditional classification methods.</p><p>In the last few years, convolutional neural networks (CNNs) have revolutionized the field of image processing <ref type="bibr">(Lecun et al. 2015;</ref><ref type="bibr">Schmidhuber 2015)</ref>. They are ideal for galaxy morphology classification as they do not require selection of morphological proxies by hand and the network itself decides on which features of the image best discriminate among the different classes. The first serious attempt at using a CNN to classify galaxies morphologically came out of the "Galaxy Challenge" organized by Galaxy Zoo, where teams competed to reproduce the vote shares of each question in Galaxy Zoo 2 using a CNN (the top entry was by <ref type="bibr">Dieleman et al. 2015)</ref>. This was followed by the work of <ref type="bibr">Huertas-Company et al. (2015)</ref>, who used a CNN to reproduce visual classifications for galaxies in the Cosmic Assembly Near-Infrared Deep Extragalactic Legacy Survey (CANDELS). <ref type="bibr">Tuccillo et al. (2018)</ref> used domain adaptation combined with one-component Se&#341;sic simulations to reproduce morphological classifications for &#8764;5000 CANDELS galaxies. There have also been attempts at using CNNs for measuring photometric redshifts from galaxy images (Hoyle 2016), doing star/galaxy separation <ref type="bibr">(Kim &amp; Brunner 2017)</ref>, detecting bars in galaxies <ref type="bibr">(Abraham et al. 2018)</ref>, and detecting mergers <ref type="bibr">(Ackermann et al. 2018)</ref>.</p><p>Most of the previous work involving the use of CNNs to study galaxy morphology has depended on the availability of a large training set of galaxies with known properties. However, if CNNs are to truly replace traditional methods for morphology classification, then there needs to be a single prescription/network that works across multiple data sets and does not require an already classified large training set.</p><p>In this paper, we introduce Galaxy Morphology Network (GAMORNET), a CNN that can classify galaxies according to their bulge-to-total ratio (L B /L T ) for very different data sets without the need for a large, pre-classified training set of real galaxies. We first trained our network on simulated galaxies with both bulge and disk components and then transfer learned on a small part of our real sample to produce bulge/disk classifications for &#8764;80,000 (z&#61600;&#8764;&#61600;0) SDSS g-band galaxies and &#8764;20,000 CANDELS (z &#8764; 1) H-band galaxies. A collection of 12 randomly chosen galaxy image cutouts from both data sets with their GAMORNET classifications is shown in Figure <ref type="figure">1</ref>. Using the morphology classifications, we then examine the color-mass diagrams of the two samples, separated by morphology, in order to study the quenching of star formation at z&#61600;&#8764;&#61600;0 and 1.</p><p>We describe the details of the SDSS and CANDELS data that we use in Section 2. In Section 3, we describe our simulations, the CNNs we use, and our transfer learning algorithm. In Section 4, we present the results of the morphology classification, including the color-mass diagrams, and in Section 5, we summarize our results and discuss future applications of GAMORNET.</p><p>We make all of the source code used in this work public along with the trained CNN models. We also release the GAMORNET morphological predictions for all of the SDSS and CANDELS galaxies in our data sets. All of the code is being made available under a GNU General Public License v3.0, and more details of the public data release are summarized in the Appendix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Data Sets Used</head><p>One of the primary aims of this paper is to demonstrate how GAMORNET can be used to identify bulge-and disk-dominated galaxies in different data sets without requiring extensive training on real data. Here, we work with two data sets: the SDSS <ref type="bibr">(York et al. 2000)</ref>, for nearby galaxies (z &#8764; 0), and CANDELS <ref type="bibr">(Grogin et al. 2011;</ref><ref type="bibr">Koekemoer et al. 2011)</ref>, for galaxies at z&#61600;&#8764;&#61600;1. Together, these data allow us to probe galaxy evolution at different epochs of star formation and black hole growth.</p><p>We first created galaxy samples with which we train and test GAMORNET. Specifically, we identified galaxies in each survey for which bulge/disk decomposition had already been done or which had already been morphologically classified in some other way.</p><p>For the SDSS sample, we used 112,547 galaxies in the redshift range 0.02&#61600;&#61600;z&#61600;&#61600;0.07 that were imaged in the g band and had bulge fractions determined by <ref type="bibr">Simard et al. (2011)</ref>, who fitted double S&#233;rsic profiles with fixed indices n&#61600;=&#61600;4 (pure bulge) and n&#61600;=&#61600;1 (pure disk). For each galaxy, we prepared square cutouts of 167 pixels on a side, centered on the galaxy, with a resolution of 0 396 per pixel. We used 30,000 of these for the process of transfer learning, described in Section 3.4 and the remaining 82,547 galaxies to test the performance of the network. In order to calculate the u&#61600;-&#61600;r color for each galaxy, we used extinctioncorrected model SDSS magnitudes from the NYU-VAGC <ref type="bibr">(Blanton et al. 2005</ref>) and adopted K corrections to z&#61600;=&#61600;0.0. We obtained aperture and extinction-corrected specific star formation rates (sSFR) and stellar masses from the MPA-JHU DR7 catalog <ref type="bibr">(Kauffmann et al. 2003;</ref><ref type="bibr">Brinchmann et al. 2004</ref>), which are calculated using SDSS spectra and broadband photometry.</p><p>For CANDELS reference data, we used S&#233;rsic indices from van der <ref type="bibr">Wel et al. (2012)</ref>, who fitted the galaxy surface brightness profiles using GALFIT <ref type="bibr">(Peng et al. 2002</ref>) with a single (free) S&#233;rsic component. From this catalog, we selected galaxies with redshifts 0.7&#61600;&#61600;z&#61600;&#61600;1.3 and "good" fits (defined by van der Wel et al. 2012 as matching the galaxy total magnitude, and having fits that converged, with parameters within an acceptable range). The ensuing sample of 28,946 z&#61600;&#8764;&#61600;1 galaxies from the five CANDELS fields includes 6276 from the Great Observatories Origins Deep Survey-North (GOODS-N), 3942 from the Great Observatories Origins Deep Survey-South (GOODS-S), 7425 from the Cosmic Evolution Survey (COSMOS), 4911 from the Ultra Deep Survey (UDS), and 6392 from the All Wavelength Extended Growth Strip International Survey (AEGIS). We downloaded WFC3/IR F160W(H) mosaics from the CANDELS website,<ref type="foot">foot_1</ref> then for each galaxy, we made square cutouts of 83 pixels&#61600;&#215;&#61600;83 pixels During training, GAMORNET focuses on galaxies located at the center of the image and, thus, can process cutouts with other objects in the frame besides the central galaxy, as is evident from the images above.</p><p>with a resolution of 0 06 per pixel. We used 7200 galaxy images for transfer learning and the remaining 21,746 for testing the performance of GAMORNET. We took the restframe U-R color, stellar mass, and sSFR of each galaxy from the 3D-HST catalog <ref type="bibr">(Brammer et al. 2012)</ref>; the stellar masses are based on spectral energy distribution (SED) fits to stellar population models with the FAST code <ref type="bibr">(Kriek et al. 2009)</ref> as described in <ref type="bibr">Skelton et al. (2014)</ref>. The star formation rates used are from <ref type="bibr">Whitaker et al. (2014)</ref> and assume that UV light from massive stars is re-radiated in the far-infrared.</p><p>It is well known that dust extinction can redden galaxies, and significant reddening has been observed for high-redshift galaxies <ref type="bibr">(Brammer et al. 2009;</ref><ref type="bibr">Williams et al. 2009;</ref><ref type="bibr">Cardamone et al. 2010)</ref>. For the SDSS sample, we make no reddening correction since <ref type="bibr">Schawinski et al. (2014)</ref> showed that dust correction has a negligible effect on the color-mass diagram for local galaxies. However, for the higher redshift CANDELS sample, we corrected the U-R colors using the <ref type="bibr">Calzetti et al. (2000)</ref> extinction law:</p><p>The A V values, taken from the 3D-HST catalog, come from the SED fits to stellar population models <ref type="bibr">(Brammer et al. 2012)</ref>.</p><p>For both data sets, we used only a fraction of the available sample for transfer learning, leaving a much larger fraction for testing the performance of GAMORNET. This demonstrates that GAMORNET can effectively be trained initially on (more extensive) simulations, then re-trained using a small set of real data. Thereafter, GAMORNET can successfully classify a much larger set of real images because it learns to generalize beyond the training galaxies.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Training Our Convolutional Neural Network-GAMORNET</head><p>The first hurdle in training a neural network to do morphological classifications is finding a large data set that has already been accurately classified. However, if neural networks are to be used widely for astronomical analysis, we need a more flexible approach-one that does not require extensive analysis by old, slow (legacy) methods during the training phase and that can be adapted easily to new data sets. Here, we describe how to use simulated galaxies for the initial training of the classification network, followed by the application of a machine-learning technique known as "transfer learning", wherein a much smaller set of galaxies, classified using a legacy method, is used to fine tune a partially trained network. This ensures that the network becomes adept at classifying real galaxies without requiring too many of them for the training process.</p><p>The process of training GAMORNET to classify galaxy morphologies consists of the following steps:</p><p>1. Simulating galaxies corresponding to the desired data set (here, SDSS or CANDELS). 2. Initial training of the neural network on those simulated images. 3. Retraining the neural network using a small part of the real data at hand; this process is known as transfer learning. 4. Testing a similar amount of real data to validate the results. 5. Processing the remainder of the real data through the trained network to obtain morphological classifications.</p><p>The galaxy simulations are described in Section 3.1. Section 3.2 contains a brief introduction to CNNs and describes the architecture of GAMORNET, while Section 3.3 describes the initial training of GAMORNET on the simulations. In Section 3.4, we describe how we perform transfer learning to produce the final trained state of GAMORNET.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Simulations</head><p>We simulated galaxies using the GALFIT program <ref type="bibr">(Peng et al. 2002)</ref>, which is usually used to fit two-dimensional light profiles of galaxies. Here, we use it instead to create twodimensional light profiles appropriate for the data sets we are interested in analyzing with GAMORNET.</p><p>For each data set, we simulated 100,000 galaxies consisting of a bulge (S&#233;rsic component with fixed index n = 4; de Vaucouleurs (1948)) and disk (S&#233;rsic index n = 1). The surface brightness for a galaxy with a S&#233;rsic profile is given by</p><p>where &#931; e is the pixel surface brightness at the effective radius r e , n is the Se&#341;sic index, which controls the concentration of the light profile, and &#954; is a parameter coupled to n that ensures that half of the total flux is enclosed within r e .</p><p>The parameters required to generate the S&#233;rsic profiles are drawn from uniform distributions (except the bulge magnitude and position angle) and the ranges of the distributions used for both sets of simulations are summarized in Table <ref type="table">1</ref>. The galaxy size parameters were chosen to be representative of bright, local galaxies <ref type="bibr">(Binney &amp; Merrifield 1998)</ref>; bulges were chosen to have a half-light radius between 3.0 kpc and 6.0 kpc; and disks were assigned half-light radii between 6.0 kpc and 10.0 kpc. To obtain the corresponding pixel sizes, we placed the samples at z&#61600;=&#61600;0.05 and z&#61600;=&#61600;1.0 (corresponding to the mean redshifts of the two samples described in Section 2) using WMAP7 cosmology <ref type="bibr">(Komatsu et al. 2011</ref>) and using the pixel scale for the appropriate data set. We ensured that the number of simulated galaxies was sufficiently large such that even when we consider subsets of galaxies with similar sizes, they not only span the entire range of L B /L T values but also mimic the overall bulge-to-total light ratio distribution.</p><p>The disk magnitudes were drawn from a uniform distribution chosen so as to include most galaxies at these redshifts, and the magnitude of each corresponding bulge is such that it differs from the disk magnitude by a randomly chosen value between -3.2 and 3.2. This was done to ensure that the bulge-to-total ratio varies between about 5% and 95%. Not enforcing this condition and allowing the bulge magnitude to be independent of the disk magnitude causes most galaxies in the training set to have a very high or a very low bulge-to-total ratio, which is not the case for most galaxies and, in any case, is not detectable. Instead, we want to train the network on a sufficient number of galaxies with intermediate bulge-to-total ratios.</p><p>To make the two-dimensional light profiles generated by GALFIT more closely resemble the actual data, we convolved them with a representative point-spread function (PSF), then added noise. For the SDSS simulations, we selected the coordinates of one of the real galaxies in our sample, R.A.: 213.26064353, decl.: 0.14637573, and then reconstructed the PSF at the corresponding location in the detector using the PSF information stored in the relevant psField file that we obtained from SDSS. To generate the representative noise, we randomly selected 1000 cutouts from our SDSS sample, masked the sources in each cutout using SourceExtractor <ref type="bibr">(Bertin 1996)</ref>, and then read-in the non-masked pixel values to generate a large sample of noise pixels. We sampled this collection of noise pixels randomly to make two-dimensional arrays of the same size as that of the simulated images and then added them to the images. To make sure that the PSF chosen is representative, we reconstructed the PSFs for 12 more randomly chosen galaxies in our sample and convolved each one with a simulated SDSS galaxy, before adding noise. By inspecting the difference images between each image created using one of the new PSFs and the image created using the originally used PSF, we found the average pixel value of each of these difference images to be at least three orders of magnitude lower than the average pixel value of the galaxy image created using the original PSF.</p><p>For the CANDELS sample, we used the model PSF generated by <ref type="bibr">van der Wel et al. (2012)</ref> for the COSMOS field and added noise following the same method as for the SDSS simulations. To make sure that the COSMOS PSF is representative, we followed a procedure similar to what we did for SDSS using the GOODS-S and UDS PSFs. We again found the average pixel value of the difference images to be at least three orders of magnitude lower than the average pixel value of the galaxy image created using the original PSF.</p><p>The effect of convolving the simulated galaxies with PSF and adding noise is depicted in Figure <ref type="figure">2</ref>.</p><p>The goal behind convolving with the PSF and adding noise is not to recreate perfect replicas of the real galaxies in our samples but rather to train the network on realistic simulated images for which we know the intrinsic morphologies. This is why we arbitrarily selected the COSMOS PSF instead of making simulations for each field separately and used only one random SDSS PSF. If we were to make more of an effort to recreate exactly the real data in our sample, then the whole purpose having a CNN is lost. In that case, the neural network ends up having a low variance but an extremely high bias, as it is too closely tied to the training set. Instead, here, the CNN learns to generalize from fewer examples.</p><p>Since the galaxies were independently simulated, the simulation code could be trivially parallelized, and we make the simulation code available as a part of our public data release (see Section A.4).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">The Network</head><p>Artificial neural networks, consisting of many connected units called artificial neurons, have been studied for more than five decades now. The neurons are arranged in multiple layers as shown in the schematic representation in Figure <ref type="figure">3</ref>; each network has an input layer via which the data is fed into the   network and an output layer that contains the result of propagating the data through the network, with additional hidden layer(s) in between. Each neuron is characterized by a weight vector</p><p>and a bias b. The input to a neuron (coming from the outputs in the previous layer) is usually written as</p><p>, and the output of the neuron is given by</p><p>where &#963; is the chosen activation function of the neuron. The process of "training" an artificial neural network involves finding out the optimum set of weights and biases of all of the neurons such that for a given vector of inputs, the output vector from the network,</p><p>, resembles the desired output vector &#710;( &#710;&#710;&#710;) = &#188; y y y y , , , n 1 2 as closely as possible. The process of optimization is usually performed by minimizing a loss function, such as the popular cross-entropy loss function,</p><p>where I j, c is a binary indicator function depicting whether class label c is the correct classification for the jth observation. Also, p is the predicted probability (by the network) that observation j is from class c, M is the total number of classes, and N is the total number of samples.</p><p>Out of the various algorithms available to minimize the loss function, one that is used very widely is stochastic gradient descent (SGD) and its different variants <ref type="bibr">(Nielsen 2015)</ref>. In SGD, we estimate the gradient of L using a mini-batch of training samples and update the weights and biases according to</p><p>where &#951; is a small positive constant known as the learning rate. Calculation of the gradient is done using the back-propagation algorithm, and we refer the interested reader to <ref type="bibr">Rumelhart et al. (1986)</ref> for details.</p><p>The artificial neural network that we use for this work is a CNN <ref type="bibr">(LeCun et al. 1998;</ref><ref type="bibr">Fukushima 1980)</ref>. This is a type of deep artificial neural network that has become extremely popular for image processing in recent years. The input to the network is the two-dimensional vector representation of an image, and in a convolutional layer, each unit receives input from a local image patch of the previous layer known as the receptive field. Convolution involves taking a filter of a particular size and repeatedly applying it (by moving it with a specific stride) to each part of the input image, resulting in a two-dimensional output map of activations called a feature map. The different units in the feature map share the same weight matrix, and hence, each feature map can be interpreted as trying to locate a particular feature at different locations in the image. Each convolutional layer is typically followed by a max-pooling layer wherein the dimensionality of the feature maps are reduced by only preserving the maximum value in a small patch and thus making the network invariant to minor distortions. The convolutional and max-pooling layers are usually followed by a few fully connected layers that use the output of the convolutional layers to infer the correct output for the input image. We refer the interested reader to <ref type="bibr">Nielsen (2015)</ref> for a more detailed overview of the above concepts.</p><p>The architecture of GAMORNET is based on AlexNet <ref type="bibr">(Krizhevsky et al. 2012)</ref>, a CNN that won the 2012 ImageNet Large Scale Visual Recognition Challenge (ILVRS), wherein different teams compete to classify about 14 million handannotated images. Very broadly speaking, the architecture of GAMORNET consists of five convolutional layers and three fully connected layers. Interspersed between these are local response normalization, max-pooling, and dropout layers. The dropout layers help to prevent over-fitting by randomly ignoring or "dropping out" some number of layer outputs. The size of the input layer corresponds to the size of the images being fed-in, and the output layer corresponds to the three classes into which the galaxies are separated, which are defined in Section 3.3. The output layer happens to have the softmax activation function and thus, the output value of the three output neurons can be interpreted as the network's prediction probability that the input galaxy is in the corresponding category. In total, GAMORNET has 17 layers, the details of which are summarized in Table <ref type="table">2</ref>. Figure <ref type="figure">4</ref> shows a schematic diagram of GAMORNET.</p><p>We implemented GAMORNET using TFLearn,<ref type="foot">foot_2</ref> which is a high-level Application Program Interface for TensorFlow,<ref type="foot">foot_3</ref> an open source library widely used for large-scale machinelearning applications. We make the source code of GAMOR-NET available as a part of our public data release (see Section A.1 for more details).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Initial Training</head><p>Using the two sets of simulations corresponding to the SDSS and CANDELS data sets, we trained two different networks, both with the same structure as described in Section 3.2. Henceforth, we refer to the networks trained on SDSS and CANDELS simulations as GAMORNET-S and GAMORNET-C, respectively. During the training process, we trained the networks to separate galaxies into three different categories: 1. Galaxies with L B /L T &#61600;&lt;&#61600;0.45 , i.e., disk-dominated. 2. Galaxies with L B /L T &#61600;&gt;&#61600;0.55 , i.e., bulge-dominated. 3. Galaxies with 0.45&#61600;&#61600;L B /L T &#61600;&#61600;0.55 , i.e., indeterminate.</p><p>Here, L B is the luminosity of the bulge component, and L T is the total luminosity of the galaxy. Since these galaxies are simulated, we used our knowledge of the actual L B /L T for each galaxy to train the network.</p><p>Of the 100,000 galaxies simulated for each data set, we used 90% for training and the rest for validation. The validation set was used to tune the different hyper-parameters in the network (like the learning rate described in Section 3.2). We use a learning rate of 0.0001 and a batch size of 64, as these lead to &gt;95% accuracy on the validation set and run-times of ( ) ~&#61519; 1 hr on Tesla P100 GPUs. The batch size refers to the Notes. The various layers of GAMORNET along with the important parameters of each layer and the corresponding activation functions are shown in the table above.</p><p>The architecture of GAMORNET is based on AlexNet and, broadly speaking, consists of five convolutional layers followed by three fully connected layers. The source code for GAMORNET is made public as described in Appendix A.1 a Rectified linear unit.  <ref type="table">2</ref>.</p><p>number of training samples the network works through before the model's internal parameters are updated During the training process, we used the categorical crossentropy loss function and minimized it using the momentum optimizer, which is a variant of SGD and accelerates SGD in the relevant direction besides dampening oscillations during the minimization process. Both SGD and the categorical crossentropy loss function are described in Section 3.2.</p><p>An "epoch" of training refers to running all of the training images through the network once. After each epoch of training, we evaluated the value of the loss function and calculated the accuracy on the validation set. The process of calculating the accuracy involves running all of the images in the validation set through the network. Since the output layer in our network is a softmax layer, the output value of each neuron can be interpreted as the network's predicted probability of the galaxy image to belong to the particular category corresponding to that neuron. A galaxy is said to belong to the L B /L T category for which the predicted probability is the highest, and the accuracy was calculated as the number of galaxies classified correctly divided by the total number of galaxies. It is important to note here that we used an additional criterion for classifying the real images later on, as described in Section 4.1.</p><p>We trained both the networks until the values of the accuracy and the loss function stabilized and a significant gain in accuracy did not seem probable with further training. This constituted training GAMORNET-S for 1000 epochs and GAMORNET-C for 400 epochs. Both learning curves are shown in Figure <ref type="figure">5</ref>, which shows the accuracy as well as the value of the loss function after each epoch of training. GAMORNET-S and GAMORNET-C achieved net accuracies of 93.55% and 88.33%, respectively, on the simulated images being used for validation; note that these are simulated images that the network did not "see" during the process of training.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Transfer Learning</head><p>CNNs have an extremely large number of free parameters (weights and biases) that need to be tuned during the process of training, and thus, if the size of the training set is not sufficiently large, there is a chance of "over-fitting" after a certain number of epochs of training. That is, with further training, the accuracy of the network increases on the training data but not on the test data, and hence, the network fails to generalize.</p><p>Transfer learning involves taking a network trained on a particular data set and optimized for a particular task, and retuning the weights and biases for a slightly different task or data set. The advantage here is that a much smaller training set can be used to re-tune the network than to train it from scratch. Transfer learning as a data-science concept has been around since the 1990s (Pan &amp; Yang 2010) and has been applied to a wide variety of tasks, including image classification <ref type="bibr">(Kulis et al. 2011;</ref><ref type="bibr">Zhu et al. 2011;</ref><ref type="bibr">Li et al. 2014)</ref>. As an example, transfer learning was recently applied to detect galaxy mergers <ref type="bibr">(Ackermann et al. 2018)</ref>, starting from a network that could accurately identify images of everyday objects like cars, cats, dogs, etc.</p><p>In the present work, since we want to enable morphological classification even in the absence of a large training set, we use only a small fraction of the SDSS and CANDELS data sets for training. Specifically, we take the network trained on simulations and then re-train it by transfer learning on &#8764;25% of the real SDSS and CANDELS galaxy images.</p><p>In transfer learning, it is common to freeze the weights and biases in the initial layers of the network (i.e., those close to the input layer), while allowing variations in layers close to the output layer. The logic behind this approach is that, in a CNN, the deeper feature maps identify more complicated features while the earlier layers identify more basic features (like lines, shapes, and edges). Since transfer learning re-trains a network to do a slightly different task than it was initially trained to do, it is the last few layers that need to be re-tuned for the task at hand. At the same time, since the earlier layers correspond to more basic features, we do not expect that they will need retuning. We heuristically tested a combination of the various options mentioned above, and chose the one that maximized accuracy, while not showing any signs of over-training. The details of the transfer learning method used in both cases are summarized in Table <ref type="table">3</ref>.</p><p>For the SDSS data, we have access to estimates of L B /L T for each galaxy from <ref type="bibr">Simard et al. (2011)</ref>, wherein each galaxy was fitted with an n&#61600;=&#61600;4 bulge and an n&#61600;=&#61600;1 disk component. We used this as the "ground truth" for separating galaxies into the three categories defined in Section 3.3. We randomly selected 10,000 galaxies from each category to make up our transfer learning training data set; this constitutes about a quarter of the full SDSS sample. We found that during transfer learning, it is important to have an equal number of galaxies from each category in the training set because otherwise, the network attempts to maximize accuracy in the category with more samples at the cost of other categories. Since both our samples have many more disk-dominated than bulge-dominated galaxies, a randomly selected training set would result in a very high accuracy in classifying disk-dominated galaxies but a very low accuracy in classifying bulge-dominated galaxies. Using the configuration given in Table <ref type="table">3</ref>, we trained GAMORNET-S for 300 epochs.</p><p>For the CANDELS data, no two-component bulge-disk decompositions were available in the literature. Thus, we translated the S&#233;rsic indices from van der Wel et al. (2012) into the three classifications used by GAMORNET using results from <ref type="bibr">Simmons &amp; Urry (2008)</ref>, who analyzed CANDELS-depth HST ACS simulations of bulge+disk galaxies. The authors fitted single S&#233;rsic profiles to their simulations in order to find the correspondence between S&#233;rsic index and actual L B /L T . Guided by their result in the redshift bin z&#61600;=&#61600;1.075 (see their Figure <ref type="figure">19</ref>), appropriate for the CANDELS galaxies we wish to classify, we define galaxies with n&#61600;&lt;&#61600;2.0 as disk-dominated, n&#61600;&gt;&#61600;2.5 as bulge-dominated, and 2.0&#61600;&#61600;n&#61600;&#61600;2.5 as indeterminate.</p><p>To illustrate these choices, we reproduce in Figure <ref type="figure">6</ref> the Simmons &amp; Urry (2008) results, specifically, the range in S&#233;rsic index corresponding to different L B /L T values for the simulated galaxies. The three broad classifications assigned by GAMORNET-C-disk-dominated, indeterminate, and bulgedominated-are shown as shaded regions. There is no unique or perfect way to go from S&#233;rsic index to L B /L T ; although, the choice of n&#61600;&lt;&#61600;2 is pretty clean, i.e., all such galaxies have L B /L T &#61600;&lt;&#61600;0.45 and are disk-dominated. For n&#61600;&gt;&#61600;2.5, most galaxies are bulge-dominated (i.e., have L B /L T &#61600;&gt;&#61600;0.55) as is evident from the top-right portion of the figure; although, a few disk-dominated galaxies with L B /L T &#61600;&#8764;&#61600;0.4 may be incorrectly included in that category.</p><p>A higher n threshold (for, e.g., n&#61600;&#8764;&#61600;6) leads to a purer bulgedominated sample, but drastically reduces the number of bulgedominated galaxies available for transfer learning, as is evident from the histogram shown in Figure <ref type="figure">6</ref>. As mentioned previously, we need roughly equal numbers of galaxies in each bin for the training process during transfer learning, and thus, the upper limit on the total number of galaxies available for training is set by the size of the least populous bin. The above choices ensure a sufficient number of galaxies in each category (needed for the transfer learning step) and produce statistically acceptable classifications. Readers can set these boundaries differently, as appropriate to their science goals, using GAMORNET-C models trained only on the bulge + disk simulations made publicly available via Section A.2. Instructions on how to train these models for transfer learning are available in the GitHub repository.</p><p>Using the above definitions of the three classes, we retrained the simulation-trained GAMORNET-C for 75 epochs using the Transfer Learning configuration in Table <ref type="table">3</ref>; note that only the weights and biases in the last two of the total five convolutional layers are adjusted during the transfer learning step. For this process, we used 2400 galaxies from each of the three morphological categories, or about a quarter of the total CANDELS sample.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Morphology Results</head><p>After using about a quarter of the images for transfer learning, the remaining 82,547 galaxies in the SDSS sample Notes. Details of the transfer learning algorithm used for both the SDSS and CANDELS networks. The numbers in parentheses refer to the layer numbers according to Table <ref type="table">2</ref>. The above parameters were chosen by heuristically testing various options and choosing the ones that maximized accuracy, while not showing any signs of over-training. a These layers were optimized during the initial training on simulations and then frozen at those values for the transfer learning step. Clearly, all galaxies with n&#61600;&lt;&#61600;2 are truly disk-dominated (i.e., have L B /L T &#61600;&lt;&#61600;0.45), but, because of the spread in S&#233;rsic indices, some diskdominated or intermediate galaxies may get misclassified as bulge-dominated. Although a higher n threshold (for, e.g., n&#61600;&#8764;&#61600;6) would lead to a purer bulgedominated sample, for reasons mentioned in Section 3.4, it would make the transfer learning sample insufficiently small. Note that readers can choose different bin boundaries, doing their own transfer learning step on the simulation-trained network made available via Section A.2.</p><p>were used as our test set. Since GAMORNET&#700;s output layer consists of three softmax neurons whose output values sum to 1, each value can be interpreted as the probability that a galaxy belongs to that L B /L T category. These probability values are the primary output of GAMORNET. However, in order to compare our results with previous classifications and keeping in mind situations that necessitate rigid classifications, we transform the probability values into classifications.</p><p>After some experimentation, we arrived at this decision tree for classification:</p><p>1. Disk-dominated when GAMORNET-S reports 80% probability that L B /L T &#61600;&lt;&#61600;0.45.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Bulge-dominated when GAMORNET-S reports 80%</head><p>probability that L B /L T &#61600;&gt;&#61600;0.55.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Otherwise, indeterminate.</head><p>This is slightly different than the criterion we used for the initial training, as those galaxies were idealized, and the classifications were unambiguous. For the real galaxies, simply taking the highest probability neuron, including probabilities below 80%, made the classifications far less accurate. Requiring a threshold of 80% greatly improved the classification accuracy at the expense of increasing the number of indeterminate galaxies.</p><p>For each galaxy, we have access to its bulge-to-total ratio, i.e., L B /L T value from <ref type="bibr">Simard et al. (2011)</ref>, which we consider to be the "true" value. For mapping L B /L T to a classification of being bulge-or disk-dominated, we used the same criterion as during the initial training, outlined at the beginning of Section 3.3.</p><p>Individual morphological classifications by GAMORNET-S are reported in Table <ref type="table">4</ref> and Table <ref type="table">5</ref> compares the GAMORNET-S and <ref type="bibr">Simard et al. (2011)</ref> classifications of SDSS galaxies. Assuming the latter are "true" for disk-dominated galaxies, we achieved an accuracy of 99.7% and for bulge-dominated galaxies, we achieved an accuracy of 94.8%, resulting in a net misclassification rate of 0.7%. A total of 26,928 galaxies, or &#8764;32% of the SDSS test set, were found to have indeterminate morphologies.</p><p>For the CANDELS data set, there were 21,746 galaxies in the test set. We classified these using GAMORNET-C and, again, experimented with thresholds for the final neuron values in order to arrive at an acceptable balance between accuracy and fraction with indeterminate morphologies. The thresholds for the CANDELS classification (which are different from those adopted for the SDSS data) are:</p><p>1. Bulge-dominated if GAMORNET-C reports 55% probability that L B /L T &#61600;&gt;&#61600;0.55. 2. Disk-dominated if GAMORNET-C reports 36% probability that L B /L T &#61600;&lt;&#61600;0.45 and this probability exceeds the probabilities of L B /L T &#61600;&gt;&#61600;0.55, 0.45&#61600;&#61600;L B /L T &#61600;&#61600;0.55.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Otherwise, indeterminate.</head><p>The choice of these confidence thresholds and their impact on the results is discussed later in this section.</p><p>Table <ref type="table">6</ref> reports the individual morphological classifications by GAMORNET-C, and Table <ref type="table">7</ref> compares these to the results of <ref type="bibr">van der Wel et al. (2012)</ref>. From the S&#233;rsic index of each galaxy (van der Wel et al. 2012), we derive its L B /L T following Simmons &amp; Urry (2008) as described in Section 3.4. Thereafter, we map these values to a classification of being bulge-or disk-dominated using the same criterion as we did during initial training, as described in Section 3.3. Assuming these as the "true" classifications, GAMORNET-C has an accuracy of 91.8% for disk-dominated galaxies and 78.6% for bulge-dominated galaxies, or a net misclassification rate of 5.3%. A total of 8617 Notes.&#61600;GAMORNET-S classification probabilities (of being disk-dominated, bulge-dominated, or indeterminate) and final classification for all of the galaxies in our SDSS test sample. This table is published in its entirety as a part of the public data release (Appendix A.3). The first five entries are shown here for guidance regarding its form and content. a These are pre-DR8 ObjIDs. galaxies were classified in the indeterminate category, which is &#8764;39% of the CANDELS test set.</p><p>The misclassification rate of CANDELS galaxies is higher than that of SDSS galaxies. To find out why, we investigated various relevant statistics for the misclassified galaxies. The two most significant variables were the S/N and the half-light radius (taken from van der Wel et al. 2012). Figure <ref type="figure">7</ref> shows the distribution of both the correctly classified and misclassified galaxies over these parameters. Although both the misclassified and correctly classified galaxies are distributed similarly over S/N, the misclassified population peaks much more sharply at a lower S/N, showing that a much larger fraction of the misclassifed sample has a low S/N compared to the correctly classified fraction. Similarly, a much larger fraction of the misclassified sample has low values of r e compared to the correctly classified galaxies. Therefore, we conclude that the misclassified galaxies are essentially galaxies with a small halflight radius comparable to the PSF and/or a low S/N, and thus, it is inherently difficult for GAMORNET-C to correctly classify these galaxies. The misclassified population in the SDSS data set also peaks more sharply at a lower value of r e compared to the correctly classified galaxies; although, we have poor statistics for this, as the misclassification rate is &lt;1%.</p><p>The choice of the confidence threshold values to classify a galaxy as bulge-or disk-dominated primarily affects two parameters: the misclassification rate and the number of indeterminate galaxies. Having a high confidence threshold results in a low misclassification rate but a high number of indeterminate galaxies, and vice-versa. We show in Figure <ref type="figure">8</ref> how changing the value of the confidence threshold affects the number of indeterminate galaxies and the accuracy of both the bulge-and disk-dominated galaxies for the SDSS sample. We chose a threshold value of 0.8 or 80%, but as the figure shows, even with a threshold of 60%, it is possible to get &gt;85% accuracy for both bulge-and disk-dominated galaxies with an indeterminate fraction as low as &#8764;20%.</p><p>For the CANDELS data set, setting a common/joint threshold as high as we did for the SDSS data led to most of the data being classified as indeterminate. Thus, we use separate confidence thresholds for the disk and bulge classifications, and the variation of the indeterminate fraction and accuracy with both thresholds is shown in Figure <ref type="figure">9</ref>. We chose the final threshold values of 0.36 and 0.55 for the diskand bulge-dominated galaxies, respectively, as a compromise between the two competing requirements of having a low indeterminate fraction and high accuracy.</p><p>For our choice of confidence thresholds, the indeterminate fraction is &gt;25% of the test set for both SDSS and CANDELS. This indeterminate fraction consists of two kinds of galaxies: those with intermediate bulge-to-total ratios (i.e., 0.45&#61600; L B /L T &#61600;&#61600;0.55) and those for which the network is not confident enough to make a prediction, because of low S/Ns and/or small sizes. For comparison, <ref type="bibr">Powell et al. (2017)</ref> used GALFIT to do single S&#233;rsic fits to 4479 GOODS-S and GOODS-N galaxies; they found that &#8764;38% of the population could not be classified due to poor fits (&#967; 2 &#61600;&gt;&#61600;1.5) or galaxies having 2.0&#61600;&lt;&#61600;n&#61600;&lt;&#61600;2.5. Similarly, large fractions of Galaxy Zoo classifications have &#61576;80% agreement among classifiers <ref type="bibr">(Land et al. 2008)</ref>. Thus, even with stringent confidence threshold values, GAMORNET is able to match the indeterminate fraction of traditional studies.</p><p>The choice of the confidence threshold is arbitrary and should be chosen appropriately for the particular task at hand. Toward this end, Figures <ref type="figure">8</ref> and<ref type="figure">9</ref> can be used to asses the tradeoff between accuracy and completeness for both samples. We have emphasized accuracy over completeness, since we have very large samples already and can show that the misclassified Notes. GAMORNET-C classification probabilities (of being disk-dominated, bulge-dominated, or indeterminate) and final classification for all of the galaxies in our CANDELS test sample. This table is published in its entirety as a part of the public data release (Appendix A.3). The first five entries are shown here for guidance regarding its form and content. a ID refers to the IDs assigned by the CANDELS team <ref type="bibr">(Grogin et al. 2011;</ref><ref type="bibr">Koekemoer et al. 2011</ref>).  Both plots show that compared to the correctly classified galaxies, a higher fraction of the misclassified galaxies have a low S/N and/or small r e . "Frequency density" refers to the number counts normalized to form a probability density.  objects simply have lower S/Ns and/or are too compact to classify accurately.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Color-Mass Results</head><p>In this section, we study the quenching of star formation in z&#61600;&#8764;&#61600;0 (SDSS) and z&#61600;&#8764;&#61600;1 (CANDELS) galaxies by examining their color-mass diagrams constructed using the morphological classifications obtained in Section 4.1. Refer to Section 2 for details about the calculation of colors, masses, and sSFR for both samples.</p><p>Figure <ref type="figure">10</ref> shows the u-r color-mass diagram for the z&#61600;&#8764;&#61600;0 SDSS test set separated by disk-and bulge-dominated morphologies. The color of each point in panels (a) and (b) refer to the specific star formation rate of each galaxy. The contours in all plots refer to the linear number density of galaxies, and the straight lines in panels (c) and (d) mark the location of the green valley, which we define to be the region between the colors mentioned below:</p><p>The U-R color-mass diagram for the z&#61600;&#8764;&#61600;1 CANDELS data is shown in Figure <ref type="figure">11</ref>, and this figure is arranged in the same way as Figure <ref type="figure">10</ref>. We define the green valley, in this case, as the region between U-R colors 1.0 and 1.5. The demographics of galaxies by color and morphology for both samples is summarized in Table <ref type="table">8</ref>. Note that the total number of galaxies in the table does not match that in Section 4.1 as we have omitted galaxies that lack estimates of either mass or sSFR. The omitted fraction is &#8764;0.7% and &#8764;3.4% for the SDSS and CANDELS samples, respectively.</p><p>For both the samples, we see that both bulge-and diskdominated galaxies span the entire range of colors (i.e., we see examples of red disk-dominated galaxies as well blue bulgedominated galaxies). As expected, the disk-dominated galaxies peak in the blue cloud while the bulge-dominated galaxies dominate the red sequence. The green valley is not a feature for either morphology; that is, there is no bimodality. Rather, the number density of galaxies declines monotonically from a red or blue peak. Thus, the green valley only arises when plotting the color-mass diagram of all galaxies together, as was first pointed out for z&#61600;&#8764;&#61600;0 galaxies by <ref type="bibr">Schawinski et al. (2014)</ref>.</p><p>Figures <ref type="figure">10(c</ref>) and 11(c) show that the disk-dominated galaxies peak in the blue cloud and decline gradually to the red sequence, in a unimodal way. This suggests that the disks undergo a gradual decline in star formation as opposed to being rapidly quenched through the green valley into the red Figure <ref type="figure">10</ref>. Color-mass diagrams for the galaxies in the SDSS test set, separated Disk-dominated galaxies (panels (a) and (c)) are mostly blue until they reach high masses (and presumably high halo masses), at which point they evolve to the red. In contrast, bulge-dominated galaxies (panels (b) and (d)) are predominately red, and appear to evolve rapidly from a short-lived population of rare, blue ellipticals that likely formed from major mergers of disky star-forming galaxies. Panels sequence. At high masses, there are relatively more red diskdominated galaxies, suggesting that high halo masses may play a role in shutting off the gas supply and quenching star formation. These conclusions agree with other studies of star formation in local galaxies <ref type="bibr">(Tojeiro et al. 2013;</ref><ref type="bibr">Schawinski et al. 2014;</ref><ref type="bibr">Lopes et al. 2016;</ref><ref type="bibr">Powell et al. 2017</ref>).</p><p>Conversely, bulge-dominated galaxies in both samples show a unimodal peak in the red sequence, with very few precursors at green and blue colors. This is consistent with a scenario in which bulge-dominated galaxies form from major mergers of disk-dominated blue galaxies and then are rapidly quenched through the green valley <ref type="bibr">(Schawinski et al. 2014)</ref>.  Note. The demographics of SDSS and CANDELS galaxies disaggregated by morphology and color. The green valley for both samples is defined in Section 4.2, and the three zones are shown in Figures <ref type="figure">10</ref> and<ref type="figure">11</ref>. We omit galaxies used in training GAMORNET (&#8764;25% of each sample) as well as galaxies lacking estimates for the mass or sSFR (&#8764;0.7% for SDSS and &#8764;3.4% for CANDELS).</p><p>The morphology-sorted color-mass diagrams we obtained using GAMORNET classifications largely agree with the previous results of <ref type="bibr">Schawinski et al. (2014)</ref>   <ref type="bibr">(2014)</ref>, and at z&#61600;&#8764;&#61600;1, we have six times the galaxies analyzed by <ref type="bibr">Powell et al. (2017)</ref>. Larger samples are particularly important for bins with low statistics. For example, <ref type="bibr">Powell et al. (2017)</ref> identified only five bulge-dominated galaxies in the green valley, whereas we find 39, so the statistical uncertainties on that fraction are lower.</p><p>Figure <ref type="figure">12</ref> shows the distribution of sSFR separated by morphology. For both samples, the distribution of bulgedominated galaxies peaks at a lower sSFR, showing the association of disk-dominated galaxies with consistent secular star formation and bulge-dominated galaxies with recent quenching.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Summary and Discussion</head><p>In this article, we introduced GAMORNET, a CNN that can classify galaxies morphologically. We first trained GAMOR-NET on simulations of galaxies with a bulge and a disk component (Section 3.1) to separate galaxies according to their bulge-to-total ratio. To make the network better at handling real galaxies, we then transfer learned (Section 3.4) on &#8764;25% of both the SDSS z&#61600;&#8764;&#61600;0 and CANDELS z&#61600;&#8764;&#61600;1 samples and thereafter tested the network on the remaining &#8764;75% of both the samples. The net misclassification rate (calculated by weighting the disk-and bulge-dominated accuracies appropriately) achieved for both samples is &#61576;5%. For the SDSS test set of 82,547 galaxies, we achieved accuracies of 99.7% for disk-dominated galaxies and 94.8% for bulge-dominated galaxies. The corresponding numbers for the CANDELS test set of 21,746 galaxies are 91.8% and 78.6%. We showed in Section 4.1 that the misclassified CANDELS galaxies are dominated by galaxies with a half-light radius comparable to the PSF and galaxy images with low S/Ns.</p><p>Although it has previously been shown that CNNs can be used to recover single-component S&#233;rsic fits of galaxies and visual morphologies (e.g., <ref type="bibr">Huertas-Company et al. 2015;</ref><ref type="bibr">Tuccillo et al. 2018)</ref>, according to our knowledge, this is the first time it has been demonstrated that CNNs can be used to classify galaxies according to their bulge-to-total ratios.</p><p>More importantly, this work demonstrates that GAMORNET can be applied across different data sets to perform morphological classification without the need for a large training set of real galaxies. By using a roughly 25-75 train-test split during transfer learning, we have clearly demonstrated that even when training on 25% of the total sample, GAMORNET can generalize beyond the training data and classify galaxies with high accuracy. This has very important consequences, as the applicability of CNNs to future data-intensive surveys like LSST, WFIRST, and Euclid will depend on their ability to perform without the need for a large training set of real data.</p><p>We make the source code of GAMORNET, the trained network models, as well the morphological classifications of all of the galaxies in our sample available to the public (Appendix). Although GAMORNET-S and -C were tuned for g-band and H-band images, respectively, the networks should perform with comparable accuracies in other nearby bands for all SDSS z&#61600;&#8764;&#61600;0 and CANDELS z&#61600;&#8764;&#61600;1 galaxies. We also make available the weights and biases of GAMORNET before transfer learning, i.e., after training with simulations only, so that additional data sets can be used for transfer learning. Our general prescription of training on simulations and then transfer learning should work for morphological classifications of any data set.</p><p>In Section 4.2, we used the morphological classifications obtained using GAMORNET (Section 4.1) to study the quenching of star formation using the color-mass diagrams of our samples at z&#61600;&#8764;&#61600;0 and z&#61600;&#8764;&#61600;1. both samples, the morphology-separated color-mass diagrams do not show any bimodality. The disk-dominated galaxies peak in the blue cloud and then gradually extend to the red sequence, suggesting that quenching in disks is a secular process. Conversely, bulge-dominated galaxies in both samples peak in the red sequence, with very few precursors in the green valley and blue cloud. This is consistent with a scenario in which bulge-dominated galaxies form from major mergers of disk-dominated blue galaxies and then are rapidly quenched through the green valley.</p><p>Our results largely agree with previous similar studies performed at these redshifts. Our sample sizes are twice and six times as large, respectively, as those in the two previous studies done using visual classifications <ref type="bibr">(Schawinski et al. 2014</ref>) and using GALFIT <ref type="bibr">(Powell et al. 2017)</ref>. The reason that we were able to use such large sample sizes is that GAMORNET, once trained, can process large data sets very quickly and easily compared to more traditional methods.</p><p>In the future, we aim to use GAMORNET to study the correlation of AGN with host galaxy morphology. We also plan to take GAMORNET beyond bulge/disk classification and use it to derive different properties of AGN host galaxies. of models above is the best starting point for the transfer learning process.</p><p>For more information on how to load these models in TFLearn and use them, refer to the documentation of the GAMORNET GitHub repository mentioned in Section A.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.3. Tables with Predicted Probabilities and Classifications</head><p>The predicted probabilities (of being disk-dominated, bulgedominated, or indeterminate) and the final classifications for all of the galaxies in our SDSS and CANDELS test sets, as determined by GAMORNET-S and -C, are made available below as .txt files. These tables are the full versions of Tables <ref type="table">4</ref> and<ref type="table">6</ref>.</p><p>Both the tables are being made available via Yale Astronomy's Public FTP service <ref type="url">ftp://ftp.astro.yale.edu/ pub/aghosh/gamornet/pred_tables</ref>. Instructions for accessing the service from the command line can be found in Section A.2. The two files are located according to the list below:</p><p>1. Full version of Table <ref type="table">4</ref>  The code that was used to simulate the galaxies described in Section 3.1 is available as a GitHub repository at <ref type="url">https:// github.com/aritraghsh09/GalaxySim</ref>. This code makes use of GALFIT <ref type="bibr">(Peng et al. 2002)</ref> to simulate idealized double component galaxies. Since the simulations of galaxy surface brightness profiles are independent of each other, the code could be trivially parallelized. Instructions for using GalaxySim are available in the above GitHub repository.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>The Astrophysical Journal, 895:112 (17pp), 2020 June 1 Ghosh et al.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="6" xml:id="foot_1"><p>http://arcoiris.ucolick.org/candels/data_access/Latest_Release.html</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_2"><p>http://tflearn.org</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_3"><p>https://tensorflow.org</p></note>
		</body>
		</text>
</TEI>
