graph TD Q[User query] --> R[Query understanding] R --> S[Multi-query expansion] S --> T[Retrieval from Google index] T --> U[LLM synthesis with grounding] U --> V[Citation attribution] V --> W[SGE answer rendered] W --> X[User reads or clicks]
The pipeline has five stages:
- Query understanding. The model parses the query, expands it into sub-queries, and decides whether a generative answer is warranted.
- Retrieval. Google retrieves candidate passages from its index using both lexical (BM25-like) and semantic (embedding) signals.
- Synthesis. The LLM composes a summary constrained to the retrieved passages. Hallucination is reduced by grounding — the model must cite.
- Attribution. Each claim is linked to one or more source URLs, rendered as inline chips.
- Rendering. The answer appears at the top of the SERP; classic results appear below.