When biologists identify a specimen, they do not study the whole object at one resolution. They look at its overall shape. Then they zoom in on a few named, corresponding places: the apex and aperture of a shell, the base and margin of a leaf. These places are "homologous": they are the same anatomical part on every specimen. Because a taxonomist compares the aperture of this shell to the aperture of that one, a handful of reference specimens can be enough to tell a rare species apart. Deep networks that mix a global view with zoomed-in detail choose where to zoom in other ways. Some use a fixed center crop, some use concentric patches around the object's center of mass, and some use attention that is learned separately for each image. None of these guarantees that crop k on one specimen shows the same part as crop k on another.
This note proposes to put high-resolution crops at automatically detected anatomical landmarks. Each crop is cut in a shape-normalized frame. Each crop is then compared part-to-part against species prototypes, while a global view of the whole specimen exchanges information with all the parts in both directions. The claim is narrow and can be shown false. Homologous anchoring should give little advantage on common species, where learned attention has enough examples to find useful regions without help. It should give a large advantage on rare and never-seen species, which are where existing multi-scale and long-tail methods fail.
Core Claim
Earlier global-plus-local systems disagree about where the local detail comes from, but they share one property: the local crops are not anatomically corresponding across specimens. Two-view fine-grained classification of plant species classifies the genus from the leaf silhouette with a Siamese metric network. It then classifies the species from a square crop at the leaf's center. Because this is a cascade, a genus error cannot be recovered, and the method misses diagnostic traits that sit at the margin or base. A Guided Multi-Scale Categorization of Plant Species in Natural Images (WTPlant) segments the plant and averages predictions over ten concentric crops around one centroid. Its scales never interact, and it cannot isolate two separate organs. Context-Semantic Quality Awareness Network for fine-grained visual categorization (CSQA-Net) learns to find parts and applies cross-attention across parts and scales. It reaches 92.6% on CUB-200-2011 with a Swin-Base backbone, but its parts are whatever the training signal finds discriminative. That works well when data are plentiful, and there is no reason to expect it to work when a species has three images.
Multi-Context Deep Network for Angle-Closure Glaucoma Screening in Anterior Segment OCT is the one system whose local crop is anatomically defined. It crops the anterior chamber angle and fuses a global stream, the local stream, and 24 clinical measurements, raising AUC from 0.9208 (local only) to 0.9456. It relies on fixed clinical landmarks for a single anatomy and uses a closed two-class label set. We take its design as the template: an anatomically placed crop plus explicit morphometric measurements. We extend it to automatically detected landmarks, to many parts, and to long-tailed, open-set taxonomy.
The new element is the combination of three things. Landmarks are placed by a detector with a shape prior. Crops are cut in a frame normalized by Procrustes alignment, the standard morphometric step that removes position, rotation and scale before shapes are compared. Classification uses part-wise metric matching, so that a few examples of a rare species already give meaningful prototypes for each part.
Research Program
The system has four components.
The first is a 2D landmark detector for shells and leaves. It is trained on a small expert-annotated set: on the order of a few hundred specimens per domain, which is our annotation budget, not a figure from the literature. Shell landmarks are the apex, the aperture lip and suture points. Leaf landmarks are the apex, base, petiole junction and margin points. Following A Registration and Deep Learning Approach to Automated Landmark Detection for Geometric Morphometrics, we train with a loss that balances coordinate error against thin-plate spline bending energy, which penalizes implausibly warped shapes. That paper supplies our method. It also supplies a warning: its deep refinement pulled extreme shapes toward the mean. This matters directly here, because rare species are often morphological outliers.
The second component cuts a full-resolution crop at each landmark, rotated and scaled into the Procrustes frame. Corresponding crops are then aligned across specimens.
The third component is the model that combines the parts. A downsampled global view becomes one token, and each landmark crop becomes one part token. Bidirectional cross-attention lets the global token query the parts and lets the parts query the global token, so detail can correct a coarse decision instead of being trapped by it. The Procrustes coordinates themselves are added as a separate feature, much as MCDN adds its clinical measurements.
The fourth component is the classifier. Species prototypes are defined per landmark, and a query's distance to a species is the sum of its part-wise distances plus a global term. To handle the long tail we add the frequency-scaled margins of Towards AI-Guided Open-World Ecological Taxonomic Classification (TaxoNet). That paper motivates this work in two ways: it documents how common taxa crowd rare ones out of the embedding space, and it names single-view input as the remaining bottleneck.
Baselines
All baselines share the same backbones (ResNet-50 and Swin-Base), the same training images, and the same hyperparameter search budget. Each method gets the same number of tuning trials. Crucially, every method processes the same total number of input pixels per specimen. Without this pixel matching, any gain could simply come from seeing more pixels.
The naive reference is a single backbone fine-tuned on the whole specimen resized to the full pixel budget, trained with cross-entropy and standard random-crop augmentation. A second reference is the same model with the taxonomic loss of Deep Learning with Taxonomic Loss for Plant Identification, which sums species probabilities up the family and genus tree. That paper reports 71.15% species accuracy on PlantCLEF 2015 with SENet-154, up from 59.69% with cross-entropy. That evaluation covers all of PlantCLEF 2015, not the leaf-scan subset we use, so we rerun it on our splits instead of quoting it.
The global-plus-center-crop baseline reimplements the two-view method. We run it both as published (a cascade) and as a joint model, which separates the cost of cascading from the cost of where the crop is placed. On the PlantCLEF 2015 leaf-scan subset it reports 0.87 recognition accuracy against 0.78 for VGG16. On LeafSnap it reports 0.96 against 0.88, and it retains accuracy on 184 unseen species. These are the published numbers to beat on those protocols.
WTPlant's concentric crops with averaged scores represent geometry-guided sampling without homology. The strongest competitor overall is CSQA-Net with learned parts and cross-scale attention. No reported result was found on Lacuna for CSQA-Net on the shell dataset, LeafSnap or PlantCLEF leaf scans, so we will run it ourselves with its released settings, a Swin-Base backbone, and the same pixel budget. It is the strongest competitor because it already has everything we propose except homology.
On shells, the classical reference is the hand-engineered pipeline of A shell dataset, for shell features extraction and recognition. On its 134-species validation subset it reports 77.39% accuracy (1-nearest-neighbour on fused color, shape and texture features) and a 78.23% F1 with a random forest. Shape alone, measured as Centroid Contour Distance, reaches about 66%.
Three ablations isolate homology itself. The first keeps the same number and size of crops but places them at random points on the specimen. The second keeps crops at landmarks but randomly permutes which crop goes into which part slot for each specimen, so the content is unchanged and only the correspondence is broken. The third keeps landmark crops but drops shape normalization and part-wise prototypes, using one pooled embedding instead. "Beating" the strongest competitor means a significant gain in tail-class macro-recall and in few-shot novel-species accuracy over CSQA-Net plus TaxoNet margins, with no more than a small loss on common classes, over three or more seeds. The ablations must also show that the gain disappears when correspondence is permuted.
Why not just…?
Why not just let learned attention find the parts, as CSQA-Net does? This is the real threat. On common species we expect learned parts to match or beat landmarks, and we will report that outcome honestly if it happens. Our argument is limited to the regime where learned part-finding has little training signal: tail classes and unseen species. In that regime, part-to-part correspondence is what lets a few examples act as prototypes. The decisive evidence is a plot of accuracy against training examples per class. If CSQA-Net with TaxoNet margins closes the gap on the tail, the claim fails.
Why not just feed a higher-resolution whole image to a strong backbone? Existing comparisons against single-view training favor multi-scale views. WTPlant raised ResNet-18 accuracy on UHManoa100 from 39.21% to 65.11%. The glaucoma network gained about 0.05 AUC over its global stream alone. Neither comparison matched pixel budgets, however, so our naive baseline is run at the full matched budget to settle the question.
Why not just use morphometric shape coordinates with a simple classifier? Shape is informative but runs out of information. Hand-engineered shape descriptors reach about 66% on shells, and all fused hand-engineered features together reach 77.39%. Our model includes Procrustes coordinates as an input, and we report a coordinates-only classifier so the contribution of the high-resolution parts can be measured directly.
Why not just add a taxonomic hierarchy loss? That loss improves the global model but adds no new visual evidence. TaxoNet's analysis attributes the remaining errors to traits invisible in a single view. We include the hierarchy loss in both the baselines and our model, so it cannot explain any difference between them.
Proposed Experiments
The main benchmarks are the shell dataset (7,894 species, with frontal and lateral views), the PlantCLEF 2015 leaf scans, and LeafSnap. On shells we use the full long-tailed collection with frequency-binned evaluation, not only the balanced subset. On PlantCLEF 2015 and LeafSnap we follow the two-view protocols, including the 184-unseen-species open-set test. We report top-1 accuracy, macro-recall per frequency bin, accuracy when new species are given 1 or 5 examples each, and the true-negative rate for rejecting unknown taxa.
The first decisive check is the slope. The advantage of homologous crops over CSQA-Net should grow as the number of examples per class falls, and the permuted-slot ablation should erase that advantage.
The second check addresses the collision between averaging and outliers raised by the landmark paper, where averaging over several reference atlases pulled individual specimens toward the mean shape. We bin test specimens by their Procrustes distance from the mean shape. For each bin we measure landmark error and classification accuracy, both for our model and for WTPlant's averaging over scales. If landmark error rises sharply for outlier shapes and accuracy falls with it, the detector's pull toward the mean becomes the bottleneck. We would then test refining each landmark locally at full resolution before cutting crops.
The third check tests robustness to cascading. We inject genus errors into the global view and compare the joint model with the cascaded two-view baseline. This measures how often part evidence overturns a wrong coarse decision.
References
- Two-view fine-grained classification of plant species
- A Guided Multi-Scale Categorization of Plant Species in Natural Images
- Context-Semantic Quality Awareness Network for fine-grained visual categorization
- Multi-context Deep Network for Angle-Closure Glaucoma Screening in Anterior Segment OCT
- A Registration and Deep Learning Approach to Automated Landmark Detection for Geometric Morphometrics
- Towards AI-Guided Open-World Ecological Taxonomic Classification
- Deep Learning with Taxonomic Loss for Plant Identification
- A shell dataset, for shell features extraction and recognition