Close Menu
Ztoog
    What's Hot
    The Future

    Ausdroid Reviews: OPPO Find N3 – unfold your world

    Mobile

    Tipster says Samsung will rebrand its Exynos chips and give them a wacky new name

    Mobile

    Next iPhone SE coming in 2025 with OLED screen borrowed from the iPhone 14

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

      How I Turn Unstructured PDFs into Revenue-Ready Spreadsheets

      Is it the best tool for 2025?

      The clocks that helped define time from London’s Royal Observatory

      Summer Movies Are Here, and So Are the New Popcorn Buckets

      India-Pak conflict: Pak appoints ISI chief, appointment comes in backdrop of the Pahalgam attack

    • Technology

      Ensure Hard Work Is Recognized With These 3 Steps

      Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

      Is Duolingo the face of an AI jobs crisis?

      The US DOD transfers its AI-based Open Price Exploration for National Security program to nonprofit Critical Minerals Forum to boost Western supply deals (Ernest Scheyder/Reuters)

      The more Google kills Fitbit, the more I want a Fitbit Sense 3

    • Gadgets

      Maono Caster G1 Neo & PD200X Review: Budget Streaming Gear for Aspiring Creators

      Apple plans to split iPhone 18 launch into two phases in 2026

      Upgrade your desk to Starfleet status with this $95 USB-C hub

      37 Best Graduation Gift Ideas (2025): For College Grads

      Backblaze responds to claims of “sham accounting,” customer backups at risk

    • Mobile

      Samsung Galaxy S25 Edge promo materials leak

      What are people doing with those free T-Mobile lines? Way more than you’d expect

      Samsung doesn’t want budget Galaxy phones to use exclusive AI features

      COROS’s charging adapter is a neat solution to the smartwatch charging cable problem

      Fortnite said to return to the US iOS App Store next week following court verdict

    • Science

      Failed Soviet probe will soon crash to Earth – and we don’t know where

      Trump administration cuts off all future federal funding to Harvard

      Does kissing spread gluten? New research offers a clue.

      Why Balcony Solar Panels Haven’t Taken Off in the US

      ‘Dark photon’ theory of light aims to tear up a century of physics

    • AI

      How to build a better AI benchmark

      Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

      This data set helps researchers spot harmful stereotypes in LLMs

      Making AI models more trustworthy for high-stakes settings | Ztoog

      The AI Hype Index: AI agent cyberattacks, racing robots, and musical models

    • Crypto

      ‘The Big Short’ Coming For Bitcoin? Why BTC Will Clear $110,000

      Bitcoin Holds Above $95K Despite Weak Blockchain Activity — Analytics Firm Explains Why

      eToro eyes US IPO launch as early as next week amid easing concerns over Trump’s tariffs

      Cardano ‘Looks Dope,’ Analyst Predicts Big Move Soon

      Speak at Ztoog Disrupt 2025: Applications now open

    Ztoog
    Home » Unveiling the Shortcuts: How Retrieval Augmented Generation (RAG) Influences Language Model Behavior and Memory Utilization
    AI

    Unveiling the Shortcuts: How Retrieval Augmented Generation (RAG) Influences Language Model Behavior and Memory Utilization

    Facebook Twitter Pinterest WhatsApp
    Unveiling the Shortcuts: How Retrieval Augmented Generation (RAG) Influences Language Model Behavior and Memory Utilization
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    Researchers from Microsoft, the University of Massachusetts, Amherst, and the University of Maryland, College Park, tackle the problem of understanding how Retrieval Augmented Generation (RAG) impacts language fashions’ reasoning and factual accuracy (LMs). The research focuses on whether or not LMs rely extra on the exterior context supplied by RAG than their parametric reminiscence when producing responses to factual queries.

    Current strategies for enhancing the factual accuracy of LMs usually contain both enhancing the inner parameters of the fashions or utilizing exterior retrieval methods to offer extra context throughout inference. Techniques like ROME and MEMIT concentrate on enhancing the mannequin’s inner parameters to replace information. However, there was restricted exploration into how these fashions steadiness the use of inner (parametric) information and exterior (non-parametric) context in RAG.

    The researchers suggest a mechanistic examination of RAG pipelines to find out how a lot LMs depend upon exterior context versus their inner reminiscence when answering factual queries. They use two superior LMs, LLaMa-2 and Phi-2, to conduct their evaluation, using strategies like Causal Mediation Analysis, Attention Contributions, and Attention Knockouts.

    The researchers utilized three key methods to handle the internal workings of LMs below RAG:

    1. Causal tracing identifies which hidden states in the mannequin are essential for factual predictions. By evaluating a corrupted run (the place a part of the enter is intentionally altered) with a clear run and a restoration run (the place clear activations are reintroduced into the corrupted run), the researchers measure the Indirect Effect (IE) to find out the significance of particular hidden states.

    2. Attention contributions look into the consideration weights between the topic token and the final token in the output. This helps by analyzing how a lot consideration every token receives to see if the mannequin depends extra on the exterior context supplied by RAG or its inner information.

    3. Attention knockouts contain setting essential consideration weights to detrimental infinity to dam info circulate between particular tokens. By observing the drop in prediction high quality when these consideration weights are knocked out, the researchers can determine which connections are important for correct predictions.

    The outcomes revealed that in the presence of RAG context, each LLaMa-2 and Phi-2 fashions confirmed a major lower in reliance on their inner parametric reminiscence. The Average Indirect Effect of topic tokens in the question was notably decrease when RAG context was current. Additionally, the final token residual stream derived extra enriched info from the attribute tokens in the context relatively than the topic tokens in the question. Attention Contributions and Knockouts additional confirmed that the fashions prioritized exterior context over inner reminiscence for factual predictions. However, the precise nature of how this strategy works isn’t clearly understood.

    In conclusion, the proposed methodology demonstrates that language fashions current a “shortcut” habits, closely counting on the exterior context supplied by RAG over their inner parametric reminiscence for factual queries. By mechanistically analyzing how LMs course of and prioritize info, the researchers present invaluable insights into the interaction between parametric and non-parametric information in retrieval-augmented technology. The research highlights the want for understanding these dynamics to enhance mannequin efficiency and reliability in sensible functions.


    Check out the Paper. All credit score for this analysis goes to the researchers of this venture. Also, don’t overlook to comply with us on Twitter. 

    Join our Telegram Channel and LinkedIn Group.

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

    Don’t Forget to hitch our 44k+ ML SubReddit


    Pragati Jhunjhunwala is a consulting intern at MarktechPost. She is at the moment pursuing her B.Tech from the Indian Institute of Technology(IIT), Kharagpur. She is a tech fanatic and has a eager curiosity in the scope of software program and information science functions. She is at all times studying about the developments in numerous area of AI and ML.

    🐝 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

    How to build a better AI benchmark

    AI

    Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

    AI

    This data set helps researchers spot harmful stereotypes in LLMs

    AI

    Making AI models more trustworthy for high-stakes settings | Ztoog

    AI

    The AI Hype Index: AI agent cyberattacks, racing robots, and musical models

    AI

    Novel method detects microbial contamination in cell cultures | Ztoog

    AI

    Seeing AI as a collaborator, not a creator

    AI

    “Periodic table of machine learning” could fuel AI discovery | Ztoog

    Leave A Reply Cancel Reply

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

    Pixel phones get jazzier with Kenny G-like ringtone

    Ryan Haines / Android AuthorityTL;DR Google has up to date the Sounds app after launching…

    The Future

    Why Shredder’s Not in Teenage Mutant Ninja Turtles Mutant Mayhem

    There are lots of issues that make Teenage Mutant Ninja Turtles: Mutant Mayhem stand out…

    Crypto

    Curve Finance Exploiter Returns 61,000 ETH After Protocol’s Stern Warning

    In a stunning flip of occasions, the hacker often called the “Alchemix/Curve Finance Exploiter” has…

    Technology

    This AI realized it was being tested

    Claude 3 Opus, Anthropic’s new AI chatbot, has induced shockwaves as soon as once more…

    AI

    Understanding the visual knowledge of language models | Ztoog

    You’ve seemingly heard {that a} image is value a thousand phrases, however can a big…

    Our Picks
    Mobile

    Google Messages for Web to get new authentication system

    AI

    How Can We Efficiently Deploy Large Language Models in Streaming Applications? This AI Paper Introduces the StreamingLLM Framework for Infinite Sequence Lengths

    Technology

    Why Bitcoin is surging to a record high

    Categories
    • AI (1,482)
    • Crypto (1,744)
    • Gadgets (1,796)
    • Mobile (1,839)
    • Science (1,853)
    • Technology (1,789)
    • The Future (1,635)
    Most Popular
    The Future

    The best apps are taking a page from mobile gaming

    Crypto

    Standard Chartered Says Ethereum Price Can Reach $35,000, Here’s When

    Technology

    More like T-stationary: T-Mobile fixes roaming loophole for 5G home internet

    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.