arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.29356cs.CL
收藏

面向对话式商品搜索的波斯语电商对话数据集自动构建

Automatic Construction of Persian E-Commerce Dialogue Datasets for Conversational Product Search

Iran University of Science and Technology(伊朗科技大学)

Fariba Nafar, Hassan Naderi

AI总结:

针对波斯语对话式商品搜索数据集匮乏问题,提出自动构建框架,爬取Digikala商品并采用RPB分数选问题,用LLM生成1000个标注对话,验证其一致性与真实度,代码数据公开。

摘要:

对话式商品搜索允许用户通过多轮对话而非单一关键词查询来查找商品,但波斯语缺乏训练和评估此类系统所需的大型对话数据集;现有的波斯语电商对话资源覆盖的类别少、商品目录规模小。我们提出一种框架,可从真实电商目录自动构建此类数据集并发布所得数据集。该框架爬取Digikala市场7个类别的12926件商品,将其分组为170个语义连贯的集群,并使用正则化分区平衡(RPB)分数选择助手每轮提出的问题。RPB分数考虑特征覆盖率、用户能够回答的概率以及值的数量,是基于熵的问题选择方法的泛化。随后,大型语言模型(LLM)将每个问题计划转化为自然的波斯语对话。在完整目录的模拟实验中,当不同特征的回答难度存在差异时,RPB分数比最强的熵基线少需要0.11轮;当回答难度无差异时,其表现与熵基线几乎相当。仅使用免费的LLM API,我们生成了覆盖全部170个集群的1000个需求驱动型对话,并带有轮级特征标注;自动检查和LLM评估确认这些对话与目录一致,但其真实度低于首个由GPT-4o生成的版本。代码和数据已公开可用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑