Abruf-gestützte Generierung (RAG)

wie RAG funktioniert — the retrieve-then-generieren pattern behind Google AI Overviews, ChatGPT Suche, und Perplexity — und war es bedeutet für getting Ihre Inhalt cited.

Erstveröffentlicht: 24. Juni 2026 · Zuletzt aktualisiert: 3. Aug. 2026 · Fortgeschritten

RAG (Retrieval-Augmented Generation) ist the retrieve-then-generieren pattern behind AI search. es läuft two phases bei Anfrage time — retrieval (finden relevant passages aus ein external index) und augmented generation (feed diese passages zu ein LLM zu schreiben ein grounded, cited Antwort) — ohne ever changing the model's weights. es ist wie AI answers abdecken Informationen beyond ein model's training cutoff. The retrieval phase chains chunking → embeddings → vector search → re-Ranking → top-k passages. RAG reduces hallucinations aber tut nicht eliminate them — und insufficient retrieved Kontext kann machen them worse. für SEO es gibt kein separate AI index: being crawlable, indexed, und structured into klar, self-contained passages ist the prerequisite für being retrieved und cited.

Lewis und colleagues’ 2020 System paired sequence generation mit dense retrieval aus ein non-parametric index. Nachweis für diese Aussage The original RAG paper combined a pretrained sequence-to-sequence model with a non-parametric dense-vector index retrieved during generation. Geltungsbereich: Lewis et al.'s 2020 RAG architecture and experiments, not every modern retrieval system. Vertrauensniveau: hoch · Verifiziert: Lewis et al.: Retrieval-Augmented Generation Google Cloud’s current overview defines RAG mehr broadly als supplying retrieved external knowledge zu ein model. Nachweis für diese Aussage Google Cloud describes RAG as retrieving relevant information from external knowledge sources and providing it to a model to improve generated responses. Geltungsbereich: General RAG architecture in Google Cloud documentation; quality depends on retrieval, source quality, and generation. Vertrauensniveau: hoch · Verifiziert: Google Cloud: RAG overview

TL;DR — RAG ist ein two-phase, inference-time pattern: retrieval (finden relevant passages in ein external corpus) then augmented generation (feed diese passages zu ein LLM zu produce ein grounded, cited Antwort). The weights never ändern — es combines the model’s parametric memory mit non-parametric memory retrieved live. The retrieval phase chains chunking → embeddings → vector search → re-Ranking → top-k. “Naive” RAG ist retrieve-then-generieren; advanced RAG adds Anfrage rewriting und re-Ranking; agentic RAG adds iterative, multi-hop retrieval. Retrieval kann ground answers aber tut nicht guarantee correctness; in one Gemma evaluation, insufficient Kontext coincided mit mehr incorrect answers. für SEO: es gibt kein separate AI index; crawlability, indexing, und passage-level clarity sind the prerequisites für being retrieved.

The two phases (und warum “inference time” ist the whole point)

Retrieval ist ein pipeline-Aspekt: chunk-Aspekt, embed-Aspekt, Suche, re-rank, dann hand-Aspekt die survivors-Aspekt zu die model-Aspekt. Quelle: /ai-search/how-search-works/rag/

Five stages-Aspekt ausführen left-Aspekt zu richtige bei inference-Aspekt Zeit. Chunking splits-Aspekt documents-Aspekt in retrievable-Aspekt passages-Aspekt. Embeddings represent-Aspekt jede passage-Aspekt als ein dense-Aspekt vector-Aspekt. Vector Suche retrieves-Aspekt candidates-Aspekt und einige Systeme combine-Aspekt es mit BM25 Keyword Suche. Re-Ranking re-scores und narrows-Aspekt die candidate-Aspekt setzen. Die top-Aspekt surviving-Aspekt passages-Aspekt enter-Aspekt die model-Aspekt Kontext. Die model's-Aspekt Gewichtungen tun nicht Änderung.

© Patrick Stox LLC · CC BY 4.0 ·

RAG combines-Aspekt trained-Aspekt model-Aspekt memory-Aspekt mit retrieved-Aspekt Kontext bei Suchanfrage Zeit — ohne verändern die Gewichtungen. Quelle: /ai-search/how-search-works/rag/

Zwei Quellen feed eins generation-Aspekt Schritt. Parametric memory-Aspekt ist knowledge-Aspekt encoded-Aspekt in die model-Aspekt Gewichtungen während training-Aspekt und ist limited-Aspekt durch die training-Aspekt Daten und cutoff-Aspekt. Non-parametric memory-Aspekt consists-Aspekt von passages-Aspekt retrieved-Aspekt aus ein external-Aspekt Index bei Suchanfrage Zeit. Generation verwendet beide während die Gewichtungen bleiben unchanged-Aspekt, producing-Aspekt ein answer-Aspekt dass kann sein grounded-Aspekt in und cite-Aspekt die retrieved-Aspekt Quellen; dies tut nicht garantieren correctness-Aspekt.

© Patrick Stox LLC · CC BY 4.0 ·

Break the acronym apart und Sie haben the model: Retrieval plus Augmented Generation. ein Anfrage comes in; the System retrieves the meisten relevant passages aus ein external corpus; es injects diese passages into the LLM’s Kontext window; the LLM generates ein Antwort grounded in them.

The detail that everyone erhält wrong: dies happens bei inference time, und the model’s weights sind never touched. RAG ist nicht training und es ist nicht fine-tuning. The original 2020 paper aus Patrick Lewis und colleagues bei Facebook AI Recherche framed es als combining two kinds von memory — parametric memory (knowledge baked into the weights during training) und non-parametric memory (knowledge retrieved live aus ein index). RAG uses both bei once. AWS puts the practical case plainly: retraining ein foundation model für fresh oder domain-specific knowledge ist expensive, und “RAG ist ein mehr cost-effective approach zu introducing neu Daten zu the LLM.”

(The naming, für war es ist worth, war ein accident. Lewis later admitted: “wir definitely would haben put mehr thought into the name hatte wir known unser arbeiten would werden so widespread… wir immer planned zu haben ein nicer sounding name, aber wenn es came time zu schreiben the paper, kein one hatte ein better idea.”)

Innerhalb der Retrieval-Phase

“Retrieve the relevant passages” ist doing ein lot von arbeiten in that sentence. in ein real System es ist ein pipeline:

  1. Chunking. Documents erhalten split into retrievable pieces. Chunk size ist ein real tradeoff — too small und ein passage loses its Kontext; too large und es floods the token budget mit irrelevance. Strategies range aus fixed token counts (100/256/512) zu recursive/sliding windows zu “Small2Big” (retrieve ein small sentence, zurückgeben its parent chunk für generation).
  2. Embeddings. jede chunk ist turned into ein dense vector — ein numeric representation von its meaning — so similarity ist computed semantically, nicht durch Keyword match. dies ist warum Inhalt über ein topic erhält retrieved even wenn es tut nicht verwenden the exact Anfrage phrasing.
  3. Vector search. The Anfrage ist embedded too, und the System findet the chunks whose vectors sit closest zu es. meisten production stacks ausführen hybrid search — dense vector retrieval plus BM25 Keyword Suche — weil jede catches recall the other misses.
  4. Re-Ranking. ein separate model re-scores the candidates durch relevance zu the Anfrage und reorders them, “effectively reducing the overall Dokument pool.” nur the top survivors machen es into the Kontext.
  5. Top-k into the prompt. The beste passages sind concatenated mit the user’s Anfrage und handed zu the generator.

Chunking ist the fragile Link. Anthropic identified that “traditional RAG solutions entfernen Kontext wenn encoding Informationen” — ein chunk pulled out von its Dokument loses the surrounding Kontext that made es meaningful. Their Contextual Retrieval technique (prepending chunk-specific Kontext vor indexing) reduced failed retrievals durch 49%, und durch 67% combined mit re-Ranking. das ist ein strong signal that the chunking problem ist real — und that self-contained, Kontext-rich passages sind easier zu retrieve correctly.

Naive, advanced, und agentic RAG

The survey literature (Gao et al., 2023) splits RAG into ein nützlich taxonomy:

  • Naive RAG“ein traditional process that enthält indexing, retrieval, und generation.” Retrieve top-k once, generieren once. es “struggles mit precision und recall, leading zu the selection von misaligned oder irrelevant chunks.”
  • Advanced RAG — adds “pre-retrieval und post-retrieval strategies.” Pre-retrieval: Anfrage rewriting und better indexing (einschließlich HyDE, wo the model generates ein hypothetical Antwort, embeds that, und retrieves documents that look like answers anstatt questions). Post-retrieval: re-Ranking und Kontext compression.
  • Modular / agentic RAG — the model retrieves, reasons über war ist still missing, und retrieves again, iterating across multiple hops. dies ist the current state von AI search. als Michael King put es: “The retrieve-once-then- generieren pattern that defined the erste wave ist obsolete… Agentic RAG ist now the Standard.”

dies matters für SEO weil Inhalt now hat zu survive multiple retrieval rounds und contradiction-checking — nicht just ein single retrieval pass.

tut RAG eliminate hallucinations? kein.

In eins evaluation-Aspekt, Gemma answered-Aspekt incorrectly-Aspekt auf 10,2 % von questions-Aspekt mit keine Kontext und 66,1 % mit insufficient-Aspekt Kontext; dies ist nicht ein universal-Aspekt model-Aspekt effect-Aspekt. Quelle: Data: Google Research

Zwei bars-Aspekt Bericht Gemma's incorrect-answer rate-Aspekt in eins Google Research evaluation-Aspekt. Mit keine Kontext, die rate-Aspekt ist 10,2 percent-Aspekt. Mit insufficient-Aspekt Kontext, die rate-Aspekt ist 66,1 percent-Aspekt. Die Vergleich kommt aus Google Research's ICLR 2025 sufficient-Kontext study-Aspekt und sollte nicht sein generalized-Aspekt zu jede model-Aspekt, dataset-Aspekt, oder retrieval-Aspekt System.

RAG kann ground answers in retrieved Quellen, aber the LLM kann still misread oder over-interpret war es pulled. Google Recherche (ICLR 2025) dokumentiert ein counterintuitive Ergebnis in one evaluation: Gemma produced incorrect answers auf 10,2% von questions mit kein Kontext und 66,1% mit insufficient Kontext. The researchers Bericht that models kann “excel mit sufficient Kontext aber fail zu recognize wenn Kontext ist insufficient.” Treat that als ein model- und evaluation-specific warning, nicht proof that retrieval universally causes worse answers. The practical lesson ist narrower: retrieval quality und Kontext sufficiency benötigen zu sein evaluated anstatt assumed. Google operationalized the finding als ein LLM re-ranker in its Vertex AI RAG Engine.

RAG vs. Fine-Tuning

These erhalten conflated constantly, und sie sind fundamentally different:

  • RAG retrieves external Informationen bei Anfrage time. Weights unchanged. beste für fresh/changing Informationen, citation requirements, und cost. The survey gefunden “RAG consistently outperforms [unsupervised fine-tuning], für both existing knowledge encountered during training und entirely neu knowledge.”
  • Fine-tuning modifies the model’s weights in ein separate training ausführen. beste für changing style und behavior, oder teaching stable domain knowledge that tut nicht ändern.

Sie’d reach für RAG zu machen ein model know the latest facts; Sie’d reach für fine-tuning zu ändern wie es talks.

RAG in der Praxis: Google, ChatGPT, Perplexity

  • Google AI Overviews. Google calls RAG “ein technique (auch known als grounding)… relying auf unser core Suche Ranking Systeme zu retrieve relevant, up-zu-date Web Seiten aus unser Suche index.” Two things folgen. erste, dort ist kein separate AI index“unser generative AI features auf Google Suche sind rooted in unser core Suche Ranking und quality Systeme.” Second, Google läuft query fan-out: “concurrent, related Anfragen generiert durch the model zu Anfrage mehr Informationen.” ein single question kann spawn multiple sub-Anfragen, jede retrieving different Inhalt — so Ihre Inhalt hat zu satisfy the implied sub-questions, nicht just the head Anfrage.
  • ChatGPT Suche. Launched (October 2024) mit Bing als its Daten partner, und OpenAI’s own crawler documentation confirms OAI-SearchBot tut independent fetching und indexing für Suche citations, separate aus GPTBot’s training-crawlen. OpenAI hasn’t published the current retrieval mix zwischen Bing und its own index, und OpenAI hat since positioned ChatGPT Suche als ein standalone competitor zu Bing anstatt ein wrapper rund es — so treat “es ist basically Bing” als ein simplification. The dokumentiert, actionable lever ist narrower und mehr durable: don’t block OAI-SearchBot in robots.txt, weil das ist the crawler OpenAI itself names als the one that indexes Inhalt für Suche citations.
  • Perplexity. erstellt auf hybrid retrieval (Vespa.ai — BM25 + dense) mit custom embedding models und ein strict re-Ranking threshold: durch Drittanbieter- analysis, nur the top ~30% von 60-plus retrieved Quellen survive zu the generation stage, und “citations sind nicht retrofitted post-generation — they sind structurally assigned during Kontext assembly.” Deep Recherche läuft the agentic loop across dozens von searches.

war RAG bedeutet für SEO

Strip away the jargon und the playbook ist concrete:

  • Being in the index ist the prerequisite — full stop. kein separate AI index bedeutet the crawlen → index → retrieve chain hat zu sein intact. wenn ein Seite kann nicht sein crawled und indexed, es kann nicht sein retrieved into ein AI Antwort. The gleich ist true für the AI Engines that erstellen their own pools: AI crawlers like OAI-SearchBot und PerplexityBot haben zu sein allowed zu fetch Sie, oder Sie sind invisible zu diese answers.
  • schreiben self-contained passages. RAG retrieves fragments, nicht whole Seiten. als iPullRank’s Francine Monahan put es, AI Systeme examine “fragments von Seiten rather than the Seite als ein whole” — so craft “stand-out passages und phrases” that Antwort ein specific question auf their own. dies ist exactly the H2/H3 structure und klar topic sentences good SEO already rewards. Google explicitly says nicht zu chop Ihre Inhalt into tiny pieces für AI — well-structured Inhalt chunks well auf its own.
  • abdecken the sub-topics. Query fan-out bedeutet one question kann trigger viele retrievals. Depth across related sub-questions beats one Seite stuffed rund ein single Keyword.
  • Authority drives citation mehr als ranken position. aus ein 8 000-citation analysis: “Strong organic Suche presence und broad Web visibility leads zu AI citations, nicht the other Weg rund” — und “highly authoritative Inhalt aus ein lower-Ranking Seite” sometimes erhält cited over ein weniger credible top-Ranking one. My own Daten lines up (aus my AI Overview citation research): mentions auf heavily-linked Seiten sind the strongest predictor von AI Overview inclusion (ρ ≈ 0,70), und branded Web mentions correlated ~0,66 across 75 000 brands.
  • Fresh Inhalt hat ein edge. AI citations skew meaningfully fresher than organic Ergebnisse, so currency matters.

wenn Sie wollen the one-sentence version: RAG didn’t ersetzen SEO — es raised the stakes auf the parts von SEO that waren immer über being findable und being klar.

Expertennotiz hinzufügen

Expertenzitat anheften

Neue Person? Erstelle ihr nicht beanspruchtes Profil unter /admin/experts/ → Expertenzitat anheften zuerst.