How does an LLM decide the best ad to serve someone in the middle of a conversation with a chatbot?
According to OpenAI, it’s a multi-step process: Work out who the user is and what they want, determine what kind of ad would help them and only then consider what an advertiser is willing to pay to reach that person.
In October, OpenAI published a technical blog post detailing how it built its newly introduced ad stack, written by OpenAI engineering leads Ritendra Datta and Karthik Gopalratnam.
Figuring out how to add value to a back-and-forth conversation via advertising was “green fields,” Gopalratnam told AdExchanger – as in, uncharted land in the ads ecosystem that lent “a lot of novelty” to the development process, he stated.
Most ad systems, per the post, “are built to respond to discrete units of user intent,” rather than a longer-term conversation.
ChatGPT, on the other hand, is trained to learn user intent over time as a conversation evolves.
Sources indicate that the purpose is to ensure an ad isn’t served before a user’s ultimate goal has become clear, and to avoid wasting money by running a new, unrelated ad every time the subject shifts. If a user has opted into personalized ads, ChatGPT also retains memory of previous conversations and considers nonsensitive information from those chats when deciding what ad to serve.
According to OpenAI, all of this is meant to benefit the user rather than the platform.
In a recent development, openAI isn’t using ads to keep people on the platform longer or scrolling more, Asad Awan, the product and engineering lead for OpenAI Ads, told AdExchanger. Rather, the organization’s (awfully magnanimous) goal is simply “generating user value,” he said.
Recent findings suggest that the ad stack relies on an LLM called “the orchestrator,” which analyzes conversations, distills them into text summaries and calls on delivery tools to retrieve relevant ads. It’s trained to look first and foremost at whether a potential ad provides user value. Only once user value is confirmed does the orchestrator assess advertiser value and make a final decision on which ad to serve.
The orchestrator operates separately from ChatGPT’s answer generation so that ads don’t influence what the chatbot claims.
In fact, ads can appear in ChatGPT conversations where users express no direct purchase intent, Gopalratnam said.
For instance, someone asking for advice on how best to format their resume may be served an ad for a graphic design platform.
OpenAI has been adamant since the beginning, however, that ads will not show up in sensitive conversations, such as those about the user’s health, mental health or politics, and the organization is equally careful about how ads for regulated industries appear.
But since ChatGPT receives “millions of requests per minute,” Datta mentioned, trying to enforce its ad policies manually is a nonstarter. It needs “scalable systems,” he said.
It does this by converting written policies into machine learning models. For instance, Datta noted, OpenAI has a “pretty high bar” regarding when it’s acceptable to serve ads in conversations about mental health, so the ML models are trained to distinguish between a person discussing their own mental health issues (a no-go for advertising) and learning about mental illness more broadly (potentially acceptable for an ad).
For less sensitive topics, like someone planning a vacation, the question isn’t whether to serve an ad, but when and for what.
If a user says they’re planning a trip to Yosemite, for instance, the model won’t simply suggest a nearby hotel the way a purely contextual platform might, said Awan – especially if the person already mentioned booking accommodations in a previous conversation (assuming their privacy settings allow access to past chats).
A ChatGPT user “can be on many journeys at any given time,” he added, and so ChatGPT’s models are trained to base ads on a blend of the current conversation and memory from past ones.
It has been revealed that instead of a hotel, that person might see an ad for hiking shoes if they talked about wanting to hike on the trip – and that ad might not appear during a conversation about Yosemite at all. If the shoes a user had expressed interest in (or that ChatGPT predicted they would like) went on sale a few days later, said Awan, they might be served an ad referencing the discount in the midst of an entirely unrelated conversation about, say, how best to revise a work email.
Of course, sometimes two different pairs of hiking shoes might go on sale at the same time – in which case, what’s an ad platform to do? The same thing ad platforms have done since the dawn of time, according to OpenAI: Host an auction.
Sources indicate that the initial ad retrieval is based on user intent, such as whether someone is discussing travel, as well as a user’s preference for certain brands, which highlights up in predictive models for clicks and conversions, stated Awan. OpenAI also considers whether a product provides upcoming value to the user. For example, he said, OpenAI wouldn’t serve a rental car ad to a traveler who already indicated that they own a car and initiative to drive to their destination.
Pricing, meanwhile, is “very similar” to a second-price auction, said Awan, because “we want to make sure that the advertisers honestly share their bids with us.”.
Marketers can select a maximum bid themselves or opt into OpenAI’s auto bidding system where they provide a budget and a goal – generating more clicks, say, or finding more leads – and the system manages the bidding from there.
Sources indicate that the highest bid doesn’t necessarily win, though. If OpenAI deems a competing brand to be more relevant to the user, or an ad doesn’t deliver what the user is looking for, the higher bid can lose out.
But a brand’s popularity in the market, as well as details like the quality of its landing page and the uniqueness of its value prop, can also play into the orchestrator’s final determination.
Recent findings suggest that for instance, one brand might have a large advertising budget and bid extremely high as a result, but another brand with less money is more popular among consumers. The less well-funded advertiser might actually win with a lower bid, noted Awan, particularly if it has a unique offering like, say, shoes specifically for people whose right foot is a different size than their left.
That’s the ads system working as intended, according to Awan.
The “whole point,” he remarked, is to “connect those niche advertisers with the consumers who would love them.”.
