Sony Pixel Power calrec Sony

What Is Retrieval-Augmented Generation?

15/11/2023

To understand the latest advance in generative AI, imagine a courtroom.

Judges hear and decide cases based on their general understanding of the law. Sometimes a case - like a malpractice suit or a labor dispute - requires special expertise, so judges send court clerks to a law library, looking for precedents and specific cases they can cite.

Like a good judge, large language models (LLMs) can respond to a wide variety of human queries. But to deliver authoritative answers that cite sources, the model needs an assistant to do some research.

The court clerk of AI is a process called retrieval-augmented generation, or RAG for short.

The Story of the Name Patrick Lewis, lead author of the 2020 paper that coined the term, apologized for the unflattering acronym that now describes a growing family of methods across hundreds of papers and dozens of commercial services he believes represent the future of generative AI.

Patrick Lewis We definitely would have put more thought into the name had we known our work would become so widespread, Lewis said in an interview from Singapore, where he was sharing his ideas with a regional conference of database developers.

We always planned to have a nicer sounding name, but when it came time to write the paper, no one had a better idea, said Lewis, who now leads a RAG team at AI startup Cohere.

So, What Is Retrieval-Augmented Generation? Retrieval-augmented generation is a technique for enhancing the accuracy and reliability of generative AI models with facts fetched from external sources.

In other words, it fills a gap in how LLMs work. Under the hood, LLMs are neural networks, typically measured by how many parameters they contain. An LLM's parameters essentially represent the general patterns of how humans use words to form sentences.

That deep understanding, sometimes called parameterized knowledge, makes LLMs useful in responding to general prompts at light speed. However, it does not serve users who want a deeper dive into a current or more specific topic.

Combining Internal, External Resources Lewis and colleagues developed retrieval-augmented generation to link generative AI services to external resources, especially ones rich in the latest technical details.

The paper, with coauthors from the former Facebook AI Research (now Meta AI), University College London and New York University, called RAG a general-purpose fine-tuning recipe because it can be used by nearly any LLM to connect with practically any external resource.

Building User Trust Retrieval-augmented generation gives models sources they can cite, like footnotes in a research paper, so users can check any claims. That builds trust.

What's more, the technique can help models clear up ambiguity in a user query. It also reduces the possibility a model will make a wrong guess, a phenomenon sometimes called hallucination.

Another great advantage of RAG is it's relatively easy. A blog by Lewis and three of the paper's coauthors said developers can implement the process with as few as five lines of code.

That makes the method faster and less expensive than retraining a model with additional datasets. And it lets users hot-swap new sources on the fly.

How People Are Using Retrieval-Augmented Generation With retrieval-augmented generation, users can essentially have conversations with data repositories, opening up new kinds of experiences. This means the applications for RAG could be multiple times the number of available datasets.

For example, a generative AI model supplemented with a medical index could be a great assistant for a doctor or nurse. Financial analysts would benefit from an assistant linked to market data.

In fact, almost any business can turn its technical or policy manuals, videos or logs into resources called knowledge bases that can enhance LLMs. These sources can enable use cases such as customer or field support, employee training and developer productivity.

The broad potential is why companies including AWS, IBM, Glean, Google, Microsoft, NVIDIA, Oracle and Pinecone are adopting RAG.

Getting Started With Retrieval-Augmented Generation To help users get started, NVIDIA developed a reference architecture for retrieval-augmented generation. It includes a sample chatbot and the elements users need to create their own applications with this new method.

The workflow uses NVIDIA NeMo, a framework for developing and customizing generative AI models, as well as software like NVIDIA Triton Inference Server and NVIDIA TensorRT-LLM for running generative AI models in production.

The software components are all part of NVIDIA AI Enterprise, a software platform that accelerates development and deployment of production-ready AI with the security, support and stability businesses need.

Getting the best performance for RAG workflows requires massive amounts of memory and compute to move and process data. The NVIDIA GH200 Grace Hopper Superchip, with its 288GB of fast HBM3e memory and 8 petaflops of compute, is ideal - it can deliver a 150x speedup over using a CPU.

Once companies get familiar with RAG, they can combine a variety of off-the-shelf or custom LLMs with internal or external knowledge bases to create a wide range of assistants that help their employees and customers.

RAG doesn't require a data center. LLMs are debuting on Windows PCs, thanks to NVIDIA software that enables all sorts of applications users can access even on their laptops.

An example application for RAG on a PC. PCs equipped with NVIDIA RTX GPUs can now run some AI models locally. By using RAG on a PC, users can link to a private knowledge source - whether that be emails, notes or articles - to improve responses. The user can then feel confident that their data source, prompts and response all remain private and secure.

A recent blog provides an example of RAG acc
LINK: https://blogs.nvidia.com/blog/what-is-retrieval-augmented-generation/...
See more stories from nvidia

Most recent headlines

05/01/2027

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be demoed at CES 2026

Worlds first 802.15.4ab-UWB chip verified by Calterah and Rohde & Schwarz to be ...

23/10/2026

SMPTE to Hold Tech Summit in Conjunction With NAB Show NY Starting in 2027

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

DirecTV to Showcase Unique Sport Equinox on Oct. 26

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

Territory Group Launches Lux Meridian, New AI-Native Film and Television Production Studio

Territory Group Launches Lux Meridian, New AI-Native Film and Television Product...

23/10/2026

SipRadius provides rapid response to PHP concerns

SipRadius, widely recognized for making content processing and connectivity secure and seamless, has responded promptly to the global issue of PHP vulnerabiliti...

23/10/2026

Comcast Plans Restructure, Layoffs

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

Locality Appoints Saul Stetson as SVP, Head of Product

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

University of North Florida Athletics, Cox Media Sign Multiyear Broadcast Deal

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

CBC/Radio Canada Taps Dalet to Modernize News Operations

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

SWIT Introduces Compact, Gold Mount Batteries

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

Hearst Television VP, Finance Stanley Herriott Sets Retirement

Share Copy link Facebook X Linkedin Bluesky Email...

23/10/2026

Ayrton Launches Falconer

A Brand New, Ultra-high-performance Remote Followspot Control System Ayrton has released Falconer, a brand-new, ultra-high-performance remote followspot system...

23/10/2026

Scripps Research Nobel laureates Ardem Patapoutian and K. Barry Sharpless among first honored by new Wertheim Laureate Prize

LA JOLLA, CA-The newly launched Wertheim Laureate Prize invites Nobel laureates ...

23/10/2026

Vegas Pro Delivers Professional Color Management and Faster Renders

Vegas Pro Delivers Professional Color Management and Faster Renders Jessie Electa Petrov October 22, 2026 0 Comments The 2027 release from Boris FX st...

23/10/2026

Blackmagic Design Announces Price Increases Due to Rising Memory Costs

Blackmagic Design Announces Price Increases Due to Rising Memory Costs Brie Clayton October 22, 2026 0 Comments New prices across a range of products ...

23/10/2026

Berklee Welcomes Marcus Gilmore for Signature Series Performance

Berklee Welcomes Marcus Gilmore for Signature Series Performance The two-time Grammy Award-winning drummer, composer, producer, and bandleader will also lead ...

23/10/2026

Season 30 of The Voice Features a Record Number of Berklee Alumni

Season 30 of The Voice Features a Record Number of Berklee Alumni Learn more about Dakota Cohen, Brandon Diaz, Nina Howland, and Zalissa Stewart, plus how the...

23/10/2026

iPhone Duo arrives at Apple Store locations worldwide - PHOTOS - Posted on 23 October 2026

On Friday, October 23, the highly anticipated iPhone Duo made its debut at Apple...

22/10/2026

Router Control Strategy: UCP Panels, WebPanel, and NBOSS

Router Control Strategy: UCP Panels, WebPanel, and NBOSS Selecting a broadcast router control system is far more than a panel procurement exercise. The control ...

22/10/2026

BeckTV, Beam Dynamics, Providius Connect System Design, Asset Intelligence, and Live Monitoring

BeckTV, Beam Dynamics, and Providius have announced a collaboration linking Beck...

22/10/2026

NETGEAR Enterprise Extends Professional Services to NDI AV-over-IP Workflows

NETGEAR Enterprise has extended its Professional Services program beyond the network layer to cover AV-over-IP workflows, with NDI as the first ecosystem partne...

22/10/2026

USSI Global Promotes Ted Korte to Chief Technology Officer

USSI Global has promoted Ted Korte to Chief Technology Officer (CTO). The promotion follows the recent appointment of Ed McGivern as Chief Revenue Officer as th...

22/10/2026

Calrec Appoints Video Progetti as Italian Distribution Partner

Calrec has appointed Video Progetti, a Rome- and Milan-based broadcast distributor and AV system integrator, as its distribution partner for Italy. Video Proget...

22/10/2026

NHL Tonight to Celebrate 5,000th Episode on Oct. 27

NHL Network's NHL Tonight will mark its 5,000th episode on Tuesday, Oct. 27, at 7 p.m. ET. The milestone covers episodes since the show began broadcasting f...

22/10/2026

CURE Insurance Arena Installs New Daktronics Displays

CURE Insurance Arena in Trenton, New Jersey, has partnered with Daktronics to install a five-display centerhung system and three entrance displays. Installed th...

22/10/2026

Arkona Adds Native Integration With Bitfocus Buttons

Arkona technologies has announced native integration between its BLADE//runner AT300 platform and Bitfocus Buttons, the control system from Bitfocus. The arkona...

22/10/2026

U2 to Headline Halftime Show at NFL Thanksgiving Eve Game on Netflix

U2 will perform at halftime of the NFL Thanksgiving Eve Game on Netflix, celebrating the band's 50th anniversary. The game, the first NFL Thanksgiving footb...

22/10/2026

Nyaal Banyul Geelong Convention and Event Centre Deploys Riedel MediorNet and Artist

Nyaal Banyul Geelong Convention and Event Centre in Victoria, Australia, has dep...

22/10/2026

Arqiva Migrates Event Scheduling Workflow to DataMiner xOps in Under Three Months

Arqiva has migrated its occasional-use event scheduling and resource-management ...

22/10/2026

NBC Sports to Present Every Alpine World Cup and World Championship Race Under New Rights Agreements With U.S. Ski & Snowboard, FIS

NBC Sports will present every alpine World Cup and World Championship race under...

22/10/2026

FOX Sports to Air Gulfstream Park Championship Meet Starting in 2027

FOX Sports and The New York Racing Association (NYRA) have announced a multi-year agreement between NYRA and 1/ST establishing FOX Sports as the television home...

22/10/2026

Alpha Launches Media Modernization Practice and The Lab

Alpha, a technology integration and solutions partner for broadcast and production, has launched a Media Modernization practice and The Lab, a customer-facing e...

22/10/2026

Sweetwater's Dolby Atmos Airstream Studio Makes Two Nashville-Area Stops

Sweetwater's Dolby Atmos mobile recording studio, built inside an Airstream travel trailer, will make two Nashville-area appearances as part of a nationwide...

22/10/2026

SPORTEL Monaco 2026 Draws 1,962 Participants From 73 Countries

SPORTEL Monaco 2026 wrapped up three days at the Grimaldi Forum from Oct. 19-21, welcoming rights holders, broadcasters, investors, federations, agencies, and t...

22/10/2026

Parks Associates: 39% of U.S. Internet Households Watch Live Events or Sports Through On-Demand Streaming Services

Parks Associates research finds that 39% of U.S. internet households watch live ...

22/10/2026

Brooklyn's Barclays Center Invests in Updated Fan Experience with New Tech Upgrades

As the Brooklyn Nets tip-off their 2026-27 NBA regular season, the technology be...

22/10/2026

SVG TranSPORT 2026 Draws 300+ Transmission Pros To Talk C-Band Upheaval, LEO, FIFA World Cup Backbone, and More

Tech types from broadcasters, streamers, leagues, vendors, and service providers...

22/10/2026

Give Me the Backstory: Get to Know Micha Marczak, the Director of Closure

By Ramona Flume One of the most exciting things about the Sundance Film Festival is having a front-row seat for the bright future of independent filmmaking. Wh...

22/10/2026

Roland launch two new Boutique synths

The JUPITER-08 polysynth and n/vision wavetable Roland have announced two new additions to the Roland Boutique range: the JUPITER-08, marking 45 years since...

22/10/2026

Akai Pro release MPK Mini Plus II

New creative tools and colour display Akai Professional have announced the MPK Mini Plus II, a new version of their compact 37-key MIDI controller with an u...

22/10/2026

TV Viewing Cools Off in Nielsen's August Gauge Reports as Sports Take a Breather and School Resumes

YouTube Captures 15.8% of TV, Maintains Lead Among Media Distributors Disney Re...

22/10/2026

aconnic website back online following precautionary security measure

aconnic AG (ISIN: DE000A0LBKW6), Munich, temporarily took its corporate website offline as a precautionary measure in response to a newly discovered critical se...

22/10/2026

Entries Open for IBC2027 Accelerators

Share Copy link Facebook X Linkedin Bluesky Email...

22/10/2026

Bridge Building MXL Links With Grass Valley AMPP Integration

Share Copy link Facebook X Linkedin Bluesky Email...

22/10/2026

NDTV Adopts Amagi AdFlow Orchestrator - Unlocking Monetiz...

Amagi, the media industry cloud company, today announced that NDTV, a leading Indian news television and digital journalism company, has adopted the Amagi AdFl...

22/10/2026

CBC Radio-Canada Chooses Dalet for Enterprise News Tran...

Dalet, a leading technology and service provider for media-rich organizations, announced today that the CBC/Radio-Canada has selected Dalet to modernize its new...

22/10/2026

IBC calls for Challenge submissions for 2027 Accelerator...

IBC today announced the official call for Challenge submissions for its 2027 Accelerator Media Innovation Programme, inviting organisations from across the glob...

22/10/2026

Odido selects Synamedia Go to power its next-generation s...

Leading video software provider, Synamedia, today announced that Odido, one of the Netherlands' leading telecommunications providers, has selected its award...

22/10/2026

Broadcasters Foundation of America Expands Aid to Broadcasters in Need

Share Copy link Facebook X Linkedin Bluesky Email...