Is Mamba Capable of In-Context Learning?
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.
Code (1)
Tasks
AutoMLIn-Context LearningMambaMeta-LearningMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
DM-SegNet: Dual-Mamba Architecture for 3D Medical Image Segmentation with Global Context Modeling
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+7Mamba-Adaptor: State Space Model Adaptor for Visual Recognition
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 LearningExploring contextual modeling with linear complexity for point cloud segmentation
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 SegmentationSelf-Prior Guided Mamba-UNet Networks for Medical Image Super-Resolution
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-ResolutionnnMamba: 3D Biomedical Image Segmentation, Classification and Landmark Detection with State Space Model
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