Convolutional Neural Networks and Their Activations: An Exploratory Case Study on Mounded Settlements

Șerban Vădineanu, Tuna Kalaycı, Daniël M. Pelt, Kees Joost BatenburgJournal of Computer Applications in Archaeology 2024 · DOI

TL;DR

This paper demonstrates how to turn "black box" deep learning models into efficient tools for archaeological mapping by leveraging explainability techniques. By extracting activation maps from simple classification networks, the authors generate high-quality "cheap" segmentation masks for ancient settlement mounds and reveal that different neural architectures rely on distinct visual cues—like roundness versus environmental context—to identify sites.

What Problem Does This Paper Address?

Archaeologists are increasingly turning to deep learning to identify features in satellite imagery, but they face two major hurdles: the annotation bottleneck and model opacity.

Manually outlining the exact boundaries of thousands of archaeological sites (segmentation) is incredibly labor-intensive. While simply labeling an image as "site" or "no-site" (classification) is much faster, classification models don't provide the precise spatial boundaries needed for mapping. Furthermore, many researchers are hesitant to trust these models because it’s unclear why a network thinks a specific patch of dirt is an ancient mound. This paper seeks to bridge this gap by using explainability methods to extract precise locations from simple classification labels.

Methods

The researchers trained three standard Convolutional Neural Network (CNN) architectures—VGG16, ResNet34, and DenseNet121—on a binary classification task. To see "under the hood," they applied several explainability techniques:

  • Occlusion Maps (OM): Systematically blocking parts of the image to see which areas cause the prediction score to drop.
  • GradCAM & LayerCAM: Using the network's internal gradients to highlight influential pixels.
  • The "Secret Sauce": The authors proposed a novel extension to Guided GradCAM. Standard Guided GradCAM produces sparse, pixelated activations. By applying a Gaussian filter (to smooth the output) followed by a logistic function (to sharpen the boundaries), they created contiguous, high-resolution activation maps that are much better suited for generating site boundaries.

Finally, they used Conditional Random Fields (CRF) to post-process these maps into "hard" segmentation masks that could be compared against expert-drawn boundaries.

Datasets

The study focused on the Upper Khabur Basin in Mesopotamia, a region dense with "tells" (ancient settlement mounds).

  • Source: Declassified CORONA spy-satellite imagery (KH-4B series) from the late 1960s. This imagery is prized by archaeologists because it predates much of the modern industrial agriculture and urban sprawl that has since obscured ancient sites.
  • Scale: The authors identified 300 "site" and 300 "no-site" locations.
  • Augmentation: To boost the dataset, they used rotation and a unique "swirling" transformation designed to mimic the naturally circular footprint of mounded settlements, resulting in a total of 24,000 images for training.

Key Insights and Ideas

  • Architectural "Personalities": The most striking finding was how different networks "see" archaeology. VGG16 is a "geometry snob"—it relies heavily on simple roundness and local contrast. In contrast, ResNet and DenseNet are "contextualists"—they use skip-connections to retain broader environmental information, allowing them to identify complex, non-circular sites more effectively.
  • Explainability as an Annotation Tool: The paper proves that you don't always need expensive segmentation labels. The activation maps from a classification model can serve as "pseudo-annotations," providing a 2-for-1 deal: you get a trained classifier and a rough segmentation mask simultaneously.
  • Human vs. Machine Bias: In one case study (Tell Mosti), the CNNs highlighted a southeastern extension of the site that the human expert had missed. This suggests that explainability tools can act as a "second pair of eyes," helping experts refine their own manual annotations.

Key Results

  • Classification Performance: All three models achieved near-perfect results on the validation set, with Precision and Recall scores exceeding 0.99.
  • Segmentation Quality: The authors used the Dice similarity score (a measure of overlap between 0 and 1) to compare their automated boundaries to expert ones.
  • The Winner: Their proposed modified Guided GradCAM method was the most robust, achieving a mean Dice score of 0.60 across all architectures. Specifically, the combination of DenseNet121 + the proposed method yielded the highest individual score (0.6185), significantly outperforming standard techniques like LayerCAM or GradCAM in boundary accuracy.

Limitations and Future Work

The authors acknowledge that their models were trained on a very specific type of feature (mounds) in a specific geography (Upper Mesopotamia). It remains to be seen how well these "cheap annotations" translate to different archaeological features, like buried walls or ancient canals, which have very different geometric signatures.

Future work includes integrating Digital Elevation Models (DEMs) into the pipeline to provide 3D morphological data and exploring transfer learning to see if models trained in Mesopotamia can be "re-tuned" for mounded sites in other regions, such as Greece or Hungary, with minimal new data.

Summary updated

Abstract

Automating the detection and classification of archaeological features in remotely sensed imagery poses significant challenges due to image variability and the heterogeneity of archaeological objects, which traditional object-based solutions have struggled to fully address. However, recent advancements in deep learning offer promising avenues for overcoming these obstacles. Despite their widespread adoption, deep learning algorithms still face problems such as the lack of annotated data and the opacity of model decision-making processes. We address these challenges through an approach linking annotation scarcity and model explainability. We propose leveraging explainability techniques to not only gain insights into model decision-making processes but also to reduce annotation costs. Through a case study mapping ancient settlement mounds in Upper Mesopotamia, we apply three explainability methods to three widely-used deep learning architectures that were trained to recognize whether or not a site is present within an image. We then employ the output of the explainability methods to both delineate the sites’ boundaries, a more time-consuming process for a human expert, and to generate meaningful visual insights of the features found relevant by the networks for which we provide detailed interpretations. Additionally, we propose a new variant of an explainability method that produces site boundaries that are more consistent with the expert estimations than the existing solutions.
BibTeX
@article{vadineanu2024convolutional,
  author = {Șerban Vădineanu and Tuna Kalaycı and Daniël M. Pelt and Kees Joost Batenburg},
  title = {{Convolutional Neural Networks and Their Activations: An Exploratory Case Study on Mounded Settlements}},
  journal = {Journal of Computer Applications in Archaeology},
  year = {2024},
  doi = {10.5334/jcaa.163},
}
Figure