arXiv

Confidence-Adaptive SwiGLU for Mixture-of-Experts

Title: Confidence-Adaptive SwiGLU for Mixture-of-Experts

Abstract:

While SwiGLU has established itself as the standard gated activation mechanism within modern Transformer Multi-Layer Perceptrons (MLPs), its gate sharpness—defined by the smoothness and selectivity of the gating function—remains static throughout the training process. To address this limitation, we introduce Confidence-Aware SwiGLU ($\kappa$-SwiGLU), a specialized variant designed for Mixture-of-Experts (MoE) architectures that dynamically adjusts expert gate sharpness based on token-level routing confidence. In this approach, $\kappa$-SwiGLU treats the SiLU gate sharpness coefficient as a learnable function of the router logit, allowing each expert gate unit to flexibly interpolate between smooth, broadly active gating and sharp, highly selective gating.

We assessed the efficacy of $\kappa$-SwiGLU on the FineWeb-Edu dataset using MoE Transformer models with depths ranging from 8 to 28 layers. Our results indicate that $\kappa$-SwiGLU enhances mean CORE performance across all tested configurations. Notably, this improvement is achieved with negligible parameter overhead and only a minor computational cost. These findings suggest that incorporating confidence-aware gate sharpness is a promising strategy for optimizing MoE MLPs. The source code is publicly available at https://github.com/askerlee/kappa-swiglu.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...