MambaFormer: 令牌级引导路由混合专家模型用于准确且高效的临床辅助
MambaFormer: Token-Level Guided Routing Mixture-of-Experts for Accurate and Efficient Clinical Assistance
AI总结:
MambaFormer通过令牌级引导路由混合专家模型,实现高效准确的医疗问答和临床辅助,以超低延迟优于现有技术。
摘要:
大语言模型(LLMs)在真实临床应用中的部署受到计算成本与线性时间模型效率之间基本权衡的限制。为了解决这一问题,我们提出了一种基于LLM的MambaFormer混合混合专家(MoE)框架,用于高效的医疗问答(QA)和临床辅助。MambaFormer采用了一种轻量级的门控机制,通过令牌级动态路由将定制的Transformer专家(ET5)用于短而复杂的查询,或将状态空间模型专家(EMamba)用于长且高吞吐量的序列。定制的EMamba和ET5模型针对输入序列维度、嵌入结构、序列长度和目标特定的输出头进行了调整,并通过在新设计的DentalQA数据集上进行迁移学习进行微调。此外,智能路由决策由令牌嵌入的上下文复杂性、归一化序列长度和领域感知特征驱动,从而在推理延迟和预测准确性之间实现帕累托最优权衡。此外,一种新的用途引导的多目标损失共同优化决策、路由器参数、路由行为、专家使用和计算成本,通过自适应调节令牌级专家激活。最后,所提出的MambaFormer在新设计的DentalQA和PubMedQA数据集上进行了交叉验证(留出)并与其他最先进的技术进行了比较。所提出的MambaFormer在BERTScore = 0.9180的情况下,以超低延迟(0.077秒)运行,比T5-Large快24.4倍,建立了适用于资源受限临床部署的可扩展解决方案。
英文摘要:
The deployment of large language models (LLMs) in real-world clinical applications is constrained by the fundamental trade-off between computational cost and the efficiency of linear-time models. To address this, we propose an LLM-based MambaFormer hybrid Mixture-of-Experts (MoE) framework for efficient medical question-answering (QA) and clinical assistance. The MambaFormer employs a lightweight gating mechanism that performs token-level dynamic routing to a customized Transformer expert (ET5) for short, complex queries or to a State Space Model expert (EMamba) for long, high-throughput sequences. The customized EMamba and ET5 models are tailored to accommodate input sequence dimensionality, embedding structure, sequence length, and target-specific output heads, and are fine-tuned through transfer learning on a new, custom-designed DentalQA dataset. Moreover, intelligent routing decisions are driven by the contextual complexity of token embeddings, normalized sequence length, and domain-aware features, thereby enforcing a Pareto-optimal trade-off between inference latency and prediction accuracy. Furthermore, a novel utility-guided multi-objective loss jointly optimizes decisions, router parameters, routing behavior, expert utilization, and computational cost by adaptively regulating token-level expert activation. Finally, the proposed MambaFormer is cross-validated (holdout) for medical QA on the new, custom-designed DentalQA and PubMedQA datasets and compared with state-of-the-art techniques. The proposed MambaFormer outperforms (BERTScore = 0.9180) with ultra-low latency (0.077 s), delivering a 24.4 speedup over T5-Large and establishing a scalable solution for resource-constrained clinical deployment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。