ANALYTICAL MODEL OF MANUAL HIERARCHICAL DATA CLUSTERING: A SYSTEMATIC APPROACH TO STRUCTURING AND CLASSIFYING CUSTOMS DATA

Authors:

Abstract
This article introduces the analytical model of Manual Hierarchical Data Clustering (MHDC), designed as a comprehensive system for structuring and classifying customs data under conditions of fragmented documentation and dynamic regulatory environments. The MHDC approach synthesizes methods from computational linguistics, data science, and rulebased expert systems to enhance the accuracy and transparency of customs classification processes. The model incorporates natural language processing (NLP) techniques to extract structured information from unstructured product descriptions found in commercial documents, enabling standardization and reduction of terminological ambiguities. Hierarchical clustering methods, employing both agglomerative and divisive strategies, are applied to organize goods into multilevel categories based on attribute similarities, supporting a scalable and adaptive data structure that reflects the complexity of customs nomenclature. Further, MHDC utilizes decision tree logic to automate the assignment of Harmonized System (HS) codes. This mechanism operationalizes a sequence of control questions aligned with international classification standards, allowing for a transparent and adaptable coding process that accommodates regulatory updates and exceptions. The model’s architecture consists of a standardized taxonomy stage for defining key product attributes, a clustering stage for forming a logical hierarchy of goods, and an automated classification stage ensuring consistent HS code assignment. Optical character recognition (OCR), tokenization, data normalization, and semantic vectorization techniques, such as TF-IDF and Word2Vec, are integral to the data preprocessing pipeline, facilitating efficient information extraction and logical consistency checking. The MHDC model aligns with the standards of the World Customs Organization and the Customs Code of Ukraine, ensuring its compatibility across jurisdictions. It emphasizes the importance of a semi-automated processing approach, preserving human expert involvement where necessary while optimizing time and resource consumption. Special recommendations include the training of customs specialists, the gradual integration of digital tools in regions with limited infrastructure, and the establishment of collaborations with standardization organizations to maintain methodological relevance. In the long term, MHDC aims to serve as a foundation for advancing the digitalization of customs procedures, fostering harmonized trade practices, and strengthening global supply chain integration.