English

Actuarial Applications of Natural Language Processing Using Transformers: Case Studies for Using Text Features in an Actuarial Context

Computation and Language 2023-09-26 v3

Abstract

This tutorial demonstrates workflows to incorporate text data into actuarial classification and regression tasks. The main focus is on methods employing transformer-based models. A dataset of car accident descriptions with an average length of 400 words, available in English and German, and a dataset with short property insurance claims descriptions are used to demonstrate these techniques. The case studies tackle challenges related to a multi-lingual setting and long input sequences. They also show ways to interpret model output, to assess and improve model performance, by fine-tuning the models to the domain of application or to a specific prediction task. Finally, the tutorial provides practical approaches to handle classification tasks in situations with no or only few labeled data, including but not limited to ChatGPT. The results achieved by using the language-understanding skills of off-the-shelf natural language processing (NLP) models with only minimal pre-processing and fine-tuning clearly demonstrate the power of transfer learning for practical applications.

Keywords

Cite

@article{arxiv.2206.02014,
  title  = {Actuarial Applications of Natural Language Processing Using Transformers: Case Studies for Using Text Features in an Actuarial Context},
  author = {Andreas Troxler and Jürg Schelldorfer},
  journal= {arXiv preprint arXiv:2206.02014},
  year   = {2023}
}

Comments

47 pages, 33 figures. v3: Added new Section 10 on the use of ChatGPT for unsupervised information extraction

R2 v1 2026-06-24T11:39:18.181Z