- The paper demonstrates that LLM-driven semantic ad retrieval improves predictability by reducing the A/A' difference by 8.62%.
- It introduces a novel framework that integrates LLMs with graph-based semantic candidate generation to enhance recall and delivery consistency.
- Experimental evaluations reveal a 0.45% increase in conversions and a 45% reduction in impression volatility, validating the approach.
LLM-Based Retrieval for Predictable and Stable Ad Recommendation
Introduction
Advancements in ad recommendation systems have traditionally prioritized canonical objectives such as CTR maximization and recall. The proliferation of ads inventory, driven in part by generative AI, has intensified requirements for system predictability and stability. The study "LLM Retrieval for Stable and Predictable Ad Recommendations" (2605.21969) introduces a novel framework that explicitly quantifies and optimizes for system predictability in ad retrieval. Leveraging fine-tuned LLMs, the work proposes a semantic candidate generation pipeline to deliver robust, context-aware ad recommendations that align with both user and advertiser expectations.
The authors formalize the notion of predictability by introducing the A/A' difference metric. This metric quantifies delivery consistency when input ads experience minor, semantically neutral perturbations—a critical consideration for recurrent ad uploads, cold starts, and dynamic creative changes. Predictability is operationalized as the statistical significance difference (StatSigDiff) between performance metrics (such as conversions) of primary and shadow ad pairs. The derivation normalizes for inherent stochasticity and revenue impact, providing a domain-aligned stability guardrail for model development.
Complementary metrics include Recall@K, median absolute deviation (MAD) of impression differences, and online top-line metrics (e.g., conversions, clicks). Collectively, they enable comprehensive evaluation of both precision/recall trade-offs and stability improvements introduced by LLM-based retrieval.
Semantic Candidate Generation with LLMs
Traditional candidate generators for ad retrieval—often based on shallow features, embeddings, or graph heuristics—struggle with semantic equivalence and susceptibility to non-semantic perturbations. The presented framework instead capitalizes on pre-trained and fine-tuned LLMs to extract hierarchical and semantically rich representations from ad creatives.
The system fine-tunes an LLM on ad engagement data, learning to encode ads into discrete semantic tokens and categorical attributes. These representations are then structured into a graph, where nodes are ads and edges capture shared semantic attributes. Graph traversal algorithms, leveraging set-based similarity (e.g., Jaccard index over phrases/tokens), enable robust candidate expansion and recall maximization.
Figure 1: LLM Ad to Ad Generator—pipeline for extracting semantic ad features and building candidate pools via LLM-powered attribute and category generation.
Figure 2: LLM Contextual Category Graph—illustrates the graph construction with ads clustered according to LLM-extracted semantic categories and attributes.
This hierarchical clustering inherently reduces system sensitivity to superficial creative changes—ensuring that ad delivery is consistent across semantically equivalent variants. The real-time retrieval layer is implemented over distributed GPU infrastructure to accommodate industrial-scale latency and throughput requirements.
Experimental Evaluation
Evaluation was conducted through large-scale A/B testing using Meta's industrial ad delivery stack. The LLM-based retrieval model (LLama3-8B Instruct, zero-shot mode) replaced the baseline ensemble candidate generator, benchmarking both traditional performance metrics and the proposed predictability metrics.
Key results include:
These results substantiate the claim that LLM-powered semantic candidate generation not only improves retrieval efficacy but also promotes stability and explainability—two properties underrepresented in prior work.
Implications and Future Directions
The integration of LLM-driven semantic retrieval into ad recommendation systems represents a paradigm shift toward robust, explainable, and advertiser-aligned optimization objectives. By introducing formal predictability metrics and structural invariance to semantically neutral perturbations, the solution addresses practical concerns of repeatability, cold start inefficiency, and under-exploration in dynamic ad ecosystems.
This architecture is architecturally modular, suggesting broad applicability to other large-scale retrieval tasks—such as content or product recommendation—where predictability is subject to similar challenges. Realizing full-stack, semantically aware recommender systems with adaptive multimodal learning and real-time generalization (e.g., for unseen creative modalities or cross-domain transfer) is identified as a critical avenue for future work.
Conclusion
The study demonstrates that leveraging fine-tuned LLMs for semantic ad representation and candidate retrieval improves both canonical ad performance and critical predictability metrics, as validated in a rigorous industrial-scale A/B test. The explicit incorporation of predictability as an optimization objective not only enhances system robustness but also aligns ad delivery systems with advertiser and user expectations in highly dynamic inventory environments. Expanding these capabilities toward end-to-end, multimodal, and continual learning systems constitutes a compelling direction for future AI-powered retrieval and recommendation research.