FISHER: Gradient-Decoupled Hierarchical Multi-Task Learning for Fine-Grained Aquatic Species Recognition

Multi-Task Learning Fine-Grained Recognition Fish-Vista
1VinUniversity, Vietnam   2Chonnam National University, South Korea   3Trinity College Dublin, Ireland
*Equal Contribution
FISHER architecture: shared backbone → segmentation → trait → species, with gradient decoupling at each boundary

Fig. 1. Overview of the FISHER architecture. Features are extracted by a shared backbone and refined hierarchically from segmentation to trait prediction and species classification. Red dashed lines denote gradient decoupling (stop-gradient) used to mitigate negative transfer.

Abstract

Fine-grained recognition of aquatic species is challenging due to subtle morphological differences and long-tailed distributions, where ultra-rare species are underrepresented. A natural solution is to jointly model segmentation, morphological traits, and species classification within a multi-task learning (MTL) framework. However, existing MTL methods suffer from negative transfer caused by gradient conflicts between low-level dense tasks and high-level classification objectives, degrading fine-grained representations.

To address this, we identify gradient interference across hierarchical tasks as a fundamental bottleneck and propose FISHER (Fine-grained Integrated Segmentation and Hierarchical Learning for Recognition), a gradient-decoupled hierarchical MTL framework. FISHER aligns optimization with the biological hierarchy of aquatic species by enforcing a unidirectional information flow — segmentation → trait prediction → species classification — while explicitly decoupling gradients across task boundaries. This prevents high-level objectives from corrupting low-level morphological representations, effectively mitigating negative transfer while preserving the benefits of shared supervision.

Furthermore, we introduce a prototype-based segmentation head with orthogonality regularization to encourage disentangled anatomical representations, and employ homoscedastic uncertainty weighting to dynamically balance task contributions during training. Extensive experiments on the Fish-Vista benchmark demonstrate that FISHER achieves 97.7% mAP for trait identification on unseen species and improves ultra-rare species classification accuracy by 13.4% over strong baselines.

Key Results on Fish-Vista

97.7%
mAP — Trait ID on Unseen Species
+13.4%
Accuracy — Ultra-Rare Species
81.4%
mIoU — Anatomical Segmentation
60.8
F1 — Species Classification

Why Hierarchical Gradient Decoupling?

Parallel MTL vs FISHER hierarchical MTL

Fig. 2. Parallel MTL (left) learns segmentation, traits, and species independently from shared features. FISHER (right) models a hierarchical dependency where segmentation informs traits and traits guide classification.

Gradient cosine similarity analysis between tasks

Fig. 3. Gradient cosine similarity between the segmentation task and the species classification task throughout training. Negative values confirm destructive gradient interference — the core bottleneck FISHER addresses.

Three design principles of FISHER

  1. Gradient Decoupling at Task Boundaries. Stop-gradient operations at the segmentation→trait and trait→species interfaces prevent high-level classification gradients from corrupting fine-grained anatomical features.
  2. Prototype-Based Segmentation with Orthogonality. Learnable class prototypes with orthogonality regularization yield compact, disentangled, and interpretable representations of anatomical parts (fins, head, barbels, …).
  3. Homoscedastic Uncertainty Weighting. Adaptive per-task weights automatically down-weight the noisy species classification signal (dominant under long-tailed distributions) and up-weight stable segmentation and trait signals.

Qualitative Results

Representation Analysis

t-SNE embedding comparison between Standard MTL and FISHER

t-SNE embeddings. FISHER produces tighter, better-separated species clusters compared to standard parallel MTL, especially for rare and ultra-rare species.

Prototype correlation matrix

Prototype correlation. The orthogonality constraint enforces near-zero off-diagonal correlations between anatomical part prototypes, yielding disentangled representations.

Quantitative Comparison

Species Classification (Fish-Vista)

Model F1 Major Acc. Neutral Acc. Minor Acc. Ultra-Rare Acc.
VGG-1949.793.583.074.245.9
ResNeXt-5044.491.478.369.839.1
Swin-B-22k55.192.686.279.650.4
MaxViT-T57.894.486.781.453.9
TransFG50.394.586.675.545.3
MTLSwinB57.995.289.085.960.5
FISHER† (Ours)60.895.589.086.263.8

Trait Identification on Unseen Species (OOD — mAP %)

ModelmAPAdiposePelvicBarbelDorsal
EfficientNet-v283.8695.4588.1083.9767.91
MaxViT-T75.4287.1881.3076.0357.15
Q2L (Swin-22k SH)88.4198.6193.0697.3064.65
MTLSwinB92.7198.4199.9595.7476.75
FISHER† (Ours)97.7298.6299.9599.4392.90

Semantic Segmentation (mIoU %)

ModelSizemIoUHeadEyeDorsalCaudalBarbel
YOLOv832083.184.583.188.089.626.7
Mask2Former32081.686.479.187.688.80.0
MTLSwinB22480.487.882.791.592.934.5
FISHER† (Ours)22479.888.383.291.692.932.9
FISHER† (Ours)32081.488.985.892.493.336.3

BibTeX

@article{Nguyen2026FISHER,
  title         = {FISHER: Gradient-Decoupled Hierarchical Multi-Task Learning
                  for Fine-Grained Aquatic Species Recognition},
  author        = {Nguyen, Phuc H. and Ngo, Ba Hung and Tran, Mai Phuong
                  and Do, Cuong D. and Nguyen, Van-Dinh},
  journal       = {arXiv preprint arXiv:2607.20523},
  year          = {2026},
  eprint        = {2607.20523},
  archivePrefix = {arXiv},
  primaryClass  = {q-bio.QM},
  doi           = {10.48550/arXiv.2607.20523}
}