Token-Level Advertising: A New Way to Blend Ads Seamlessly into AI-Generated Text

Photo of author

By Sophia Chen

As generative AI becomes a bigger part of how we find information online, it’s also shaking up traditional advertising methods. Instead of ads appearing in fixed spots like banners or search result sidebars, a new approach called “token-level advertising” aims to weave ads directly into the AI’s text generation process. A recently published research paper introduces a novel system designed to let advertisers influence the generated content at a very granular level, potentially changing how ads are displayed and experienced in AI-driven platforms.

Key Takeaways

  • The researchers propose the Latent Advertiser Mixture Auction (LAMA), an innovative mechanism that integrates advertiser influence directly into each step of AI text generation.
  • LAMA works by having advertisers submit “local continuation values” that guide how the AI chooses each next word or “token,” creating advertiser-specific next-token policies.
  • The system balances advertiser goals with user experience, maintaining high-quality, coherent responses while improving platform revenue and overall welfare.
  • Experimental tests on real commercial search queries show promising results, suggesting this generation-native advertising could be practical and effective.

Traditional online advertising typically relies on placing ads in designated spaces around content, like banner ads or sponsored links. However, generative AI systems produce text output word by word (or token by token), which opens up new possibilities for how ads might be integrated. Instead of fixed slots, ads could be blended into the very fabric of the generated text, making them less intrusive and potentially more relevant.

The researchers behind this new approach developed LAMA, which stands for Latent Advertiser Mixture Auction. In simple terms, this system lets advertisers communicate how valuable it is for them to influence the AI’s choice of the next word during content generation. These values, called “local continuation values,” shape advertiser-specific policies that suggest which next tokens are preferred. The platform then combines these suggestions into a “latent mixture” — a kind of weighted blend — to decide the final next token in the generated text.

To understand this better, it helps to know what a “token” is. In AI language models, tokens are the building blocks of text, often representing words or parts of words. The AI generates text by predicting one token at a time based on what has come before. LAMA leverages this step-by-step process, enabling advertisers to subtly influence the AI’s choices without disrupting the natural flow of the text.

The researchers also ensured that their method satisfies important properties from auction theory, such as “Markov dominant strategy incentive compatibility” (Markov DSIC) and “individual rationality” (IR). These technical terms mean that advertisers are motivated to report their true values and will not lose out by participating, making the system fair and stable. Additionally, the mechanism is designed to optimize welfare — a measure that balances the benefits to advertisers, users, and the platform — while using a mathematical regularization technique called KL-divergence to keep the generated content natural and high-quality.

To make LAMA practical, the team developed a learning-based implementation that can estimate the necessary advertiser reports on the fly using machine learning techniques. This approach reconstructs the “local advantages” and “root values” that advertisers would provide, allowing the system to operate smoothly in real-time environments.

In proof-of-concept experiments using real commercial search query data, LAMA demonstrated improvements in platform welfare and revenue without sacrificing the quality of responses users see. This suggests that generation-native advertising, where ads are integrated directly into AI-generated content, could be a viable future direction for monetizing AI systems.

While still early, this research points to exciting possibilities for how advertising might evolve alongside generative AI. By embedding advertiser influence at the token level, platforms could deliver more seamless, relevant, and user-friendly ads. Future work will likely explore scaling this approach, refining user experience, and addressing ethical considerations around transparency and user control.

Based on research published on arXiv by Hanbing Liu, Bowei Zhang, Changyuan Yu et al..

Editor's note

This article focuses on the confirmed update first, then points readers to the competitive and policy context that shapes the beat.

Article briefing

As generative AI becomes a bigger part of how we find information online, it’s also shaking up traditional advertising...

Story details

  • Author: Sophia Chen
  • Published: August 30, 2026
  • Category: AI

Key developments

  • As generative AI becomes a bigger part of how we find information online, it’s also shaking up traditional advertising methods.
  • Instead of ads appearing in fixed spots like banners or search result sidebars, a new approach called “token-level advertising” aims to weave ads directly into the AI’s text generation process.
  • Traditional online advertising typically relies on placing ads in designated spaces around content, like banner ads or sponsored links.

Why this matters

Instead of fixed slots, ads could be blended into the very fabric of the generated text, making them less intrusive and potentially more relevant.

Impact and next steps

However, generative AI systems produce text output word by word (or token by token), which opens up new possibilities for how ads might be integrated.

Background

The AI generates text by predicting one token at a time based on what has come before.

Source

This article is based on source material from arxiv.org.

About the author

Sophia Chen

Sophia Chen covers artificial intelligence and emerging technology. With a background in computer science and a decade of tech journalism, she specialises in AI policy, machine learning applications and the societal impact of automation.

editorial@peacknews.com

Categories AI