• bitcoinBitcoin(BTC)$80,202.000.10%
  • ethereumEthereum(ETH)$2,325.25-0.11%
  • tetherTether(USDT)$1.00-0.03%
  • binancecoinBNB(BNB)$744.080.62%
  • rippleXRP(XRP)$1.310.89%
  • usd-coinUSDC(USDC)$1.00-0.03%
  • solanaSolana(SOL)$100.75-0.59%
  • tronTRON(TRX)$0.329083-0.39%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.00%
  • zcashZcash(ZEC)$1,234.641.97%
  • HyperliquidHyperliquid(HYPE)$78.622.58%
  • dogecoinDogecoin(DOGE)$0.0778411.14%
  • moneroMonero(XMR)$601.161.23%
  • USDSUSDS(USDS)$1.00-0.01%
  • whitebitWhiteBIT Coin(WBT)$77.04-0.19%
  • chainlinkChainlink(LINK)$11.39-0.43%
  • leo-tokenLEO Token(LEO)$9.040.29%
  • cardanoCardano(ADA)$0.2066031.27%
  • stellarStellar(XLM)$0.1693410.75%
  • nearNEAR Protocol(NEAR)$4.49-2.06%
  • bitcoin-cashBitcoin Cash(BCH)$281.450.65%
  • RainRain(RAIN)$0.007406-14.32%
  • Ethena USDeEthena USDe(USDE)$1.00-0.07%
  • daiDai(DAI)$1.00-0.02%
  • uniswapUniswap(UNI)$7.183.58%
  • litecoinLitecoin(LTC)$56.840.08%
  • CantonCanton(CC)$0.099853-1.32%
  • avalanche-2Avalanche(AVAX)$8.950.27%
  • USD1USD1(USD1)$1.00-0.02%
  • suiSui(SUI)$0.92-0.17%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.21-3.22%
  • hedera-hashgraphHedera(HBAR)$0.077380-0.23%
  • tether-goldTether Gold(XAUT)$4,007.310.46%
  • Global DollarGlobal Dollar(USDG)$1.00-0.03%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.03%
  • quant-networkQuant(QNT)$202.736.99%
  • shiba-inuShiba Inu(SHIB)$0.0000050.81%
  • BittensorBittensor(TAO)$251.62-0.36%
  • EthenaEthena(ENA)$0.2108431.44%
  • crypto-com-chainCronos(CRO)$0.053526-1.30%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.04%
  • okbOKB(OKB)$109.551.19%
  • MemeCoreMemeCore(M)$0.951.36%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$135.56-0.15%
  • OndoOndo(ONDO)$0.4141271.60%
  • Pump.funPump.fun(PUMP)$0.0042951.10%
  • Falcon USDFalcon USD(USDF)$0.99-0.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

The Artist Pal in Your Pocket: SnapFusion is an AI Approach That Brings the Power of Diffusion Models to Mobile Devices

June 24, 2023
in AI & Technology
Reading Time: 6 mins read
A A
The Artist Pal in Your Pocket: SnapFusion is an AI Approach That Brings the Power of Diffusion Models to Mobile Devices
ShareShareShareShareShare

Diffusion models. This is a term you heard about a lot if you have been paying attention to the advancements in the AI domain. They were the key that enabled the revolution in generative AI methods. We now have models that can generate photorealistic images using text prompts in a span of seconds. They have revolutionized content generation, image editing, super-resolution, video synthesis, and 3D asset generation.

Though this impressive performance does not come cheap. Diffusion models are extremely demanding in terms of computation requirements. That means you need really high-end GPUs to make full use of them. Yes, there are also attempts to make them run on your local computers; but even then, you need a high-end one.  On the other hand, using a cloud provider can be an alternative solution, but then you might risk your privacy in that case.

Then, there is also the on-the-go aspect we need to think about. For the majority of people, they spend more time on their phones than their computers. If you want to use diffusion models on your mobile device, well, good luck with that, as it will be too demanding for the limited hardware power of the device itself. 

🔥 Unleash the power of Live Proxies: Private, undetectable residential and mobile IPs.

Diffusion models are the next big thing, but we need to tackle their complexity before applying them in practical applications. There have been multiple attempts that have focused on speeding up inference on mobile devices, but they have not achieved seamless user experience or quantitatively evaluated generation quality. Well, it was the story until now because we have a new player on the field, and it’s named SnapFusion.

SnapFusion is the first text-to-image diffusion model that generates images on mobile devices in less than 2 seconds. It optimizes the UNet architecture and reduces the number of denoising steps to improve inference speed. Additionally, it uses an evolving training framework, introduces data distillation pipelines, and enhances the learning objective during step distillation.

Overview of SnapFusion. Source: https://arxiv.org/pdf/2306.00980.pdf

Before making any changes to the structure, the authors of SnapFusion first investigated the architecture redundancy of SD-v1.5 to obtain efficient neural networks. However, applying conventional pruning or architecture search techniques to SD was challenging due to the high training cost. Any changes in the architecture may result in degraded performance, requiring extensive fine-tuning with significant computational resources. So, that road was blocked, and they had to develop alternative solutions that can preserve the performance of the pre-trained UNet model while gradually improving its efficacy.

To increase inference speed, SnapFusion focuses on optimizing the UNet architecture, which is a bottleneck in the conditional diffusion model. Existing works primarily focus on post-training optimizations, but SnapFusion identifies architecture redundancies and proposes an evolving training framework that outperforms the original Stable Diffusion model while significantly improving speed. It also introduces a data distillation pipeline to compress and accelerate the image decoder.

SnapFusion includes a robust training phase, where stochastic forward propagation is applied to execute each cross-attention and ResNet block with a certain probability. This robust training augmentation ensures that the network is tolerant to architecture permutations, allowing for accurate assessment of each block and stable architectural evolution. 

The efficient image decoder is achieved through a distillation pipeline that uses synthetic data to train the decoder obtained via channel reduction. This compressed decoder has significantly fewer parameters and is faster than the one from SD-v1.5. The distillation process involves generating two images, one from the efficient decoder and the other from SD-v1.5, using text prompts to obtain the latent representation from the UNet of SD-v1.5.

The proposed step distillation approach includes a vanilla distillation loss objective, which aims to minimize the discrepancy between the student UNet’s prediction and the teacher UNet’s noisy latent representation. Additionally, a CFG-aware distillation loss objective is introduced to improve the CLIP score. CFG-guided predictions are used in both the teacher and student models, where the CFG scale is randomly sampled to provide a trade-off between FID and CLIP scores during training.

Sample images generated by SnapFusion. Source: https://arxiv.org/pdf/2306.00980.pdf

Thanks to the improved step distillation and network architecture development, SnapFusion can generate 512 × 512 images from text prompts on mobile devices in less than 2 seconds. The generated images exhibit quality similar to the state-of-the-art Stable Diffusion model.


Check Out The Paper and Project Page. Don’t forget to join our 25k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at [email protected]


Featured Tools From AI Tools Club

🚀 Check Out 100’s AI Tools in AI Tools Club


YOU MAY ALSO LIKE

The Pros And Cons Of Enabling Apple’s Security Feature

OpenAI Says Its Models Produced Three Proofs in Math, CS, and Physics – Unite.AI

Ekrem Çetinkaya received his B.Sc. in 2018, and M.Sc. in 2019 from Ozyegin University, Istanbul, Türkiye. He wrote his M.Sc. thesis about image denoising using deep convolutional networks. He received his Ph.D. degree in 2023 from the University of Klagenfurt, Austria, with his dissertation titled “Video Coding Enhancements for HTTP Adaptive Streaming Using Machine Learning.” His research interests include deep learning, computer vision, video encoding, and multimedia networking.


Credit: Source link

ShareTweetSendSharePin

Related Posts

The Pros And Cons Of Enabling Apple’s Security Feature
AI & Technology

The Pros And Cons Of Enabling Apple’s Security Feature

October 27, 2026
OpenAI Says Its Models Produced Three Proofs in Math, CS, and Physics – Unite.AI
AI & Technology

OpenAI Says Its Models Produced Three Proofs in Math, CS, and Physics – Unite.AI

October 26, 2026
The Mistake iPhone Duo Buyers Can Easily Avoid
AI & Technology

The Mistake iPhone Duo Buyers Can Easily Avoid

October 26, 2026
Apple Adds More Siri AI Tools In Its 27.2 System Updates, Out Today
AI & Technology

Apple Adds More Siri AI Tools In Its 27.2 System Updates, Out Today

October 26, 2026
Next Post
Synovus Financial: Interesting Dividend But It’s Not Enough (NYSE:SNV)

Synovus Financial: Interesting Dividend But It's Not Enough (NYSE:SNV)

Leave a Reply Cancel reply

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

Search

No Result
View All Result
NVIDIA Releases Cosmos3-H-Dreams Real-Time Surgical World Model – Unite.AI

NVIDIA Releases Cosmos3-H-Dreams Real-Time Surgical World Model – Unite.AI

October 20, 2026
Rapid-fire questions with Becky G

Rapid-fire questions with Becky G

October 25, 2026
Pennsylvania health officials report a sixth measles-related death

Pennsylvania health officials report a sixth measles-related death

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!