RSAJEV: Training-Free Abstaining Prototype Memory for Eliminating Silent Hallucination in JEV-Based Remote Sensing Classification
Organizations: School of Computer Science and Engineering, Anhui University of Science and Technology, Huainan 232001, Anhui, China, and also with the School of Electrical Automation and Information Engineering, Tianjin University, Tianjin 300072, China, and the State Key Laboratory of Digital Intelligent Technology for Unmanned Coal Mining, Huainan 232001, Anhui, China · School of Computer Science and Engineering, Anhui University of Science and Technology, Huainan 232001, Anhui, China · School of Computer Science and Engineering, Anhui University of Science and Technology, Huainan 232001, Anhui, China, and also with the State Key Laboratory of Digital Intelligent Technology for Unmanned Coal Mining, Huainan 232001, Anhui, China · Guangxi Key Laboratory of Multi-Source Information Mining and Security, Guangxi Normal University, Guilin 541004, Guangxi, China
Abstract
Scene classification of remote sensing imagery with multimodal large language models (MLLMs) is formulated as a single-forward-pass decision problem: candidate class names are lettered options in the prompt, a registered answer slot is conditioned on the prompt, and classification is read out by scoring letter tokens with the language-modeling head. We show that although this letter binding is highly effective within its training vocabulary (97.71% OA on UCM), it behaves erratically out of vocabulary: zero-adaptation accuracy across four cross-dataset directions fluctuates between 7.35% and 96.40%, and under out-of-vocabulary weights its confidence fails inversely on open-set evaluation, assigning higher confidence to unseen than to seen classes (AUROC 0.38), a failure we term silent hallucination. We retain the slot representation and replace the readout with RSAJEV, a training-free abstaining prototype memory that performs retrieval-based prototype matching: K reference images per class are cached as prototypes via their slot representations under the same prompt, and classification becomes nearest-neighbor retrieval over the prototypes, refined by a shrinkage-Mahalanobis geometric correction. This readout is mechanistically isomorphic to retrieval-augmented generation (RAG) but operates on discriminative decisions; it is the first retrieval-based readout for MLLM slot representations. The retrieval readout reaches 89.43% on the UCM cross-dataset gate with 16 references per class and zero gradient updates, and 96.90% on AID. Its ID-ness scores attain 0.91-0.99 AUROC on open-set evaluation over two datasets, exceeding symbolic confidence (0.38-0.96) in all four open-set settings, restoring a calibratable abstention channel and supporting class addition/removal at zero extra inference cost via offline rescoring of the cached matrix.
Figures & tables
| Setting | UCM OA | UCM F1 | AID OA | AID F1 |
|---|---|---|---|---|
| Official report [ 6 ] | 97.71 | 97.72 | 96.56 | 96.30 |
| Ours: official-weights evaluation | – | – | 97.39 | 97.16 |
| Direction | letters | cos_t2 | proto | maha | |
| AID UCM (cross, 21 classes) | 21.52 | 57.33 | 78.76 | 89.43 | |
| UCM AID (cross, 30 classes) | 96.40 | 91.55 | 96.46 | 96.90 | |
| AID NWPU (cross, 45 classes) | 7.35 | 39.47 | 64.55 | 78.52 | |
| UCM NWPU (cross, 45 classes) | 34.29 | 22.80 | 64.50 | 77.99 | |
| UCM UCM (in-domain) | 78.10 | 38.10 | 82.86 | 89.05 | |
| AID AID (in-domain) | 97.39 | 96.81 | 97.51 | 97.40 |
| ID-ness score | AUROC | FPR@95TPR | OSCR |
|---|---|---|---|
| letters (max softmax) | 0.3853 | 1.0000 | 0.1291 |
| cos_t2 (text control) | 0.7593 | 0.6214 | 0.2304 |
| proto (cosine proto) | 0.8826 | 0.6029 | 0.2661 |
| maha (ours, ) | 0.9147 | 0.4671 | 0.2680 |
| ID-ness score | AUROC | FPR@95TPR | OSCR |
|---|---|---|---|
| letters (max softmax) | 0.7642 | 0.6729 | 0.7151 |
| cos_t2 (text control) | 0.6545 | 0.6486 | 0.5394 |
| proto (cosine proto) | 0.9121 | 0.3814 | 0.8123 |
| maha (ours, ) | 0.9426 | 0.2900 | 0.8304 |
| ID-ness score | AUROC | FPR@95TPR | OSCR |
|---|---|---|---|
| letters (max softmax) | 0.7323 | 0.9208 | 0.5755 |
| cos_t2 (text control) | 0.3750 | 0.9990 | 0.2897 |
| proto (cosine proto) | 0.9936 | 0.0219 | 0.7524 |
| maha (ours, ) | 0.9865 | 0.0627 | 0.7486 |
| ID-ness score | AUROC | FPR@95TPR | OSCR |
|---|---|---|---|
| letters (max softmax) | 0.9630 | 0.1176 | 0.9444 |
| cos_t2 (text control) | 0.1806 | 1.0000 | 0.1763 |
| proto (cosine proto) | 0.9911 | 0.0318 | 0.9699 |
| maha (ours, ) | 0.9937 | 0.0249 | 0.9715 |
| Readout variant | OA |
|---|---|
| Cosine prototype (= L2 on normalized slots) | 78.76 |
| -means multi-prototype ( ) | 80.10 |
| Typicality-filtered references (top-12) | 78.00 |
| Prototype + cosine score fusion | 77.71 |
| Shrinkage Mahalanobis ( ) | 89.43 |
| Shrinkage Mahalanobis ( , default) | 89.90 |