计算机科学
编码(集合论)
人工智能
自然语言处理
数据挖掘
程序设计语言
自然语言
数据建模
鉴定(生物学)
钥匙(锁)
语言模型
特征(语言学)
匹配(统计)
源代码
作者
Qiang Xia,Zijian Zhang,Ao Wang,Wenhan Wang,Xiangyu Wang,Jian He Li
出处
期刊:
日期:2026-01-01
卷期号:: 44761-44773
标识
DOI:10.18653/v1/2026.acl-long.2072
摘要
Harmonized System (HS) code classification is a hierarchically structured and regulationconstrained task, often complicated by short and noisy product descriptions.Misclassification can lead to tariff misapplication, regulatory violations, or delayed customs clearance; predictions therefore need to be both semantically appropriate and hierarchically valid.While large language models (LLMs) show strong semantic understanding, their unconstrained generation is poorly aligned with these requirements, often producing non-existent or hierarchically inconsistent codes.We propose HSGraphAgent, a knowledge-graph-guided LLM framework that formulates HS classification as a stepwise, regulation-aware reasoning process over an explicit HS knowledge graph.By encoding hierarchical containment relations and regulatory exclusion rules, and enforcing them through a Select-Redirect mechanism, HSGraphAgent constrains inference to legally valid paths while producing explicit and traceable reasoning trajectories.Experiments on taxonomy-wide 4-digit and fine-grained 6-digit HS benchmarks demonstrate consistent improvements over direct generation and retrievalaugmented baselines, with particularly strong gains in fine-grained and regulation-sensitive classification settings.
科研通智能强力驱动
Strongly Powered by AbleSci AI