arXiv:2507.10880cs.LGcs.CL2025-07被引 3

用小模型精准预测税码,提升跨国企业合规效率

Domain-Adaptive Small Language Models for Structured Tax Code Prediction

  • 基于编码器-解码器的小模型,生成具有层级关系的税码序列
  • 在HSN数据集上优于传统分类器和单一结构模型
  • 可扩展至UNSPSC、NCM等其他政府税码体系,适合税务自动化场景

跨国企业每日处理数千笔交易,需遵守各辖区差异化的税收法规,其中产品与服务税码(如HSN或SAC)的准确判定是税务合规的关键。本文提出一种领域自适应的小语言模型(SLM),采用编码器-解码器架构,针对非结构化的产品与服务信息,实现对具有层级结构的税码序列的序列化预测。实验表明,该方法在哈伯德商品名称系统(HSN)任务中显著优于平面分类器,且在结构化序列生成任务中表现超越仅解码器与仅编码器架构。该方法具备可扩展性,可应用于联合国标准产品与服务代码(UNSPSC)或巴西共同市场税则(NCM)等其他政府强制税码体系。

原文摘要 · Abstract (English)

Every day, multinational firms process thousands of transactions, each of which must adhere to tax regulations that vary by jurisdiction and are often nuanced. The determination of product and service tax codes, such as HSN or SAC is a major use case in Tax compliance. An accurate determination of such codes is imperative to avoid any tax penalties. This paper proposes a domain-adaptive small language model (SLM) with an encoder-decoder architecture for the enhanced prediction of product and service tax codes. In this approach, we address the problem of predicting hierarchical tax code sequences using unstructured product and services data. We employ an SLM based upon encoder-decoder architecture as this enables sequential generation of tax codes to capture the hierarchical dependencies present within the tax codes. Our experiments demonstrate that encoder-decoder SLMs can be successfully applied to the sequential prediction of structured tax codes, a domain that remains comparatively unexplored in current NLP research. In this paper, we demonstrate the superior performance of the domain-adaptive encoder-decoder SLMs over flat classifiers when applied to the Harmonized System of Nomenclature (HSN), and achieve superior results compared to decoder-only and encoder-only architectures for structured sequence generation tasks. This approach can also be scaled to other government-mandated tax commodity codes, such as United Nations Standard Products and Services Codes (UNSPSC), or Brazil's Nomenclatura Comum do Mercosul (NCM).

税码预测小模型序列生成领域自适应

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。