• bitcoinBitcoin(BTC)$81,007.001.62%
  • Midas Fasanara Global EuroMidas Fasanara Global Euro(MGLOEURO)$111,813.00-0.36%
  • ethereumEthereum(ETH)$2,357.452.00%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$746.201.10%
  • rippleXRP(XRP)$1.332.82%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$101.861.84%
  • tronTRON(TRX)$0.3308630.67%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.61%
  • zcashZcash(ZEC)$1,320.208.16%
  • HyperliquidHyperliquid(HYPE)$81.394.85%
  • dogecoinDogecoin(DOGE)$0.0797063.01%
  • moneroMonero(XMR)$601.05-0.05%
  • USDSUSDS(USDS)$1.00-0.01%
  • whitebitWhiteBIT Coin(WBT)$77.851.66%
  • chainlinkChainlink(LINK)$11.733.65%
  • leo-tokenLEO Token(LEO)$9.302.94%
  • cardanoCardano(ADA)$0.2071111.54%
  • nearNEAR Protocol(NEAR)$4.706.26%
  • stellarStellar(XLM)$0.1717472.23%
  • bitcoin-cashBitcoin Cash(BCH)$297.045.57%
  • RainRain(RAIN)$0.007205-0.18%
  • Ethena USDeEthena USDe(USDE)$1.000.04%
  • daiDai(DAI)$1.00-0.03%
  • litecoinLitecoin(LTC)$57.482.01%
  • uniswapUniswap(UNI)$7.121.41%
  • avalanche-2Avalanche(AVAX)$9.022.72%
  • CantonCanton(CC)$0.0994752.52%
  • USD1USD1(USD1)$1.000.02%
  • suiSui(SUI)$0.943.47%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.243.52%
  • hedera-hashgraphHedera(HBAR)$0.0767880.58%
  • tether-goldTether Gold(XAUT)$4,034.250.52%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • BittensorBittensor(TAO)$257.853.71%
  • shiba-inuShiba Inu(SHIB)$0.0000052.30%
  • quant-networkQuant(QNT)$198.12-1.76%
  • EthenaEthena(ENA)$0.206824-0.85%
  • crypto-com-chainCronos(CRO)$0.0541652.13%
  • BitwayBitway(BTW)$1.7634.29%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.0711.24%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.02%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$110.261.43%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$135.161.91%
  • pepePepe(PEPE)$0.00000514.03%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Enhancing AI Model’s Scalability and Performance: A Study on Multi-Head Mixture-of-Experts

April 26, 2024
in AI & Technology
Reading Time: 5 mins read
A A
Enhancing AI Model’s Scalability and Performance: A Study on Multi-Head Mixture-of-Experts
ShareShareShareShareShare

Large capacity models, such as Large Language Models (LLMs) and Large Multi-modal Models (LMMs), have demonstrated effectiveness across various domains and tasks. Scaling up these models by increasing parameter count enhances performance but significantly reduces inference speed, limiting practicality. Sparse Mixtures of Experts (SMoE) offer a promising alternative, enabling model scalability while mitigating computational costs. However, SMoE faces two key challenges: i) low expert activation and ii) limited analytical capabilities, which hinder its effectiveness and scalability.

SMoE enhances model capacity while maintaining constant computational demand, yielding superior performance compared to densely-activated models. Unlike dense models, SMoE employs N-independent Feed-Forward Networks (FFN) as experts within each Mixture-of-Experts (MoE) layer and a gating function to distribute weights over these experts’ outputs. The routing mechanism selects the top-k experts from N experts, where k << N facilitates data and expert parallelism. Larger k values often improve model performance but can reduce training efficiency.

Researchers from Tsinghua University and Microsoft Research introduce Multi-Head Mixture-of-Experts (MH-MoE). MH-MoE utilises a multi-head mechanism to divide each input token into multiple sub-tokens and distribute them across different experts, achieving denser expert activation without increasing computational or parameter complexity. In contrast to SMoE, MH-MoE activates four experts for a single input token by splitting it into four sub-tokens. This allocation enables the model to focus on various representation spaces within experts, facilitating a more nuanced understanding of vision and language patterns. 

The architecture of MH-MoE addresses issues of low expert activation and token ambiguity by employing a multi-head mechanism to split tokens into sub-tokens and route them to various experts. In MH-MoE, each parallel layer contains a set of N experts, with a multi-head layer projecting inputs followed by token splitting and gating functions to route sub-tokens to experts. The top-k routing mechanism activates experts with the highest scores, and the resulting sub-tokens are processed by these activated experts and rearranged before token merging to maintain input-output shape consistency. The Token-Splitting-Merging (TSM) operation increases the data volume routed to specific experts, resulting in denser expert activation and improved understanding. This process ensures no additional computational cost in subsequent blocks, with a hyperparameter β used to balance parameters and computational complexity with the original SMoE.

The validation perplexity curves for all pretrained models and pre-training tasks are examined under two expert settings (8 experts and 32 experts). MH-MoE consistently maintains lower perplexity than the baselines across various experimental setups, indicating more effective learning. Also, increasing the number of experts correlates with a decrease in perplexity for MH-MoE, suggesting enhanced representation learning capabilities. Downstream evaluation across different pre-training tasks further validates the efficacy of MH-MoE. In English-focused language modeling, MH-MoE achieves the best performance across multiple benchmarks, demonstrating its effectiveness in improving language representation. Similarly, MH-MoE outperforms X-MoE consistently in multi-lingual language modeling, showcasing its superiority in modeling cross-lingual natural language. In masked multi-modal modeling tasks such as visual question answering, visual reasoning, and image captioning, MH-MoE consistently outperforms Dense and X-MoE baselines, underscoring its ability to capture diverse semantic and detailed information within visual data.

In conclusion, This paper investigates methods for achieving denser expert activation without introducing additional cost while enhancing fine-grained understanding ability. The proposed MH-MoE offers a straightforward implementation of these functionalities. Also, MH-MoE’s simplicity facilitates seamless integration with other SMoE frameworks, improving performance easily. Extensive empirical results across three tasks validate the effectiveness of MH-MoE in achieving these objectives.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 40k+ ML SubReddit


YOU MAY ALSO LIKE

iOS 27.2 Brings Two New Features To Apple’s CarPlay

OneQode Secures 14 MW of Chennai AI Capacity in AdaniConneX Agreement – Unite.AI

Asjad is an intern consultant at Marktechpost. He is persuing B.Tech in mechanical engineering at the Indian Institute of Technology, Kharagpur. Asjad is a Machine learning and deep learning enthusiast who is always researching the applications of machine learning in healthcare.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

iOS 27.2 Brings Two New Features To Apple’s CarPlay
AI & Technology

iOS 27.2 Brings Two New Features To Apple’s CarPlay

October 28, 2026
OneQode Secures 14 MW of Chennai AI Capacity in AdaniConneX Agreement – Unite.AI
AI & Technology

OneQode Secures 14 MW of Chennai AI Capacity in AdaniConneX Agreement – Unite.AI

October 28, 2026
Discord Public Server Messages May Be Soon Searchable On Google, But You Can Opt Out
AI & Technology

Discord Public Server Messages May Be Soon Searchable On Google, But You Can Opt Out

October 27, 2026
How To Change And Customize Your Android Auto Display
AI & Technology

How To Change And Customize Your Android Auto Display

October 27, 2026
Next Post
‘Innocent lives are on the line’: Biden pledges food aid into Gaza

'Innocent lives are on the line': Biden pledges food aid into Gaza

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Google Is Quietly Linking Your Phone Number To Other Android Accounts

Google Is Quietly Linking Your Phone Number To Other Android Accounts

October 24, 2026
Meet the Press Full Episode — October 11

Meet the Press Full Episode — October 11

October 27, 2026
Cattle set loose after truck crashes on Kansas City highway

Cattle set loose after truck crashes on Kansas City highway

October 22, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!