arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.07531cs.CLcs.AI
收藏

mllm-shap:面向文本-音频多模态大语言模型的Shapley值可解释性平台

mllm-shap: A Shapley Value Explainability Platform for Text-Audio Multimodal Large Language Models

Warsaw University of Technology(华沙理工大学)

Jakub Muszyński, Paweł Pozorski, Maria Ganzha

AI总结:

提出mllm-shap框架,通过模态感知掩码、多轮对话追踪和音素对齐分组技术,将Shapley值可解释性扩展到文本-音频多模态大语言模型,并实现10-50倍的计算加速。

摘要:

我们介绍了mllm-shap,一个开源Python框架,旨在将Shapley值(SV)可解释性从纯文本大语言模型扩展到处理联合文本和音频输入的多模态大语言模型(MLLM)。虽然基于文本的归因已得到充分研究,但mllm-shap解决了多模态领域特有的三个关键挑战:(1)模态感知的联盟掩码,管理离散文本令牌和密集音频编码器帧的交错处理。(2)多轮对话追踪,利用每令牌元数据维护角色和模态上下文。(3)基于音素对齐的令牌分组,一种新颖的技术,将联盟空间减少10到50倍,使得长音频的SV估计在计算上可行。该平台实现了五种SV估计策略,包括具有Neyman最优分配的互补贡献(CC)估计器,其收敛性优于标准蒙特卡洛基线。mllm-shap作为pip可安装包提供,并具有交互式基于Web的GUI,用于细粒度归因可视化。据我们所知,这是第一个公开可用的框架,为文本-音频MLLM中的基于SV的可解释性提供完整、可复现的流水线。

英文摘要:

We introduce mllm-shap, an open-source Python framework designed to extend Shapley Value (SV) explainability from text-only Large Language Models to Multimodal LLMs (MLLMs) processing joint text and audio inputs. While text-based attribution is well-studied, mllm-shap addresses three critical challenges unique to the multimodal regime: (1) Modality-aware coalition masking, which manages the interleaved processing of discrete text tokens and dense audio encoder frames. (2) Multi-turn conversation tracking, utilizing per-token metadata to maintain role and modality context. (3) Phonetic alignment-based token grouping, a novel technique that reduces the coalition space by 10x to 50x, rendering SV estimation computationally feasible for long-form audio. The platform implements five SV estimation strategies, including a Complementary Contributions (CC) estimator with Neyman-optimal allocation that demonstrates superior convergence over standard Monte Carlo baselines. mllm-shap is provided as a pip-installable package featuring an interactive web-based GUI for granular attribution visualization. To our knowledge, this is the first publicly available framework providing a complete, reproducible pipeline for SV-based explainability in text-audio MLLMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑