paper-with-me

홈 › Papers

Is Mamba Capable of In-Context Learning?

2024-02-05 · Riccardo Grazzi, Julien Siems, Simon Schrodi, Thomas Brox, Frank Hutter

State of the art foundation models such as GPT-4 perform surprisingly well at in-context learning (ICL), a variant of meta-learning concerning the learned ability to solve tasks during a neural network forward pass, exploiting contextual information provided as input to the model. This useful ability emerges as a side product of the foundation model's massive pretraining. While transformer models are currently the state of the art in ICL, this work provides empirical evidence that Mamba, a newly proposed state space model which scales better than transformers w.r.t. the input sequence length, has similar ICL capabilities. We evaluated Mamba on tasks involving simple function approximation as well as more complex natural language processing problems. Our results demonstrate that, across both categories of tasks, Mamba closely matches the performance of transformer models for ICL. Further analysis reveals that, like transformers, Mamba appears to solve ICL problems by incrementally optimizing its internal representations. Overall, our work suggests that Mamba can be an efficient alternative to transformers for ICL tasks involving long input sequences. This is an exciting finding in meta-learning and may enable generalizations of in-context learned AutoML algorithms (like TabPFN or Optformer) to long input sequences.

📄 PDF Abstract BibTeX arXiv:2402.03170

Code (1)

automl/is_mamba_capable_of_icl 공식 구현 pytorch

Tasks

AutoMLIn-Context LearningMambaMeta-Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Residual Connection 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Position-Wise Feed-Forward Layer 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

DM-SegNet: Dual-Mamba Architecture for 3D Medical Image Segmentation with Global Context Modeling

2025-06-05 · Hangyu Ji

Accurate 3D medical image segmentation demands architectures capable of reconciling global context modeling with spatial topology preservation. While State Space Models (SSMs) like Mamba show potential for sequence model…

AnatomyBrain Tumor SegmentationDecoderImage Segmentation+7

Mamba-Adaptor: State Space Model Adaptor for Visual Recognition

2025-05-19 · CVPR 2025 1 · Fei Xie, Jiahao Nie, Yujin Tang, Wenkang Zhang 외

Recent State Space Models (SSM), especially Mamba, have demonstrated impressive performance in visual modeling and possess superior model efficiency. However, the application of Mamba to visual tasks suffers inferior per…

Inductive BiasMambaState Space ModelsTransfer Learning

Exploring contextual modeling with linear complexity for point cloud segmentation

2024-10-28 · Yong Xien Chng, Xuchong Qiu, Yizeng Han, Yifan Pu 외

Point cloud segmentation is an important topic in 3D understanding that has traditionally has been tackled using either the CNN or Transformer. Recently, Mamba has emerged as a promising alternative, offering efficient l…

MambaPoint Cloud Segmentation

Self-Prior Guided Mamba-UNet Networks for Medical Image Super-Resolution

2024-07-08 · Zexin Ji, Beiji Zou, Xiaoyan Kui, Pierre Vera 외

In this paper, we propose a self-prior guided Mamba-UNet network (SMamba-UNet) for medical image super-resolution. Existing methods are primarily based on convolutional neural networks (CNNs) or Transformers. CNNs-based …

Image Super-ResolutionMambaState Space ModelsSuper-Resolution

nnMamba: 3D Biomedical Image Segmentation, Classification and Landmark Detection with State Space Model

2024-02-05 · Haifan Gong, Luoyao Kang, YiTao Wang, Xiang Wan 외

In the field of biomedical image analysis, the quest for architectures capable of effectively capturing long-range dependencies is paramount, especially when dealing with 3D image segmentation, classification, and landma…

3D Medical Imaging SegmentationImage SegmentationLong-range modelingMamba+2