Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

iNaturalist mammal observations classified by evidence type

  • Mohammad Alyetama,

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Writing – review & editing

    Affiliations Department of Psychology, Neuroscience and Behavior, University of Nebraska Omaha, Omaha, Nebraska, United States of America, North Carolina Museum of Natural Sciences, Raleigh, North Carolina, United States of America

  • Alex J. Jensen,

    Roles Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Supervision, Validation, Writing – review & editing

    Affiliation North Carolina Museum of Natural Sciences, Raleigh, North Carolina, United States of America

  • Yakira Jackson,

    Roles Data curation, Investigation, Methodology, Writing – review & editing

    Affiliation College of Agriculture and Life Sciences, North Carolina State University, Raleigh, North Carolina, United States of America

  • Jane Widness,

    Roles Investigation, Methodology, Validation, Writing – review & editing

    Affiliation Department of Anthropology, Yale University, New Haven, Connecticut, United States of America

  • Roland Kays ,

    Roles Conceptualization, Funding acquisition, Resources, Supervision, Validation, Writing – review & editing

    rwkays@ncsu.edu

    Affiliations North Carolina Museum of Natural Sciences, Raleigh, North Carolina, United States of America, Department of Forestry and Environmental Resources, North Carolina State University, Raleigh, North Carolina, United States of America

  • Benjamin R. Goldstein

    Roles Data curation, Formal analysis, Investigation, Methodology, Project administration, Software, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

    Current address: International Union for Conservation of Nature (IUCN). 1630 Connecticut Ave NW, Washington, DC, USA.

    Affiliations North Carolina Museum of Natural Sciences, Raleigh, North Carolina, United States of America, Department of Forestry and Environmental Resources, North Carolina State University, Raleigh, North Carolina, United States of America

Abstract

Ecologists show growing interest in observational data generated by citizen scientists. For mammals, the largest citizen science platform is iNaturalist, which has more than 5 million Research Grade observations globally represented through images of living animals, dead animals, tracks, and scat. These different types of evidence could give insight into the underlying sampling paradigm for an observation (e.g., dead animals might be more likely to be reported near roads) and thus may be useful for scientific applications of these data. However, while iNaturalist allows users to annotate observations by evidence type, many observations are not annotated. We use machine learning to classify the evidence types associated with observations of North American mammals in iNaturalist, adding metadata that can be used to subset data or to model multiple observation processes. Here, we present a dataset containing metadata augmenting 1.33 million North American mammal iNaturalist observations with evidence type. Each observation is categorized as either live animal, dead animal, tracks, scat, or other sign, and an associated confidence score is provided.

Introduction

Ecologists are increasingly interested in analyzing unstructured participatory science data, both as a primary dataset documenting animal occurrences [1] and as a supplemental dataset in integrated models [2]. For mammals, the largest such dataset is iNaturalist (iNaturalist.org), which has accumulated more than 5 million Research Grade observations of mammals as of January 2026. iNaturalist sampling is unstructured, with no required reporting of sampling process, spatial and temporal allocation of effort [3,4], the taxonomic preferences of individual users [57], and logistical factors limiting detectability and species identification [8,9]. Robust inference on biological processes using these data requires accounting for these sources of sampling heterogeneity, which could otherwise bias results [4]. Consequently, the use of these data is limited by ecologists’ capacity to detect sampling heterogeneity and subsequently employ appropriate data filters and statistical models.

One important source of observational variation is evidence type. To become Research Grade—the quality standard for inclusion in many scientific studies and for export to the Global Biodiversity Information Facility [10]—iNaturalist observations must include a piece of evidence in addition to meeting other data quality criteria [11]. Evidence is typically provided via a photograph or audio recording—that can be used by other members of the online community to verify the species ID, with a two-thirds agreement ID by participating identifiers [12]. While many iNaturalist observations of mammals have photos of live animals, many others are photos of dead animals such as roadkill; photos of animal tracks and scat; or photos of markings, nests, or burrows. These evidence types may follow different spatial patterns in their effective effort, meaning that species more frequently associated with one evidence type will be detected at a higher rate where effort for that type is higher. For example, dead animals may be more frequently detected in areas with more roads [13], while elusive but charismatic mammals with distinctive footprints such as gray wolves (Canis lupus) may be reported at a higher rate in regions with substrate that holds animal tracks like snow or mud [14]. Models that assess the distribution of reports of those species without considering evidence type could wrongly conclude that populations are at higher densities in regions conducive to track-based identification. In addition to improving statistical inference, categorizing evidence types could also help in identifying human observers of certain archetypes, such as trackers or casual observers. The iNaturalist platform allows users to add evidence type annotations to observations, such as “dead” or “tracks,” and the iNaturalist community increasingly adds such annotations to existing records, but many observations remain un-annotated.

Machine learning (ML) image classification algorithms offer a solution to this problem. ML image classification has become a powerful tool in ecological research, enabling automated species identification and behavioral annotation from photographs at large scales [15]. Convolutional neural networks (CNNs), in particular, have demonstrated strong performance in classifying wildlife images from camera traps [16]. These models learn visual features directly from training data and can generalize to complex, variable conditions such as lighting, angle, or background clutter. In citizen science contexts like iNaturalist, ML classification offers a scalable solution to annotate large datasets with metadata such as evidence type.

Here, we provide evidence type metadata for 1,326,100 observations of North American mammals submitted to iNaturalist. We trained a YOLOv8x image classification model [17] using manually labeled data to predict one of five evidence types: live animal, dead animal, tracks, scat, or other sign (Fig 1). We provide both the dataset and a reproducible pre-trained model that can be easily applied to classify new data. These outputs represent the first and most critical step toward downstream analyses of iNaturalist data that address heterogeneity in evidence types.

thumbnail
Fig 1. Example photos representing the five primary iNaturalist evidence type classes: (A) a live animal (red fox, Vulpes vulpes); (B) a dead animal (white-tailed deer, Odocoileus virginianus); (C) an animal track (northern raccoon, Procyon lotor); (D) animal scat (species unknown); and (E) other sign, in this case tooth marks left on a tree stump (North American beaver, Castor canadensis).

All images are obtained from iNaturalist under a CC0 license. Photos A, C and D are attributed to Benjamin R. Goldstein and photos B and E are attributed to Michael V. Cove.

https://doi.org/10.1371/journal.pone.0353282.g001

Results

We provide evidence type classifications for 1,326,100 iNaturalist observations of North American mammals. The data are provided as a single large .csv file containing one row for each observation. For each observation, we provide the internal iNaturalist observation ID; the URL at which the image is hosted; the English common name and scientific name of the species; the date and time of the observation; the public latitude, public longitude, and positional accuracy of the observation; and a Boolean indicating whether the position of the observation was obscured. We maintain the column names to match the format of an iNaturalist data download. The dataset is published on Zenodo under the DOI 10.5281/zenodo.17177962. The trained classification model is publicly available on Hugging Face at huggingface.co/spaces/Alyetama/AiNaType, where users can interact with a live demo to test the model on their own images. The model weights, along with the full training and inference code, are hosted on GitHub at https://github.com/Alyetama/AiNaType. Detailed instructions for applying the model to other datasets, including custom iNaturalist exports, are provided in the repository’s README file.

Across all observations, 97.4% were associated with a confidence score in the top class of at least 0.8, 95.9% had a top confidence score of at least 0.9, and 91.2% had a top confidence score of at least 0.99. We classified 85.0% of all observations as live animals, 7.3% as dead animals, 1.6% as scat, 4.1% as tracks, and 1.9% as other sign (Fig 2B). Classifications varied widely by taxonomic order, with observations of primates comprising 99.3% live animal photos but observations of Eulipotyphla (shrews and moles) comprising 84.9% dead animals (Fig 2C).

thumbnail
Fig 2. (a) Normalized confusion matrix for the AiNaType-v8x model on the validation set. The model shows high accuracy across all evidence types.

(b) Overall rates of five evidence types. (c) Rates of each evidence type by taxonomic order. Common names for these orders in terms of their North American species are: Sirenia = manatees, Rodentia = rodents, Primates = primates, Pilosa = sloths, Perissodactyla = odd-toed ungulates, Lagomorpha = rabbits and hares, Eulipotyphla = shrews and moles, Didelphimorphia = opossum, Cingulata = armadillos, Cetartiodactyla = even-toed ungulates and cetaceans, Carnivora  = carnivores.

https://doi.org/10.1371/journal.pone.0353282.g002

We cross referenced a random subsample of our classified data against existing iNaturalist annotations. Among 2,000 observations we classified as each of dead animals, tracks, or scat, 44.6%, 34.3% and 28.1%, respectively, were annotated as such in iNaturalist. Moreover, only 12.3% of observations of living animals were annotated as such.

Discussion

Our dataset represents the first attempt to classify iNaturalist observations by evidence type in a scalable way. This procedure has yielded useful metadata that can enhance the downstream analysis of more than 1 million citizen science records. These data can be used to filter iNaturalist data to meet more stringent data standards—for example, in an analysis highly sensitive to false positive errors in the data, it may be advantageous to exclude scat detections of a species, which may be prone to misclassification [18]. These data could be used as covariates in distribution models to represent how a species may be more or less detectable depending on the sampling method. Further study is needed to understand the implications of various representations of evidence type in a statistical model. Finally, these data support analyses of individual, regional, temporal, or cultural differences in how observers engage with the natural world, shedding light on the impact of iNaturalist on the human-wildlife relationship [5]. These data could also serve as a reference for community members who want to quickly find sign observations within iNaturalist to add annotations after manually confirming the classification.

We provide confidence scores for each classification (0–1, summing to 1 across categories) and recommend that practitioners consider filtering observations by confidence level for their applications, such as only including observations with a confidence score above 0.9. The appropriate threshold will depend on the application, balancing sensitivity to false positives (for which there will be fewer if a higher threshold is used) with data requirements (since lower thresholds will admit more total observations), so we encourage applicants of this model to test the sensitivity of their results to their choice of confidence score threshold. Rescaling of confidence thresholds or the explicit inclusion of confidence scores in models could improve the robustness of ecological results derived from these data [19,20].

Variation in reporting rates by order suggests that ecological processes may drive variation in evidence type (Fig 2C). While examining photos during manual annotation, we generated hypotheses to explain these patterns. For example, shrews in the order Eulipotyphla are rarely encountered alive by humans, and many iNaturalist observations appeared to show individuals that were killed by cats. Elusive but charismatic species in the order Carnivora showed the second-highest rate of track-based detection, reflecting that canines, felines, and raccoons are often observed via their prints. The order Rodentia was associated with the highest rate of “other” observations, reflecting the large number of beaver chew marks reported in iNaturalist, in addition to ground squirrel burrows and tree squirrel nests sometimes reported. Readers should treat these interpretations as hypotheses in support of future traits-based analyses of species-level evidence type rates. Such an analysis could also generate useful recommendations for downstream model design.

One challenging dimension of classification both by the model and human observers was distinguishing between truly dead animals and those that only appear dead due to visual context. For example, opossums may mimic death as a natural defense behavior, leading to misclassification. Similarly, bats, small rodents, and shrews were often photographed while being handled for research, where their limp posture can resemble that of a dead animal. These photographs can even be difficult to classify for humans without the additional context clues that indicate the animal has been captured alive. A more specialized model only trained on small mammals (or additional training data added to our model) would likely rectify this problem. Another potential discrepancy is our choice to classify animal parts, such as shed antlers, in the “dead” category along with bones, although the animal may still be alive. Additionally, because we classified only the first observation of each image, there may be rare classification errors for cases where additional photos contain other evidence, such as an iNaturalist observation that contains both a photo of tracks and a photo of scat.

This dataset is intended to supplement the built-in iNaturalist annotation system, which allows users to optionally tag observations with metadata describing evidence type. Since initiating this project, the rate of evidence type annotation in iNaturalist observations has increased, and participants on iNaturalist show growing interest in annotation as a key aspect of the iNaturalist data curation process. The primary advantage of the model here presented is that it is complete and consistent, capable of producing an evidence type classification under a consistent definition for any observation associated with a photo. However, this dataset has some disadvantages compared to iNaturalist’s annotation system: 1) it produces classes that have not been vetted by a human and without input from the observer; 2) it uses a more restricted set of annotations than is available on iNaturalist; and 3) it is developed and presented only in reference to photos licensed for scientific use. The future of evidence type classification on iNaturalist may one day involve a system of feedback between machine learning and human input yielding the advantages of both approaches, just as the species identification system does.

Materials and methods

iNaturalist data curation

For training, we batch-exported data from iNaturalist.org in January 2023 by filtering for observations of mammals in North America with an observation date from January 1, 1900 to December 31, 2022. This initial dataset contained 1,512,795 unique Research Grade observations. We used each record’s observation ID to download metadata from the iNaturalist Open Dataset (iNOD) via the Registry of Open Data on Amazon Web Services [21]. The iNOD only includes observations with images licensed under Creative Commons or Public Domain terms (CC0, CC-BY, CC-BY-SA, CC-BY-NC, CC-BY-NC-SA, CC-BY-ND, and CC-BY-NC-ND). We then filtered our observation dataset to retain only observations for which the primary photo was available through iNOD. We downloaded the photos using a custom Python script designed to retrieve and organize the photos. After manually developing the training dataset, we updated our full dataset by retrieving all records through February 27, 2024, following the same method described above.

We accessed a targeted subset of annotated data to quickly amass training images representing the four less common evidence types (dead animal, tracks, scat, other sign) that we then manually reviewed. We used the iNaturalist API (https://api.inaturalist.org/v1/docs/) to access annotations on observations that were not available within the iNaturalist export tool or the Global Biodiversity Information Facility at the time (note that the iNaturalist GBIF product now includes annotations). For the dead animal category, we separately downloaded observations with the annotations ‘Alive or Dead: Dead’ and ‘Evidence of Presence: Bone’. For tracks and scat we used ‘Evidence of Presence: Track’ and ‘Evidence of Presence: Scat’, respectively. We also exported all of the observations from the North American Animal Tracks Database (https://www.inaturalist.org/projects/north-american-animal-tracks-database), which is a project within iNaturalist that contains observations with both tracks and sign evidence types. To ensure that sufficient observations were available for training on the other sign category, we augmented the training data with extra observations of select common species that make other types of sign: pocket gophers (Thomomys spp., mounds of dirt); beaver (Castor canadensis, chew marks on trees, dams); black bear (Ursus americanus, scratching); woodrats (Neotoma spp., stick nests); armadillo (Dasypus novemcinctus, burrow); gray squirrel (Sciurus carolinensis, nests); deer (Odocoileus spp., tree rubs); and badger (Taxidea taxus, burrow).

After classifying the full dataset, in July 2025 we separately queried the iNaturalist API for annotations associated with 2,000 random observations that we classified as each of live animals, dead animals, tracks, and scat. We recorded the rate at which annotations in iNaturalist matched our classifications and recorded the fraction of observations that had any annotations at all.

Development of training and validation data

We used Label Studio, a self-hosted open-source annotation platform, to manually annotate images for training and validation. Each image was manually reviewed and assigned to one of the five evidence type classes. In total, we manually annotated 64,120 images, including 22,301 labeled as live animals, 24,105 as dead animals, 9,193 as tracks, 4,077 as scat, and 4,344 as other. When annotators had trouble selecting a category based solely on the image, they cross-checked associated metadata and additional images from the same observation to improve labeling accuracy. We then split the labeled dataset into training and validation sets, stratifying by evidence type to preserve the distribution of classes across both subsets. We used 80% of the labeled data for training and reserved 20% for validation to assess model performance.

During the data curation process, we excluded some images (1,179) from the training dataset due to issues such as heavy blurring, severe underexposure, or photos of computer screens displaying images rather than direct wildlife observations, which were unlikely to provide useful visual features for training. While these observations appear in the iNaturalist dataset, methodological best practices suggest that including them in the training dataset hinders overall model performance. Additionally, during early iterations of training, we observed a substantial number of bat (Chiroptera) observations being classified as “dead” even when the animal was alive. This was because a large proportion of bat images showed individuals being held in human hands, often appearing lifeless due to the posture or context. To avoid introducing systematic confusion and mislabeling, we opted to exclude all bat species from the final dataset used for model training and inference. Future work could reproduce our methods to create a bat-specific model and appropriate classes for this taxon.

Machine learning classification

We trained an image classification model to categorize iNaturalist mammal observations by evidence type using the Ultralytics YOLOv8 framework (version 8.2.48), specifically the YOLOv8x-cls architecture with 133 layers and approximately 56 million parameters. Training was conducted on an NVIDIA GeForce RTX 4090 GPU using PyTorch 2.3.1 with CUDA acceleration, using a dataset of 64,120 labeled images split into stratified training and validation subsets. Key training parameters included an image size of 224 × 224 pixels, batch size of 128, up to 100 epochs with early stopping after 50 epochs without improvement (best model achieved at epoch 79), an initial learning rate of 0.01 with a learning rate factor of 0.01, momentum of 0.937, weight decay of 0.0005, and stochastic gradient descent (SGD) as the optimizer. We applied data augmentation strategies, including horizontal flips (0.5 probability), HSV adjustments (hue: 0.015, saturation: 0.7, value: 0.4), random translations (0.1), and erasing (0.4), as well as Mosaic and RandAugment policies to improve generalization. Mixed precision training (AMP) was enabled to accelerate training, and deterministic mode was set to ensure reproducibility.

Performance metrics

Model performance was evaluated on a held-out validation set using standard classification metrics. The final YOLOv8x-cls model, which we named AiNaType-v8x, achieved a top-1 classification accuracy (the percent of observations for which the top predicted category matched the true category) of 95.01%. A confusion matrix was generated to assess the model’s ability to distinguish among the five evidence types (Fig 2A), which confirmed strong class-wise performance. The model struggled most at differentiating between live and dead animals, but still only misclassified dead animals as live and vice versa 4% of the time.

Acknowledgments

Thanks to Michael V. Cove for providing example photos used in Fig 1. Thanks to the North Carolina Museum of Natural Sciences Biodiversity Lab for resources and support.

References

  1. 1. Pocock MJO, Chandler M, Bonney R, Thornhill I, Albin A, August T, et al. A vision for global biodiversity monitoring with citizen science. In: Bohan DA, Dumbrell AJ, Woodward G, Jackson M. Advances in ecological research. Academic Press. 2018. 169–223.
  2. 2. Miller DAW, Pacifici K, Sanderlin JS, Reich BJ. The recent past and promising future for data integration methods to estimate species’ distributions. Methods Ecol Evol. 2019;10(1):22–37.
  3. 3. Carlen EJ, Estien CO, Caspi T, Perkins D, Goldstein BR, Kreling SES, et al. A framework for contextualizing social‐ecological biases in contributory science data. People and Nature. 2024;6(2):377–90.
  4. 4. Chapman M, Goldstein BR, Schell CJ, Brashares JS, Carter NH, Ellis-Soto D, et al. Biodiversity monitoring for a just planetary future. Science. 2024;383(6678):34–6. pmid:38175872
  5. 5. Di Cecco GJ, Barve V, Belitz MW, Stucky BJ, Guralnick RP, Hurlbert AH. Observing the Observers: How Participants Contribute Data to iNaturalist and Implications for Biodiversity Science. BioScience. 2021;71(11):1179–88.
  6. 6. Goldstein BR, Stoudt S. Evidence of novelty and specialization behavior in participatory science reporting. Oikos. 2025;2025(6).
  7. 7. Stoudt S, Goldstein BR, de Valpine P. Identifying engaging bird species and traits with community science observations. Proc Natl Acad Sci U S A. 2022;119(16):e2110156119. pmid:35412904
  8. 8. Goldstein BR, Stoudt S, Lewthwaite JM, Shirey V, Mendoza E, Guzman LM. Logistical and preference bias in participatory science butterfly data. Front Ecol Environ. 2024;e2783.
  9. 9. Kays R, Lasky M, Allen ML, Dowler RC, Hawkins MTR, Hope AG, et al. Which mammals can be identified from camera traps and crowdsourced photographs?. Journal of Mammalogy. 2022;103(4):767–75.
  10. 10. Mason BM, Mesaglio T, Barratt Heitmann J, Chandler M, Chowdhury S, Gorta SBZ, et al. iNaturalist accelerates biodiversity research. Bioscience. 2025;75(11):953–65. pmid:41312290
  11. 11. What is the Data Quality Assessment and how do observations qualify to become “Research Grade”?. iNaturalist Help. 2025. https://help.inaturalist.org/en/support/solutions/articles/151000169936-what-is-the-data-quality-assessment-and-how-do-observations-qualify-to-become-research-grade-
  12. 12. Campbell CJ, Barve V, Belitz MW, Doby JR, White E, Seltzer C, et al. Identifying the identifiers: How iNaturalist facilitates collaborative, research-relevant data generation and why it matters for biodiversity science. BioScience. 2023;73(7):533–41.
  13. 13. Ford AT, Fahrig L. Diet and body size of North American mammal road mortalities. Transportation Research Part D: Transport and Environment. 2007;12(7):498–505.
  14. 14. Elbroch M, McFarland C. Mammal tracks & sign: a guide to North American species. Rowman & Littlefield. 2019.
  15. 15. Christin S, Hervet É, Lecomte N. Applications for deep learning in ecology. Methods Ecol Evol. 2019;10(10):1632–44.
  16. 16. Norouzzadeh MS, Nguyen A, Kosmala M, Swanson A, Palmer MS, Packer C, et al. Automatically identifying, counting, and describing wild animals in camera-trap images with deep learning. Proc Natl Acad Sci U S A. 2018;115(25):E5716–25. pmid:29871948
  17. 17. Jocher G, Chaurasia A, Qiu J. Ultralytics YOLOv8. 2023. https://github.com/ultralytics/ultralytics
  18. 18. Morin DJ, Higdon SD, Holub JL, Montague DM, Fies ML, Waits LP, et al. Bias in carnivore diet analysis resulting from misclassification of predator scats based on field identification. Wildl Soc Bull. 2016;40:669–77.
  19. 19. Rhinehart TA, Turek D, Kitzes J. A continuous‐score occupancy model that incorporates uncertain machine learning output from autonomous biodiversity surveys. Methods Ecol Evol. 2022;13(8):1778–89.
  20. 20. Dussert G, Chamaillé‐Jammes S, Dray S, Miele V. Being confident in confidence scores: calibration in deep learning models for camera trap image sequences. Remote Sens Ecol Conserv. 2024;11(1):88–99.
  21. 21. iNaturalist Licensed Observation Images. iNaturalist Licensed Observation Images. 2024.