arXiv:2509.20805cs.CLcs.IR2025-09综述被引 1

用对话式提示让模型零训练生成用户风格的评论。

Few-Shot and Training-Free Review Generation via Conversational Prompting

  • 把用户评论转成多轮对话,让大模型模仿其写作风格。
  • 仅需2条评论,生成内容与目标用户真实评论高度一致。
  • 无需训练,适合实际场景中数据少、无法调参的情况。

个性化评论生成有助于企业理解用户偏好,但现有方法通常依赖大量用户历史评论或额外模型训练。在真实场景中,常面临少样本且无法训练的情况,即仅有少量用户评论且无法微调。大语言模型虽能应对低资源问题,但效果取决于提示工程。本文提出对话式提示(Conversational Prompting),将用户评论重构为多轮对话。其简化版(SCP)仅使用用户自身评论,对比版(CCP)引入其他用户或模型生成的错误回复作为负例,要求模型纠正,从而强化对目标用户风格的捕捉。在八个产品领域和五种LLM上的实验表明,传统非对话提示生成的评论与随机用户相似,而SCP与CCP显著更接近目标用户真实评论,即使每位用户仅有两篇评论。当高质量负例可用时,CCP表现更优;否则SCP仍具竞争力。结果表明,对话式提示是少样本、免训练评论生成的有效方案。

原文摘要 · Abstract (English)

Personalized review generation helps businesses understand user preferences, yet most existing approaches assume extensive review histories of the target user or require additional model training. Real-world applications often face few-shot and training-free situations, where only a few user reviews are available and fine-tuning is infeasible. It is well known that large language models (LLMs) can address such low-resource settings, but their effectiveness depends on prompt engineering. In this paper, we propose Conversational Prompting, a lightweight method that reformulates user reviews as multi-turn conversations. Its simple variant, Simple Conversational Prompting (SCP), relies solely on the user's own reviews, while the contrastive variant, Contrastive Conversational Prompting (CCP), inserts reviews from other users or LLMs as incorrect replies and then asks the model to correct them, encouraging the model to produce text in the user's style. Experiments on eight product domains and five LLMs showed that the conventional non-conversational prompt often produced reviews similar to those written by random users, based on text-based metrics such as ROUGE-L and BERTScore, and application-oriented tasks like user identity matching and sentiment analysis. In contrast, both SCP and CCP produced reviews much closer to those of the target user, even when each user had only two reviews. CCP brings further improvements when high-quality negative examples are available, whereas SCP remains competitive when such data cannot be collected. These results suggest that conversational prompting offers a practical solution for review generation under few-shot and training-free constraints.

文本生成少样本学习提示工程大模型应用

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。