Cross-modal learning for plankton recognition
Organizations: Lappeenranta-Lahti University of Technology LUT, Lappeenranta, Finland · Finnish Environment Institute, Helsinki, Finland · Faculty of Information Technology, Brno University of Technology, Czechia
Abstract
This paper considers self-supervised cross-modal coordination as a strategy enabling utilization of multiple modalities and large volumes of unlabeled plankton data to build models for plankton recognition. Automated imaging instruments facilitate the continuous collection of plankton image data on a large scale. Current methods for automatic plankton image recognition rely primarily on supervised approaches, which require labeled training sets that are labor-intensive to collect. On the other hand, some modern plankton imaging instruments complement image information with optical measurement data, such as scatter and fluorescence profiles, which currently are not widely utilized in plankton recognition. In this work, we explore the possibility of using such measurement data to guide the learning process without requiring manual labeling. Inspired by the concepts behind Contrastive Language-Image Pre-training, we train encoders for both modalities using only binary supervisory information indicating whether a given image and profile originate from the same particle or from different particles. For plankton recognition, we employ a small labeled gallery of known plankton species combined with a -NN classifier. This approach yields a recognition model that is inherently multimodal, i.e., capable of utilizing information extracted from both image and profile data. We demonstrate that the proposed method achieves high recognition accuracy while requiring only a minimal number of labeled images. Furthermore, we show that the approach outperforms an image-only self-supervised baseline. Code available at https://github.com/Jookare/cross-modal-plankton.
Figures & tables
| Dataset | Instrument | Number of classes | Samples per class | Total |
|---|---|---|---|---|
| LAB | CS-2019-97 | 24 | 543 – 1,285 | 20,050 |
| SEA | CS-2019-97 | 38 | 1 – 2,594 | 9,353 |
| UTO | CS-2021-103 | unknown | unknown | 32,930 |
| Loss | Model | CNN | LSTM | Transformer |
|---|---|---|---|---|
| InfoNCE | EfficientNet B0 | 95.06 0.58 | 89.59 0.67 | 92.11 0.98 |
| ConvNeXt Femto | 94.81 0.90 | 90.10 0.67 | 89.85 3.84 | |
| ViT Tiny | 96.01 0.56 | 90.39 0.66 | 91.80 0.76 |
| Gallery | Test | I | P | I+P |
|---|---|---|---|
| I | 92.73 0.59 | 93.03 0.69 | 94.24 0.59 |
| P | 91.56 0.67 | 94.51 0.83 | 95.42 0.73 |
| I+P | 92.79 0.57 | 94.55 0.82 | 96.01 0.56 |
| Model | LAB SEA | UTO LAB | UTO SEA | |||
|---|---|---|---|---|---|---|
| CNN | Transf. | CNN | Transf. | CNN | Transf. | |
| EfficientNet B0 | 67.57 2.23 | 66.87 2.07 | 84.22 0.99 | 88.35 0.70 | 72.86 1.85 | 69.04 2.01 |
| ConvNeXt Femto | 68.05 2.06 | 64.49 3.42 | 83.73 0.79 | 88.13 0.74 | 70.63 1.77 | 68.90 2.27 |
| ViT Tiny | 66.75 2.21 | 66.42 1.90 | 86.81 0.83 | 88.30 0.71 | 71.75 1.48 | 69.14 1.75 |
| Model | CNN | Transformer |
|---|---|---|
| EfficientNet B0 | 71.05 2.87 | 72.13 2.03 |
| ConvNeXt Femto | 71.77 2.42 | 71.67 1.53 |
| ViT Tiny | 71.37 2.17 | 72.73 1.20 |
| Method | Model | LAB LAB | LAB SEA | UTO LAB | UTO SEA |
|---|---|---|---|---|---|
| DINO | EfficientNet B0 | 79.67 1.42 | 57.30 2.29 | 57.24 0.81 | 63.19 2.29 |
| ConvNeXt Femto | 62.85 2.82 | 55.52 3.29 | 54.76 0.87 | 55.58 1.75 | |
| ViT Tiny | 59.54 2.04 | 54.59 1.83 | 53.24 1.01 | 59.10 2.42 |
| Parameter | Value |
|---|---|
| Input size | 6 |
| Output size | 257 |
| Blocks | [2, 2, 2, 2] |
| Base channels | 32 |
| Dropout | 0.2 |
| Params | 963K |
| Parameter | Value |
|---|---|
| Input size | 6 |
| Output size | 257 |
| Hidden size | 128 |
| N layers | 1 |
| Dropout | 0.2 |
| Params | 264K |
| Parameter | Value |
|---|---|
| Input size | 6 |
| Output size | 129 |
| Hidden size | 128 |
| N heads | 4 |
| N layers | 6 |
| Feedforward Dim | 256 |
| EfficientNet B0 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 89.76 0.65% |
| I | P | 90.95 0.80% |
| I | I+P | 92.01 0.68% |
| P | I | 89.05 0.83% |
| P | P | 93.93 0.69% |
| EfficientNet B0 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 80.58 1.32% |
| I | P | 84.41 1.37% |
| I | I+P | 83.52 1.29% |
| P | I | 79.55 1.20% |
| P | P | 90.79 0.63% |
| EfficientNet B0 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 63.47 2.47% |
| I | P | 29.35 3.80% |
| I | I+P | 64.25 2.72% |
| P | I | 28.58 4.75% |
| P | P | 60.31 2.21% |
| EfficientNet B0 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 69.87 1.21% |
| I | P | 17.54 2.17% |
| I | I+P | 69.81 1.21% |
| P | I | 16.35 1.20% |
| P | P | 80.01 0.95% |
| EfficientNet B0 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 71.04 2.01% |
| I | P | 31.37 3.94% |
| I | I+P | 71.69 2.14% |
| P | I | 21.49 2.01% |
| P | P | 64.73 2.15% |
| EfficientNet B0 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 68.46 2.94% |
| I | P | 30.21 3.37% |
| I | I+P | 68.44 3.23% |
| P | I | 37.15 4.03% |
| P | P | 64.07 2.92% |
| EfficientNet B4 + CNN | ||
|---|---|---|
| Gallery | Test | Accuracy |
| I | I | 73.60 2.23% |
| I | P | 36.73 3.04% |
| I | I+P | 73.99 2.11% |
| P | I | 38.81 3.51% |
| P | P | 65.19 2.31% |
Cross-Modal Representation Learning
Cross-modal representation learning connects information across data types such as images, text, audio, biosignals, and sensor measurements.
See all 210 papers