Artificial intelligence has profoundly transformed textual analysis in recent years, introducing advanced methodologies for interpreting language and extracting meaningful statistical insights. Since 2018, Italy’s National Institute of Statistics has integrated AI-driven models to enhance its research capabilities, particularly in sentiment analysis and social media monitoring, given their real-time nature and lack of response burden. Sentiment-based indexes have been enriched through probabilistic models such as topic modeling via Latent Dirichlet Allocation, word embeddings, and neural networks, improving users' ability to interpret index dynamics. Initially reliant on rule-based approaches (e.g., lexicons) and clustering techniques, sentiment analysis has evolved with the adoption of BERT, enabling more nuanced contextual interpretation. However, official statistics face unique challenges, including biases inherent in social media data, necessitating robust data collection pipelines, monitoring systems, and clear imputation rules to ensure reliable datasets. Strict annotation protocols are particularly crucial in sensitive domains, such as gender-based violence studies and other social research tasks. AI-driven textual analysis has been applied across various domains, including the Social Media Economic Indicator, emotion detection in gender stereotypes, topic modeling of the Ukraine conflict, and discussions on gender-based violence. Modern large language models (LLMs) such as BERT, RoBERTa, and GPT variants learn contextual embeddings and are trained on vast corpora. Fine-tuned versions (e.g., BERT trained on sentiment data) significantly outperform lexicon-based methods in sentiment classification. Nevertheless, widespread adoption of LLMs remains constrained by high computational demands. Key challenges persist in methodological precision and resource optimization, with future advancements likely focusing on refining bias correction techniques and improving computational efficiency to ensure AI continues to play a pivotal role in statistical research.
ISTAT, Italian National Institute of Statistics, Italy - ORCID: 0009-0006-9616-3374
ISTAT, Italian National Institute of Statistics, Italy - ORCID: 0000-0001-7764-2261
Titolo del capitolo
The evolution of AI-driven textual analysis in Istat
Autori
Elena Catanese, Alessandra Righi
Lingua
Inglese
DOI
10.36253/979-12-215-1062-1.24
Opera sottoposta a peer review
Anno di pubblicazione
2026
Copyright
© 2026 Author(s)
Licenza d'uso
Licenza dei metadati
Titolo del libro
Data, Statistics and AI for Well-Being of People and Organisations
Curatori
Luigi Fabbris, Alberto Franci, Pietro Renzi
Opera sottoposta a peer review
Numero di pagine
420
Anno di pubblicazione
2026
Copyright
© 2026 Author(s)
Licenza d'uso
Licenza dei metadati
Editore
Firenze University Press
DOI
10.36253/979-12-215-1062-1
ISBN Print
979-12-215-1061-4
eISBN (pdf)
979-12-215-1062-1
eISBN (xml)
979-12-215-1063-8
Collana
Applied Statistics Series