• bitcoinBitcoin(BTC)$77,133.00-0.30%
  • ethereumEthereum(ETH)$2,490.17-1.68%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$718.55-2.24%
  • rippleXRP(XRP)$1.34-1.98%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$100.33-1.60%
  • tronTRON(TRX)$0.3411440.39%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-3.20%
  • zcashZcash(ZEC)$1,090.30-4.39%
  • HyperliquidHyperliquid(HYPE)$78.14-2.54%
  • dogecoinDogecoin(DOGE)$0.083582-1.72%
  • RainRain(RAIN)$0.0152961.66%
  • moneroMonero(XMR)$535.501.79%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$79.87-0.68%
  • chainlinkChainlink(LINK)$11.26-2.75%
  • leo-tokenLEO Token(LEO)$9.05-0.67%
  • cardanoCardano(ADA)$0.206111-1.19%
  • stellarStellar(XLM)$0.178596-2.00%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$223.83-2.95%
  • USD1USD1(USD1)$1.00-0.02%
  • litecoinLitecoin(LTC)$54.360.48%
  • uniswapUniswap(UNI)$6.25-3.68%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.36-1.91%
  • CantonCanton(CC)$0.094949-3.02%
  • hedera-hashgraphHedera(HBAR)$0.0756350.95%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$7.38-0.74%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.68%
  • nearNEAR Protocol(NEAR)$2.29-5.32%
  • suiSui(SUI)$0.71-1.98%
  • crypto-com-chainCronos(CRO)$0.057747-1.67%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,345.75-0.12%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • MemeCoreMemeCore(M)$1.14-2.90%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$112.88-0.99%
  • BittensorBittensor(TAO)$234.07-0.50%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.14%
  • aaveAave(AAVE)$125.91-0.04%
  • AsterAster(ASTER)$0.700.99%
  • pax-goldPAX Gold(PAXG)$4,346.89-0.19%
  • mantleMantle(MNT)$0.57-0.85%
  • BitwayBitway(BTW)$0.6924.54%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056974-0.99%
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

This AI Paper Unveils SecFormer: An Advanced Machine Learning Optimization Framework Balancing Privacy and Efficiency in Large Language Models

January 8, 2024
in AI & Technology
Reading Time: 5 mins read
A A
This AI Paper Unveils SecFormer: An Advanced Machine Learning Optimization Framework Balancing Privacy and Efficiency in Large Language Models
ShareShareShareShareShare

The increasing reliance on cloud-hosted large language models for inference services has raised privacy concerns, especially when handling sensitive data. Secure Multi-Party Computing (SMPC) has emerged as a solution for preserving the privacy of both inference data and model parameters. However, applying SMPC to Privacy-Preserving Inference (PPI) for large language models, particularly those based on the Transformer architecture, often results in significant performance issues. For instance, BERTBASE takes 71 seconds per sample via SMPC, compared to less than 1 second for plain-text inference (shown in Figure 3). This slowdown is attributed to the numerous nonlinear operations in the Transformer architecture, which need to be better suited for SMPC. To address this challenge, an advanced optimization framework named SecFormer (shown in Figure 2)  is introduced to achieve an optimal balance between performance and efficiency in PPI for Transformer models.

Large language models, such as those based on the Transformer architecture, have demonstrated exceptional performance across diverse tasks. However, the Model-as-a-Service (MaaS) paradigm poses privacy risks, as recent investigations indicate that a small number of samples can lead to the extraction of sensitive information from models like GPT-4. Accelerating PPI for Transformer models by replacing nonlinear operations with SMPC-friendly alternatives degrades performance. SecFormer takes a different approach, optimizing the balance between performance and efficiency through model design enhancements. It replaces high-overhead operations with innovative alternatives, such as substituting Softmax with a combination of multiplication and division operations. Knowledge distillation further refines the Transformer model, making it compatible with SMPC. SecFormer introduces a privacy-preserving GeLU algorithm based on segmented polynomials and efficient privacy-preserving algorithms for LayerNorm and Softmax, ensuring privacy while maintaining performance.

YOU MAY ALSO LIKE

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately

How To Get Your Cut Of PlayStation’s $7.85 Million Settlement

Evaluation of the GLUE (shown in Figure 1 and Table 2)  benchmark dataset using Transformer models like BERTBASE and BERTLARGE  demonstrates that SecFormer outperforms state-of-the-art approaches in terms of performance and efficiency. With an average improvement of 5.6% and 24.2%, SecFormer balances performance and efficiency in PPI. Comparisons with existing frameworks based on model design and SMPC protocol optimizations reveal that SecFormer achieves a speedup of 3.4 and 3.2 times in PPI while maintaining comparable performance levels. The framework’s effectiveness is showcased through a series of experiments (shown in Table 3), validating its potential to enhance large language models and ensure stringent privacy (shown in Table 4) standards in complex linguistic landscapes. In summary, SecFormer presents a scalable and effective solution, promising high performance while prioritizing privacy and efficiency in large language models.


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 35k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and LinkedIn Group.

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


Vineet Kumar is a consulting intern at MarktechPost. He is currently pursuing his BS from the Indian Institute of Technology(IIT), Kanpur. He is a Machine Learning enthusiast. He is passionate about research and the latest advancements in Deep Learning, Computer Vision, and related fields.


🐝 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

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately
AI & Technology

If Your Laptop Trackpad Is Popping Out, Stop Using It Immediately

September 13, 2026
How To Get Your Cut Of PlayStation’s .85 Million Settlement
AI & Technology

How To Get Your Cut Of PlayStation’s $7.85 Million Settlement

September 13, 2026
What Are Embeddings? How AI Represents Meaning as Numbers – Unite.AI
AI & Technology

What Are Embeddings? How AI Represents Meaning as Numbers – Unite.AI

September 13, 2026
AWS Introduces Pizza Bot: An Open Source Inbox for Background AI Agents
AI & Technology

AWS Introduces Pizza Bot: An Open Source Inbox for Background AI Agents

September 13, 2026
Next Post
Several districts closing public schools as budgets tighten and enrollment declines

Several districts closing public schools as budgets tighten and enrollment declines

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Canada Imposes New Tariffs on U.S. Goods, as Trade War Intensifies – The New York Times

Canada Imposes New Tariffs on U.S. Goods, as Trade War Intensifies – The New York Times

September 8, 2026
New moment of silence held for those lost to 9/11 health effects

New moment of silence held for those lost to 9/11 health effects

September 13, 2026
Roblox Will Soon Add Offline And Browser-Based Play Modes

Roblox Will Soon Add Offline And Browser-Based Play Modes

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