LLM Advertisement based on Neuron Auctions

Peiran Yun, Wenxin Xu, Jiayuan Liu, Yihang Zhang, Liang Zeng, Lingkai Kong, Tonghan WangarXiv 2026

TL;DR

This paper introduces Neuron Auctions, a novel paradigm that moves generative advertising from surface-level text prompts into the internal representation space of Large Language Models (LLMs). By identifying and amplifying brand-specific feed-forward network (FFN) neurons, the authors create a continuous, strategy-proof auction mechanism. This approach successfully balances advertiser visibility and platform revenue while explicitly preventing user experience degradation.

What Problem Does This Paper Address?

As LLMs transition from simple text completion tools into conversational AI agents, platforms need ways to monetize them through generative advertising. However, doing so introduces a critical trilemma: how do you balance advertiser payoffs, platform revenue, and user experience?

Traditional search advertising relies on rigid, position-based slots. Trying to force this into LLMs via prompt injection or hardcoded text slots disrupts the natural flow and semantic coherence of the model's response. Furthermore, surface-level text manipulation lacks a fine-grained, mathematical framework to control exactly how strongly a brand is recommended. This makes it incredibly difficult to design mathematically rigorous, optimized auction mechanisms.

Methods

Instead of fighting with unstructured text outputs, the authors shift the auction object into the model's internal representation space.

Overview of the neuron intervention pipeline

The framework consists of four main components:

  1. Offline Attribution Scoring: Using principles from mechanistic interpretability, the authors identify specific FFN neurons that act as "key-value memories" for particular brands. They use a contrastive, cloze-style prompt strategy combined with integrated gradients over multi-token log-probabilities to isolate neurons that uniquely activate for a target brand but not its competitors.
  2. Online Neuron Selection: During an active auction, neurons are ranked and filtered to penalize any that overlap with competing brands, ensuring high advertiser specificity.
  3. Unified-Hook Intervention: During inference, the top-$k$ neurons for the winning advertiser are amplified by a factor ($\lambda$). To prevent the hidden-state norm from exploding (which causes the model to collapse into repetitive gibberish), a unified norm rescaling mechanism restores the overall $L_2$ norm to pre-intervention levels.
  4. Continuous Menu-Based Auction: The platform offers advertisers a menu of prices and expected intervention levels ($k$). A neural network generates these prices and is optimized to maximize platform revenue while factoring in a explicit mathematical penalty for user utility degradation.

Datasets

The authors evaluated their approach across three open-source LLMs: Qwen3-4B, DeepSeek-R1-8B, and Llama-3-8B.

To test the system, they manually curated semantically similar but lexically diverse cloze prompts for various commercial brands (e.g., Hyatt, Delta, Nike, Spotify, Rolex). They evaluated the framework using 100 two-bidder combinations and 20 three-bidder combinations to simulate realistic auction environments.

Key Insights and Ideas

  • Subspace Orthogonality: The core "aha moment" of the paper is that brand-specific representations in high-dimensional activation spaces tend to occupy approximately orthogonal subspaces. This means intervening to promote Brand A has almost zero unintended interference with the neurons representing Brand B.
  • Neurons as Commodities: Because of this independence, the number of intervened neurons ($k$) serves as a predictable, monotonic proxy for advertising intensity. This turns internal model states into a quantifiable, auctionable commodity.
  • Algorithmic Guardrails for Quality: By embedding an LLM-as-a-judge scoring function (measuring relevance and coherence) directly into the platform's pricing objective, the auction automatically prices out overly aggressive or intrusive ad interventions that would otherwise ruin the user experience.

Key Results

  • Predictable Ad Control: As the neuron budget ($k$) increases, the target brand is mentioned substantially more often in the model's responses, while cross-brand interactions remain negligible.
  • Optimal Amplification ($\lambda$): In ablation studies, the authors found that an amplification factor of $\lambda = 2.0$ provided the best balance. Setting $\lambda \le 1.5$ was too weak to change model behavior, while $\lambda = 3.0$ caused severe generation instability and repetitive outputs.
Figure 2: Heatmaps and ablation results of brand hit counts under joint neuron intervention for two advertisers on Qwen3-4B. The left and middle panels show the normalized hit-count changes for bidder 1 and bidder 2, respectively, with the x- and y-axes indicating the numbers of top-k neurons selected for the two bidders. The right panel reports the ablation study over the intervention coefficient λ, where µ and σ denote the mean hit count and standard deviation. All heatmap values are averaged over two-bidder combinations, normalized per bidder, shifted by the (0, 0) baseline, and rescaled so that the maximum positive change equals 1.
  • Revenue Optimization: The neural-network-driven menu auction outperformed standard baseline pricing rules (like Generalized Second-Price or VCG auctions) in platform revenue generation while maintaining a smooth control knob ($w_{user}$) to safeguard user satisfaction.

Limitations and Future Work

While highly effective for single-turn prompt responses, extending Neuron Auctions to multi-turn conversational agents remains an open challenge. In a long conversation, context shifts dynamically. Future research will need to explore how to distribute intervention budgets across extended interactions and model how advertiser bidding equilibria evolve throughout a prolonged dialogue.

Summary updated

BibTeX
@misc{yun2026llm,
  author = {Peiran Yun and Wenxin Xu and Jiayuan Liu and Yihang Zhang and Liang Zeng and Lingkai Kong and Tonghan Wang},
  title = {{LLM Advertisement based on Neuron Auctions}},
  year = {2026},
  eprint = {2605.08326},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.08326},
}
Figure