How Baidu Marketing Uses Generative AI to Automate Ad Creative Production and Merchant Interactions
On August 5, 2025, Baidu Marketing unveiled an AI-driven upgrade for advertising creative production and merchant-facing interactions. This article breaks down the technical architecture behind the solution—a creative generation engine with semantic understanding, multimodal generation, and CTR-based quality evaluation, plus a merchant agent system for intent recognition, dialogue management, and tool calling. Developers and enterprise engineering teams will find a reusable blueprint for embedding large language models into marketing workflows, designing quality gates and fallback mechanisms, and building observable, controllable, and iterable generation systems.
$$On August 5, 2025, Baidu Marketing disclosed an intelligent upgrade solution targeting advertising creative production and merchant interaction scenarios. The solution combines generative AI, semantic understanding, visual generation, click-through rate (CTR) prediction, and agent-based interaction technologies. Its goal is not to simply replace human creativity, but to transform ad creative production from a “human-led, long-chain process” into a short closed loop of “machine generation, automatic evaluation, and human review,” while improving consultation, reception, intent recognition, and downstream conversion efficiency on the merchant side. For developers and enterprise technical teams, the value of this type of solution lies in providing a reusable engineering path: how to embed large model generation capabilities into marketing businesses, how to design quality evaluation and fallback mechanisms, and how to connect creative generation with merchant agents into an observable, controllable, and iterable system.
1. Background: Why Marketing Creative Production Needs Intelligent Upgrades
Traditional ad creative production typically involves multiple stages: requirement communication, selling point extraction, copywriting, visual design, compliance review, and placement testing. A complete creative asset can take hours of manual work from brief to publishable material, and the result heavily depends on individual experience. In multi-channel, multi-audience, multi-placement environments, creative demands are characterized by high frequency, fragmentation, and multiple variants—conditions where manual workflows tend to hit capacity bottlenecks, produce inconsistent styles, and lag in evaluation.
Introducing generative AI can significantly compress initial draft production time, but marketing scenarios impose higher requirements on generated output than general content generation: copy must match product selling points and target audiences, visual assets must comply with brand guidelines and placement specifications, creatives must pass compliance review, and ideally they should maximize CTR and conversion rate. Therefore, simply plugging in a text generation model is not enough to constitute a production system—a complete pipeline built around “understanding—generation—evaluation—feedback” is required.
According to public technical disclosures, Baidu Marketing’s stated targets include reducing creative generation time from the traditional 4–6 hours of manual production to under 90 seconds, and achieving a 98.7% intent recognition accuracy at the semantic understanding layer. These figures should be understood as target values or test results within a specific technical solution; real-world results still require validation against actual business data, review rules, and placement environments. From an engineering perspective, the layered architecture and closed-loop design deserve more attention.
2. Overall Architecture: A Dual-Engine Design of Creative Generation and Merchant Agent
The core of the solution consists of two parts: an ad creative generation engine and a merchant agent interaction system. The former converts advertising requirements into evaluable copy and visual assets; the latter understands intent, organizes responses, invokes tools, and assists with reception and conversion during merchant-user interactions. They are not isolated modules—they can share semantic understanding, knowledge retrieval, compliance validation, and performance feedback capabilities.
In the overall pipeline, the creative generation engine takes advertiser requirements, product information, audience tags, placements, and brand guidelines as input, and outputs candidate materials after semantic understanding, creative generation, and quality evaluation. The merchant agent receives user inquiries, conversation context, merchant knowledge bases, and business tool results, and produces responses or triggers human takeover after intent recognition, dialogue management, knowledge retrieval, tool calling, and compliance validation. Together, the two pipelines form a marketing technology closed loop of “content production—interaction handling—performance feedback.”
For engineering implementation, generic cloud capabilities—such as object storage, message queues, container platforms, logging services, and monitoring and alerting typically offered by cloud providers like Baidu AI Cloud—can be used to build elastic generation, asynchronous task scheduling, and end-to-end observability. Generation tasks are usually bursty and batch-oriented, making them well suited to common engineering practices such as queue-based load leveling, container auto-scaling, object storage for assets, and log tracing.
3. Ad Creative Generation Engine: A Three-Layer Breakdown
The ad creative generation engine uses a generation framework combining deep reinforcement learning with generative adversarial networks. Its engineering value lies in placing “generation” and “evaluation” in the same optimization loop. The architecture can be broken down into a semantic understanding layer, a creative generation layer, and a quality evaluation layer. The three layers are connected through structured intermediate representations, avoiding uncontrolled output from feeding raw requirements directly into generation models.
3.1 Semantic Understanding Layer: Converting Business Requirements into Structured Intent
The semantic understanding layer is the entry point of the pipeline. It extracts key elements from advertiser requirements, product titles, detail page summaries, audience descriptions, and campaign objectives, including product category, core selling points, target audience, promotional information, placement constraints, brand-banned words, and style requirements. The layer uses a hybrid semantic understanding model that combines pre-trained language models with bidirectional sequence modeling, balancing contextual semantic representation with sequence boundary information.
Public materials cite a 98.7% intent recognition accuracy, a metric that should be interpreted within specific test sets and business distributions. In practice, the semantic understanding layer should output structured JSON or similar intermediate representations, and trigger clarification or human confirmation for low-confidence results. For example, when the “target audience” is missing or “selling points” conflict, the system should not proceed directly to generation; instead, it should fill the gaps through rules or interaction. This way, generation failures are surfaced earlier as understanding failures, reducing downstream rework costs.
3.2 Creative Generation Layer: Coordinated Text and Visual Branches
The creative generation layer consists of a text branch and a visual branch. The text branch is based on a generative pre-trained architecture fine-tuned for the domain, responsible for generating titles, short copy, selling point descriptions, and calls to action. The visual branch integrates an optimized diffusion model, responsible for generating or editing illustrations, backgrounds, layout elements, and stylized assets. Both branches share the structured intent output from the semantic understanding layer and are conditionally controlled through templates, brand guidelines, and placement constraints.
From an engineering standpoint, text and visuals should not be generated fully independently and then simply stitched together. Instead, they should coordinate through a “creative skeleton”: first determine core selling points and information hierarchy, then generate copy and visual elements separately, and finally verify information consistency at the composition stage. For example, if the copy emphasizes a “limited-time offer,” the visual asset should also convey a promotional atmosphere; if the copy targets a younger audience, the visual style should match the corresponding aesthetics. The generation layer should also support parallel multi-candidate generation, improving candidate diversity through batch sampling and deduplication.
3.3 Quality Evaluation Layer: Automatic Scoring and Filtering
The quality evaluation layer handles post-generation filtering, automatically scoring candidate creatives through a CTR prediction model. Public disclosures describe a CTR prediction model combining gradient boosting decision trees with attention mechanisms, balancing structured features with sequence features. Evaluation dimensions should not be limited to CTR prediction—they should also include relevance, compliance, brand consistency, placement fit, and readability.
The evaluation layer’s output should serve as a ranking signal rather than the sole decision basis. A practical approach is a three-tier mechanism of “hard rule filtering + model-scored ranking + human sampling review”: hard rules handle banned words, sensitive information, and invalid dimensions; model scores rank the candidates; human sampling calibrates model bias and feeds labeled data back into training. Low-scoring creatives should be tagged with failure reasons, forming an analyzable library of failure samples.
4. Merchant Agent Interaction System: From Q&A to Task Closure
The merchant agent interaction system targets merchant reception and user consultation scenarios. Its core capabilities include intent recognition, dialogue management, knowledge retrieval, tool calling, compliance validation, and human fallback. Compared with traditional customer service bots, an agent must maintain contextual consistency across multi-turn conversations and invoke business tools—such as product lookup, inventory queries, appointment booking, and form filling—based on user intent.
In the interaction pipeline, the system first identifies user intent and sentiment, distinguishing between consultation, price comparison, after-sales issues, or purchase intent. It then retrieves relevant information from the merchant’s knowledge base and product catalog. The dialogue management module then decides whether to answer directly, ask clarifying questions, invoke a tool, or escalate to a human agent. All responses should pass compliance validation before output, avoiding promises of undeliverable services or inappropriate content.
The key engineering challenge for merchant agents is “controllability.” Generative models can produce plausible but factually incorrect content, so retrieval augmentation, tool calling, and confidence thresholds must work together as constraints. When retrieval results are insufficient or tool calls fail, the system should proactively clarify or escalate to humans rather than forcing a generated response. Interaction logs should also be linked with creative campaign data, forming an analytical chain of “creative—click—consultation—conversion” that feeds back into creative optimization.
5. Engineering Implementation Points and Pseudocode
For implementation, it is recommended to decompose creative generation into asynchronous tasks: requirement parsing, candidate generation, quality evaluation, asset composition, review, and publishing should be decoupled and connected through message queues, with structured logs recorded at each stage. The generation service should support timeout retries, idempotency control, candidate deduplication, and version management. Evaluation models should be recalibrated regularly with fresh campaign data to avoid scoring distribution drift.
The following pseudocode illustrates the flow only and does not depend on specific interfaces:
def generate_creative(brief):intent = semantic_parser(brief) # Pre-trained LM + bidirectional sequence modelingif intent.confidence < threshold:return request_clarification(intent)candidates = []for i in range(N):text = text_generator(intent, style=intent.style)visual = visual_generator(intent, assets=intent.assets)candidates.append(compose(text, visual, layout=intent.layout))filtered = rule_filter(candidates) # Banned words, dimensions, brand guidelinesscored = [quality_scorer(c, intent) for c in filtered]ranked = sort_by_score(scored)return ranked[:K]
This flow emphasizes three points: first, low-confidence understanding results never enter generation; second, generation and evaluation are separated, making it easy to swap models and adjust strategies; third, rule filtering precedes model ranking to reduce compliance risk. For the merchant agent, a similar pipeline of “intent recognition—retrieval—tool calling—compliance validation—response” can be adopted, with timeout and degradation strategies configured for every tool call.
6. Evaluation, Risk Control, and Iteration Mechanisms
Intelligent systems in marketing scenarios require continuous evaluation mechanisms. On the creative side, key metrics include generation latency, candidate pass rate, human modification rate, CTR, and conversion rate. On the interaction side, key metrics include intent recognition accuracy, first-contact resolution rate, human escalation rate, user satisfaction, and tool call success rate. Metrics may conflict—for example, aggressively pursuing CTR can harm brand consistency—so constraint conditions and human sampling review are necessary.
For risk control, the focus should be on preventing factual errors, compliance risks, brand inconsistency, and over-promising. Generated content should pass dual validation by rules and models; merchant agents should limit the scope of what they can promise and escalate to humans in high-risk scenarios. All generation and interaction records should be traceable for issue diagnosis and accountability audits. Model iteration should proceed in small, frequent steps based on feedback data, avoiding large one-off changes that cause online performance fluctuations.
7. Conclusion
The ad creative generation and merchant interaction upgrade方案 disclosed by Baidu Marketing is essentially a set of engineering methods for applying generative AI to marketing scenarios: semantic understanding as the entry point, coordinated text and visual generation as the core, CTR prediction and rule validation as quality gates, merchant agents handling interaction and conversion, and logs, evaluation, and feedback forming a closed loop. What developers can reuse is not any single model, but a system design approach of “structured understanding—multi-candidate generation—automatic evaluation—human fallback—data feedback.” Only under the premises of controllability, observability, and iterability can generative AI truly enter the marketing production pipeline.
