• Skip to primary navigation
  • Skip to main content

TariffEngineering.com

  • Home
  • About the author
  • Contact Us

Other

The Pitfalls of AI in HS Classification

2026年2月17日 by TaichiKawazoe(河副 太智) Leave a Comment

Deterministic Law vs. Stochastic Probability

In the world of international trade, determining the correct HS (Harmonized System) code is often seen as a technical hurdle. However, beneath the surface, it is a rigorous legal exercise. As AI tools become more prevalent in customs offices, a dangerous gap is widening between how machines “think” and how the law actually operates.

The Deterministic Process of GIRs

Actual customs practice is a deterministic process governed by the General Interpretative Rules (GIRs). These six legal principles ensure that for any given product, there is only one legally correct classification.

The process must always begin with GIR 1, which states that classification is determined by the terms of the headings and any relative Section or Chapter Notes.

The Power of Legal Notes

The “Legal Notes” found at the beginning of HS Sections and Chapters are not merely suggestions—they are legally binding. They contain complex Exclusions and Priority Rules that can override physical appearance:

  • Exclusions: A product may look like a “plastic container,” but if a Chapter Note states, “This chapter does not cover specific containers for X,” it must be classified elsewhere, regardless of its material.
  • Priority Rules: Notes like Chapter 29, Note 3, dictate that if a product could fall under two headings, it must be classified in the heading that occurs last in numerical order.

The “Lack of Legal Reasoning” Trap in AI

Current AI models, specifically those using neural networks, struggle with the deductive logic required to navigate these rules. In a vector space where AI calculates “text similarity,” the phrases “Including A” and “Excluding A” are mathematically very close because they share almost all the same words.

However, in a legal context, those two phrases lead to diametrically opposed outcomes. While AI can learn the frequency of words, it cannot logically process a “Legal Exclusion” or a “Hierarchical Priority” based on the GIRs.

Comparison: Machine Learning vs. Legal Classification

Feature ML-Based AI Tools (Stochastic) Legal HS Classification (Deterministic)
Foundation of Inference Statistical patterns and text similarity in datasets. GIRs and Section/Chapter Legal Notes.
Nature of Output Probabilistic guess (e.g., “95% certain”). The single legally correct answer (100% binding).
Handling Exceptions Weak at “edge cases” or complex exclusions not frequent in data. Mandatory application of strict exclusionary rules.
Process Transparency Black Box: Difficult to verbalize the legal rationale. Transparent: Can cite the exact GIR or Note used for the decision.

The Danger of Overconfidence: The “Confidence Level” Illusion

One of the most significant risks highlighted in WCO (World Customs Organization) reports is the misunderstanding of “Confidence Levels.”

A machine learning model might assign a 95.76% confidence score to a classification that is legally incorrect. For example, errors have been reported in the classification of automotive engine mounts where AI provided high confidence for the wrong code.

Crucial Distinction: This percentage does not mean there is a 95% chance the code is legally correct. It simply means the code aligns closely with the AI’s internal statistical patterns.

When importers or brokers see a high percentage, they often mistake it for a legal guarantee. This leads to “automation bias,” where users stop questioning the output, eventually leading to misdeclaration, fines, and compliance audits.

Filed Under: Other

“AI HS classifiers” cannot completely replace “Human expert classifiers”

2025年10月17日 by TaichiKawazoe(河副 太智) Leave a Comment

A surprising result emerged when we solicited opinions from many people who have used AI classifiers.

What was most surprising is that in a 2023 poll, 16% of people had a favorable opinion of AI’s judgment, stating it had “more than 90% accuracy.”

However, this number decreased to 15% in 2025.

In just two years, AI as a whole has been evolving at a tremendous speed, and this remarkable development is astonishing to everyone.
However, AI classifiers seem to be an exception, as an interesting phenomenon is occurring where the number of people who rate them highly is inversely proportional to the development of AI.

Furthermore, HS classification is a challenging task that requires decisions as close to 100% accurate as possible, while also addressing the issue of differing opinions that vary by country and customs officer.

However, in the polls, 70% of respondents answered that the AI only provides ambiguous conclusions such as “some good, some bad” or “depends on the item category.”

Isn’t this a fatal flaw in the work of HS classification? Additionally, with 15% responding that it is “useless,” a total of 85% of people believe that the answers from AI classifiers are not perfect.

From this, we can understand the following two points:

1.
I do not intend to completely negate AI classifiers, because they may have excellent aspects as a co-pilot. However, at present, they can only serve in a supplementary role. It is a terribly dangerous act to declare the decisions of an AI classifier to customs without any knowledge or questioning of the output.

2.
HS classification by human experts is an essential skill, knowledge, and experience that will continue to be needed for a long time to come.
No matter how much AI evolves in the future, the final judgment by expert personnel is essential.

Rather than viewing AI with anxiety about white-collar jobs being replaced, we urge professionals to recognize the enduring value of their role in HS classification.

Your expertise is more crucial than ever and will continue to be in high demand.

Continue to fulfill your duties with pride, knowing you are an essential expert in the future of the trade industry.

Filed Under: Other

Copyright © 2026 · Genesis Sample on Genesis Framework · WordPress · Log in