迷失在状态空间中:探索冻结的Mamba表示
Lost in State Space: Probing Frozen Mamba Representations
AI总结:
研究探讨了冻结Mamba模型在固定块边界提取句子表示的效果,发现其不如简单均值池化,揭示了严重的各向异性与表示崩溃问题,并提出正交注入方法。
摘要:
Mamba的递归状态h_t本质上是对所有已见token的压缩总结。这引发了一个诱人的假设:如果我们提取固定块边界处的token级输出y_t,就能获得语义句子摘要,无需池化头、微调或[CLS]标记。我们仔细检验了这一假设。在五个基准(SST-2、CoLA、MRPC、STS-B、IMDb)上,我们比较了四种从预训练的Mamba-130M模型中提取冻结句子表示的策略,采用严格冻结特征探测协议,使用三个随机种子(计算可行时)。结果不支持该假设:块边界读取不一致地优于简单均值池化。我们识别并量化了两种结构性病理:严重的各向异性(均对数余弦相似度0.9999,标准差0.000044)和原始最终SSM状态中的表示崩溃(在CoLA上所有三个种子的MCC为0.000,通过混淆矩阵确认)。我们进一步提出正交注入,一种修改的递归方法,约束每单位新信息的传递。
英文摘要:
Mamba's recurrent state h_t is, by construction, a compressed summary of every token seen so far. This raises a tempting hypothesis: if we extract token-level outputs y_t at fixed patch boundaries, we obtain semantic sentence summaries for free, with no pooling head, no fine-tuning, and no [CLS] token. We test this hypothesis carefully. Across five benchmarks (SST-2, CoLA, MRPC, STS-B, IMDb), we compare four strategies for extracting frozen sentence representations from a pretrained Mamba-130M backbone under a strict frozen-feature probing protocol, using three random seeds where computationally feasible. The results do not support the hypothesis: patch boundary readouts do not consistently outperform simple mean pooling. We identify and quantify two structural pathologies: severe anisotropy (mean pairwise cosine similarity 0.9999, std 0.000044) and representational collapse in the raw final SSM state (MCC = 0.000 on CoLA across all three seeds, confirmed via confusion matrix). We further propose orthogonal injection, a modified recurrence that constrains new information per
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。