• bitcoinBitcoin(BTC)$78,518.00-0.86%
  • ethereumEthereum(ETH)$2,484.01-0.35%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$751.241.61%
  • rippleXRP(XRP)$1.421.34%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$103.20-0.83%
  • tronTRON(TRX)$0.3378091.01%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.00%
  • zcashZcash(ZEC)$1,161.180.43%
  • HyperliquidHyperliquid(HYPE)$84.39-1.09%
  • dogecoinDogecoin(DOGE)$0.089780-0.88%
  • RainRain(RAIN)$0.0164630.82%
  • USDSUSDS(USDS)$1.000.02%
  • whitebitWhiteBIT Coin(WBT)$81.346.17%
  • moneroMonero(XMR)$498.52-3.73%
  • chainlinkChainlink(LINK)$12.52-2.14%
  • leo-tokenLEO Token(LEO)$9.190.31%
  • cardanoCardano(ADA)$0.2211460.06%
  • stellarStellar(XLM)$0.188546-2.09%
  • bitcoin-cashBitcoin Cash(BCH)$256.71-1.67%
  • daiDai(DAI)$1.000.00%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • USD1USD1(USD1)$1.00-0.01%
  • CantonCanton(CC)$0.1078783.95%
  • litecoinLitecoin(LTC)$54.20-2.23%
  • uniswapUniswap(UNI)$6.74-3.22%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.40-0.51%
  • hedera-hashgraphHedera(HBAR)$0.079194-4.12%
  • avalanche-2Avalanche(AVAX)$8.00-1.71%
  • suiSui(SUI)$0.81-2.13%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.41%
  • nearNEAR Protocol(NEAR)$2.33-0.21%
  • crypto-com-chainCronos(CRO)$0.0592353.95%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.000.02%
  • MemeCoreMemeCore(M)$1.226.00%
  • tether-goldTether Gold(XAUT)$4,361.79-1.09%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BittensorBittensor(TAO)$260.04-0.41%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$113.92-1.36%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.140.11%
  • polkadotPolkadot(DOT)$1.2417.03%
  • mantleMantle(MNT)$0.631.51%
  • AsterAster(ASTER)$0.75-2.52%
  • aaveAave(AAVE)$129.20-2.56%
  • pax-goldPAX Gold(PAXG)$4,360.15-1.18%
  • OndoOndo(ONDO)$0.376399-2.54%
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

What Is Roku’s Secret Menu And How Do You Unlock It?

NVIDIA Announces CUDA Rust with cuda-oxide (SIMT) and cutile-rs (Tile) for Compile-Time-Safe GPU Kernels

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

What Is Roku’s Secret Menu And How Do You Unlock It?
AI & Technology

What Is Roku’s Secret Menu And How Do You Unlock It?

September 8, 2026
NVIDIA Announces CUDA Rust with cuda-oxide (SIMT) and cutile-rs (Tile) for Compile-Time-Safe GPU Kernels
AI & Technology

NVIDIA Announces CUDA Rust with cuda-oxide (SIMT) and cutile-rs (Tile) for Compile-Time-Safe GPU Kernels

September 8, 2026
NVIDIA’s DLSS 5 Adds Subtle Details To NBA 2K27, But Demands A Lot More Power
AI & Technology

NVIDIA’s DLSS 5 Adds Subtle Details To NBA 2K27, But Demands A Lot More Power

September 8, 2026
Cognition Raises Over B Series E at B Valuation to Scale Devin Agents – Unite.AI
AI & Technology

Cognition Raises Over $2B Series E at $48B Valuation to Scale Devin Agents – Unite.AI

September 8, 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
What Is Considered Good Speed For Home Internet And How Can You Test It?

What Is Considered Good Speed For Home Internet And How Can You Test It?

September 8, 2026
Trump pushes elections bill 

Trump pushes elections bill 

September 4, 2026
In “An Alien Mind,” OpenAI’s Jakub Pachocki Urges Shared Safety Bars – Unite.AI

In “An Alien Mind,” OpenAI’s Jakub Pachocki Urges Shared Safety Bars – Unite.AI

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