Skip to main content
QUICK REVIEW

[论文解读] LLaSA: Large Language and E-Commerce Shopping Assistant

Shuo Zhang, Boci Peng|arXiv (Cornell University)|Aug 4, 2024
Mobile Agent-Based Network ManagementComputer Science被引用 3
一句话总结

LLaSA 是一种基于大型语言模型的电子商务购物助手,通过在自定义的 65,000 个样本数据集 EshopInstruct 上进行指令微调而开发,旨在克服现有助手在任务特定性和泛化能力差方面的局限。在 Amazon KDD Cup 2024 挑战赛中,LLaSA 在所有赛道中均获得第 5 名,并在整体排名中位列第 3 名,且在第 4 赛道(多语言能力)中表现最佳,是所有学生团队中的第一名。

ABSTRACT

The e-commerce platform has evolved rapidly due to its widespread popularity and convenience. Developing an e-commerce shopping assistant for customers is crucial to aiding them in quickly finding desired products and recommending precisely what they need. However, most previous shopping assistants face two main problems: (1) task-specificity, which necessitates the development of different models for various tasks, thereby increasing development costs and limiting effectiveness; and (2) poor generalization, where the trained model performs inadequately on up-to-date products. To resolve these issues, we employ Large Language Models (LLMs) to construct an omnipotent assistant, leveraging their adeptness at handling multiple tasks and their superior generalization capability. Nonetheless, LLMs lack inherent knowledge of e-commerce concepts. To address this, we create an instruction dataset comprising 65,000 samples and diverse tasks, termed as EshopInstruct. Through instruction tuning on our dataset, the assistant, named LLaSA, demonstrates the potential to function as an omnipotent assistant. Additionally, we propose various inference optimization strategies to enhance performance with limited inference resources. In the Amazon KDD Cup 2024 Challenge, our proposed method, LLaSA, achieved an overall ranking of 3rd place on ShopBench, including 57 tasks and approximately 20,000 questions, and we secured top-5 rankings in each track, especially in track4, where we achieved the best performance result among all student teams. Our extensive practices fully demonstrate that LLMs possess the great potential to be competent e-commerce shopping assistants.

研究动机与目标

  • 通过利用大型语言模型(LLMs)来解决任务特定性与泛化能力差的电子商务购物助手的局限性。
  • 通过领域特定的指令微调,提升模型在电子商务场景下的泛化能力与多任务处理能力。
  • 通过量化和提示工程策略,优化资源受限环境下的 LLM 推理效率。
  • 开发一个统一的全能型助手,能够处理包括推理、检索和多语言理解在内的多样化电子商务任务。
  • 在 Amazon KDD Cup 2024 挑战赛的多任务 ShopBench 基准测试中实现最先进性能。

提出的方法

  • 采用三种策略构建了 65,000 个样本的指令数据集 EshopInstruct:基于种子的生成、从 ECInstruct 中提取,以及全新任务设计。
  • 在 EshopInstruct 上微调 Qwen2-72B LLM,构建 LLaSA,以增强其对电子商务概念与任务的理解能力。
  • 应用 GPTQ 量化(int4)以减小模型大小并降低推理成本,同时保持性能。
  • 采用 few-shot 提示,结合检索到的相关示例与思维链(Chain-of-Thought)提示,提升复杂查询的推理能力。
  • 实施 Re-Reading 提示,通过重新处理输入问题来增强模型的推理能力。
  • 采用任务特定的提示工程:对开放式任务直接生成答案,对多选题使用正则表达式提取答案。

实验结果

研究问题

  • RQ1单一指令微调的大规模语言模型是否能够作为跨多样化、多领域任务的通用电子商务购物助手?
  • RQ2在自定义电子商务数据集 EshopInstruct 上进行指令微调,相较于通用预训练或其他指令数据集,能否显著提升模型性能?
  • RQ3量化与提示工程策略在低资源硬件上,能在多大程度上提升推理效率与性能?
  • RQ4单一 LLM 在未经微调的情况下,能否在多语言与跨领域电子商务任务中实现良好泛化?
  • RQ5模型规模与架构选择(如 Qwen2 与 Llama3)对电子商务推理与理解任务的性能有何影响?

主要发现

  • LLaSA 在 EshopInstruct 上微调后,在 Amazon KDD Cup 2024 挑战赛中,于 57 项任务与约 20,000 个问题中取得整体第 3 名。
  • 在第 4 赛道(多语言能力)中,LLaSA 表现最佳,获得所有学生团队中的第一名,并赢得学生团队最高奖项。
  • 在 EshopInstruct 上微调的 Qwen2-72B 模型(模型 F)在第 1 赛道中取得 0.824 的得分,优于基础 Qwen2-72B(0.786)以及在 ECInstruct 上微调的模型。
  • 在 EshopInstruct 上进行指令微调,显著提升了第 1 赛道中生成任务(0.732)、多选题(0.860)与排序任务(0.845)的性能。
  • 通过 GPTQ 量化至 int4,模型大小与推理成本显著降低,同时保持高性能,量化后的 Qwen2-72B 模型(F)在第 4 赛道中取得 0.735 的得分。
  • Re-Reading 提示与 few-shot 检索显著提升了复杂任务(如多跳推理与实体识别)的推理能力。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。