====== Landform classification and mapping using Machine Learning / Deep Learning on RAW and pre-processed dataset ====== ===== Description of the science case ===== This science case is focused on the detection and mapping of sinkhole-like depressions on Mars and the Moon through Deep Learning Object Detection and Instance Segmentation. The term sinkhole refers to different morphologies that have a in common the processes of depleting materials of different type into an area within the morphology itself (Waltham, 2005). On Earth the formation of sinkholes is related to a cluster of processes, and could occur in various type of grounds, furthermore presence of water has a key-role. On other terrestrial planets, although the mechanisms for the origin of these landforms are similar, if not the same, with the main difference that as far as we know there is no liquid water that can be involved in the formation of these landforms, and therefore the mechanisms and processes are still debated. Several authors suggested the hypothesis of formation from lava tube collapses (Greeley, 1971; Cruikshank and Wood, 1972; Carr et al., 1977), others imply different volcanic and tectonic processes involved (Wyrick et al., 2004). In karst environment, sinkholes are called "doline" and are more related to processes connected to dissolution of carbonates and evaporites, while in volcanic environments they are called "pit craters" and are more related to process connected to lava tube stability. Doline, pit craters, pit chains and lava tubes are well-known morphologies on Earth (Lauterbach et al., 2019; Díaz Michelena et al., 2020), Mars (Carr, 1977; Cushing et al., 2007; Cushing, 2012; Cushing et al., 2015), Moon (Chappaz et al., 2017), Venus (Sawford et al., 2015), Mercury (Gillis-Davis et al., 2009), and Ganymede and Saturnian satellites (Barlow et al., 2017). Studies suggested the presence of sinkholes both in karst (Baioni and Tramontana, 2015, 2016) and volcanic terrains of Mars (Sauro et al., 2020), in particular thanks to HiRISE and CTX cameras on board MRO more than 1000 potential cave entrances have been identified on Mars (Cushing, 2012), while on Moon thanks to SELENE and LRO cameras more than 300 (Wagner and Robinson, 2014). In the framework of geological exploration of terrestrial planets like Earth, those landforms - being a potential direct access to subsurface - are one of the most promising environments where to focus the research of valuable data of different kind, from planet's geological stratigraphy (Lauterbach et al., 2019; Sauro et al., 2020a) to valuable ore deposits (Blamont, 2014). They could also provide access to cave entrances where it is possible to gather even more data since caves are a natural shelter from cosmic radiation, and thus potentially provide a feasible environment for searching of life traces (Léveillé and Datta, 2010; Cushing, 2012), for the development of future human outposts (Cushing, 2012; Blamont, 2014; Carrer et al., 2018), and for the planning of future missions (Hare et al., 2018). Detecting, mapping, and describing sinkhole-like landform is a challenging process since a set of tedious tasks must be conducted manually, from data collection to manual analysis, mapping using Geographic Information Systems (GIS) software and extracting morphometric parameters. For Mars, there exists a downloadable database of more than 1000 cave candidates (Cushing, 2012) and there are several other publications that analyse possible cave entrances on Mars and Moon (Cushing et al., 2007; Sauro et al., 2020). Also, for the Moon there is an online database, but it is not downloadable. Both of the databases are region specific or with preferred planetary spots, are created with manual or semi-automated methods and are not updated that regularly. Starting from literature, five classes have been identified: * Type-1: Skylight with possible cave entrance, flat rim, no ejecta blankets, almost perfect circular shape and no visible bottom. * Type-2: Pit crater with possible relation to lava tube, flat rim, no ejecta blankets, almost circular shape and visible bottom. * Type-3: Depression with flat rim, no ejecta blankets, elongated shape and visible bottom. Possible connection to lava tubes. * Type-4: Depression with flat rim, no ejecta blankets, shallow to very shallow depth. Circular to elongated shapes and usually aligned with other similar shapes. * Type-5: Impact crater with always visible non-flat rim. Often visible ejecta blankets and remnants. As many of these landforms are extremely similar, a crucial role is the labelling of all classes and the creation of a modest initial data set to be used for training, validating and testing. \\ There are different challenges in this science case: * the identification and definition of unique characteristics that differentiate the classes, e.g. the shape of the rim, * the identification of the algorithms to be used, * the development of open-source tools and pipelines for all of the activities to be performed, and * the training and validation of all of the obtained results. The **minimal results** are images with a superimposed bounding box with class and score for each detection. The images still need to be further processed manually. A **perfect result **is a GIS geopackage containing a polygon-type layer with all of the detections, the name of the image and the score. ===== Details about the data ===== Mars optical images are provided by the Martian Reconnaissance Orbiter (MRO), and are composed of: * HiRISE images: a very high spatial resolution instrument with 0.3 m/pixel and a swath of approximately 30 km-wide. This instrument provides the highest quality images captured of Mars, designed for retrieving fine details from surface. The dataset used for preliminary tests consist of approx. 900 images. * CTX images: a mid-high spatial resolution instrument with 6 m/pixel resolution and a swath of approximately 30-km wide. This instrument provides more contextual images useful to understand the surround condition of HiRISE images, maintaining a high quality of detail retrieval. Lunar optical images are provided by the LRO spacecraft, and are composed of: * LROC Narrow Angle Cameras (NACs): very-high resolution panchromatic cameras with 0,5 m/pixel and approx. 5 km swath * LROC Wide Angle Camera (WAC): a high resolution 7-color camera with 100 m/pixel and approx. 60 km swath All data can be accessed through NASA PDS Geoscience Node ODE Portal. ===== Description of the machine learning problem and our approach ===== Considering the five classes that have been identified and taking into account their similarities within each other, the problem could be described as a multi-label multi-class object detection problem. The data consist of all images, the best suitable approach is Deep Learning since it is widely applied on Earth for similar problems and could be adapted easily to different targets. \\ Several Deep Learning object detection algorithms exits, in addition to open source framework based on Python and C/C++ programming language. Without entering in the depth of Deep Learning, abstraction problem and Convolutional Neural Networks architecture, these algorithm can be described as an algorithm that take input images, attempt to extract the essential features that describe these images by using convolution layers, pooling layers and fully connected layers, tries to predict unseen images and compare the obtained results with ground truth data to check whether continue the training or go back and change training parameters. \\ The model resulting from the training phase could be used to inference newer images. Training results are strictly related to data set dimension and labeling quality, and this is the major problematic and task to be accounted since in this science case there are huge base data sets to be used but almost no information on which specific image to be used, and no labels available. As a first step, a **deep learning object detection algorithm YOLO** ([[https://github.com/epn-ml/DeepLandforms-YOLOv5|DeepLandforms-YOLOv5]]) has been applied to detect pit craters on the surface of Mars from images obtained by the HiRISE instrument on board the MRO. Current performance reaches 74% recall and 70% precision. Image augmentation and expanded labelling were shown to provide better performance results. The extraction of statistically relevant products was also demonstrated. To improve the results obtained by this first tool for automated mapping of pits, a change of architecture was necessary. The results obtained by that tool, despite their high quality, need further processing since they are not immediately usable for proper mapping as they are composed only by a pair of coordinates that localize the centre of the detected features. Such detections still need to be properly mapped as polygonal shapes by users. Since this is a highly time-consuming and tedious task, it led to the development of a new tool based on **Deep Learning Instance Segmentation,** to retrieve not only point coordinates of the detected features, but also a polygonal shape. The obtained results were then compared to the results obtained with the previous tool and with the MGC^3 database (Cushing et al. 2012, 2015), showing good results. A publication and this new tool will be released soon. {{:wiki:lpsc2021_iposter_printed-small.pdf|Results of this science case}} were presented at the LPSC2021. **References:** * Barlow, N. G., Ferguson, S. N., Horstman, R. M., Maine, A. (2017) 'Comparison of central pit craters on Mars, Mercury, Ganymede, and the Saturnian satellites', Meteoritics and Planetary Science 52, 1371–1387. doi:10.1111/maps.12857. * Baioni, D. and Tramontana, M. (2015) ‘Evaporite karst in three interior layered deposits in Iani Chaos, Mars’, Geomorphology 245, 15–22. doi: 10.1016/j.geomorph.2015.05.018. * Baioni, D. and Tramontana, M. (2016) Possible karst landforms in two unnamed craters in Tyrrhena Terra, Mars, Planetary and Space Science. doi: 10.1016/j.pss.2016.08.011. * Blamont, J. (2014) ‘A roadmap to cave dwelling on the Moon and Mars’, Advances in Space Research 54(10), 2140–2149. doi: 10.1016/j.asr.2014.08.019. * Carr, M. H. et al. (1977) ‘Some Martian volcanic features as viewed from the Viking orbiters’, Journal of Geophysical Research 82(28), 3985–4015. doi: 10.1029/js082i028p03985. * Carrer, L., Gerekos, C. and Bruzzone, L. (2018) ‘A multi-frequency radar sounder for lava tubes detection on the Moon: Design, performance assessment and simulations’, Planetary and Space Science 152, 1–17. doi: 10.1016/j.pss.2018.01.011. * Chappaz, L. et al. (2017) ‘Evidence of large empty lava tubes on the Moon using GRAIL gravity’, Geophysical Research Letters 44(1), 105–112. doi: 10.1002/2016GL071588. * Cruikshank, D. P. and Wodd, C. A. (1972) ‘Lunar Rilles and Hawaiian Volcanic Features: Possible Analogues’, Moon 3, pp. 412–447, doi:10.1007/BF00562463. * Cushing, G. E. et al. (2007) ‘THEMIS observes possible cave skylights on Mars’, Geophysical Research Letters. doi: 10.1029/2007GL030709. * Cushing, G. E. (2012) ‘Candidate cave entrances on Mars’, Journal of Cave and Karst Studies, 74(1), 33– 47. doi: 10.4311/2010EX0167R. * Cushing, G. E. (2017) ‘MARS GLOBAL CAVE CANDIDATE CATALOG (MGC3)’, 2017(1965), 86001. * Cushing, G. E., Okubo, C. H. and Titus, T. N. (2015) ‘Atypical pit craters on Mars: New insights from THEMIS, CTX, and HiRISE observations’, Journal of Geophysical Research. doi: 10.1002/2014JE004735. * Díaz Michelena, M. et al. (2020) ‘The formation of a giant collapse caprock sinkhole on the Barda Negra plateau basalts (Argentina): Magnetic, mineralogical and morphostructural evidences’, Geomorphology 367, 107297. doi: 10.1016/j.geomorph.2020.107297. * Sawford, W .C., Ernst, R. E., Samson, C. and Davey, S. (2015) ‘Pit Crater Chains in the Nyx Mons Region, Venus’, pp. 1283, 46th Annual Lunar and Planetary Science Conference. * Gillis-Davis, J. J. et al. (2009) ‘Pit-floor craters on Mercury: Evidence of near-surface igneous activity’, Earth and Planetary Science Letters 285(3–4), 243–250. doi: 10.1016/j.epsl.2009.05.023. * Greeley, R. (1971) ‘Lava tubes and channels in the lunar Marius Hills’, The Moon 3(3), 289–314. doi: 10.1007/BF00561842. * Hare, T. M. et al. (2018) ‘Interoperability in planetary research for geospatial data analysis’, Planetary and Space Science 150, 36–42. doi: 10.1016/j.pss.2017.04.004. * Lauterbach, H. A. et al. (2019) ‘MOBILE MAPPING of the la CORONA LAVATUBE on LANZAROTE’, ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 4(2/W5), 381–387. doi: 10.5194/isprs-annals-IV-2-W5-381-2019. * PDS Geosciences Nodes (2020) PDS Geosciences Node Orbital Data Explorer (ODE). Available at: [[https://ode.rsl.wustl.edu/|https://ode.rsl.wustl.edu/]] (Accessed: 10 November 2020). * Sauro, F. et al. (2020a) ‘Lava tubes on Earth, Moon and Mars: A review on their size and morphology revealed by comparative planetology’, Earth-Science Reviews 209, 103288. doi: 10.1016/j.earscirev.2020.103288. * Léveillé, R. J., and S. Datta (2010) 'Lava tubes and basaltic caves as astrobiological targets on Earth and Mars: A review', Planet. Space Sci. 58, 592-598, doi:10.1016/j.pss.2009.06.004. * Wyrick, D. et al. (2004) ‘Distribution, morphology, and origins of Martian pit crater chains’, Journal of Geophysical Research E: Planets, 109(6). doi: 10.1029/2004JE002240. * Waltham, T. (2005) ‘Sinkhole classification and nomenclature’, in Sinkholes and Subsidence. doi: 10.1007/3- 540-26953-3\_2. * Wagner, R. V. and Robinson, M. S. (2014) 'Distribution, formation mechanisms, and significance of lunar pits', Icarus 237, 52-60, doi:10.1016/j.icarus.2014.04.002. * Nodjoumi, G., DeepLandforms-YOLOv5. Available online: [[https://zenodo.org/record/4430015|https://zenodo.org/record/4430015]] (accessed on 15 December 2021).