• bitcoinBitcoin(BTC)$83,496.00-1.18%
  • ethereumEthereum(ETH)$2,650.72-1.90%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$772.79-0.04%
  • rippleXRP(XRP)$1.50-1.51%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$120.43-1.00%
  • tronTRON(TRX)$0.3340020.23%
  • zcashZcash(ZEC)$1,574.84-4.45%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.06-0.38%
  • HyperliquidHyperliquid(HYPE)$90.48-3.21%
  • dogecoinDogecoin(DOGE)$0.095037-1.59%
  • chainlinkChainlink(LINK)$14.01-1.71%
  • moneroMonero(XMR)$539.37-3.62%
  • whitebitWhiteBIT Coin(WBT)$83.23-1.20%
  • USDSUSDS(USDS)$1.000.01%
  • cardanoCardano(ADA)$0.2533800.15%
  • RainRain(RAIN)$0.012539-1.96%
  • leo-tokenLEO Token(LEO)$9.040.29%
  • stellarStellar(XLM)$0.214795-0.33%
  • nearNEAR Protocol(NEAR)$5.263.32%
  • bitcoin-cashBitcoin Cash(BCH)$325.11-2.22%
  • uniswapUniswap(UNI)$9.43-3.52%
  • CantonCanton(CC)$0.1399593.27%
  • litecoinLitecoin(LTC)$70.45-1.87%
  • suiSui(SUI)$1.256.42%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • avalanche-2Avalanche(AVAX)$10.840.36%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.642.65%
  • daiDai(DAI)$1.000.00%
  • USD1USD1(USD1)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.0957582.85%
  • quant-networkQuant(QNT)$264.1951.68%
  • BittensorBittensor(TAO)$311.22-3.22%
  • shiba-inuShiba Inu(SHIB)$0.000006-1.32%
  • BitwayBitway(BTW)$1.2521.54%
  • crypto-com-chainCronos(CRO)$0.065350-2.85%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,215.80-1.51%
  • OndoOndo(ONDO)$0.576.20%
  • EthenaEthena(ENA)$0.2738981.80%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.18-3.96%
  • okbOKB(OKB)$119.15-1.68%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • Pump.funPump.fun(PUMP)$0.00517216.62%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • aaveAave(AAVE)$151.28-3.28%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.13%
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

Mix-LN: A Hybrid Normalization Technique that Combines the Strengths of both Pre-Layer Normalization and Post-Layer Normalization

December 22, 2024
in AI & Technology
Reading Time: 5 mins read
A A
Mix-LN: A Hybrid Normalization Technique that Combines the Strengths of both Pre-Layer Normalization and Post-Layer Normalization
ShareShareShareShareShare

The Large Language Models (LLMs) are highly promising in Artificial Intelligence. However, despite training on large datasets covering various languages 

and topics, the ability to understand and generate text is sometimes overstated. LLM applications across multiple domains have proven to have little impact on improving human-computer interactions or creating innovative solutions. This is because the deep layers of the LLMS don’t contribute much and, if removed, don’t affect their performance. This underutilization of deep layers shows inefficiency within the models.

YOU MAY ALSO LIKE

Which Is Better To Use?

Bill Gates Says It’s ‘Completely Irresponsible’ For AI To Not Have Safeguards

Current methods showed that deeper layers of LLMs contributed little to their performance. Although used to stabilize training, techniques like pre-LN and post-LN showed significant limitations. Pre-LN reduced the magnitude of gradients in deeper layers, limiting their effectiveness, while post-LN caused gradients to vanish in earlier layers. Despite efforts to address these issues through dynamic linear combinations and Adaptive Model Initialization, these techniques do not fully optimize LLM performance.

To address this issue, researchers from the Dalian University of Technology, the University of Surrey, the Eindhoven University of Technology, and the University of Oxford proposed Mix-LN. This normalization technique combines the strengths of Pre-LN and Post-LN within the same model. Mix-LN applies Post-LN to the earlier layers and Pre-LN to the deeper layers to ensure more uniform gradients. This approach allows both shallow and deep layers to contribute effectively to training. The researchers evaluated the hypothesis that deeper layers in LLMs were inefficient due to pre-LN. The main difference between post-LN and pre-LN architectures is layer normalization (LN) placement. In post-LN, LN is applied after the residual addition, while in pre-LN, it is used before. 

Researchers compared pre- and post-LN models in large-scale open-weight and small-scale in-house LLMs. Metrics such as angular distance and performance drop assessed layer effectiveness. Early layers were less effective in BERT-Large (Post-LN) than in deeper layers. In LLaMa2-7B (Pre-LN), deeper layers were less effective, and pruning them showed minimal performance impact. Researchers observed similar trends in LLaMa-130M, where Pre-LN layers were less effective at deeper levels, and Post-LN maintained better performance in deeper layers. These results suggested that Pre-LN caused the inefficiency of deeper layers.

The optimal Post-LN ratio α for Mix-LN was determined through experiments with LLaMA-1B on the C4 dataset. The best performance occurred at α = 0.25, where perplexity was lowest. For the remaining layers, performance decreased but remained higher than the performance recorded by Pre-LN compared to the layers that adopted Post-LN. Mix-LN also supported a broader range of representations and maintained a healthier gradient norm for deeper layers to contribute effectively. Mix-LN achieved significantly low perplexity scores, outperforming other normalization methods.

In conclusion, the researchers identified inefficiencies caused by Pre-LN in deep layers of large language models (LLMs) and proposed Mix-LN as a solution. Experiments showed that Mix-LN outperformed both Pre-LN and Post-LN, improving model performance during pre-training and fine-tuning without increasing model size. This approach can act as a baseline for future research, offering a foundation for further enhancements in training deep models and advancing model efficiency and capacity.


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 and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 60k+ ML SubReddit.

🚨 Trending: LG AI Research Releases EXAONE 3.5: Three Open-Source Bilingual Frontier AI-level Models Delivering Unmatched Instruction Following and Long Context Understanding for Global Leadership in Generative AI Excellence….


Divyesh is a consulting intern at Marktechpost. He is pursuing a BTech in Agricultural and Food Engineering from the Indian Institute of Technology, Kharagpur. He is a Data Science and Machine learning enthusiast who wants to integrate these leading technologies into the agricultural domain and solve challenges.

🧵🧵 [Download] Evaluation of Large Language Model Vulnerabilities Report (Promoted)


Credit: Source link

ShareTweetSendSharePin

Related Posts

Which Is Better To Use?
AI & Technology

Which Is Better To Use?

September 28, 2026
Bill Gates Says It’s ‘Completely Irresponsible’ For AI To Not Have Safeguards
AI & Technology

Bill Gates Says It’s ‘Completely Irresponsible’ For AI To Not Have Safeguards

September 27, 2026
Should You Ditch Your Tablet For A Foldable Phone?
AI & Technology

Should You Ditch Your Tablet For A Foldable Phone?

September 27, 2026
Why The iPhone Duo Could Be Beneficial For Samsung’s Galaxy Z Fold 8
AI & Technology

Why The iPhone Duo Could Be Beneficial For Samsung’s Galaxy Z Fold 8

September 27, 2026
Next Post
OpenAI Announces OpenAI o3: A Measured Advancement in AI Reasoning with 87.5% Score on Arc AGI Benchmarks

OpenAI Announces OpenAI o3: A Measured Advancement in AI Reasoning with 87.5% Score on Arc AGI Benchmarks

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Why The iPhone Duo Could Be Beneficial For Samsung’s Galaxy Z Fold 8

Why The iPhone Duo Could Be Beneficial For Samsung’s Galaxy Z Fold 8

September 27, 2026
WATCH: Day 21 of Lindsay Clancy murder trial | NBC News

WATCH: Day 21 of Lindsay Clancy murder trial | NBC News

September 23, 2026
Inside the global humanoid robot competition in China

Inside the global humanoid robot competition in China

September 25, 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!