Currently, we’re witnessing the transition from traditional search (where you enter a simple query and view a short answer or list of websites) to generative AI search (where generative AI responds to complex prompts as part of a conversation, possibly with links included).

As we think about this transition, it is important to understand how traditional search engines differ from generative AI search engines at a technical level. What makes a search engine different than a generative AI system? Are Google and ChatGPT responding in the same way to a query or prompt? Or are they different and, if so, how?

The short answer is that there are differences between the two technologies. Traditional search is powered by an index and designed to rank results that are most relevant to the user’s query. Generative AI search is powered by an LLM and designed to create a comprehensive response to the prompt.

By understanding the fundamental technical differences between traditional search, based around rankings, and generative AI search, based around a generated response, we can better understand why generative AI search differs from the current practice of SEO. More importantly, we can understand how we may need to adapt our website optimization strategies.

In this article, I’ll review how search engines and generative AI work at a high level and what this means for our SEO and GEO strategies in the future.

How Search Engines Work (A Simplified View)

There are three main steps of how search engines operate: crawl the web to find information, process and evaluate that information, and then return relevant results in response to search queries. Let’s review how Google performs these operations to understand these steps in more detail. The following graphic from Google’s help documents summarizes the process.

How Googlebot works
Image source: How Google processes JavaScript

Step 1 – Crawling: The first step is crawling the web to find pages. They crawl websites with a robot; Google crawls using several robots, the primary of which is called Googlebot. Crawling begins with Googlebot discovering a new URL. Googlebot can discover URLs from many sources, but internal and external links are the most common discovery sources. After discovering the URL, it is added to a crawl queue. At some point, the page bubbles up to the top of that queue and Googlebot fetches the HTML code from that URL. Once fetched, Googlebot saves the information.

Step 2 – Rendering: Next, Google begins processing the fetched HTML code. Google starts this process by separating the different parts of the page’s content and resolving any errors encountered within the HTML code. After this initial processing, Googlebot adds the page to a render queue. Rendering involves processing CSS code that defines how the page is styled and running any JavaScript code used on the page. The JavaScript code might add text, images, links, and more to the page. Assuming Google can render the page correctly, Google’s bots will have a complete view of the page.

Step 3 – Indexing: After processing and rendering are complete, the rendered HTML is then passed over to Google’s indexing systems. The indexing systems begin analyzing the page’s content. This is where Google assesses what topics the page discusses, whether the content meets quality standards, determines what type of search intent this page could satisfy, and more. Based on this evaluation, the page is added to Google’s index. Many pages are rejected and cannot be indexed. Through all this processing, Google has created an index that is a sophisticated representation of all the information gathered from the crawl.

Step 4 – Ranking: If the page is indexed, the page is eligible to appear in search results. When a user conducts a query on Google, Google searches the index to find which pages are most relevant to the query. Google’s algorithms then decide in what order to rank the relevant websites. For some pages, Google’s algorithms may choose to extract some content from the page, such as some snippet of the page text or an image from the page itself. The results presented are referred to as organic search results and these results are based on Google’s evaluation of all known websites using its algorithms. Along with organic search results, Google will also present ads that companies can pay for; ads are evaluated in significantly different ways than organic search results.

While Google’s algorithms rely heavily on AI, traditional search is different from generative AI. These algorithms are not attempting to create new content. Instead, search engines are designed to return a list of what already exists. That list of websites needs to be related to the user’s search query—the more related it is, the better it is. AI is used to ensure results are highly related. For example, Google began using an AI-based algorithm called RankBrain in 2015 that helps them better understand “how words in a search relate to real-world concepts.” Google also uses language models, including Google’s BERT (Bidirectional Encoder Representations from Transformers) and MUM (Multitask Unified Model), to help Google’s algorithms understand context and meaning. AI is also used during the evaluation of websites to determine what pages should or should not be included in the index.

How Generative AI Works (A Simplified View)

Generative AI search relies on three main systems.

  • LLM (Large Language Model): An LLM is trained on massive amounts of textual data to learn a language’s patterns, structure, and nuances. LLMs do not “understand” language in the human sense, but they provide a statistical model that mimics understanding. When generating a response to a prompt, the LLM predicts what words are most likely to follow based on statistical patterns.
  • Embedding model: Generative AI does not use words directly. Instead, generative AI turns words into a numerical format, known as a vector. The AI system captures meaning, relationships, and context by embedding words into vectors. The embedding model represents words, phrases, or even whole documents as vectors that encode relationships between concepts, such as similarities, synonyms, or conceptual connections. Learn more about what vectors are and how vectors change search.
  • RAG (Retrieval-augmented generation): RAGs can supplement the LLM by retrieving information related to the user’s prompt from an external knowledge base. Some generative AI systems always incorporate RAG, while others rely more on pre-trained knowledge unless additional context is required.

To understand those three components better, here is an example of how this works when entering a prompt:

  • You input a prompt into a generative AI system.
  • The embedding model encodes that prompt into a vector representation.
  • A RAG retrieves documents on concepts related to this prompt from its knowledge base.
  • The results from the knowledge base are compared with the vectors. Any matches are retrieved and passed back to the LLM.
  • The LLM combines the retrieved data, its training (the statistical model of language), and the original prompt to generate a response.
  • The system formats and presents the response.
Image from NVIDIA

Keep in mind that querying a RAG is not only done once. The LLM can expand the prompt into multiple related queries. This is called query fan out, and it helps the LLM fetch more information that allows it to provide more comprehensive and accurate answers. In Bing Webmaster Tools, you can view these queries, referred to as Grounding Queries, in Bing’s AI Performance report.

The LLM uses other data sources when generating a response, including:

  • AI systems can leverage agentic tools that will perform tasks in real time to help answer a prompt.
  • User interaction bots, like ChatGPT’s ChatGPT-User, can fetch content from a website in real time for inclusion in the prompt.
  • AI agentic protocols can feed data into the LLM directly, instead of relying on the AI tool’s ability to access the website.
  • Chat history is also used alongside other details the AI platform knows about the user. This allows for greater personalization with each individual user of the AI system.

How LLMs Are Trained

OpenAI has several language models, most recently GPT 5.4. Google’s language model is Gemini, and Anthropic has a family of models known as Claude.

The first step of the process is to train the LLM on how words are used in a language. To do this, the LLM must be trained using a large collection of documents. Languages are complicated so the LLM must be fed as many documents as possible to understand all the nuances of how words can be used. A general-purpose LLM, like the ones used by OpenAI or Google, also needs to be trained on documents spanning as many different contexts as possible because language is used in different ways depending on the topic being discussed.

Importantly, the Generative AI systems are primarily trained using unsupervised learning. With unsupervised learning, no labels are included with the data to give the AI system direction. Instead, the AI system must find patterns or structures on its own. A common method is clustering, where the model finds features about the data and groups items with similar features together.

Keep in mind that websites are an unlabeled dataset. LLMs will learn more effectively from websites with content that is clear, complete, and accurate. For example, providing more examples gives the AI system more context so they can group our page correctly (this is why forums, like Reddit, can make for a useful training data set). As another example, explaining concepts in different ways can help the AI system learn different patterns.

LLMs Are Not a Database: How Patterns and Predictions Work

The crucial thing to remember is that the LLM is not trying to organize the information in the training documents. Unlike a traditional search engine, an LLM is not trying to retain key facts or figures. It is not a database.

The first step of the process is to train the LLM on how words are used in a language. To do this, the LLM must be trained using a large collection of documents. Languages are complicated so the LLM must be fed as many documents as possible to understand all the nuances of how words can be used. A general-purpose LLM, like the ones used by OpenAI or Google, also needs to be trained on documents spanning as many different contexts as possible because language is used in different ways depending on the topic being discussed.

The crucial thing to remember is that the LLM is not trying to understand how to organize the information contained in the training documents. Unlike a traditional search engine, an LLM is not trying to retain key facts or figures. It is not a database.

Instead, the LLM is trying to understand how words are used together. It detects the patterns within the language and then builds a model that represents those patterns. These patterns are used to make predictions about how words are connected; the more successful patterns result in more accurate predictions.

To make it easier to detect and process these patterns, the LLM does not store information as words or sentences. Instead, it creates embeddings. Embeddings represent words, or parts of words, as numerical values. Working with numbers allows for easier computation. The embeddings capture semantic relationships and similarities between words, so words with related meanings will have embedding values that are closer together numerically.

The model being trained is a neural network. The neural network is a collection of millions of processing nodes, which are similar to neurons in a human brain. Each of these nodes is connected to many others, and they pass data back and forth between them. As the model learns from the training data, it adjusts the strength of those connections through numbers called weights. The weights determine how much influence each connection has over the others.

The patterns being learned are distributed across this whole interconnected network of nodes and their connection strengths or weights. During training, the neural network learns how to adjust these weight parameters to better model the language so that it can make better predictions about using that language.

When a prompt is entered, the LLM creates an embedding to represent the prompt. That is, it represents the prompt as a numerical value. It then performs operations on the embedding. The prompt is then sent through the trained neural network. The neural network uses all the weights it has calculated during training to make a prediction about which word should be generated next.

The LLM does not return a single prediction. Instead, it returns a ranked list of predictions. In a great article explaining how ChatGPT works, Steven Wolfram uses the following example of how the LLM makes predictions. There is a 4.5% chance the next word generated should be “learn” and a 3.5% chance the next word generated should be “predict”.

how generative AI predicts text
Image source: Stephen Wolfram – What is ChatGPT Doing

It does not pick the highest probability word each time. To make the response sound more natural and creative, the generative AI system will sometimes pick lower-ranked words. The amount of randomness in deciding which word to use is defined by the temperature parameter. The temperature is on a scale of 0 to 1, where 1 is the most creative. ChatGPT’s default temperature is 0.7. More randomness or creativity allows ChatGPT to make more interesting predictions.

After generating the first word of the response, the AI system goes back through the neural network to generate the next word and then the next word and then the next word and then the next word, and so on until a full response has been generated. (To be precise, it is generating tokens, which can be a part of a word.)

Different Goals: Generative AI Search vs. Traditional Search

Traditional search engines and generative AI are fundamentally different technologies.

Search engines are purposefully designed to help us find information. The Search Index is at the center of this process. When a query is entered, Google and other traditional search engines run that query against the index, and a list of relevant pages is returned. Search engines invest a lot of time and effort into evaluating and indexing websites to return the best list of websites possible in response to a query. Most of our SEO practices are designed around how to get into Google’s index.

Generative AI may help people find information, but it is designed to create new, unique responses related to a prompt. The LLM is at the center of this process. Other data sources are fed into the LLM, but it is ultimately the LLM that determines how to craft the response.

Yann LeCun, a deep learning expert, has said LLMs do not have “some sort of objective other than just satisfying statistical consistency with the prompt.” That underscores the differences between traditional search engines and generative AI: generation of new content based on a language model versus the retrieval of existing content from an index of web pages.

Optimizing for traditional search requires showing Google that your content exists and is relevant to a particular search query. You also want to demonstrate that your content is trustworthy and authoritative. This helps Google construct an accurate index of your website.

Optimizing for generative AI requires establishing relevant patterns in all materials the LLM relies upon when generating an answer to explain who you are and what your business does. Optimizing your website is still important. However, the LLM is trained on billions of records and is looking for patterns across those. To make a difference in how the LLM makes its predictions, we need to ensure that our company and website are widely discussed so that the LLMs can learn to model words about our companies appropriately during the training process. Along with technical optimizations to make sure our websites can be crawled by AI bots, there are also non-technical factors to consider, such as PR, branding, and reputation building.

Need Help Optimizing for Generative AI Search?

Optimizing our websites for generative AI search has a lot in common with optimizing our websites for traditional search, but these are different systems with different goals. With generative AI search, we need to shift away from keyword-based tactics to thinking about context and meaning. We need to structure our content clearly and ensure comprehensive coverage of key topics to ensure our websites provide useful training data. By doing so, we can improve how generative AI models learn from our website’s content and improve our company’s visibility in AI-generated search results.

At Elementive, we help clients understand how to optimize the technical aspects of their websites for generative and traditional search. If you need help optimizing your website for generative AI search, please contact me.