Automatically Coding Economic Activities via Semantic Search

Automated coding of free-text descriptions is a core challenge for National Statistical Institutes (NSIs), which must map colloquial respondent inputs to official taxonomies under strict reliability and transparency requirements. Rule-based systems, the current standard, demand extensive, ongoing human effort to author and maintain the large manual rule sets needed to cover the diversity of real world inputs. This paper evaluates embedding-based semantic retrieval as a lower-maintenance alternative, using the Italian ATECO classification as the empirical setting. We compare several knowledge base construction strategies across seven sentence transformer models (ranging from 118 million to 8 billion parameters), evaluated against 33,544 real-world queries labelled by CIRCE, Istat’s operational rule-based coder, at the 5-digit and 2-digit levels. Moderate-size models (300–700 million parameters) are competitive with much larger ones, achieving Hit@5 above 0.82 and 0.94 at the respective levels. Query length is a significant performance driver, and manual mismatch analysis reveals that roughly one in five disagreements with CIRCE reflect label noise rather than retrieval errors. Embedding-based retrieval thus offers competitive performance with no task-specific training data and a fraction of the human labour required by rule-based approaches.

Authors

Institutions

Publication Details

Journal
Journal of Official Statistics
Published
2026-11-08
DOI
https://doi.org/10.1177/0282423x261500949
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Automatically Coding Economic Activities via Semantic Search

Mauro Bruno, Francesco Ortame
Journal of Official Statistics
Topic Modeling
article

Automatically Coding Economic Activities via Semantic Search

Mauro Bruno, Francesco Ortame
article en

Abstract

Automated coding of free-text descriptions is a core challenge for National Statistical Institutes (NSIs), which must map colloquial respondent inputs to official taxonomies under strict reliability and transparency requirements. Rule-based systems, the current standard, demand extensive, ongoing human effort to author and maintain the large manual rule sets needed to cover the diversity of real world inputs. This paper evaluates embedding-based semantic retrieval as a lower-maintenance alternative, using the Italian ATECO classification as the empirical setting. We compare several knowledge base construction strategies across seven sentence transformer models (ranging from 118 million to 8 billion parameters), evaluated against 33,544 real-world queries labelled by CIRCE, Istat’s operational rule-based coder, at the 5-digit and 2-digit levels. Moderate-size models (300–700 million parameters) are competitive with much larger ones, achieving Hit@5 above 0.82 and 0.94 at the respective levels. Query length is a significant performance driver, and manual mismatch analysis reveals that roughly one in five disagreements with CIRCE reflect label noise rather than retrieval errors. Embedding-based retrieval thus offers competitive performance with no task-specific training data and a fraction of the human labour required by rule-based approaches.

Journal of Official Statistics
Istituto Nazionale di Statistica (IT)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon