paper-with-me

Papers

Memorizing SAM: 3D Medical Segment Anything Model with Memorizing Transformer

2024-12-18 · Xinyuan Shao, Yiqing Shen, Mathias Unberath

Segment Anything Models (SAMs) have gained increasing attention in medical image analysis due to their zero-shot generalization capability in segmenting objects of unseen classes and domains when provided with appropriate user prompts. Addressing this performance gap is important to fully leverage the pre-trained weights of SAMs, particularly in the domain of volumetric medical image segmentation, where accuracy is important but well-annotated 3D medical data for fine-tuning is limited. In this work, we investigate whether introducing the memory mechanism as a plug-in, specifically the ability to memorize and recall internal representations of past inputs, can improve the performance of SAM with limited computation cost. To this end, we propose Memorizing SAM, a novel 3D SAM architecture incorporating a memory Transformer as a plug-in. Unlike conventional memorizing Transformers that save the internal representation during training or inference, our Memorizing SAM utilizes existing highly accurate internal representation as the memory source to ensure the quality of memory. We evaluate the performance of Memorizing SAM in 33 categories from the TotalSegmentator dataset, which indicates that Memorizing SAM can outperform state-of-the-art 3D SAM variant i.e., FastSAM3D with an average Dice increase of 11.36% at the cost of only 4.38 millisecond increase in inference time. The source code is publicly available at https://github.com/swedfr/memorizingSAM

📄 PDF Abstract BibTeX arXiv:2412.13908

Code (1)

swedfr/memorizingsam 공식 구현 pytorch

Tasks

Image SegmentationMedical Image AnalysisMedical Image SegmentationSemantic SegmentationVolumetric Medical Image SegmentationZero-shot Generalization

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
Multi-Head Attention 설명 없음
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Position-Wise Feed-Forward Layer 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Mix-modal Federated Learning for MRI Image Segmentation

2025-09-02 · Guyue Hu, Siyuan Song, Jingpeng Sun, Zhe Jin 외 arxiv

Magnetic resonance imaging (MRI) image segmentation is crucial in diagnosing and treating many diseases, such as brain tumors. Existing MRI image segmentation methods mainly fall into a centralized multimodal paradigm, w…

Federated LearningImage Segmentation

MoViT: Memorizing Vision Transformers for Medical Image Analysis

2023-03-27 · Yiqing Shen, Pengfei Guo, Jingpu Wu, Qianqi Huang 외

The synergy of long-range dependencies from transformers and local representations of image content from convolutional neural networks (CNNs) has led to advanced architectures and increased performance for various medica…

Decision MakingInductive BiasMedical Image Analysis

Extended Mind Transformers

2024-06-04 · Phoebe Klett, Thomas Ahle

Pre-trained language models demonstrate general intelligence and common sense, but long inputs quickly become a bottleneck for memorizing information at inference time. We resurface a simple method, Memorizing Transforme…

Common Sense ReasoningcounterfactualDecoderRetrieval

To grok or not to grok: Disentangling generalization and memorization on corrupted algorithmic datasets

2023-10-19 · Darshil Doshi, Aritra Das, Tianyu He, Andrey Gromov

Robust generalization is a major challenge in deep learning, particularly when the number of trainable parameters is very large. In general, it is very difficult to know if the network has memorized a particular set of e…

Memorization

What to Do Next? Memorizing skills from Egocentric Instructional Video

2025-07-01 · Jing Bi, Chenliang Xu arxiv

Learning to perform activities through demonstration requires extracting meaningful information about the environment from observations. In this research, we investigate the challenge of planning high-level goal-oriented…