Understanding the AI model

How the model works

The AI model classifies the benthic attribute at each point in your photos . It is trained using photos and confirmed annotations from MERMAID and CoralNet users. These classifications give you a starting point for reviewing your benthic photo quadrats. You still need to review and confirm every point before validating and submitting your data.

The AI model (also described as a patch classifier),  was developed in collaboration with CoralNet, using its pyspacer framework. For more information about the framework, see:

Chen, Q., Beijbom, O., Chan, S., Bouwmeester, J., & Kriegman, D. (2021). A New Deep Learning Engine for CoralNet. In Proceedings of the International Conference on Computer Vision (ICCV) Workshops.

V1 combines publicly available CoralNet training data with uploaded photos and point annotations confirmed by MERMAID users. After selecting annotations that match the v1 label set, 47 MERMAID projects contributed 242,793 annotation points for training data. Five additional projects were kept separate to test the model on uploaded photos and confirmed human annotations in MERMAID it had not seen during training.

V1 uses a minimum-support rule to decide which labels to learn separately. Labels with fewer than 500 annotated points or examples from fewer than 10 sources are grouped into their broader parent category (e.g., Acropora → Hard coral = parent category). This means the model may suggest a broad category where there are too few examples to learn a more detailed label.

Citation Suggestion
Please cite the reference above in any publication or analysis that presents results derived from the MERMAID AI Image Classification (Beta) feature.

How V1 compares with Beta

The comparison below used 161,927 annotated points from 106 CoralNet sources that neither V1 or Beta model saw during training. Results were weighted to reflect how common each label was in these held-out surveys. Broad-category accuracy measures whether the model chose the correct benthic group, such as Hard coral or Sand. Exact-label accuracy measures whether it chose the correct individual label.

  • Correct benthic category: V1 achieved 68.3%, compared with 54.8% for Beta. This is an improvement of 13.5 percentage points, with a 95% confidence interval of 9.0 to 18.9 percentage points.

  • Correct exact label, for labels both models can name: V1 achieved 54.0%, compared with 41.8% for Beta. This comparison excludes labels that Beta cannot predict.

  • Average error in estimated percent cover: V1 differed from the human annotations by 1.1 percentage points per category, compared with 3.8 for Beta. This result pools the unseen CoralNet points across 11 broad categories; it does not describe the error for every individual transect.

V1 had higher category accuracy on 81 of the 106 unseen CoralNet sources. Beta was better on 20, and the models tied on five. Performance still varies between surveys.

V1 also had a higher F1 score in all 11 broad categories represented in this comparison (hard coral, soft coral, macroalgae, turf, CCA, sand, rubble, bare substrate, seagrass, cyanobacteria, other invertebrates). F1 balances how often a model finds a category when it is present and how often it is correct when it predicts that category. For Hard coral, F1 increased from 81.9% to 91.9%; for Soft coral, it increased from 47.6% to 76.7%. F1 is a different measure from accuracy.

Understanding confidence scores

A confidence score describes how strongly the model supports a prediction. It is not a guarantee that the prediction is correct. In the unseen CoralNet category-level evaluation, the gap between stated confidence and observed accuracy fell from 21.6 percentage points for Beta to 8.6 for v1. V1 was less overconfident in this test.

When the evaluation retained only predictions that met 90% category accuracy, it could include 53% of points for v1, compared with 17% for Beta. This is an evaluation result, not an automatic confirmation feature or a new setting in Collect. Continue to review and confirm every point.

Where you still need to take care

The results were different on the five held-out MERMAID projects, which contained 4,392 annotated points. With the real survey mix, v1's category accuracy was 54.7%, compared with 65.2% for Beta. The confidence interval for this difference included no change, and the small number of projects limits how broadly the result can be applied. These tests do not support a claim that v1 is more accurate on MERMAID surveys.

Some labels remain difficult to classify. On unseen CoralNet surveys, results were weaker for categories such as Bare substrate, Turf algae and Crustose coralline algae than for Hard coral. Several new labels, including Euphyllia, Tubastraea, Turbinaria and giant clams, also performed poorly. An expanded label set does not mean every label is equally reliable.

Tip: Compare each suggested benthic attribute label with what you can see in your photo, even when the confidence score is high. Your photo quality, reef community and survey conditions may differ from those represented in the evaluation.

Benthic attribute labels used in the model

The AI model is currently trained on both top-level benthic categories and coral genera with growth forms (for Porites only), listed below. MERMAID aims to continuously improve and expand the benthic attributes used in the training and model classifications. We will continue to update this list, as photos and confirmed annotations for more benthic attributes are added by MERMAID users. 

V1 can predict 80 benthic labels, compared with 51 in Beta. The updated set includes 44 labels that were not available in Beta, including 30 additional hard coral genera and families. Other Beta labels have been replaced or consolidated, so the increase in the total is smaller than the number of new labels.

The label set includes broad benthic groups, coral genera and families, named macroalgae, and other invertebrates. For example, it distinguishes Dictyota, Halimeda, Lobophora, Padina, Sargassum and Turbinaria-algae rather than assigning them all to Macroalgae.

Top-level benthic categories:

  1. Bare substrate

  2. Corallimorph

  3. Crustose coralline algae

  4. Cyanobacteria

  5. Hard coral

  6. Macroalgae

  7. Other invertebrates

  8. Rubble

  9. Sand

  10. Seagrass

  11. Silt

  12. Soft coral

  13. Turf algae

Coral and nacroalgae genera and family:

A–F: Acanthastrea; Acropora; Agariciidae; Anemone; Astrea; Astreopora; Astrocoeniidae; Colpophyllia; Coscinaraea; Cyanobacteria; Cyphastrea; Dictyota; Diploastrea; Dipsastraea; Echinophyllia; Echinopora; Euphyllia; Favia; Favites; Fungia; Fungiidae.

G–M: Galaxea; Gardineroseris; Goniastrea; Goniopora; Gorgonian; Halimeda; Heliopora; Herpolitha; Hydnophora; Isopora; Leptastrea; Leptoria; Leptoseris; Lobophora; Lobophyllia; Madracis; Meandrinidae; Merulina; Millepora; Montastraea; Montipora; Mussidae; Mycedium.

O–P: Oculinidae; Pachyseris; Padina; Pavona; Pectinia; Platygyra; Plesiastrea; Pocillopora; Porites; Porites (Branching); Porites (Massive); Psammocora.

R–Z: Sea urchin; Seriatopora; Siderastrea; Stylophora; Symphyllia; Tridacna giant clam; Tubastraea; Tubipora; Turbinaria-algae; Turbinaria-coral; Zoanthid.

Growth forms: 

V1 retains only Porites (Branching) and Porites (Massive) as separate growth form labels. Other coral labels identify the genus or family without a separate growth form.