Close Menu
Ztoog
    What's Hot
    Mobile

    Android 14 QPR1 Beta 1: Every new feature in Google’s latest update

    Technology

    Toddler poisoned after eating deadly plant mislabeled as diet supplement

    Science

    Many Newly Discovered Species Are Already Gone

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      Any wall can be turned into a camera to see around corners

      JD Vance and President Trump’s Sons Hype Bitcoin at Las Vegas Conference

      AI may already be shrinking entry-level jobs in tech, new research suggests

      Today’s NYT Strands Hints, Answer and Help for May 26 #449

      LiberNovo Omni: The World’s First Dynamic Ergonomic Chair

    • Technology

      A Replit employee details a critical security flaw in web apps created using AI-powered app builder Lovable that exposes API keys and personal info of app users (Reed Albergotti/Semafor)

      Gemini in Google Drive can now help you skip watching that painfully long Zoom meeting

      Apple iPhone exports from China to the US fall 76% as India output surges

      Today’s NYT Wordle Hints, Answer and Help for May 26, #1437

      5 Skills Kids (and Adults) Need in an AI World – O’Reilly

    • Gadgets

      Future-proof your career by mastering AI skills for just $20

      8 Best Vegan Meal Delivery Services and Kits (2025), Tested and Reviewed

      Google Home is getting deeper Gemini integration and a new widget

      Google Announces AI Ultra Subscription Plan With Premium Features

      Google shows off Android XR-based glasses, announces Warby Parker team-up

    • Mobile

      Deals: the Galaxy S25 series comes with a free tablet, Google Pixels heavily discounted

      Microsoft is done being subtle – this new tool screams “upgrade now”

      Wallpaper Wednesday: Android wallpapers 2025-05-28

      Google can make smart glasses accessible with Warby Parker, Gentle Monster deals

      vivo T4 Ultra specs leak

    • Science

      Analysts Say Trump Trade Wars Would Harm the Entire US Energy Sector, From Oil to Solar

      Do we have free will? Quantum experiments may soon reveal the answer

      Was Planet Nine exiled from the solar system as a baby?

      How farmers can help rescue water-loving birds

      A trip to the farm where loofahs grow on vines

    • AI

      Rationale engineering generates a compact new tool for gene therapy | Ztoog

      The AI Hype Index: College students are hooked on ChatGPT

      Learning how to predict rare kinds of failures | Ztoog

      Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

      AI learns how vision and sound are connected, without human intervention | Ztoog

    • Crypto

      GameStop bought $500 million of bitcoin

      CoinW Teams Up with Superteam Europe to Conclude Solana Hackathon and Accelerate Web3 Innovation in Europe

      Ethereum Net Flows Turn Negative As Bulls Push For $3,500

      Bitcoin’s Power Compared To Nuclear Reactor By Brazilian Business Leader

      Senate advances GENIUS Act after cloture vote passes

    Ztoog
    Home » DenseFormer by EPFL Researchers: Enhancing Transformer Efficiency with Depth-Weighted Averages for Superior Language Modeling Performance and Speed
    AI

    DenseFormer by EPFL Researchers: Enhancing Transformer Efficiency with Depth-Weighted Averages for Superior Language Modeling Performance and Speed

    Facebook Twitter Pinterest WhatsApp
    DenseFormer by EPFL Researchers: Enhancing Transformer Efficiency with Depth-Weighted Averages for Superior Language Modeling Performance and Speed
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    The transformer structure has improved pure language processing, with latest developments achieved by scaling efforts from thousands and thousands to billion-parameter fashions. However, bigger fashions’ elevated computational price and reminiscence footprint restrict their practicality, benefiting only some main firms. Extending coaching length necessitates bigger datasets, which is difficult as even intensive datasets turn into inadequate. Observations point out diminishing returns with elevated mannequin depth, mirroring challenges in deep convolutional neural networks for pc imaginative and prescient. Solutions like DenseNets, facilitating direct entry to earlier layer outputs, have emerged to deal with this subject, reflecting parallels between NLP and pc imaginative and prescient developments.

    EPFL and the University of Geneva researchers developed DenseFormer, a modification to plain transformer structure that enhances mannequin perplexity with out measurement enhance. By incorporating Depth-Weighted-Average (DWA) steps after every transformer block, DenseFormer achieves coherent info stream patterns, enhancing information effectivity. Like DenseNets, DenseFormer employs weighted averages of previous block outputs as inputs for subsequent blocks, enhancing mannequin compactness, pace, and reminiscence effectivity throughout inference. DenseFormers outperform deeper transformers in numerous settings, providing higher speed-performance trade-offs with out requiring extra information. Additionally, insights from realized DWA weights point out enhanced reusability of early options, reinforcing DenseFormer’s effectiveness in language modeling.

    Recent analysis highlights diminishing returns with deeper fashions in each language and imaginative and prescient duties. Techniques like residual connections and DenseNets alleviate this by enhancing info stream between layers. DenseFormer, impressed by DenseNets, allows direct entry to previous representations in transformer blocks, enhancing effectivity with out growing measurement. Although related concepts like Depthwise Attention and interleaving previous representations exist, DenseFormer’s realized weighted averaging presents superior efficiency. While conventional transformer variations deal with inner modifications, DenseFormer operates between blocks, making it appropriate with present proposals. Additionally, concerns for {hardware} effectivity guarantee negligible overhead. Multiple mannequin approaches, like mixtures of specialists, additionally profit from DenseFormer’s adaptability, which emphasizes communication between fashions.

    DenseFormer enhances the usual Transformer structure by incorporating DWA modules after every transformer block. These modules allow weighted averages between the present block’s output, outputs from earlier blocks, and the preliminary embedded enter. Initializing with DWA modules performing as identification capabilities, the mannequin retains compatibility with normal Transformers. Researchers observe negligible will increase in mannequin measurement and reminiscence overhead. To additional scale back computational prices, researchers introduce Dilated DenseFormer, which specifies DWA weights by periodically setting them to zero. Additionally, the research explores Periodic DenseFormer, various the frequency of DWA module addition, resulting in important computational financial savings with out noticeable efficiency degradation.

    In the experiments evaluating DenseFormer’s efficiency in language modeling duties, researchers examine it in opposition to normal Transformer architectures throughout numerous metrics like mannequin measurement, inference time, coaching time, and perplexity. Baselines embody architectures of comparable depth, inference time, perplexity, and coaching time. DenseFormer constantly outperforms same-depth baselines, reaching superior perplexity with smaller fashions. It additionally matches or outperforms deeper fashions in perplexity whereas being quicker at inference. Moreover, experiments with dilation and DWA interval variations exhibit their affect on effectivity, with a dilation of 4 and a DWA interval of 5 yielding the most effective steadiness between pace and perplexity. These outcomes maintain throughout totally different datasets and sequence lengths.

    In conclusion, DenseFormer enhances the usual transformer structure with a DWA module after every block to entry earlier block outputs immediately. Extensive experimentation demonstrated DenseFormer’s superiority in reaching a good trade-off between perplexity and pace in comparison with transformer baselines. The research additionally explored strategies like dilation and DWA periodicity to boost pace with out compromising efficiency. Future analysis will optimize DenseFormer’s implementation, examine environment friendly sparsity patterns, and develop scalable, distributed coaching strategies. DenseFormer presents a promising avenue for enhancing effectivity in pure language processing duties.


    Check out the Paper and Github. All credit score for this analysis goes to the researchers of this undertaking. Also, don’t overlook to observe us on Twitter. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

    If you want our work, you’ll love our publication..

    Don’t Forget to affix our 39k+ ML SubReddit


    Sana Hassan, a consulting intern at Marktechpost and dual-degree scholar at IIT Madras, is obsessed with making use of expertise and AI to deal with real-world challenges. With a eager curiosity in fixing sensible issues, he brings a recent perspective to the intersection of AI and real-life options.


    🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    AI

    Rationale engineering generates a compact new tool for gene therapy | Ztoog

    AI

    The AI Hype Index: College students are hooked on ChatGPT

    AI

    Learning how to predict rare kinds of failures | Ztoog

    AI

    Anthropic’s new hybrid AI model can work on tasks autonomously for hours at a time

    AI

    AI learns how vision and sound are connected, without human intervention | Ztoog

    AI

    How AI is introducing errors into courtrooms

    AI

    With AI, researchers predict the location of virtually any protein within a human cell | Ztoog

    AI

    Google DeepMind’s new AI agent cracks real-world problems better than humans can

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Technology

    OnePlus 12 Deals: Save Up to $800 Off with Trade-In Plus Instant Savings Directly Through OnePlus

    See at Amazon OnePlus 12 at Amazon Save up to $401 in trade-in credit score…

    Crypto

    Crypto Strategist Unveils The ‘Most Brutal’ Market Phase

    The bitcoin market, infamous for its rollercoaster-like volatility, has as soon as once more plunged…

    Science

    What’s going on with spotted lanternflies?

    If you reside anyplace from central Virginia to southern New England, you’ve in all probability…

    Crypto

    Quant Explains How These Indicators Affect Ethereum Price

    A quant has defined how the indications like taker purchase/promote ratio and Coinbase premium index…

    Gadgets

    Intel, of all companies, knocks AMD’s CPU numbering in now-deleted presentation

    Enlarge / A now-deleted Intel presentation makes a superb level, however with a aspect of…

    Our Picks
    Science

    Over 230 people get puzzling neurological disorder in Peru; emergency declared

    Crypto

    Analyst Cites Key Indicators That Signal Bitcoin Correction

    Science

    The First Crispr Medicine Just Got Approved

    Categories
    • AI (1,493)
    • Crypto (1,753)
    • Gadgets (1,805)
    • Mobile (1,851)
    • Science (1,866)
    • Technology (1,802)
    • The Future (1,648)
    Most Popular
    Gadgets

    Report: Apple changes film strategy, will rarely do wide theatrical releases

    Crypto

    Top 50 Cryptocurrencies – Small Business Trends

    Mobile

    I’d love to buy a Galaxy Watch 6, but it isn’t the smartwatch for me

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

    Type above and press Enter to search. Press Esc to cancel.