# GraphMamba: An Efficient Graph Structure Learning Vision Mamba for Hyperspectral Image Classification

GraphMamba: 고광범위 영상 분류를 위한 효율적인 그래프 구조 학습 Vision Mamba

Aitao Yang, Min Li, Yao Ding, Leyuan Fang, Yaoming Cai, Yujie He · arXiv · 2024년 7월 11일

- **연구 문제** 고광스펙트럼 영상 분류에서 스펙트럴 시퀀스와 공간 문맥을 효율적으로 함께 다루는 것이 어렵습니다.
- **연구 방법** GraphMamba는 HSI를 패치 토큰으로 바꾼 뒤 전역 마스크와 자동 잔차를 쓰는 HyperMamba와 다중 홉 적응형 집계를 쓰는 SpatialGCN으로 특징을 학습합니다.
- **주요 결과** IP 데이터셋에서 GraphMamba는 OA 96.43%, AA 97.83%, Kappa 95.91%를 보고하며, 절제 실험에서는 세 구성요소 제거 시 OA가 낮아졌습니다.

## 스펙트럴 시퀀스와 공간 문맥을 함께 다루는 어려움

고광스펙트럼 영상(HSI)은 수많은 좁은 연속 밴드로 구성되어 토지피복을 세밀하게 구분할 수 있지만, 밴드 간 높은 상관과 정보 중복, 낮은 공간 해상도로 인한 혼합 화소 문제를 함께 안고 있습니다. 기존 RNN은 스펙트럴 시퀀스를 다루지만 계산 복잡도가 높아 긴 시퀀스와 대규모 데이터에 확장하기 어렵고, Transformer는 시퀀스 길이에 따라 계산량이 제곱으로 늘어납니다. CNN은 고정된 커널 가중치 때문에 공간 구조 변화를 적응적으로 포착하기 어렵습니다.

SSM은 계산 복잡도와 메모리 사용이 시퀀스 길이에 선형적으로 관련되는 모델로 소개되며, 원문은 이를 HSI 분류에 적용하는 가능성을 제시합니다. 다만 고차원 스펙트럴 데이터와 정보 중복은 SSM을 HSI 분류에 적용할 때의 도전으로 남아 있습니다. 이 논문은 이 간극에서 SSM 기반 구조로 스펙트럴 정보와 적응형 공간 문맥을 함께 학습하는 문제를 다룹니다.

## GraphMamba의 입력 처리와 두 모듈 구성

GraphMamba는 HSI를 높이 H, 폭 W, 스펙트럴 차원 D의 3차원 영상으로 보고, 이를 패치 크기 P의 2차원 패치 N개로 펼칩니다. 이후 각 패치를 선형 투영하고 위치 벡터를 더해 토큰 시퀀스 M0를 만듭니다. 이 토큰은 GraphMamba 인코더 층을 거치며, 분류에는 별도의 분류 토큰 대신 대상 토지피복 원소의 특징 Mc를 정규화하고 MLP에 통과시켜 분류 벡터 y를 얻습니다.

![Figure 2: The overall view of GraphMamba. We first segment HSI into multiple spatial-spectral cubes, then linearly project them into patch tokens, and then sen…](https://refivu.com/papers/07bc27b8-112a-4c37-a2a6-1f8b8af9f0b5/figures/figure-669622c2976ccd3eca3d70091f68ff9f.png?thumb=512)

**Fig. 2** . The overall view of GraphMamba. We first segment HSI into multiple spatial-spectral cubes, then linearly project them into patch tokens, and then send the token sequences to the proposed GraphMamba encoders to extract features. Finally, classification prediction features are obtained through MLP.

[원문](https://arxiv.org/abs/2407.08255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aitao Yang, Min Li, Yao Ding, Leyuan Fang, Yaoming Cai, Yujie He · GraphMamba: An Efficient Graph Structure Learning Vision Mamba for Hyperspectral Image Classification · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

인코더 내부는 두 모듈로 나뉩니다. HyperMamba는 전역 마스크(Global Mask)로 스펙트럴 정보를 걸러내고, 자동 잔차 연결(AutoRes)로 이전 층의 원본 정보를 학습 가능한 계수 ε로 섞습니다. SpatialGCN은 여러 홉의 이웃 집계와 적응형 필터링 행렬 Qn을 사용해 공간 문맥 특징을 학습합니다.

![Figure 1: The improvements of the proposed spatial-spectral feature extraction modules HyperMamba and SpatialGCN compared to other frameworks are discussed in…](https://refivu.com/papers/07bc27b8-112a-4c37-a2a6-1f8b8af9f0b5/figures/figure-6358760d67c0108f50e6230b7ef4123c.png?thumb=512)

**Fig. 1** . The improvements of the proposed spatial-spectral feature extraction modules HyperMamba and SpatialGCN compared to other frameworks are discussed in this paper.

[원문](https://arxiv.org/abs/2407.08255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aitao Yang, Min Li, Yao Ding, Leyuan Fang, Yaoming Cai, Yujie He · GraphMamba: An Efficient Graph Structure Learning Vision Mamba for Hyperspectral Image Classification · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## HyperMamba의 전역 마스크와 자동 잔차 연결

전역 마스크는 입력 스펙트럴 특징 S에 대해 Rs·Cs^T로 만든 행렬에 2-D 합성곱을 적용하여 ˆS를 얻습니다. 여기서 Rs와 Cs는 학습 가능한 가중치 WR, WC로 계산되며, 이 구성은 밴드 간 관련 정보를 선별하는 전역 마스크로 설명됩니다. 원문은 이 마스크가 정보 중복을 줄이고 효율적인 데이터 활용을 돕는다고 설명합니다.

자동 잔차 연결은 기존 잔차 연결이 HSI에서 원본 스펙트럴 잡음을 쉽게 들여올 수 있다는 문제를 줄이기 위해 도입됩니다. Z = εMl + (1 − ε)Ml−1 형태로 이전 층 입력과 현재 층 출력을 섞으며, ε는 학습 가능한 파라미터입니다. 이는 두 입력의 비율을 학습으로 조정하는 구성이며, 원문은 이를 과도한 특징 평활화를 완화하는 방식으로 설명합니다.

## SpatialGCN의 가중 다중 홉 집계와 적응형 필터링

SpatialGCN은 p-홉 이웃의 인접 행렬 Ap와 차수 행렬로 정규화된 집계 Zp를 만들고, 이를 적응형 필터링 행렬 Qn과 함께 가중 합산하여 Hp = φ(W Σ (Qn·Zn))로 특징을 얻습니다. 여기서 Z0 = S이며, W는 여러 홉이 공유하는 학습 파라미터입니다. 원문은 여러 홉 분기를 따로 두는 방식과 달리 가중치를 공유해 파라미터 부담을 줄인다고 설명합니다.

적응형 필터링 행렬의 원소 qij는 노드 특징 거리 ∥si − sj∥²에 기반한 지수 가중을 이웃 가능한 원소에만 적용해 정규화한 값입니다. 인접 행렬 원소 apij가 0이면 qij는 0으로 둡니다. 원문은 γ = 0.2로 두었다고 밝히며, 이 구성이 노드 간 관련성을 추상화해 공간 구조 특징을 더 잘 추출한다고 설명합니다.

## IP 데이터셋의 비교 결과와 해석 범위

IP 데이터셋의 정량 비교에서 GraphMamba는 OA 96.43%, AA 97.83%, Kappa 95.91%로 보고되며, 원문은 이 값이 두 번째 성능 모델보다 OA 5.18%, AA 2.62%, Kappa 5.88% 높다고 밝힙니다. 이 개선폭은 IP 데이터셋에서 비교한 결과이며, 비교 방법들은 같은 학습 설정 아래 Adam 옵티마이저와 학습률 5 × 10−4, Epoch 200으로 실행되었다고 기술됩니다. GraphMamba는 이 비교에서 패치 크기 11×11과 인코더 깊이 8을 사용했습니다.

![Figure 10: Sensitivity of GraphMamba in different parameter settings(i.e., patch size and encoder depth) on (a) IP, (b) Salinas, and (c) UH2013](https://refivu.com/papers/07bc27b8-112a-4c37-a2a6-1f8b8af9f0b5/figures/figure-3a53a2e2f577dbd4fbe2c871d04b1248.png?thumb=512)

**Fig. 10** . Sensitivity of GraphMamba in different parameter settings(i.e., patch size and encoder depth) on (a) IP, (b) Salinas, and (c) UH2013

[원문](https://arxiv.org/abs/2407.08255v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Aitao Yang, Min Li, Yao Ding, Leyuan Fang, Yaoming Cai, Yujie He · GraphMamba: An Efficient Graph Structure Learning Vision Mamba for Hyperspectral Image Classification · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

이 결과는 샘플 분포가 고르지 않은 IP 데이터셋에서 얻어졌습니다. 저자들은 전반적인 성능 우위가 공간 문맥과 스펙트럴 특징을 함께 활용한 구조에서 온다고 해석하지만, 이 해석은 본 실험의 관찰로서 다른 데이터셋의 모든 조건으로 확대하지 않습니다.

## 전역 마스크·자동 잔차·적응형 필터링의 절제 실험

절제 실험은 GM-A가 전역 마스크를 제거한 변형, GM-B가 적응형 skip-connection 메커니즘을 제외한 변형, GM-C가 적응형 필터링 메커니즘을 제거한 변형이라는 점에서 구분됩니다. 나머지 설정은 IV-B절과 같습니다. IP 데이터셋에서 GraphMamba의 OA는 96.71, GM-A는 95.53, GM-B는 93.38, GM-C는 93.88입니다. SA와 UH2013에서도 GraphMamba의 OA가 각 변형보다 높게 보고됩니다.

원문은 이 결과가 세 모듈을 제거할 때 성능이 낮아진다는 관찰이며, 각 요소가 분류 정확도 향상에 기여한다고 해석합니다. 다만 이 결과는 제거 실험이 보여준 유지의 효용이며, 모든 조건에서의 인과 증명으로 보지 않습니다.

## 샘플 비율 설정과 실험 조건의 한계

학습 샘플 비율 분석은 IP에서 1%부터 5%까지, SA와 UH2013에서 0.25%부터 3%까지 다섯 비율로 수행되었습니다. 따라서 데이터셋마다 샘플 비율의 범위가 다르며, 이 차이를 하나의 공통 설정으로 일반화할 수 없습니다. 원문은 GraphMamba의 OA가 다섯 비율에서 가장 높다고 보고하지만, 이 결과는 해당 샘플 설정과 열 개 방법을 비교한 조건에서 얻어진 것입니다.

또한 SA 실험에서 GraphMamba의 AA는 98.66으로 보고되는 등 지표별 차이가 있으며, 본 연구는 제공된 세 데이터셋과 비교 방법에 대해서만 결과를 보고합니다. 그 밖의 과제나 데이터로 확대하지 않습니다.

## 논문 정보

- **저자**: Aitao Yang, Min Li, Yao Ding, Leyuan Fang, Yaoming Cai, Yujie He
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 7월 11일
- **등록일**: 2026년 11월 6일
- **수정일**: 2024년 7월 11일
- **버전**: v1
- **arXiv**: 2407.08255
- **분류**: cs.CV · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2407.08255v1) · [원문 PDF ↗](https://arxiv.org/pdf/2407.08255v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Efficient extraction of spectral sequences and geospatial information has always been a hot topic in hyperspectral image classification. In terms of spectral sequence feature capture, RNN and Transformer have become mainstream classification frameworks due to their long-range feature capture capabilities. In terms of spatial information aggregation, CNN enhances the receptive field to retain integrated spatial information as much as possible. However, the spectral feature-capturing architectures exhibit low computational efficiency, and CNNs lack the flexibility to perceive spatial contextual information. To address these issues, this paper proposes GraphMamba--an efficient graph structure learning vision Mamba classification framework that fully considers HSI characteristics to achieve deep spatial-spectral information mining. Specifically, we propose a novel hyperspectral visual GraphMamba processing paradigm (HVGM) that preserves spatial-spectral features by constructing spatial-spectral cubes and utilizes linear spectral encoding to enhance the operability of subsequent tasks. The core components of GraphMamba include the HyperMamba module for improving computational efficiency and the SpectralGCN module for adaptive spatial context awareness. The HyperMamba mitigates clutter interference by employing the global mask (GM) and introduces a parallel training inference architecture to alleviate computational bottlenecks. The SpatialGCN incorporates weighted multi-hop aggregation (WMA) spatial encoding to focus on highly correlated spatial structural features, thus flexibly aggregating contextual information while mitigating spatial noise interference. Extensive experiments were conducted on three different scales of real HSI datasets, and compared with the state-of-the-art classification frameworks, GraphMamba achieved optimal performance.

## 원문 인용

Aitao Yang, Min Li, Yao Ding, Leyuan Fang, Yaoming Cai, Yujie He (2024). GraphMamba: An Efficient Graph Structure Learning Vision Mamba for Hyperspectral Image Classification. arXiv:2407.08255v1. https://arxiv.org/abs/2407.08255v1

**BibTeX**

```
@misc{yang2024graphmamba,
  title = {{GraphMamba: An Efficient Graph Structure Learning Vision Mamba for Hyperspectral Image Classification}},
  author = {Aitao Yang and Min Li and Yao Ding and Leyuan Fang and Yaoming Cai and Yujie He},
  year = {2024},
  eprint = {2407.08255},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.08255v1}
}
```

## 이 논문의 용어

- [Mamba](https://refivu.com/terms/cc8b7f3226dc-mamba)
- [상태 공간 모델](https://refivu.com/terms/ab878db2411c-state-space-model)
- [Chebyshev polynomial](https://refivu.com/terms/798c2f14ca4d-chebyshev-polynomial)
- [Indian Pines](https://refivu.com/terms/0ae7f6aad65e-indian-pines)
- [Kappa coefficient](https://refivu.com/terms/63ffd58b8055-kappa-coefficient)
- [State Space Models](https://refivu.com/terms/e0d6d354fdf6-state-space-models)

## 다른 논문 해설

- [Cross-aware Early Fusion with Stage-divided Vision and Language Transformer Encoders for Referring Image Segmentation](https://refivu.com/papers/8a0d2f66-27b5-43a8-85cb-525496d2b434-cross-aware-early-fusion-with-stage-divided-vision.md)
- [Classification of Shoulder X-Ray Images with Deep Learning Ensemble Models](https://refivu.com/papers/8a08d6bc-7fca-4507-8e73-873f94dea956-classification-of-shoulder-x-ray-images-with-deep.md)
- [Contrastive Semi-supervised Learning for Domain Adaptive Segmentation Across Similar Anatomical Structures](https://refivu.com/papers/c873c612-0a68-4ecb-97aa-10fba6f07077-contrastive-semi-supervised-learning-for-domain-adaptive.md)
- [Segment Together: A Versatile Paradigm for Semi-Supervised Medical Image Segmentation](https://refivu.com/papers/a8d380b9-ad64-49d7-af9b-9e7860680f59-segment-together-a-versatile-paradigm-for-semi-supervised.md)
- [Anomaly Detection in Dynamic Graphs via Transformer](https://refivu.com/papers/753e83eb-ff24-44ce-9097-3fa4ff681eb0-anomaly-detection-in-dynamic-graphs-via-transformer.md)
- [DisCoVQA: Temporal Distortion-Content Transformers for Video Quality Assessment](https://refivu.com/papers/abf0b621-115a-4cad-ab92-7393c5ad6740-discovqa-temporal-distortion-content-transformers-for-video.md)
- [Reinforcement Learning-based Model Predictive Control for Greenhouse Climate Control](https://refivu.com/papers/5b1e3d40-5223-43c6-b14b-217e1fed1fef-reinforcement-learning-based-model-predictive-control-for.md)
- [Simultaneous Tactile-Visual Perception for Learning Multimodal Robot Manipulation](https://refivu.com/papers/efe570c2-535f-4003-90cb-ba9b5a71861f-simultaneous-tactile-visual-perception-for-learning.md)
- [DeepSurf: A surface-based deep learning approach for the prediction of ligand binding sites on proteins](https://refivu.com/papers/edc74ee5-1891-4dac-be23-f916de9e9084-deepsurf-a-surface-based-deep-learning-approach-for.md)
- [Learning Minimum-Time Flight in Cluttered Environments](https://refivu.com/papers/c967d332-025b-4690-9c48-946d2c24f5ab-learning-minimum-time-flight-in-cluttered-environments.md)
- [Multi-UAV Conflict Resolution with Graph Convolutional Reinforcement Learning](https://refivu.com/papers/a5d74d45-4eff-485c-b0f4-a087c707849b-multi-uav-conflict-resolution-with-graph-convolutional.md)
- [Dr.ICL: Demonstration-Retrieved In-context Learning](https://refivu.com/papers/996dd357-1e54-4c56-bfef-88bcdef0091c-dr-icl-demonstration-retrieved-in-context-learning.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/07bc27b8-112a-4c37-a2a6-1f8b8af9f0b5-graphmamba-an-efficient-graph-structure-learning-vision)
