Manuscript Offprint
arXiv:2609.02282RouteGraph-Mona: Confusion-Aware Routing Fine-Tuning for Mineral Image Classification
Jierui Li¹, Zhiyuan Qi², Hao Zhu¹, Yufan Liu³, Jixian Liu¹, Shaojie Jiang¹, Jianda Wang¹, Yaqi Liu³, Xiaotong Li⁴, Wei Wang⁵
¹ Xidian University, Xi'an, China ² Tsinghua University, Beijing, China ³ Guangdong Laboratory of Artificial Intelligence and Digital Economy (SZ), China jerryli@stu.xidian.edu.cn, qzy24@mails.tsinghua.edu.cn lixiaotong@xidian.edu.cn, wangwei@gml.ac.cn
Abstract. Mineral image classification is important for geological exploration and resource development, but it remains challenging due to substantial intra-class variations in appearance and high inter-class visual similarity. Multi-cognitive Visual Adapter (Mona) is a vision-oriented parameter-efficient adapter that adapts pre-trained visual models by tuning only a few parameters. However, Mona statically aggregates responses from multiple scales, limiting its ability to accommodate sample-specific scale preferences and model confusion among visually similar mineral categories. To address this issue, we propose RouteGraph-Mona, a lightweight route-space regularization method built on Mona. Specifically, we replace Mona's static multi-scale aggregation with sample-adaptive routing. The resulting branch-selection behavior defines a compact routing space that captures each image's scale preferences. We then regularize the resulting routing signatures with class-wise route anchors and confusion-weighted margins. The route anchors encourage class-consistent routing patterns, while the margins promote greater separation between visually similar categories in the routing space. Experiments on three public mineral image datasets with two visual backbones show that RouteGraph-Mona consistently outperforms Mona in mean accuracy and remains competitive with representative fine-tuning methods and mineral image classification baselines. The project repository is available at https://github.com/rgmona/RouteGraph-Mona.
Keywords: Mineral Image Classification · Parameter-Efficient Fine-Tuning · Adaptive Routing · Route-Space Regularization · Mona Adapter
1 Introduction
Mineral image classification is important for geological exploration, resource development, and resource evaluation [23]. Traditional mineral identification relies on expert knowledge and specialized instruments, including Raman spectroscopy, X-ray fluorescence spectroscopy, X-ray diffraction, scanning electron
- Equal contribution. ✉ Corresponding authors.
J. Li, Z. Qi et al.

Fig. 1. Overview of RouteGraph-Mona. The method summarizes adaptive route weights over Mona's multi-scale branches into route signatures and regularizes them with class-wise route anchors and an online confusion graph for confusion-aware route-space separation.
microscopy, and automated mineralogy systems [9,1,2]. Although reliable, these methods are costly and complicated, limiting large-scale, low-cost automated identification [30,15,26]. In contrast, image-based classification is easy to deploy, and existing CNN-based, feature-fusion-based, DenseNet-based, YOLOv8-based, and Transformer-based methods have shown strong potential for mineral recognition [4,15,26,14,21,3].
However, deep classification models require large annotated datasets and substantial computational resources, whereas collecting and labeling mineral images is difficult [4,15,26,14]. Pre-training and fine-tuning address this challenge by transferring visual knowledge from large-scale models to downstream tasks [28,19,18]. Full fine-tuning adapts all model parameters, while parameter-efficient fine-tuning updates only lightweight modules and freezes most of the backbone [11,12,16,10].
Among parameter-efficient visual fine-tuning methods, Mona is a representative vision-oriented adapter [27]. It introduces filtering structures and scaled normalization to improve visual transferability [27]. However, its direct application to mineral image classification remains challenging. Mineral images often exhibit substantial intra-class variations in appearance and high inter-class visual similarity, where samples from the same category may vary in shape, color, and texture, while different categories may share similar local cues [15,26,14]. Under these conditions, Mona's static averaging of multi-scale branch responses may fail to capture image-specific scale preferences, while standard classification-driven adaptation does not explicitly exploit category-level confusion.
We observe that routing weights induced by adaptive multi-scale aggregation define a low-dimensional route space that reflects image-specific preferences over different receptive-field scales. Compared with visual feature embeddings, this space emphasizes branch-selection patterns rather than appearance details, making it suitable for mineral images with substantial intra-class variation. We therefore regularize the routing signatures generated by adaptive routing to promote class-consistent routing patterns and improve separation between visually confusing categories.
To this end, we propose RouteGraph-Mona, a lightweight route-space regularization method for mineral image classification. As illustrated in Fig. 1, RouteGraph-Mona replaces Mona's static multi-scale aggregation with sample-adaptive routing, constructs route signatures from the routing weights, and regularizes them with class-wise route anchors and a confusion-weighted route margin. The route anchors provide category-level route prototypes, while the online confusion graph assigns larger weights to route-margin penalties for visually confusing category pairs. This design improves relative route-space separation without requiring labels, graph updates, or auxiliary losses during inference.
The main contributions are summarized as follows:
We propose RouteGraph-Mona, which introduces sample-adaptive routing into Mona's multi-scale branches and forms a low-dimensional route space for mineral image classification.
We design class-wise route anchors and an online confusion graph to regularize routing signatures, guiding category-level routing tendencies and enlarging route-level separation between visually ambiguous categories.
Experiments on three public mineral image datasets and two visual backbones show that RouteGraph-Mona improves the mean accuracy over Mona across the evaluated settings and achieves competitive performance against representative baselines.
2.1 Mineral Image Classification Methods
Early mineral image classification methods mainly relied on handcrafted descriptors, such as color, texture, and shape features, together with traditional machine learning classifiers [23,30,15]. With the development of deep learning, CNN-based and Transformer-based models have been increasingly used for mineral image recognition, enabling discriminative visual representations to be learned directly from images [4,15,26,14]. Recent studies have further explored DenseNet variants, YOLOv8-CLS, and task-specific transformer models for mineral classification, typically combined with transfer learning, feature fusion, data augmentation, or multi-scale contextual modeling to improve recognition performance [3,21,14]. These methods mainly improve mineral recognition by designing stronger classifiers or feature extractors. In contrast, our work focuses on parameter-efficient adaptation of pre-trained visual backbones, while regularizing class-aware routing behavior in the route space.
J. Li, Z. Qi et al.
2.2 Parameter-Efficient Visual Fine-Tuning
Pre-training and fine-tuning have become a common paradigm for transferring large-scale visual models to downstream recognition tasks [28,19,18]. Although full fine-tuning usually provides strong adaptation, it updates all model parameters and incurs high computational and storage costs. Parameter-efficient fine-tuning methods reduce this cost by updating only a small number of parameters or lightweight modules, such as adapters, LoRA, visual prompt tuning, and other efficient adaptation modules [11,12,16,10]. Mona further introduces vision-friendly filtering structures and scaled normalization, providing an effective adapter design for visual transfer tasks [27]. However, these methods are mainly optimized by the classification objective and do not explicitly model the category-level structure of mineral images. To address this limitation, RouteGraph-Mona regularizes the route space induced by adaptive multi-scale aggregation, using class-wise route anchors and an online confusion graph to improve route-level separation for visually ambiguous mineral categories.
3 Method
3.1 Overall Framework
We propose RouteGraph-Mona, a lightweight route-space regularization method built on Mona and designed for mineral image classification. As shown in Fig. 2(a), RouteGraph-Mona replaces Mona's static averaging of multi-scale branch responses with sample-adaptive routing and summarizes the resulting routing weights into compact route signatures. To avoid directly constraining diverse visual appearances, these signatures describe Mona's branch-selection behavior rather than visual feature embeddings. They are further regularized by class-wise route anchors and an online confusion graph, so that visually confusing categories can be better separated in the route space. During inference, RouteGraph-Mona uses a standard forward pass and predicts from the classification logits.
3.2 Parameter-efficient Fine-tuning Protocol
RouteGraph-Mona follows a parameter-efficient fine-tuning protocol. To adapt pretrained visual backbones to mineral recognition while reducing training cost, we initialize ViT [7] and Swin [20] with ImageNet-1K pretrained weights [6] and freeze the main backbone parameters. Mona modules are inserted after the self-attention and feed-forward sublayers in ViT blocks, and after the window attention and MLP sublayers in Swin blocks.
To keep the overall adaptation lightweight, only task-specific components are updated, including the Mona projections, multi-scale depthwise convolution branches, the scale router, class-wise route anchors, and the classification head. The online confusion graph is updated from model predictions during training and is not a trainable parameter.

(a) The architecture of RouteGraph-Mona backbone.
(b) The fusion module of Mona.
(c) The fusion module of RouteGraph-Mona.
Fig. 2. Architecture of RouteGraph-Mona. (a) Overall backbone with route signatures and route-space regularization. (b) Static average fusion in Mona. (c) Router-based weighted fusion in RouteGraph-Mona; anchors and the confusion graph regularize the route space.
3.3 Routing Signature Generation
Each Mona module contains three depthwise convolution branches with kernel sizes , , and . Let denote the set of branch scales, and let be the response of branch for sample at the -th Mona module. As shown in Fig. 2(b), the original Mona statically averages multi-scale branch responses:
To accommodate sample-specific scale preferences under substantial intra-class appearance variations, RouteGraph-Mona replaces this static fusion with a lightweight sample-adaptive scale router, as illustrated in Fig. 2(c). For each sample, is obtained by fusing a global context (the CLS token for ViT or mean-pooled tokens for Swin) with mean-pooled projected tokens. The router then predicts:
J. Li, Z. Qi et al.
where and . The adaptive multi-scale response is computed as:
When , this formulation reduces to Mona's static average fusion.
For a backbone with Transformer blocks, we collect routing weights from all inserted Mona modules and compute their mean and standard deviation across modules:
The operations in are element-wise. The final route signature is obtained by concatenation followed by normalization:
Thus, compactly characterizes sample-specific routing preferences across Mona modules.
3.4 Class-wise Route Anchors
For mineral images, samples from the same category may differ significantly in shape, color, and texture. To regularize category-level routing tendencies without directly constraining visual feature embeddings, we introduce class-wise route anchors in the route space. These anchors serve as compact route prototypes. In the general formulation, each class c is associated with K learnable route anchors:
In our main experiments, we set , which corresponds to one compact route prototype for each mineral category. This setting is simple, stable, and empirically sufficient for the evaluated mineral datasets, while the formulation still allows multiple anchors when finer-grained route prototypes are required.
The route similarity between sample i and class c is computed using the closest route anchor:
where denotes cosine similarity. When K = 1, this similarity reduces to the cosine similarity between the sample route signature and the class-level route prototype. Let denote the route-level class similarity vector. To encourage samples to align with their category-level route prototype, we define the anchor loss as:
(8) where denotes the cross-entropy loss computed on the route-level similarity vector, and is the route margin.
3.5 Online Confusion-guided RouteGraph Regularization
Some mineral categories are visually similar and are more likely to be confused by the classifier. To focus route-level regularization on such difficult class pairs, we construct an online confusion graph during training. The graph is initialized as a row-normalized off-diagonal matrix, where each entry measures the confusion tendency from class to class .
For each mini-batch, we estimate confusion using the detached prediction distribution, so that the graph reflects current model predictions without introducing extra gradient paths. The diagonal prediction probability is removed and the remaining probabilities are normalized:
where is the predicted probability of class , denotes stop-gradient, and is a small constant for numerical stability. The confusion graph is updated with momentum:
After row-wise re-normalization, a larger indicates stronger confusion from class u to class v.
Using this graph, we impose a confusion-weighted route margin:
This loss assigns larger penalties to confusing category pairs and encourages stronger route-level separation.
3.6 Training Objective and Inference Stage Details
To combine classification learning with route-space regularization, the final training objective is:
where is the standard classification loss and controls the strength of route-level regularization. The anchor loss guides class-level routing tendencies, while the graph loss enlarges the separation between confusing classes.
During training, the main backbone parameters are frozen, while Mona modules, scale routers, route anchors, and the classification head are updated by back-propagation. The online confusion graph is updated from detached model predictions and is not trainable. During inference, no labels, graph updates, or auxiliary loss computations are required. The adaptive scale router remains active, and the model predicts the class using the standard classification logits.
J. Li, Z. Qi et al.
4 Experiments
4.1 Datasets
We evaluate RouteGraph-Mona on three public mineral image classification datasets: Minet [5], MinetV2 [29], and MineralPhotos [8]. Before splitting, we identify exact duplicate images by file-hash matching and remove duplicate entries with cross-class label conflicts to reduce potential data leakage and ambiguous supervision. The dataset sizes below correspond to the image sets used in our experiments.
Minet contains 955 hand-specimen images from seven categories: biotite, bornite, chrysocolla, malachite, muscovite, pyrite, and quartz. It is small and class-imbalanced, making it suitable for evaluating limited-data adaptation.
MinetV2 follows the same seven-class taxonomy and contains 2,091 images with higher diversity. Compared with Minet, it shows stronger intra-class variation and inter-class ambiguity, such as chrysocolla–malachite and muscovite–quartz similarities.
MineralPhotos contains 39,354 images from 15 categories, providing a larger and more diverse setting for evaluating RouteGraph-Mona.
4.2 Compared Methods
We compare RouteGraph-Mona with two groups of baselines: general fine-tuning methods and representative mineral image classification methods. The fine-tuning baselines include linear probing, full fine-tuning, adapter tuning [11], LoRA [12], and Mona [27]. Linear probing updates only the classification head, while full fine-tuning updates the entire pre-trained backbone. Adapter tuning and LoRA represent widely used parameter-efficient fine-tuning strategies. Mona is the most direct baseline, since RouteGraph-Mona is built on top of Mona by introducing adaptive routing, route-anchor regularization, and confusion-guided route-margin regularization. For mineral image classification baselines, we include DenseNet-201 [13], EfficientNet-B0 [24], YOLOv8-cls [21], and SwinMin [14]. These methods cover conventional convolutional networks, efficient convolutional architectures, modern classification frameworks, and a Transformer-based model designed for mineral recognition.
4.3 Experimental Settings
We use ViT-B/16 [7] and Swin-B [20] as pretrained backbones. Each cleaned dataset is split into training, validation, and test sets at 60%/20%/20%, with exact-hash grouping to prevent duplicate leakage. All experiments are repeated with seeds 0, 666, and 2026.
Accuracy is the main evaluation metric. For each run, the checkpoint with the lowest validation loss is evaluated once on the test set. Models supporting pretraining use ImageNet-1K weights [6]. For fairness, all fine-tuning baselines share the same splits, input resolution, augmentation, optimizer, early-stopping
Table 1. Comparison of fine-tuning methods on three mineral image datasets. Accuracy is reported as mean±std over three independent runs. The best and second-best results under each backbone are marked in bold and underlined, respectively.
| Method | ViT-B/16 | Swin-B | ||||
|---|---|---|---|---|---|---|
| Minet | MinetV2 | MineralPhotos | Minet | MinetV2 | MineralPhotos | |
| Linear | ||||||
| Full FT | ||||||
| Adapter | ||||||
| LoRA | ||||||
| Mona | ||||||
| RouteGraph-Mona | ||||||
criterion, seeds, and checkpoint-selection rule. Mineral classification baselines are trained on the same cleaned splits following standard settings or official implementations when available.
Unless otherwise specified, we use inputs, AdamW [22], a weight decay of , and an early-stopping patience of 15. For RouteGraph-Mona, we set one route anchor per class, , , and .
4.4 Main Comparison with Fine-Tuning Methods
As shown in Table 1, RouteGraph-Mona improves the mean accuracy over its direct baseline Mona across all three mineral datasets and both visual backbones. Under ViT-B/16, the gains over Mona are 1.18, 0.78, and 2.40 percentage points on Minet, MinetV2, and MineralPhotos, respectively; under Swin-B, the corresponding gains are 1.68, 1.42, and 2.59 percentage points.
RouteGraph-Mona also outperforms linear probing and provides stable gains over generic parameter-efficient fine-tuning methods such as adapter tuning and LoRA. Compared with full fine-tuning, it achieves competitive performance in most settings while keeping the main pretrained backbone frozen. These results indicate that mineral image classification benefits from explicit route-space regularization in addition to general feature adaptation. In addition, on cross-dataset evaluation between Minet and MinetV2, RouteGraph-Mona improves Mona from 73.35% to 73.98% for Minet MinetV2 and from 94.44% to 94.61% for MinetV2 Minet, suggesting mild robustness under dataset shift.
4.5 Class-Balanced Evaluation and Statistical Analysis
Since mineral datasets are often class-imbalanced, we further report macro-F1 and mean class accuracy (mA) for the main Swin-B setting on MinetV2 using the same three seeds as Table 1. Mona obtains accuracy, macro-F1, and mA, while RouteGraph-Mona obtains accuracy, macro-F1, and mA. Beyond the 1.42 percentage-point gain in overall accuracy, RouteGraph-Mona improves macro-F1 and mA by 1.64 and 1.59 percentage points, respectively. The consistent gains across
J. Li, Z. Qi et al.

Fig. 3. Accuracy–parameter trade-off on Minet under two visual backbones. The x-axis denotes the percentage of trainable parameters, the y-axis denotes the mean test accuracy over three independent runs, and the bubble size represents the peak GPU memory measured on seed 0 using the same training-mode profiling protocol. Orange markers indicate RouteGraph-Mona.
overall accuracy and both class-balanced metrics suggest that the improvement also extends to more balanced class-wise recognition performance. A paired comparison over matched seeds shows positive gains, although the paired t-test does not reach statistical significance due to the small number of seeds (p = 0.151 for accuracy). We therefore treat these results as supporting evidence of a consistent trend rather than a standalone claim of statistical significance.
4.6 Accuracy–Efficiency Trade-off
Figure 3 compares accuracy, trainable parameter ratio, and peak GPU memory. Under both ViT-B/16 and Swin-B, RouteGraph-Mona improves the accuracy over Mona while retaining a low trainable-parameter ratio. This indicates that the performance gain does not rely on large-scale unfreezing of the pretrained backbone, but is achieved through lightweight adaptation and route-space regularization. The bubble sizes also show that introducing the scale router and route-space regularization incurs additional training-time memory compared with Mona, while preserving the parameter-efficient update scheme. RouteGraph-Mona updates only lightweight adaptation components, scale routers, route anchors, and the classification head, without large-scale backbone updates. During inference, no labels, graph updates, or auxiliary losses are required; the scale router remains active, and predictions use the classification logits.
4.7 Comparison with Mineral Image Classification Methods
We further compare RouteGraph-Mona with representative mineral image classification methods, including DenseNet-201, EfficientNet-B0, YOLOv8-cls, and
Table 2. Comparison with representative mineral image classification methods on three mineral datasets. Accuracy is reported as mean±std over three independent runs. The best and second-best results are marked in bold and underlined, respectively.
| Method | Minet | MinetV2 | MineralPhotos |
|---|---|---|---|
| DenseNet-201 | |||
| EfficientNet-B0 | |||
| YOLOv8-cls | |||
| SwinMin | |||
| RouteGraph-Mona |
Table 3. Ablation study on Minet and MinetV2 using the Swin-B backbone. Accuracy is reported as mean±std over three runs.
| Variant | Component | Accuracy | |||
|---|---|---|---|---|---|
| Router | Anchor | Conf. Margin | Minet | MinetV2 | |
| Mona | - | - | - | ||
| + Adaptive Routing | ✓ | - | - | ||
| + Route Anchor | ✓ | ✓ | - | ||
| + Confusion Margin | ✓ | - | ✓ | ||
| RouteGraph-Mona | ✓ | ✓ | ✓ | ||
SwinMin. These baselines cover conventional convolutional networks, efficient convolutional architectures, modern classification frameworks, and a Transformer-based model specifically designed for mineral image recognition. As reported in Table 2, RouteGraph-Mona achieves the best accuracy among the compared mineral classification baselines on all three datasets.
Specifically, RouteGraph-Mona obtains 93.94%, 79.64%, and 81.09% accuracy on Minet, MinetV2, and MineralPhotos, respectively. Compared with the strongest mineral classification baseline SwinMin, RouteGraph-Mona improves the accuracy by 2.53, 0.63, and 0.77 percentage points. This comparison shows that adapting strong pre-trained visual backbones with route-aware regularization provides a promising strategy for mineral image classification.
4.8 Ablation Study
We conduct an ablation study to examine the contribution of adaptive routing, class-wise route anchors, and the confusion-guided route margin. As shown in Table 3, adding adaptive routing to Mona brings small but consistent gains on both Minet and MinetV2, indicating that replacing static multi-scale aggregation with sample-adaptive routing provides a useful basis for route-space modeling. On top of adaptive routing, route anchors slightly improve accuracy on MinetV2 and reduce the standard deviation on Minet, suggesting that category-level route
J. Li, Z. Qi et al.
Table 4. Feature-space versus route-space regularization on Minet and MinetV2 using Swin-B. Accuracy is reported as mean±std over three runs.
| Method | Space | Minet | MinetV2 | ||
|---|---|---|---|---|---|
| Acc. | Gain | Acc. | Gain | ||
| Mona | - | - | - | ||
| Center Loss | Feature | -0.17 | -0.23 | ||
| SupCon | Feature | -0.34 | +0.71 | ||
| Feature Anchor+Graph | Feature | -1.18 | -0.78 | ||
| RouteGraph-Mona | Route | +1.68 | +1.42 | ||
prototypes help regularize routing signatures. The confusion-guided route margin provides a larger gain on MinetV2, where inter-class visual ambiguity is stronger, increasing the accuracy from 78.38% to 78.77%.
When all components are combined, RouteGraph-Mona achieves the highest accuracy among the ablation variants, reaching 93.94% on Minet and 79.64% on MinetV2. The standalone gains of individual components are relatively modest, especially on the smaller Minet dataset. This suggests that the three components play complementary roles: adaptive routing defines the route space, route anchors provide category-level references, and the confusion-guided margin emphasizes separation between visually confusing categories.
4.9 Feature-space versus Route-space Regularization
Table 4 compares RouteGraph-Mona with several feature-space regularization variants using the Swin-B backbone. Center Loss [25] and supervised contrastive learning [17] are included as generic feature-level discriminative losses. Center Loss slightly decreases accuracy on both datasets, while supervised contrastive learning improves MinetV2 but decreases Minet, indicating that generic feature-space constraints do not consistently benefit mineral image classification.
To isolate the effect of the regularization space, we construct Feature Anchor+Graph, which uses the same anchor-based prototype constraint, confusion-weighted margin, and online graph construction as RouteGraph-Mona, but applies them to visual feature embeddings rather than routing signatures. This provides a matched comparison between feature-space and route-space regularization.
As shown in Table 4, Feature Anchor+Graph performs worse than RouteGraph-Mona on both datasets, indicating that the gains do not simply arise from prototype- or graph-based regularization, but from applying these structural constraints in the route space induced by adaptive multi-scale aggregation.
4.10 Effect of Confusion Graph Construction
We compare different graph construction strategies on MinetV2 with the Swin-B backbone, where stronger inter-class visual ambiguity makes confusion-aware

Fig. 4. Hyperparameter sensitivity on MinetV2 with the Swin-B backbone. Accuracy is reported as mean±std over three runs, and the diamond marker indicates the default setting.
Table 5. Effect of different graph construction strategies on MinetV2 using the Swin-B backbone. Accuracy is reported as mean±std over three independent runs. The online confusion graph corresponds to the main RouteGraph-Mona setting.
| Graph Strategy | Accuracy |
|---|---|
| No Graph | |
| Uniform Graph | |
| Random Graph | |
| Online Confusion Graph |
regularization more informative. As shown in Table 5, the no-graph setting achieves accuracy, while the uniform graph slightly decreases the result to , indicating that assigning equal weights to all negative classes does not provide a stable benefit. Random graph weighting increases the mean accuracy to 78.69%, but also raises the standard deviation to 2.61 and lacks semantic correspondence to actual category confusion.
In contrast, the online confusion graph achieves the best result of , improving the no-graph setting by 1.18 percentage points while exhibiting the lowest variance among the evaluated graph strategies. These results suggest that prediction-derived confusion provides a more effective and stable weighting strategy than fixed uniform or random graph weighting. By upweighting route-margin penalties for confusing category pairs, the online graph focuses regularization on mineral categories that are more likely to be visually confused.
4.11 Hyperparameter Sensitivity
Figure 4 analyzes the effects of the number of route anchors K, the regularization weight , and the route margin on model performance. A single route anchor per class already provides strong mean accuracy, while increasing K does not produce a consistent improvement; in particular, the performance drops no-
J. Li, Z. Qi et al.

Fig. 5. Visualization analysis on MinetV2 using the Swin-B backbone. (a) Confusion change from Mona to RouteGraph-Mona. Negative values indicate reduced off-diagonal confusion errors, and the total off-diagonal error is decreased by 15.3%. (b) Route-distance distributions in the routing space. RouteGraph-Mona widens the separation gap between intra-class and confusing inter-class distances.
ticeably at K = 5. For the regularization weight, the default setting achieves competitive performance, while the other evaluated values show only moderate fluctuations. For the route margin, performs well, whereas further increasing it to 0.07 leads to a performance decrease. Overall, the default settings provide stable performance, and increasing the number of anchors or the regularization strength does not consistently yield additional gains. Given the overlap among the error bars across several settings, these results are interpreted mainly as overall sensitivity trends rather than statistically significant differences.
4.12 Analysis of Route-Space Geometry
We further examine whether RouteGraph-Mona improves the route-space geometry behind classification decisions. Figure 5 analyzes RouteGraph-Mona from the perspectives of class confusion and route-space geometry.
As shown in Figure 5, RouteGraph-Mona reduces the total off-diagonal confusion error by 15.3% compared with Mona, indicating that the proposed method alleviates misclassification among visually similar mineral categories. Quantitatively, RouteGraph-Mona increases the confusing inter-class route distance from to and widens the separation gap from to , making the route-space separation gap as large as that of Mona. This suggests that the improvement mainly comes from better separation of visually confusing categories in the route space, rather than simply compressing samples from the same class.
5 Conclusion
In this paper, we propose RouteGraph-Mona, a lightweight route-space regularization framework for mineral image classification. The proposed method replaces Mona's static multi-scale aggregation with sample-adaptive routing and applies class-wise route anchor constraints and an online confusion-guided route margin to routing signatures formed by routing weights. By regularizing routing signatures rather than visual feature embeddings directly, RouteGraph-Mona improves the relative route-space separation between visually confusing mineral categories. Experiments on three mineral image datasets and two visual backbones show that RouteGraph-Mona improves the mean accuracy over Mona across the evaluated settings and achieves competitive performance compared with representative fine-tuning and mineral image classification baselines. In our experiments, one route anchor per class is empirically sufficient; nevertheless, future work may explore class-adaptive anchor allocation and more robust confusion graph updating strategies on larger and more diverse mineral datasets.
References
-
Ali, A., Chiang, Y.W., Santos, R.M.: X-ray diffraction techniques for mineral characterization: A review for engineers of the fundamentals, applications, and research directions. Minerals 12, 205 (2022)
-
Ali, A., Zhang, N., Santos, R.M.: Mineral characterization using scanning electron microscopy (SEM): A review of the fundamentals, advancements, and research directions. Appl. Sci. 13, 12600 (2023)
-
Attallah, Y., Zigh, E., Kaçmaz, S., Maazouzi, A.: Mineral classification using dense-net architectures: leveraging deep feature extraction for enhanced accuracy. Int. Adv. Res. Eng. J. 9, 201–210 (2025)
-
Brempong, E.A., Agangiba, M., Aikins, D.: Minet: a convolutional neural network for identifying and categorising minerals. arXiv preprint arXiv:2111.11260 (2021)
-
Brempong, K.A.: Minerals identification dataset. Kaggle dataset (2019), available at: https://www.kaggle.com/datasets/asiedubrempong/minerals-identification-dataset
-
Deng, J., Dong, W., Socher, R., Li, L.J., Li, K., Fei-Fei, L.: Imagenet: A large-scale hierarchical image database. In: 2009 IEEE conference on computer vision and pattern recognition. pp. 248–255. IEEE (2009)
-
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., et al.: An image is worth 16x16 words: Transformers for image recognition at scale. arXiv preprint arXiv:2010.11929 (2020)
-
Geillon, F.: Mineral photos. Kaggle dataset (2024), available at: https://www.kaggle.com/datasets/floriangeillon/mineral-photos
-
Haskin, L.A., Wang, A., Rockow, K.M., Jolliff, B.L., Korotev, R.L., Viskupic, K.M.: Raman spectroscopy for mineral identification and quantification for in situ planetary surface analysis: A point count method. J. Geophys. Res. Planets 102, 19293–19306 (1997)
-
He, X., Li, C., Zhang, P., Yang, J., Wang, X.E.: Parameter-efficient model adaptation for vision transformers. In: AAAI. pp. 817–825 (2023)
J. Li, Z. Qi et al.
-
Houlsby, N., Giurgiu, A., Jastrzebski, S., Morrone, B., De Laroussilhe, Q., Gessmundo, A., Attariyan, M., Gelly, S.: Parameter-efficient transfer learning for nlp. In: ICML. pp. 2790–2799 (2019)
-
Hu, E.J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W.: Lora: Low-rank adaptation of large language models. In: ICLR (2022)
-
Huang, G., Liu, Z., van der Maaten, L., Weinberger, K.Q.: Densely connected convolutional networks. In: CVPR. pp. 4700–4708 (2017)
-
Jia, L., Chen, F., Yang, M., Meng, F., He, M., Liu, H.: Swinmin: A mineral recognition model incorporating convolution and multi-scale contexts into swin transformer. Comput. Geosci. 184, 105532 (2024)
-
Jia, L., Yang, M., Meng, F., He, M., Liu, H.: Mineral photos recognition based on feature fusion and online hard sample mining. Minerals 11, 1354 (2021)
-
Jia, M., Tang, L., Chen, B.C., Cardie, C., Belongie, S., Hariharan, B., Lim, S.N.: Visual prompt tuning. In: ECCV. pp. 709–727 (2022)
-
Khosla, P., Teterwak, P., Wang, C., Sarna, A., Tian, Y., Isola, P., Maschinot, A., Liu, C., Krishnan, D.: Supervised contrastive learning. In: NeurIPS. pp. 18661–18673 (2020)
-
Kolesnikov, A., Beyer, L., Zhai, X., Puigcerver, J., Yung, J., Gelly, S., Houlsby, N.: Big transfer (BiT): General visual representation learning. In: ECCV. pp. 491–507 (2020)
-
Kornblith, S., Shlens, J., Le, Q.V.: Do better imagenet models transfer better? In: CVPR. pp. 2661–2671 (2019)
-
Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., Guo, B.: Swin transformer: Hierarchical vision transformer using shifted windows. In: Proceedings of the IEEE/CVF international conference on computer vision. pp. 10012–10022 (2021)
-
Long, B., Zhou, C.: Enhanced mineral image classification using yolov8-cls with optimized feature extraction and dataset augmentation. Informatica 49 (2025)
-
Loshchilov, I., Hutter, F.: Decoupled weight decay regularization. In: ICLR (2019)
-
Lou, W., Zhang, D., Bayless, R.C.: Review of mineral recognition and its future. Appl. Geochem. 122, 104727 (2020)
-
Tan, M., Le, Q.V.: EfficientNet: Rethinking model scaling for convolutional neural networks. In: ICML. pp. 6105–6114 (2019)
-
Wen, Y., Zhang, K., Li, Z., Qiao, Y.: A discriminative feature learning approach for deep face recognition. In: ECCV. pp. 499–515 (2016)
-
Wu, B., Ji, X., He, M., Yang, M., Zhang, Z., Chen, Y., Wang, Y., Zheng, X.: Mineral identification based on multi-label image classification. Minerals 12, 1338 (2022)
-
Yin, D., Hu, L., Li, B., Zhang, Y., Yang, X.: 5%> 100%: Breaking performance shackles of full fine-tuning on visual recognition tasks. In: Proceedings of the Computer Vision and Pattern Recognition Conference. pp. 20071–20081 (2025)
-
Yosinski, J., Clune, J., Bengio, Y., Lipson, H.: How transferable are features in deep neural networks? In: NeurIPS. pp. 3320–3328 (2014)
-
Youcefattallah97: Minerals identification & classification. Kaggle dataset (2022), available at: https://www.kaggle.com/datasets/youcefattallah97/minerals-identification-classification
-
Zeng, X., Xiao, Y., Ji, X., Wang, G.: Mineral identification based on deep learning that combines image and mohs hardness. Minerals 11, 506 (2021)