Harmonized system code classification using supervised contrastive learning with sentence BERT and multiple negative ranking loss

计算机科学 判决 排名(信息检索) 自然语言处理 人工智能 编码(集合论) 机器学习 程序设计语言 集合(抽象数据类型)
作者
Angga Wahyu Anggoro,Padraig Corcoran,Dennis De Widt,Yuhua Li
出处
期刊:Data technologies and applications [Emerald Publishing Limited]
标识
DOI:10.1108/dta-01-2024-0052
摘要

Purpose International trade transactions, extracted from customs declarations, include several fields, among which the product description and the product category are the most important. The product category, also referred to as the Harmonised System Code (HS code), serves as a pivotal component for determining tax rates and administrative purposes. A predictive tool designed for product categories or HS codes becomes an important resource aiding traders in their decision to choose a suitable code. This tool is instrumental in preventing misclassification arising from the ambiguities present in product nomenclature, thus mitigating the challenges associated with code interpretation. Moreover, deploying this tool would streamline the validation process for government officers dealing with extensive transactions, optimising their workload and enhancing tax revenue collection within this domain. Design/methodology/approach This study introduces a methodology focused on the generation of sentence embeddings for trade transactions, employing Sentence BERT (SBERT) framework in conjunction with the Multiple Negative Ranking (MNR) Loss function following a contrastive learning paradigm. The procedure involves the construction of pairwise samples, including anchors and positive transactions. The proposed method is evaluated using two publicly available real-world datasets, specifically the India Import 2016 and United States Import 2018 datasets, to fine-tune the SBERT model. Several configurations involving pooling strategies, loss functions, and training parameters are explored within the experimental setup. The acquired representations serve as inputs for traditional machine learning algorithms employed in predicting the product categories within trade transactions. Findings Encoding trade transactions utilising SBERT with MNR loss facilitates the creation of enhanced embeddings that exhibit improved representational capacity. These fixed-length embeddings serve as adaptable inputs for training machine learning models, including support vector machine (SVM) and random forest, intended for downstream tasks of HS code classification. Empirical evidence supports the superior performance of our proposed approach compared to fine-tuning transformer-based models in the domain of trade transaction classification. Originality/value Our approach generates more representative sentence embeddings by creating the network architectures from scratch with the SBERT framework. Instead of exploiting a data augmentation method generally used in contrastive learning for measuring the similarity between the samples, we arranged positive samples following a supervised paradigm and determined loss through distance learning metrics. This process involves continuous updating of the Siamese or bi-encoder network to produce embeddings derived from commodity transactions. This strategy aims to ensure that similar concepts of transactions within the same class converge closer within the feature embedding space, thereby improving the performance of downstream tasks.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
熙梓日记完成签到,获得积分10
刚刚
kkk321完成签到,获得积分10
刚刚
无花果应助ansteel采纳,获得10
刚刚
江柚白发布了新的文献求助10
1秒前
lshao完成签到 ,获得积分10
1秒前
1秒前
z落水无痕完成签到,获得积分10
1秒前
清脆的谷波完成签到 ,获得积分10
1秒前
旧日完成签到,获得积分10
2秒前
温柔梦松完成签到 ,获得积分10
2秒前
和谐的万仇完成签到,获得积分10
2秒前
张琳琳完成签到 ,获得积分10
3秒前
笨笨的乘风完成签到 ,获得积分10
3秒前
乔苏惠娜完成签到,获得积分10
3秒前
窦函完成签到,获得积分10
3秒前
饺子爱看文献哦完成签到,获得积分10
5秒前
cwzjy0457完成签到,获得积分10
5秒前
qlq完成签到 ,获得积分10
5秒前
玛卡巴卡完成签到,获得积分10
6秒前
上官若男应助foceman采纳,获得10
6秒前
小蘑菇应助foceman采纳,获得10
6秒前
烟花应助foceman采纳,获得10
6秒前
大个应助foceman采纳,获得10
6秒前
6秒前
打打应助foceman采纳,获得10
6秒前
张欢馨应助foceman采纳,获得10
6秒前
研友_LMg3PZ完成签到,获得积分10
6秒前
小包子完成签到,获得积分10
7秒前
郑郑完成签到,获得积分10
8秒前
kukuluo完成签到,获得积分10
8秒前
bysl完成签到,获得积分10
9秒前
坚定的老六完成签到,获得积分10
9秒前
SciGPT应助专注的念烟采纳,获得10
10秒前
Hill完成签到,获得积分10
10秒前
自由凌丝完成签到,获得积分10
11秒前
轻松的山水完成签到,获得积分10
11秒前
YifanWang应助Ricky小强采纳,获得10
12秒前
12秒前
bohanhan发布了新的文献求助10
12秒前
liujie完成签到,获得积分10
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Römisch-Germanische Forschungen 1000
APA handbook of comparative psychology: Basic concepts, methods, neural substrate, and behavior 1000
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
An introduction of AMSTAR-2: a quality assessment instrument of systematic reviews including randomized or non-randomized controlled trials or both 500
An introduction to a measurement tool to assess the methodological quality of systematic reviews/meta-analysis: AMSTAR 500
The formulation methods and steps of umbrella review 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7605944
求助须知:如何正确求助?哪些是违规求助? 9181832
关于积分的说明 19663684
捐赠科研通 7180296
什么是DOI,文献DOI怎么找? 3269538
关于科研通互助平台的介绍 2433442
邀请新用户注册赠送积分活动 2263726