用多智能体协作提升关税编码分类准确率,解决物流中描述模糊难题。
Consensus-based Agentic Large Language Model Framework for Harmonized Tariff Schedule Code Classification

- 构建多智能体系统,融合法规检索与共识验证机制。
- 在3300条数据上实现10位编码分类,细粒度任务准确率显著提升。
- 适合海关、港口智能化系统研发者参考,强调可解释与人工介入。
准确的《协调关税税则》(HTS)编码分类对海运物流中的清关、税费评估、贸易统计和合规至关重要。然而,由于产品描述常短小、不完整或模糊,且正确分类依赖于层级税则结构、法律注释及地区规则,精确分类仍具挑战。本文提出一种针对加拿大10位HTS编码的智能体式大语言模型框架,应用于智慧港口与海运物流场景。框架整合多智能体信息检索、官方税则文档语义检索、基于证据的推理、共识验证、逐级编码组件投票、置信度估计与人机协同升级机制。我们在一个包含3300条领域专家标注的产品记录的私有数据集上进行评估。实验表明,即使使用先进LLM,10位编码的精确分类依然困难,性能从粗粒度章节级预测下降到细粒度税则与统计后缀分配。结果证明,需采用基于证据、感知不确定性和以人为本的分类流程,而非完全自主的单步预测。所提框架支持更可解释、可问责且符合合规要求的海运物流与智慧港口分类应用。代码已开源:https://github.com/Analytics-Everywhere-Lab/hts。
原文摘要 · Abstract (English)
Accurate Harmonized Tariff Schedule (HTS) code classification is essential for customs clearance, duty assessment, trade statistics, and regulatory compliance in maritime logistics. However, exact HTS classification remains challenging because product descriptions are often short, incomplete, or ambiguous, while correct classification depends on hierarchical tariff structures, legal notes, and jurisdiction-specific rules. This paper proposes an agentic large language model (LLM) framework for Canadian 10-digit HTS code classification in smart-port and maritime logistics environments. The framework integrates multi-agent information retrieval, semantic retrieval over official tariff documents, evidence-grounded reasoning, consensus-based validation, element-wise voting across hierarchical code components, confidence estimation, and human-in-the-loop escalation. We evaluate the framework on a private dataset of 3,300 domain-expert-labeled product records collected from logistics and delivery contexts. Experimental results show that exact 10-digit classification remains difficult even for advanced LLMs, with performance decreasing from coarse chapter-level prediction to fine-grained tariff and statistical suffix assignment. These findings demonstrate the need for evidence-grounded, uncertainty-aware, and human-centered classification workflows rather than fully autonomous single-step prediction. The proposed framework supports more interpretable, accountable, and compliance-oriented HTS classification for maritime logistics and smart-port operations. Our code is available at https://github.com/Analytics-Everywhere-Lab/hts.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。