Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentation

Chunjing Gan, Dan Yang, Binbin Hu, Ziqi Liu, Yue Shen, Zhiqiang Zhang, Jinjie Gu, Jun Zhou, Guannan Zhang

Abstract

Nowadays, the rapid development of mobile economy has promoted the flourishing of online marketing campaigns, whose success greatly hinges on the efficient matching between user preferences and desired marketing campaigns where a well-established Marketing-oriented Knowledge Graph (dubbed as MoKG) could serve as the critical "bridge" for preference propagation. In this paper, we seek to carefully prompt a Large Language Model (LLM) with domain-level knowledge as a better marketing-oriented knowledge miner for marketing-oriented knowledge graph construction, which is however non-trivial, suffering from several inevitable issues in real-world marketing scenarios, i.e., uncontrollable relation generation of LLMs, insufficient prompting ability of a single prompt, the unaffordable deployment cost of LLMs. To this end, we propose PAIR, a novel Progressive prompting Augmented mIning fRamework for harvesting marketing-oriented knowledge graph with LLMs. In particular, we reduce the pure relation generation to an LLM based adaptive relation filtering process through the knowledge-empowered prompting technique. Next, we steer LLMs for entity expansion with progressive prompting augmentation, followed by a reliable aggregation with comprehensive consideration of both self-consistency and semantic relatedness. In terms of online serving, we specialize in a small and white-box PAIR (i.e., LightPAIR), which is fine-tuned with a high-quality corpus provided by a strong teacher-LLM. Extensive experiments and practical applications in audience targeting verify the effectiveness of the proposed (Light)PAIR.

Introduction

In the fast-paced world of online marketing, matching the right user with the right campaign is the "holy grail." A well-structured Marketing-oriented Knowledge Graph (MoKG) acts as the bridge for this matching, enabling preference propagation across diverse domains. For instance, knowing a user likes a specific brand of fruit can help recommend related food vouchers or products.

Example of a Marketing-oriented Knowledge Graph (MoKG) showing entities and marketing-specific relations.

However, building a MoKG is notoriously difficult. Traditional methods are labor-intensive, and while Large Language Models (LLMs) excel at general knowledge, they often stumble or hallucinate when faced with niche marketing domains. Specifically, researchers face three major hurdles: uncontrollable relation generation, prompt sensitivity, and high deployment costs for massive models.

The PAIR Framework

To address these challenges, researchers from Ant Group proposed PAIR (Progressive prompting Augmented mIning fRamework). PAIR decomposes the knowledge mining process into a structured pipeline that grounds LLMs in domain-specific context.

The PAIR framework architecture, illustrating the relation filtering process and progressive prompting augmentation.

Adaptive Relation Filtering

Instead of allowing open-ended generation, PAIR restricts the LLM to a finite, pre-defined space of marketing-relevant relations. By injecting "Structural Knowledge" (from existing internal graphs) and "Descriptive Knowledge" (from external sources like Wikipedia), the LLM acts as an adaptive filter, deciding which specific relations (e.g., "Similar Food") are appropriate for a given entity.

Progressive Prompting Augmentation

To ensure stability and diversity, PAIR uses a sequence of prompts ranging from coarse-grained to fine-grained. This "progressive" approach helps the LLM navigate different aspects of its internal knowledge, overcoming the limitations of single-prompt sensitivity. The results are then combined using a reliable aggregation scoring system that considers both self-consistency and semantic relatedness.

LightPAIR: Efficient Industrial Deployment

To solve the cost and privacy issues associated with 175B+ parameter models, the authors introduced LightPAIR. This is a smaller "student" model (e.g., 7B or 10B parameters) distilled from the full PAIR system. By fine-tuning on a high-quality corpus generated by the teacher LLM, LightPAIR achieves comparable accuracy while being deployable on standard industrial hardware like a single A100 GPU.

Experimental Results

The researchers evaluated PAIR on benchmarks derived from Ant Group's ecosystem, including MoKG-181 and MoKG-500.

  • Superior Accuracy: PAIR achieved 90.1% accuracy on the MoKG-181 dataset, significantly outperforming traditional KG completion methods and other LLM-based construction methods.
  • Novelty: PAIR successfully mined novel entities not present in original production graphs, showing significant novelty across various entity types like products, brands, and food.
  • Real-world Impact: In production "Audience Targeting" tasks, LightPAIR led to a relative improvement of 15% to 122% in target audience coverage compared to the previous system.

Conclusion

The PAIR framework demonstrates that LLMs can be transformed into expert knowledge miners for specialized domains through structured prompting and domain-knowledge injection. By combining the reasoning power of large models with the efficiency of distilled student models, PAIR provides a scalable solution for building high-quality marketing knowledge graphs. Future work will explore metapath-oriented entity expansion to further improve the explainability and logical depth of the mined knowledge.

Summary updated

Abstract

Nowadays, the rapid development of mobile economy has promoted the flourishing of online marketing campaigns, whose success greatly hinges on the efficient matching between user preferences and desired marketing campaigns where a well-established Marketing-oriented Knowledge Graph (dubbed as MoKG) could serve as the critical "bridge" for preference propagation. In this paper, we seek to carefully prompt a Large Language Model (LLM) with domain-level knowledge as a better marketing-oriented knowledge miner for marketing-oriented knowledge graph construction, which is however non-trivial, suffering from several inevitable issues in real-world marketing scenarios, i.e., uncontrollable relation generation of LLMs,insufficient prompting ability of a single prompt, the unaffordable deployment cost of LLMs. To this end, we propose PAIR, a novel Progressive prompting Augmented mIning fRamework for harvesting marketing-oriented knowledge graph with LLMs. In particular, we reduce the pure relation generation to an LLM based adaptive relation filtering process through the knowledge-empowered prompting technique. Next, we steer LLMs for entity expansion with progressive prompting augmentation,followed by a reliable aggregation with comprehensive consideration of both self-consistency and semantic relatedness. In terms of online serving, we specialize in a small and white-box PAIR (i.e.,LightPAIR),which is fine-tuned with a high-quality corpus provided by a strong teacher-LLM. Extensive experiments and practical applications in audience targeting verify the effectiveness of the proposed (Light)PAIR.
BibTeX
@misc{gan2023making,
  author = {Chunjing Gan and Dan Yang and Binbin Hu and Ziqi Liu and Yue Shen and Zhiqiang Zhang and Jinjie Gu and Jun Zhou and Guannan Zhang},
  title = {{Making Large Language Models Better Knowledge Miners for Online Marketing with Progressive Prompting Augmentation}},
  year = {2023},
  eprint = {2312.05276},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.05276},
}
Figure