最新 微软与美国政府警告:重大技术故障还将持续 The Verge
产品与应用 ●●●●○

OpenAI 详解 ChatGPT 广告系统架构

How we built ChatGPT's novel ad stack for user trust and relevance

摘要Summary

OpenAI 发文介绍 ChatGPT 广告系统的设计:基于后训练的前沿 LLM 作为 orchestrator,通过工具调用完成检索、排序、相关性与竞价,并以有状态会话跟踪跨轮次、跨对话的用户意图。广告选择在独立服务中运行,与答案生成隔离,避免影响回答的中立性。该系统上线不到 200 天年化收入运行率达 10 亿美元,已有逾 10 万广告主投放。

OpenAI detailed the architecture behind ChatGPT's ad system: a post-trained frontier LLM acts as an orchestrator, making tool calls for retrieval, ranking, relevance and auctions, while stateful ad sessions track user intent across turns and conversations. Ad selection runs in a separate service from answer generation to keep ads from influencing responses. The system reached a $1 billion annualized revenue run rate less than 200 days after launch, with more than 100,000 advertisers.

  • 后训练 LLM 作为 orchestrator 编排广告全流程
  • 有状态会话跨轮次、跨对话跟踪用户意图
  • 广告服务与答案生成隔离,故障不影响 ChatGPT

全文对照Full text · 中 / EN

作者:Ritendra Datta 和 Karthik Gopalratnam,技术员工成员

By Ritendra Datta and Karthik Gopalratnam, Members of Technical Staff

传统广告系统旨在响应用户意图的离散单元。用户在网上搜索或浏览某些内容时,广告系统会将这些查询和页面浏览作为事件接收,并基于这些事件寻找匹配的广告。为 ChatGPT 构建广告技术栈则有所不同:用户意图在对话中逐步形成,并随着对话的多个轮次而变化,有时并不存在合适的广告时机。为支持这一新范式,我们构建了一套定制的广告投放系统。这种新型广告技术栈基于一个经过定制后训练的前沿 LLM,该 LLM 通过工具调用完成检索(识别最佳选项)、排序(预测用户参与度)、相关性评估(评估广告的有用性),以及运行拍卖以完成最终广告选择和定价。

Traditional advertising systems are built to respond to discrete units of user intent. A user searches for or views something online, the ads system receives those queries and page views as events, and the system looks for matching ads based on those events. Building an ads stack for ChatGPT was different: user intent develops across conversations and shifts over multiple turns of a conversation, sometimes without a fitting advertising moment. To support this new paradigm, we built a bespoke ads delivery system. This new type of ad stack is based on a custom, post-trained frontier LLM that makes tool calls for retrieval (identifying the top options), ranking (predicting user engagement), relevance (evaluating the usefulness of the ad), and running auctions for final ad selection and pricing.

我们的广告系统通过三项关键设计决策来支持用户目标不断演变的细微之处:1)实现有状态的广告会话,即信息在对话的多个轮次以及多次对话之间被记住;2)依赖一个经过定制后训练的 LLM,该 LLM 使用工具调用架构来解读对话的上下文和底层意图,然后有效地选择、排序并投放广告;3)将广告选择过程与 ChatGPT 的答案生成分开,在独立服务中运行,以避免广告影响答案并保持 ChatGPT 的中立表达。我们使用经过后训练的 LLM 来编排整个广告流程,根据用户当前轮次和对话历史确定在正确的时间展示正确的广告。尽管以这种方式启动一个自我改进的广告系统过去需要数年时间,但 ChatGPT Ads 在推出后不到 200 天内就达到了 10 亿美元的年化收入运行率;如今,自推出以来已有超过 100,000 家广告主在 ChatGPT 上投放了广告。

Our ads system supports the nuance of evolving user goals by making three key design decisions: 1) implementing stateful ads sessions, meaning information is remembered across turns of a conversation and across multiple conversations, 2) relying on a custom, post-trained LLM that uses a tool call architecture to interpret a conversation’s context and underlying intent, and then effectively select, rank, and deliver ads, and 3) running the ads selection process separately from ChatGPT’s answer generation, in its own service, to keep ads from influencing answers and maintain ChatGPT’s neutral voice. We use our post-trained LLM to orchestrate the entire ads flow, determining the right ad to surface at the right time based on both the user’s current turn and conversation history. While bootstrapping a self-improving ads system like this used to take years, ChatGPT Ads reached $1 billion in annualized revenue run rate less than 200 days after launch ; now, more than 100,000 advertisers have run ads on ChatGPT since launch.

传统的广告请求通常始于一个定义明确的事件。用户提交搜索查询或打开网页,广告系统便收到一个请求。这类系统相当简单:它检索潜在的广告候选,对其进行排序,运行竞价以合理地为该机会定价,并向用户展示最终广告。ChatGPT 并不会自然产生这样一个具体的时刻。

A conventional advertising request usually starts with a well-defined event. A user submits a search query or opens a webpage and the ads system receives a request. This type of system is fairly simple: it retrieves potential ad candidates, ranks them, runs an auction to appropriately price the opportunity, and shows the resulting ad to the user. ChatGPT does not naturally produce such a concrete moment.

在 ChatGPT 对话中,人们带着目标而来,而非一个只求单一答案的搜索查询。他们可能在规划旅行、为企业挑选软件、布置家居,或学习一项新爱好。这些并非都在对话的某一轮中发生。ChatGPT 常常在过程中帮助用户厘清真正重要的东西。

In a ChatGPT conversation, people arrive with goals rather than a one-answer search query. They might be planning a trip, choosing software for their business, furnishing a home, or learning a new hobby. This doesn’t all happen in one turn of a conversation. ChatGPT often helps the user clarify what matters along the way.

举例来说,我们的工程团队曾问 ChatGPT 如何为一场比赛进行训练:对话从关于跑步的一般性问题开始。几轮之后,他们询问有助于训练的鞋子。随着每一项约束条件的出现,这段对话的商业含义随之改变——而这种个性化上下文会跨多个会话逐步演变。一个仅依据第一条消息行事的系统可能会完全检索到错误的意图,从而可能损害用户体验并妨碍他们。

As an example, our engineering team asked ChatGPT how to train for a race: A conversation begins with a general question about running. Several turns later, they ask about shoes to help train. The commercial meaning of the conversation changes as each constraint arrives—and this personalized context evolves across multiple sessions. A system that acted on the first message could retrieve the wrong intent entirely, potentially degrading the user’s experience and getting in their way.

构建我们的广告系统,要求我们超越请求-响应式的广告架构,从零开始搭建一套广告技术栈,在优先考虑用户信任与价值的同时,发现潜在的经济机会。

Building our ads system required us to move beyond the request-response advertising architecture and build an ads stack from scratch to find potential economic opportunities while prioritizing user trust and value.

把每条消息都当作独立请求来处理,就像传统广告系统那样,在我们的聊天场景中会带来几个风险:1) 因过度简化而误读用户目标;2) 在用户的真实需求尚未明确之前就过早启动广告流程;3) 展示的广告妨碍而非支持用户的使用过程;4) 每次请求变化都低效地重新运行广告流程,造成干扰并浪费成本。广告系统(由检索、排序和投放组成)并非围绕单个事件构建,而是维护一个有状态的会话,也就是说,广告会话在一个符合条件的轮次期间持续运行,随着信息的发展不断记忆和更新。ChatGPT 将初始请求上下文发送给广告服务器。广告系统跟随并适应不断发展的交流,而不是依赖单一的扁平化查询。

Turning every message into a standalone request, like a traditional ads system, would have carried a few risks in our chat use case: 1) misreading the user goal by oversimplifying it, 2) beginning the advertising flow too soon, before the user’s real need has become clear, 3) showing ads that get in the way of the user journey instead of supporting it, and 4) inefficiently rerunning the ads flow every time the request changes, creating noise and wasting cost. Instead of building around individual events, the ads system (consisting of retrieval, ranking, and delivery) maintains a stateful session, meaning the ads session runs for the duration of an eligible turn, remembering and updating information as it evolves. ChatGPT sends the initial request context to the ads server. The ads system follows and adapts to the developing exchange rather than relying on a single flattened query.

广告选择过程与 ChatGPT 的正常回复生成并行运行,以确保广告流程不影响 ChatGPT 的回复。广告通过一个独立系统进行过滤和选择,该系统在自身的资格、质量和投放约束下消费对话内容。这一重要的架构边界——使用独立模型和独立代码的不同服务——让 ChatGPT 核心服务器负责生成自然回复;与此同时,广告系统独立评估是否存在合适的广告机会,如果存在,则通过独立的投放流程准备赞助展示位。

The ads selection process runs alongside ChatGPT’s normal response generation to ensure the ads flow doesn’t influence ChatGPT’s responses. Ads are filtered and selected through a separate system consuming the conversation under its own eligibility, quality, and delivery constraints. This important architectural boundary—different services that use separate models and separate code—lets core ChatGPT servers handle generating the organic response; meanwhile, the ads system independently evaluates whether there’s an appropriate advertising opportunity and, if so, prepares a sponsored placement through a separate serving process.

广告与 ChatGPT 的答案生成路径并行运行。

Advertising runs alongside the ChatGPT answer path.

除了保护用户体验之外,这种分离还带来了一些实际好处。ChatGPT 不依赖广告系统——两项服务完全不交织,也不共享内容生成模型。因此,如果广告投放系统不可用或响应缓慢,ChatGPT 的自然回复仍不受影响。这意味着广告系统无法导致 ChatGPT 产品宕机或延迟。这种分离的另一个好处是,它为有价值的广告保持了很高的门槛。不返回广告是一种普通且成功的结果。只有当广告对用户和广告主都明显有益时,系统才会投放广告。

Beyond protecting the user experience, this separation has some practical consequences. ChatGPT has no dependency on the ads system—the services are in no way intertwined and don’t share a content generation model. So if the ads serving system is unavailable or slow, ChatGPT’s organic response continues unaffected. This means the ads system can’t take down or delay the ChatGPT product. The other benefit of this separation is that it keeps the bar very high for valuable ads. Returning no ad is an ordinary, successful outcome. The system only delivers an ad if it’s clearly beneficial to users and advertisers.

我们广告技术栈中的另一个关键架构组件是经过后训练的 LLM,它负责解读对话,并在智能体循环中运行整个广告流程——对广告系统的核心功能发起工具调用,从检索阶段到排序、竞价,最终到投放。我们将这个 LLM 称为编排器(orchestrator)。

The other key architectural component in our ads stack is the post-trained LLM that interprets conversations and runs the entire ads flow in an agentic loop—making tool calls to the core functions of the ads system, from the retrieval stage to ranking to auction and, ultimately, delivery. We call this LLM the orchestrator .

广告流程的第一部分是理解用户意图,以启动检索过程,这是一次快速且刻意宽泛的潜在广告来源筛选,以便后续过滤。增量接收对话会带来一个更丰富但也更模糊的检索问题,因为广告系统需要区分当前意图与过时上下文。编排器必须解读对先前消息的引用,识别用户何时在假设性发言,并避免将每一次对产品或服务的提及都视为购买请求。

The first part of an ads flow is understanding user intent to start the retrieval process, which is a fast and deliberately broad sourcing of potential ads to later filter through. Receiving the conversation incrementally creates a richer but more ambiguous retrieval problem because the ads system needs to distinguish current intent from stale context. The orchestrator must interpret references to earlier messages, recognize when a user is speaking hypothetically, and avoid treating every mention of a product or service as a request to buy something.

广告编排器利用可用的对话和用户上下文,反复迭代以寻找合适的广告,并反复选择何时调用哪个工具,其根本目标是为该对话和上下文找到最合适的广告(即在用户价值与广告主价值之间取得平衡的广告)。如果用户选择个性化广告,编排器还会考虑用户过往对话中可用的非敏感信息,以找到最佳广告匹配。

The ads orchestrator uses the available conversation and user context, iterating to find good ads and repeatedly choosing when to call which tool with the underlying goal of finding the most appropriate ad (the ad that balances high user value and high advertiser value) for that conversation and context. If the user chooses to personalize ads, the orchestrator also considers available nonsensitive information about the user’s past conversations to find the best ad matches.

广告编排器反复调用广告投放工具,以寻找有价值的广告。

The ads orchestrator iteratively calls ads delivery tools to find valuable ads.

随着对话的推进,广告编排器获得更多更新信息后,可以用更新后的上下文运行一组新的工具调用,以找到更好的广告并返回给客户端,客户端随后可以在这些新广告及时到达时使用它们。

As the conversation progresses and the ads orchestrator gets more updated information, the orchestrator can run a fresh set of tool calls with the updated context to find better ads and return them to the client, which can then use these new ads if they arrive in time.

该编排器的设计目标是平衡用户价值与广告主价值,始终将用户放在首位。

The orchestrator is designed to balance user value and advertiser value, always putting users first.

广告系统由各个独立的工具组成,编排器会迭代调用这些工具,为对话找到最佳广告。从高层来看,编排器将对话转化为简短的文本摘要,再将其转化为语义嵌入(存储的含义,便于广告系统筛选),利用这些语义嵌入检索广告候选,根据资格条件(预算、用户设置及其他初步检查)筛选这些候选,评估其质量与相关性,并进行最终排序,以识别在聊天回复末尾投放的高价值机会。因此,每条广告都必须达到资格与相关性的高标准,才有资格被投放。

The ads system consists of individual tools, and the orchestrator calls them iteratively to find the best ads for a conversation. At a high level, the orchestrator turns conversations into brief text summaries, which are then turned into semantic embeddings (stored meanings that are easier for an ads system to sift through), retrieves ad candidates using those semantic embeddings, filters those candidates for eligibility (based on budget, user settings, and other preliminary checks), assesses their quality and relevance, and does a final ranking to identify high value opportunities for placement at the end of a chat response. Each ad must therefore meet a high bar on eligibility and relevance in order to be eligible for placement.

编排器 LLM 首先准备一个或多个代表相关商业意图的查询。这可能包括重写对话上下文,将商业可能性扩展到一对一搜索查询之外,然后创建语义表示——编排器将多轮对话提炼为供检索系统使用的摘要版本,从而以聚焦的方式从我们的数据库中检索广告。

The orchestrator LLM first prepares one or more queries representing the relevant commercial intent. This can include rewriting conversation context to broaden the commercial possibilities beyond 1:1 search queries and then creating semantic representations, where the orchestrator distills a multiturn conversation into a summarized version for the retrieval system—retrieving ads from our database in a focused way.

只有当广告投放建立在对用户意图的深入理解之上时,才会对用户和广告主都更有利。多个查询可以保留意图的不同方面。例如,一段关于规划旅行的对话可能包含与交通、住宿或活动相关的不同需求。检索系统可以保留这些区分,而不是将整个对话压缩成一个字面字符串。

Ad placements will be better for both users and advertisers if they only appear when there’s deep understanding of the user’s intent. Multiple queries can preserve different aspects of intent. A conversation about planning a trip, for example, might contain distinct needs related to transportation, lodging, or activities. The retrieval system can preserve these distinctions rather than compressing the entire conversation into one literal string.

举个例子,让我们看一段关于徒步鞋的潜在对话序列:

As an example, let’s look at a potential conversation sequence about hiking shoes:

去优胜美地两天的旅行,我应该准备些什么?

What should I cover on a two-day trip to Yosemite?

尽管用户并未将鞋类品牌的问题与优胜美地之行联系起来,但我们的广告系统可能会用两个查询来表征这段对话,例如[适合徒步旅行的鞋子]和[适合旅行的[品牌]新产品线]。这可能只是第一次尝试;编排器被设计为对这些表征进行迭代,直到在我们的广告库存中找到对用户具有高价值的广告。

Although the user hasn’t connected the shoe brand question to the Yosemite trip, this conversation might be represented in our ads system by two queries, such as [shoes appropriate for hiking trip] and [new [brand] product lines good for travel] . This might only be the first attempt; the orchestrator is designed to iterate on these representations until it finds ads in our inventory that are highly valuable to the user.

检索是创建一个刻意宽泛的广告选项池的过程。候选广告可能来自不同的检索策略,之后可以在相同的投放约束下竞争。我们构建了多个索引,针对不同的系统和产品约束进行优化(例如,商品信息流广告的索引在设计上会在获取最佳可能广告时考虑商品评价的正负面情况。这与其他可能没有关联评价的广告无关)。每个索引都针对某种版本的近似最近邻(ANN)搜索进行优化,使用表征用户意图的嵌入向量。这种 ANN 搜索是一种用于在大型语义索引上进行检索的近似算法,意味着广告会被非常快速地获取,接近一个好的解决方案,而不是寻找“正确”的解决方案,同时保留大多数相关候选广告。

Retrieval is the process of creating a deliberately broad pool of ad options. Candidates may come from different retrieval strategies and can later compete under the same serving constraints. We build multiple indices that optimize for different system and product constraints (for example, the index for product feed ads is designed to be aware of positive or negative product reviews as it fetches the best possible ads. This is not relevant to other ads that may not have reviews associated with them). Each index is optimized for some version of approximate-nearest-neighbor (ANN) search, using embeddings representing the user’s intent. This ANN search is an approximation algorithm for retrieval over large semantic indices, meaning ads are fetched very quickly, getting close to a good solution rather than looking for “the right” solution, while retaining most of the relevant candidates.

广告系统在广告检索过程中使用重写后的查询来创建语义嵌入,并生成一个宽泛的广告候选池。

The ads system uses rewritten queries to create semantic embeddings during the ad retrieval process and produce a broad pool of ad candidates.

通过资格检查的候选广告进入评分阶段,编排器在此阶段调用各种评分系统——用于投放考量,例如语义相关性(该广告是否与用户的目标相关?)、预测互动(该广告是否可能被浏览、点击并转化为广告主期望的结果?)、历史表现(该广告迄今为止在向用户展示时表现是否良好?)。编排器还会在拍卖前对广告进行过滤,以确保相关性和安全性。这些系统将范围缩小为一个更小的候选池,准备进入拍卖,但它们仍然不决定最终投放的广告。

Candidates that survive eligibility checks move on to a scoring phase, where the orchestrator makes tool calls to various scoring systems—for serving considerations such as semantic relevance (is the ad relevant to the user’s goal?), predicted engagement (is the ad likely to get viewed, clicked, and converted into the advertiser’s desired outcome?), historical performance (has the ad performed well when shown to users so far?). The orchestrator also filters ads to ensure relevance and safety before the auction. These systems narrow the field into a smaller candidate pool ready for auction, but they still don’t determine the final delivered ad.

编排器在对话上下文中评估准备好的候选广告,并选出哪些广告候选足够合理、可以进入最终拍卖。编排器不直接决定将投放哪条广告,也不设定价格。它为拍卖工具提名在上下文中合适的候选广告以供评估。

The orchestrator evaluates the prepared candidates in the context of the conversation and chooses which ad candidates are plausible enough to enter the final auction. The orchestrator doesn’t directly decide which ad will be served, nor does it set a price. It nominates contextually appropriate candidates for the auction tool to evaluate.

拍卖环节应用最终的投放机制,包括拍卖准入(通过相关性和价值的最低门槛)、投放节奏控制(更均匀地花费广告预算)、出价与拍卖特征计算、质量调整排名、定价以及最终选择。

The auction applies the final serving mechanics, including auction admission (passing a minimum threshold of relevance and value), pacing (spending ad budget more evenly), bid and auction-feature computation, quality-adjusted ranking, pricing, and final selection.

拍卖之后,广告可能因两种方式而未能投放,这两种情况都特定于 ChatGPT 对话媒介。

After the auction, there are two ways an ad might fail to deliver, both specific to the ChatGPT conversational medium.

广告在聊天中可能显得不合适:尽管完整性模型(决定何时适合投放广告的模型)已认定对话本身适合投放广告,且广告本身也被认定符合政策,但有时广告在某些对话的上下文中仍可能显得不合适。编排器会阻止这些广告展示。

The ad might not feel appropriate in the chat : Even though the conversation itself was deemed safe for ad placement by integrity models (the models that decide when it’s appropriate to serve an ad), and the ad itself was deemed policy-compliant, sometimes the ad might feel inappropriate in the context of certain conversations. The orchestrator blocks these ads from being shown.

广告请求可能未能及时到达:如果 ChatGPT 模型已准备好回复,但广告尚未准备好投放,广告请求就会超时,广告便不会投放。因此,广告系统的一个目标是尽可能快地运行。ChatGPT 模型的响应时间是动态的,我们不会为了等待广告加载而延迟聊天回复。

The ad request might not arrive in time : If the ChatGPT model is ready to respond, but the ad is not yet ready to place, the ad request times out and the ad doesn’t get delivered. One goal of the ads system, therefore, is to run as fast as possible. The ChatGPT model response time is dynamic, and we don’t delay chat responses to wait for ads to load.

如果满足上述所有检查,我们会将广告发送到前端进行渲染。我们认为这属于服务端广告投放,但我们仍可能不向用户展示该广告——这是有意设计的。

If all of the above checks are met, we send the ad to the frontend for rendering. We consider this a server-side ad delivery , but we still might not show the ad to the user—and this is by design.

在 ChatGPT 这类对话式产品中,服务端投放广告素材并不保证广告一定会展示;广告还必须及时送达,才能被纳入当前轮次。广告素材包括标题、描述、目标链接以及任何行动号召。此外,广告系统还会返回模型生成的前言,这是一段简短、中性的介绍,用于说明广告与当前对话的关联。将前言与素材分开,既能保留广告主的信息,又能保持 ChatGPT 的中立语气。

In a conversational product like ChatGPT, server-side delivery of an ad creative does not guarantee an ad will be displayed; the ad must also arrive in time to be included in the current turn. The ad creative includes the title, description, destination link, and any call to action. Additionally, a model-generated preamble, which is a short, neutral introduction explaining how the ad relates to the conversation, is also returned by the ads system. Keeping the preamble separate from the creative preserves the advertiser’s message while keeping ChatGPT’s voice neutral.

ChatGPT 前端会以打包形式接收前言和广告素材。如果它在 ChatGPT 的回复完全生成之前到达,前端会在 ChatGPT 的回复下方展示该广告,并明确标注为赞助内容。如果到达太晚,该广告就不会在这一轮展示。这就是服务端广告投放与面向用户的广告曝光之间的区别。

The ChatGPT frontend receives the preamble and ad creative as a bundle. If it arrives before ChatGPT's response is fully generated, the frontend displays the ad below ChatGPT’s response, clearly labeled as sponsored. If it arrives too late, the ad is not shown for that turn. This is the difference between server-side ad delivery and a user-facing ad impression.

胜出选择和投放是两个独立事件。被选中的广告只有在 ChatGPT 批准并展示该广告位、且投放得到确认之后,才会成为一次实际投放。

Winner selection and delivery are separate events. A selected ad becomes a delivery only after ChatGPT approves and displays the placement and the delivery is acknowledged.

我们的广告技术栈使用传统日志和数据管道,这有三个主要好处:广告主可以更容易地将其现有系统与我们的技术栈集成,广告主可以利用报告数据改进策略,我们的团队也能找到系统中可改进的环节。除了这些报告和优化工具之外,我们还部署了一个高质量模型来评估投放效果并训练其他广告模型,从而形成一个强大的自我改进循环。

Our advertising stack uses traditional logging and data pipelines, which have three main benefits: advertisers can more easily integrate their existing systems with our stack, advertisers can improve their strategies with the reporting data, and our team can find areas of the system to improve. Beyond these reporting and optimization tools, we deploy a high quality model to evaluate our delivery and train other ads models, creating a powerful self-improvement loop.

对实际发生情况的详细拆解,有助于我们分别理解和改进广告系统的每个部分。日志处理系统还会记录细粒度的结果,例如:

Detailed breakdowns of what happened help us understand and improve each part of the ad system in isolation. The logs processing system also records granular outcomes such as:

该轮次不符合广告投放条件。

The turn was not eligible for advertising.

广告会话已开始,但没有请求检索。

An ads session started but no retrieval was requested.

已检索到候选广告,但未通过数据补全或资格校验。

Candidates were retrieved but failed hydration or eligibility.

广告已投放,随后获得了互动。

An ad was delivered and later received an interaction.

这些详细的分解有助于我们分别改进广告投放系统的各个部分。改进机会识别所需的证据,与改进检索、候选质量、竞价参与或投放可靠性所需的证据各不相同。

These detailed breakdowns help us improve each part of the ad serving system in isolation. Improving opportunity detection requires different evidence from improving retrieval, candidate quality, auction participation, or delivery reliability.

投放、服务和质量系统观察到的是生命周期中不同的环节。受隐私控制的数据处理决定了哪些数据可用于衡量和模型改进。

Delivery, serving, and quality systems observe a different part of the lifecycle. Privacy-controlled processing determines what may be used for measurement and model improvement.

基于模型的评估背后的理念是:由我们最强大、推理能力最高的模型来观察并评判系统的结果,然后通过训练让经过后训练的 LLM 表现得更好,从而改进它。例如,如果我们最强大的模型负责收集反馈,并训练这些小型工作模型尽可能出色地完成任务,我们就可以使用更小、更高效的模型或推理能力较低的模型来负责编排或检索。

The idea behind model-based evaluation is that our strongest, highest-reasoning models watch and judge the results of our system, then improve the post-trained LLM by training it to perform better. For instance, we can use smaller, more efficient models or lower-reasoning models for orchestration or retrieval if our most powerful model gathers feedback and trains these small workers to do the best job possible.

我们会收集并依据人类反馈(用户的点击和隐藏)、用户问卷调查,以及广告主通过 Ads Manager 提供的直接反馈来采取行动。在构建过程中,我们也会让团队随时接收反馈,并直接倾听 ChatGPT 用户和广告主的需求。这一反馈来源对方向的指引甚至超过模型的观察反馈,也是我们能够快速迭代、做出正确产品决策的部分原因。模型或许能够理解用户意图并进行批判性思考,从而交付有价值的内容,但品味是由人来塑造的。

We gather and act on human feedback (clicks and hides from users), as well as surveys for users and direct feedback from advertisers through our Ads Manager. We also make our team available for feedback as we build, and directly listen to what both ChatGPT users and advertisers want. This source of feedback informs our direction even more than the model’s observational feedback and is part of what allowed us to iterate toward the right product decisions quickly. The model may be able to understand user intent and think critically to deliver something valuable, but people shape taste.

一年前,我们还没有广告系统,只有少数人在思考这一领域的问题。如今,我们已拥有一个稳健的广告系统,年化运行收入超过10亿美元,并由基于LLM的编排器驱动广告流程。Codex是一个根本性的力量倍增器,使我们能够以前所未有的速度引导系统实现这一重要使用里程碑。从一开始,我们就建立了团队和开发工作流程,以使用Codex快速构建和扩展系统。我们为Codex构建了护栏,以可靠、安全地交付代码。同时,我们为Codex设置了数据基础设施插件,以大幅收紧洞察收集和系统改进落地的循环,包括新产品功能、质量改进和更好的系统性能。

A year ago, we had no ads system and only a few people thinking about this problem space. Now we have a robust ads system powering more than $1 billion in annualized run rate, with an LLM-based orchestrator running the ads flow. Codex was a fundamental force multiplier that allowed us to bootstrap our system to achieve this major usage milestone with unparalleled speed. From the start, we set up the team and development workflows to use Codex to rapidly build and scale the system. We built guardrails for Codex to reliably and safely ship code. In parallel, we set up data infrastructure plugins for Codex to massively tighten the loop of insight gathering and landing improvements to the system, including new product features, quality improvements, and better system performance.

我们系统的边界(植根于我们的广告原则)与基于LLM的编排器相结合,使我们能够在不把每次对话都当作广告请求的情况下让广告变得有用。展望未来,我们将继续尝试更动态的广告形式,以提升用户价值(例如让用户能够通过广告直接与企业对话)和广告主价值。该技术栈的自我改进架构建立在OpenAI模型之上,并具有持续反馈循环,将加速我们随时间推移不断改进相关性和个性化的能力。

The combination of our system’s boundaries (grounded in our advertising principles ⁠ ) and our LLM-based orchestrator lets us make advertising useful without treating every conversation as an ad request. Looking ahead, we’ll continue to experiment with more dynamic ad formats to increase user value (e.g. giving users the ability to talk directly to businesses through ads) and advertiser value. The stack’s self-improving architecture, built on OpenAI models with continuous feedback loops, will accelerate our ability to keep improving relevance and personalization over time.