• bitcoinBitcoin(BTC)$76,831.00-4.87%
  • ethereumEthereum(ETH)$2,235.99-4.17%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$699.56-5.99%
  • rippleXRP(XRP)$1.25-2.60%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$94.78-5.03%
  • tronTRON(TRX)$0.3318590.15%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-2.42%
  • HyperliquidHyperliquid(HYPE)$90.49-3.52%
  • zcashZcash(ZEC)$1,226.93-7.35%
  • dogecoinDogecoin(DOGE)$0.075331-4.88%
  • moneroMonero(XMR)$595.06-0.91%
  • USDSUSDS(USDS)$1.000.10%
  • whitebitWhiteBIT Coin(WBT)$73.83-4.66%
  • leo-tokenLEO Token(LEO)$9.42-0.48%
  • chainlinkChainlink(LINK)$11.13-4.66%
  • cardanoCardano(ADA)$0.192851-4.55%
  • stellarStellar(XLM)$0.167269-1.11%
  • bitcoin-cashBitcoin Cash(BCH)$289.651.09%
  • nearNEAR Protocol(NEAR)$4.33-1.58%
  • daiDai(DAI)$1.000.04%
  • Ethena USDeEthena USDe(USDE)$1.00-0.07%
  • RainRain(RAIN)$0.006315-3.17%
  • uniswapUniswap(UNI)$6.94-3.05%
  • litecoinLitecoin(LTC)$55.32-4.55%
  • USD1USD1(USD1)$1.00-0.11%
  • CantonCanton(CC)$0.095985-5.00%
  • avalanche-2Avalanche(AVAX)$8.42-4.80%
  • suiSui(SUI)$0.89-4.03%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.16-3.59%
  • hedera-hashgraphHedera(HBAR)$0.071525-2.15%
  • tether-goldTether Gold(XAUT)$3,879.89-3.54%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • paypal-usdPayPal USD(PYUSD)$1.000.07%
  • shiba-inuShiba Inu(SHIB)$0.000005-4.10%
  • quant-networkQuant(QNT)$190.21-0.50%
  • BittensorBittensor(TAO)$232.97-7.75%
  • crypto-com-chainCronos(CRO)$0.051149-3.14%
  • EthenaEthena(ENA)$0.187393-10.36%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.08%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • okbOKB(OKB)$109.96-3.05%
  • MemeCoreMemeCore(M)$0.94-7.68%
  • pepePepe(PEPE)$0.000005-3.62%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • OndoOndo(ONDO)$0.403652-2.82%
  • aaveAave(AAVE)$127.14-4.64%
  • BitwayBitway(BTW)$1.27-12.57%
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

ReLU vs. Softmax in Vision Transformers: Does Sequence Length Matter? Insights from a Google DeepMind Research Paper

September 23, 2023
in AI & Technology
Reading Time: 4 mins read
A A
ReLU vs. Softmax in Vision Transformers: Does Sequence Length Matter? Insights from a Google DeepMind Research Paper
ShareShareShareShareShare

A common machine learning architecture today is the transformer architecture. One of the main parts of the transformer, attention, has a softmax that generates a probability distribution across tokens. Parallelization is difficult with Softmax since it is expensive owing to an exponent calculation and a sum over the length of the sequence. In this study, they investigate point-wise softmax alternatives that do not always provide a probability distribution. One standout finding is that, for visual transformers, scaling behavior for attention with ReLU split by sequence length can come close to or match that of classic softmax attention. 

This finding opens up new possibilities for parallelization since ReLU-attention parallelizes more easily than standard attention along the sequence length dimension. In earlier studies, ReLU or squared ReLU have been considered possible replacements for softmax. However, these methods do not split by sequence length, which researchers from Google DeepMind find crucial for achieving accuracy on par with softmax. Additionally, earlier research has taken the role of softmax, albeit normalization across the axis of sequence length is still necessary to guarantee that the attention weights add up to one. The drawback of requiring a gather remains with this. Additionally, there is a wealth of research that eliminates activation functions to make attention linear, which is advantageous for lengthy sequence durations.

In their studies, accuracy was lowered when the activation was completely removed. Their tests utilize ImageNet-21k and ImageNet-1k training settings from the BigVision source without changing hyperparameters. They train for 30 epochs in their experiments on ImageNet-21k and 300 epochs in their trials on ImageNet-1k. As a result, both training runs take around 9e5 steps, which is a similar quantity. As this was previously discovered to be required to avoid instability when scaling model size, they utilize ViTs with the qk-layer norm. They conclude that this is not a crucial element on their scales. 

They report ImageNet-1k accuracy for ImageNet-21k models by taking the top class among those in ImageNet-1k without fine-tuning. They use the terms i21k and i1k to denote ImageNet-21k and ImageNet-1k, respectively. They utilize a 10-shot linear probe averaged across three seeds to assess transfer performance on downstream activities. The downstream jobs are Caltech Birds, Caltech101, Stanford Cars, CIFAR-100, DTD, ColHsit, Pets, and UC Merced. This study raises a lot of unanswered issues. They must discover why factor L^(-1) boosts performance or if this concept can be learned. Furthermore, there may be a more effective activation function that they are not investigating.


Check out the Paper. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 30k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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


YOU MAY ALSO LIKE

Everything You Need To Know About Googlebooks

Project Suncatcher’s Orbiting TPU Delivers Its First AI-Generated Haiku – Unite.AI

Aneesh Tickoo is a consulting intern at MarktechPost. He is currently pursuing his undergraduate degree in Data Science and Artificial Intelligence from the Indian Institute of Technology(IIT), Bhilai. He spends most of his time working on projects aimed at harnessing the power of machine learning. His research interest is image processing and is passionate about building solutions around it. He loves to connect with people and collaborate on interesting projects.


🚀 The end of project management by humans (Sponsored)

Credit: Source link

ShareTweetSendSharePin

Related Posts

Everything You Need To Know About Googlebooks
AI & Technology

Everything You Need To Know About Googlebooks

October 30, 2026
Project Suncatcher’s Orbiting TPU Delivers Its First AI-Generated Haiku – Unite.AI
AI & Technology

Project Suncatcher’s Orbiting TPU Delivers Its First AI-Generated Haiku – Unite.AI

October 30, 2026
New tvOS 27.2 Features To Try For An Upgraded Apple TV Experience
AI & Technology

New tvOS 27.2 Features To Try For An Upgraded Apple TV Experience

October 30, 2026
Pope Leo XIV Calls to “Disarm” AI, Urges Ban on Lethal Autonomous Weapons – Unite.AI
AI & Technology

Pope Leo XIV Calls to “Disarm” AI, Urges Ban on Lethal Autonomous Weapons – Unite.AI

October 30, 2026
Next Post
Oracle’s Crystal Ball is Cloudy: Tech Trends

Oracle's Crystal Ball is Cloudy: Tech Trends

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Binance founder says crypto exchange may have been hacked

Binance founder says crypto exchange may have been hacked

October 29, 2026
This Morning’s Top Headlines – Oct. 12 | Morning News NOW

This Morning’s Top Headlines – Oct. 12 | Morning News NOW

October 27, 2026
Vance says there are serious allegations against Rep. Omar

Vance says there are serious allegations against Rep. Omar

October 26, 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!