paper-with-me

홈 › Papers

Mamba Knockout for Unraveling Factual Information Flow

2025-05-30 · Nir Endy, Idan Daniel Grosbard, Yuval Ran-Milo, Yonatan Slutzky, Itay Tshuva, Raja Giryes

This paper investigates the flow of factual information in Mamba State-Space Model (SSM)-based language models. We rely on theoretical and empirical connections to Transformer-based architectures and their attention mechanisms. Exploiting this relationship, we adapt attentional interpretability techniques originally developed for Transformers--specifically, the Attention Knockout methodology--to both Mamba-1 and Mamba-2. Using them we trace how information is transmitted and localized across tokens and layers, revealing patterns of subject-token information emergence and layer-wise dynamics. Notably, some phenomena vary between mamba models and Transformer based models, while others appear universally across all models inspected--hinting that these may be inherent to LLMs in general. By further leveraging Mamba's structured factorization, we disentangle how distinct "features" either enable token-to-token information exchange or enrich individual tokens, thus offering a unified lens to understand Mamba internal operations.

📄 PDF Abstract BibTeX arXiv:2505.24244

Code (1)

nirendy/mamba-knockout 공식 구현

Tasks

Mamba

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
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…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

Locating and Editing Factual Associations in Mamba

2024-04-04 · Arnab Sen Sharma, David Atkinson, David Bau

We investigate the mechanisms of factual recall in the Mamba state space model. Our work is inspired by previous findings in autoregressive transformer language models suggesting that their knowledge recall is localized …

MambaModel Editing

MambaUIE&SR: Unraveling the Ocean's Secrets with Only 2.8 GFLOPs

2024-04-22 · Zhihao Chen, Yiyuan Ge

Underwater Image Enhancement (UIE) techniques aim to address the problem of underwater image degradation due to light absorption and scattering. In recent years, both Convolution Neural Network (CNN)-based and Transforme…

Image EnhancementMambaUIE

MambaFlow: A Mamba-Centric Architecture for End-to-End Optical Flow Estimation

2025-03-10 · Juntian Du, Yuan Sun, Zhihu Zhou, Pinyi Chen 외

Recently, the Mamba architecture has demonstrated significant successes in various computer vision tasks, such as classification and segmentation. However, its application to optical flow estimation remains unexplored. I…

MambaOptical Flow Estimation

Cardiovascular Disease Detection from Multi-View Chest X-rays with BI-Mamba

2024-05-28 · Zefan Yang, Jiajin Zhang, Ge Wang, Mannudeep K. Kalra 외

Accurate prediction of Cardiovascular disease (CVD) risk in medical imaging is central to effective patient health management. Previous studies have demonstrated that imaging features in computed tomography (CT) can help…

Computed Tomography (CT)GPUMamba

MambaFlow: A Novel and Flow-guided State Space Model for Scene Flow Estimation

2025-02-24 · Jiehao Luo, Jintao Cheng, Xiaoyu Tang, Qingwen Zhang 외

Scene flow estimation aims to predict 3D motion from consecutive point cloud frames, which is of great interest in autonomous driving field. Existing methods face challenges such as insufficient spatio-temporal modeling …

Autonomous DrivingDecoderMambaScene Flow Estimation