Manuscript Offprint

arXiv:2609.02282

RouteGraph-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

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.

Figure

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.

References (29)

  • X-ray diffraction techniques for mineral characterization: A review for engineers of the fundamentals, applications, and research directions
  • Mineral characterization using scanning electron microscopy (SEM): A review of the fundamentals, advancements, and research directions
  • Mineral classification using dense-net architectures: leveraging deep feature extraction for enhanced accuracy
  • Minet: a convolutional neural network for identifying and categorising minerals (opens arXiv in a new tab)
  • Minerals identification dataset
  • Imagenet: A large-scale hierarchical image database
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Mineral photos
  • Raman spectroscopy for mineral identification and quantification for in situ planetary surface analysis: A point count method
  • Parameter-efficient model adaptation for vision transformers
  • Parameter-efficient transfer learning for nlp
  • Lora: Low-rank adaptation of large language models
  • Densely connected convolutional networks
  • Swinmin: A mineral recognition model incorporating convolution and multi-scale contexts into swin transformer
  • Mineral photos recognition based on feature fusion and online hard sample mining
  • Visual prompt tuning
  • Supervised contrastive learning
  • Big transfer (BiT): General visual representation learning
  • Do better imagenet models transfer better? In: CVPR. pp. 2661–2671
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • Enhanced mineral image classification using yolov8-cls with optimized feature extraction and dataset augmentation
  • Decoupled weight decay regularization
  • Review of mineral recognition and its future
  • EfficientNet: Rethinking model scaling for convolutional neural networks
  • A discriminative feature learning approach for deep face recognition
  • Mineral identification based on multi-label image classification
  • 5%> 100%: Breaking performance shackles of full fine-tuning on visual recognition tasks
  • How transferable are features in deep neural networks? In: NeurIPS
  • Mineral identification based on deep learning that combines image and mohs hardness