paper-with-me

Papers

MambaFormer: Token-Level Guided Routing Mixture-of-Experts for Accurate and Efficient Clinical Assistance

2026-01-03 · Hamad Khan, Saddam Hussain Khan arxiv

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.

📄 PDF Abstract BibTeX arXiv:2601.01260

Code (0)

등록된 구현이 없습니다.

Tasks

Transfer Learning

Similar Papers 제목 키워드 기반

InstructMoLE: Instruction-Guided Mixture of Low-rank Experts for Multi-Conditional Image Generation

2025-12-25 · Jinqi Xiao, Qing Yan, Liming Jiang, Zichuan Liu 외 arxiv

Parameter-Efficient Fine-Tuning of Diffusion Transformers (DiTs) for diverse, multi-conditional tasks often suffers from task interference when using monolithic adapters like LoRA. The Mixture of Low-rank Experts (MoLE) …

parameter-efficient fine-tuningConditional Image Generation

MaskMoE: Boosting Token-Level Learning via Routing Mask in Mixture-of-Experts

2024-07-13 · Zhenpeng Su, Zijia Lin, Xue Bai, Xing Wu 외

Scaling the size of a model enhances its capabilities but significantly increases computation complexity. Mixture-of-Experts models (MoE) address the issue by allowing model size to scale up without substantially increas…

DiversityMixture-of-Experts

Mixture of Weight-shared Heterogeneous Group Attention Experts for Dynamic Token-wise KV Optimization

2025-06-16 · Guanghui Song, Dongping Liao, Yiren Zhao, Kejiang Ye 외

Transformer models face scalability challenges in causal language modeling (CLM) due to inefficient memory allocation for growing key-value (KV) caches, which strains compute and storage resources. Existing methods like …

Causal Language ModelingInstruction FollowingLanguage ModelingLanguage Modelling

Bandwidth-Efficient Adaptive Mixture-of-Experts via Low-Rank Compensation

2025-12-18 · Zhenyu Liu, Yunzhen Liu, Zehao Fan, Garrett Gagnon 외 arxiv

Mixture-of-Experts (MoE) models scale capacity via sparse activation but stress memory and bandwidth. Offloading alleviates GPU memory by fetching experts on demand, yet token-level routing causes irregular transfers tha…

THOR-MoE: Hierarchical Task-Guided and Context-Responsive Routing for Neural Machine Translation

2025-05-20 · Yunlong Liang, Fandong Meng, Jie zhou

The sparse Mixture-of-Experts (MoE) has achieved significant progress for neural machine translation (NMT). However, there exist two limitations in current MoE solutions which may lead to sub-optimal performance: 1) they…

Machine TranslationMixture-of-ExpertsNMTTranslation