Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Auriemma, Serena, Miliani, Martina, Madeddu, Mauro, Bondielli, Alessandro, Passaro, Lucia, Lenci, Alessandro
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929442489630720
author Auriemma, Serena
Miliani, Martina
Madeddu, Mauro
Bondielli, Alessandro
Passaro, Lucia
Lenci, Alessandro
author_facet Auriemma, Serena
Miliani, Martina
Madeddu, Mauro
Bondielli, Alessandro
Passaro, Lucia
Lenci, Alessandro
contents Addressing the challenge of limited annotated data in specialized fields and low-resource languages is crucial for the effective use of Language Models (LMs). While most Large Language Models (LLMs) are trained on general-purpose English corpora, there is a notable gap in models specifically tailored for Italian, particularly for technical and bureaucratic jargon. This paper explores the feasibility of employing smaller, domain-specific encoder LMs alongside prompting techniques to enhance performance in these specialized contexts. Our study concentrates on the Italian bureaucratic and legal language, experimenting with both general-purpose and further pre-trained encoder-only models. We evaluated the models on downstream tasks such as document classification and entity typing and conducted intrinsic evaluations using Pseudo-Log-Likelihood. The results indicate that while further pre-trained models may show diminished robustness in general knowledge, they exhibit superior adaptability for domain-specific tasks, even in a zero-shot setting. Furthermore, the application of calibration techniques and in-domain verbalizers significantly enhances the efficacy of encoder models. These domain-specialized models prove to be particularly advantageous in scenarios where in-domain resources or expertise are scarce. In conclusion, our findings offer new insights into the use of Italian models in specialized contexts, which may have a significant impact on both research and industrial applications in the digital transformation era.
format Preprint
id arxiv_https___arxiv_org_abs_2407_20654
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian
Auriemma, Serena
Miliani, Martina
Madeddu, Mauro
Bondielli, Alessandro
Passaro, Lucia
Lenci, Alessandro
Computation and Language
Artificial Intelligence
68T50, 68T07
I.2.7
Addressing the challenge of limited annotated data in specialized fields and low-resource languages is crucial for the effective use of Language Models (LMs). While most Large Language Models (LLMs) are trained on general-purpose English corpora, there is a notable gap in models specifically tailored for Italian, particularly for technical and bureaucratic jargon. This paper explores the feasibility of employing smaller, domain-specific encoder LMs alongside prompting techniques to enhance performance in these specialized contexts. Our study concentrates on the Italian bureaucratic and legal language, experimenting with both general-purpose and further pre-trained encoder-only models. We evaluated the models on downstream tasks such as document classification and entity typing and conducted intrinsic evaluations using Pseudo-Log-Likelihood. The results indicate that while further pre-trained models may show diminished robustness in general knowledge, they exhibit superior adaptability for domain-specific tasks, even in a zero-shot setting. Furthermore, the application of calibration techniques and in-domain verbalizers significantly enhances the efficacy of encoder models. These domain-specialized models prove to be particularly advantageous in scenarios where in-domain resources or expertise are scarce. In conclusion, our findings offer new insights into the use of Italian models in specialized contexts, which may have a significant impact on both research and industrial applications in the digital transformation era.
title Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian
topic Computation and Language
Artificial Intelligence
68T50, 68T07
I.2.7
url https://arxiv.org/abs/2407.20654