Automatic Construction of Persian E-Commerce Dialogue Datasets for Conversational Product Search(波斯语电商对话式商品搜索数据集的自动构建)于 2026-11-22 提交到 arXiv,作者 Fariba Nafar, Hassan Naderi。去 arXiv 读原文,或下载 PDF。
主要发现
- 在对 Digikala 平台 7 个类别共 12,926 件商品的模拟测试中,当不同特征的回答难度存在差异时,正则化分区平衡得分比最强的熵基线少用了 0.11 轮对话。
- 依据目标商品的真实目录属性进行模拟时,正则化分区平衡得分在平均提出 3.75 个问题后,在 73.6% 的规划中成功把目标商品排在所属聚类第一位。
- 对生成的 1,000 段波斯语对话进行自动化检查发现,89.2% 的规划分类属性取值逐字出现在对话里,99.97% 的规划特征被助手轮次标注。
- 采用具体的问题规划有效避免了对话偏向单一商品,使得 1,000 段对话中有 88.7% 的首条用户消息没有直接说出目标商品的名称。
- 在 Gemini 3.1 Flash-Lite 对 100 段样本对话的打分中,基于规划生成的 Gemini 版本在准确度得分上达到 7.87 分(满分 10 分),高于早期未受控的 GPT-4o 版本的 6.85 分,但在真实感得分上为 7.18 分,低于后者的 8.27 分。
最重要的一点。 在电商对话搜索中挑选澄清问题时,不仅需要衡量属性的信息熵,还必须扣除覆盖率低和用户难以回答特征的分数。借助动态问题规划可以稳定生成紧扣用户需求的对话,不过轻量级免费模型在真实感表现上仍然弱于大型模型。
摘要
Conversational product search lets users find products through a multi-turn dialogue instead of a single keyword query, but Persian lacks the large conversational datasets needed to train and evaluate such systems; existing Persian e-commerce dialogue resources cover few categories and small catalogs. We present a framework that builds such a dataset automatically from a real e-commerce catalog and release the resulting dataset. The framework crawls 12,926 products in seven categories of the Digikala marketplace, groups them into 170 semantically coherent clusters, and selects the question the assistant asks at every turn with the Regularized Partition Balance (RPB) score. The RPB score accounts for feature coverage, the probability that the user can answer and the number of values, and generalizes entropy-based question selection. An LLM then verbalizes each question plan into a natural Persian dialogue. In a simulation on the full catalog, the RPB score needs 0.11 fewer turns than the strongest entropy baseline when the difficulty of answering differs between features, and is practically equivalent to it when it does not. Using only a free LLM API, we generated 1,000 requirement-driven dialogues covering all 170 clusters, with turn-level feature annotations; automatic checks and an LLM judge confirm their consistency with the catalog, while their realism is lower than that of the first, GPT-4o-generated version. Code and data are publicly available.
译文:对话式商品搜索让用户能够通过多轮对话来寻找商品,免去输入单一关键词查询的麻烦。但是波斯语缺乏训练和评估这类系统所必需的大型对话数据集,现有的波斯语电商对话资源只覆盖很少的类别和很小的商品目录。我们提出了一个能够从真实电商目录中自动构建此类数据集的框架,并发布了最终生成的数据集。该框架从 Digikala 电商平台爬取了 7 个类别的 12,926 件商品,将它们划分为 170 个语义连贯的聚类,并在每一轮中使用正则化分区平衡得分挑选助手要提出的问题。该得分综合考虑了特征覆盖率、用户能够回答的概率以及特征取值数量,推广了基于熵的问题选择方法。随后,大语言模型将每个问题规划转化为自然的波斯语对话。在对完整商品目录的模拟实验中,当不同特征的回答难度存在差异时,正则化分区平衡得分比表现最强的熵基线少用 0.11 轮对话;当回答难度没有差异时,两者表现基本一致。仅使用免费的大模型接口,我们生成了覆盖全部 170 个聚类的 1,000 轮需求导向对话,并带有轮次级别的特征标注;自动检测和模型评审确认了这些对话与商品目录的一致性,不过它们的真实感低于最初由 GPT-4o 生成的版本。代码和数据已公开提供。
关键术语
- Conversational product search:一种通过多轮交互帮助用户寻找商品的检索方式,系统助手会在过程中逐步提问以了解用户的真实需要。
- Regularized Partition Balance score:一种挑选提问属性的评分指标,在计算特征区分能力的同时,考虑了属性覆盖率、用户回答概率和取值数量。
- Requirement-driven search:一种购物对话流程,用户先说明自己的使用需求或期望属性,再由系统去寻找符合条件的商品。
- Product-specific inquiry:一种对话模式,用户一开始就指名要查某一款具体商品,导致助手只讨论该商品而忽略其他替代选项。
- Semantic clustering:一种无监督的分组步骤,在规划提问前根据商品标题和描述将目录商品划分为相近的子集,确保后续属性对比合理。
论文原文
作者证明在问题难度不一致时,他们提出的评分指标相比标准熵基线缩短了对话轮数。
In a simulation on the full catalog, the RPB score needs 0.11 fewer turns than the strongest entropy baseline when the difficulty of answering differs between features, and is practically equivalent to it when it does not.
译文:在对完整商品目录的模拟实验中,当不同特征的回答难度存在差异时,RPB 得分比表现最强的熵基线少用 0.11 轮对话;当回答难度没有差异时,两者表现基本一致。
作者测算了规划的问题序列在锁定目标商品方面的准确率。
With the true answers of the target, the RPB score placed the target first among the products of its cluster in 73.6% of the plans after 3.75 questions on average.
译文:依据目标商品的真实回答,RPB 得分在平均 3.75 个问题之后,在 73.6% 的规划中将目标商品排在其所属聚类中的首位。
作者报告了评估槽位一致性以及对话是否保持需求导向的自动化检测数据。
89.2% of the planned categorical answers appear verbatim in the dialogue (numerical ranges are paraphrased by design and were not checked), 99.97% of the planned features are tagged on an assistant turn, and in 88.7% of the dialogues the first user message does not name the target product (fewer than half of its distinctive title words), i.e., the dialogue is requirement-driven.
译文:89.2% 的规划分类回答逐字出现在对话中(数值区间按设计经过意译改写,未作检测),99.97% 的规划特征被标注在助手轮次,且在 88.7% 的对话中首条用户消息没有说出目标商品的名称(少于其独特标题词的一半),即对话属于需求导向。
作者对比了基于规划生成的 Gemini 对话与早期无约束 GPT-4o 对话的模型评审得分。
The released version obtained a higher accuracy score (7.87 vs. 6.85), in line with the grounding of every answer in the question plan, but a lower realism score (7.18 vs. 8.27), which we attribute to the smaller free models and to dialogues that follow a fixed plan; the other criteria were similar.
译文:公开发布的版本获得了更高的准确度得分(7.87 对比 6.85),符合每个回答都基于问题规划的设计,但真实感得分更低(7.18 对比 8.27),我们将此归因于使用了更小的免费模型以及对话遵循固定规划;其他评估维度的得分则相近。
论文里的图
图 4 展示了由 Gemini 3.5 Flash-Lite 生成的标注对话示例,呈现了规划的属性标签、针对缺失属性的未知回复以及包含具体价格的最终商品推荐。
图来自论文 arXiv:2611.29356,版权归作者。原图说明:Figure 4. An example dialogue of the released dataset ( pcps-7944 , generated by Gemini 3.5 Flash-Lite) with its English translation. U: user; A: assistant; grey brackets: the feature tag of each planned question. The third planned feature is missing for the target, so the user answers “don’t know”; the assistant then presents the target and the two alternatives with their exact prices and the comparison label.
作者自己说的含义
- 在真实电商目录中挑选澄清问题不能只看分区平衡能力,因为属性缺失以及用户难以回答会降低实际对话的效率。
- 使用明确的特征问题规划来引导大模型,能够避免对话过早滑向针对单件商品的询问,并提高对话与目录数据的符合度。
- 借助免费轻量模型可以零成本批量生成功能完整的数据集,尽管这些模型生成的对话在多样性和真实感上有所下降。
- 在生成对话之前先将商品目录进行语义分组,可以保证系统提出的对比问题和推荐的替代款式始终处于合理范围。
可以怎么做
- 在设计澄清提问策略时,应引入惩罚低覆盖率、过多取值选项以及专业技术参数的规则,避免单一依赖信息增益。 依据:在包含 7 个类别共 12,926 件 Digikala 商品的模拟测试中,当特征回答难度存在差异时,RPB 得分比最强的熵基线减少了 0.11 轮对话。
- 使用轮次级别的问题规划来约束合成对话的生成,促使多轮搜索保持需求导向而不是针对特定商品的单独咨询。 依据:针对 1,000 段合成对话的自动化检查显示,在具体问题规划引导下,有 88.7% 的首条用户消息没有直接透露目标商品的名称。
- 在计算属性选择得分前,先对电商目录中的商品执行语义分组。 依据:将 12,926 件商品划分为 170 个语义聚类后,问题规划机制在平均 3.75 个提问轮次内,成功将目标商品排在 73.6% 规划的榜首。
- 建立轮次维度的特征标记和字面匹配检测,以此检验合成购物对话是否落实了预设的属性规划。 依据:对公开发布数据集的质量检验显示,99.97% 的规划特征被助手轮次标注,且 89.2% 的规划分类取值字面出现在对话内容中。
注意。 模型评审使用了与对话生成模型属于同一家族的大模型,人工评估也仅限于作者自身的定性检查,缺少独立的评分人员。此外,模拟实验对用户无法回答的概率作了固定假设,排除了多值属性,并且测试范围仅限于单一伊朗电商平台的 7 个商品类别。
一句话
这项研究表明,利用免费的大模型接口能够从真实电商目录中自动构建波斯语商品搜索对话数据集。在问题选择环节综合考虑属性覆盖率和用户回答能力,可以在保证商品信息准确的同时缩短对话轮数。未来仍需引入真实用户的测试和调优,以解决生成对话在真实感方面的不足。
这篇解读根据论文原文写成。引用的段落是原话,数字都是作者自己报告的。方法和完整结果请读论文。