Salvato in:
Dettagli Bibliografici
Autori principali: Sebők, Miklós, Kovács, Viktor, Bánóczy, Martin, Eriksen, Daniel Møller, Neptune, Nathalie, Roussille, Philippe
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2509.10199
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918149079695360
author Sebők, Miklós
Kovács, Viktor
Bánóczy, Martin
Eriksen, Daniel Møller
Neptune, Nathalie
Roussille, Philippe
author_facet Sebők, Miklós
Kovács, Viktor
Bánóczy, Martin
Eriksen, Daniel Møller
Neptune, Nathalie
Roussille, Philippe
contents The most widely used large language models in the social sciences (such as BERT, and its derivatives, e.g. RoBERTa) have a limitation on the input text length that they can process to produce predictions. This is a particularly pressing issue for some classification tasks, where the aim is to handle long input texts. One such area deals with laws and draft laws (bills), which can have a length of multiple hundred pages and, therefore, are not particularly amenable for processing with models that can only handle e.g. 512 tokens. In this paper, we show results from experiments covering 5 languages with XLM-RoBERTa, Longformer, GPT-3.5, GPT-4 models for the multiclass classification task of the Comparative Agendas Project, which has a codebook of 21 policy topic labels from education to health care. Results show no particular advantage for the Longformer model, pre-trained specifically for the purposes of handling long inputs. The comparison between the GPT variants and the best-performing open model yielded an edge for the latter. An analysis of class-level factors points to the importance of support and substance overlaps between specific categories when it comes to performance on long text inputs.
format Preprint
id arxiv_https___arxiv_org_abs_2509_10199
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Token Limits: Assessing Language Model Performance on Long Text Classification
Sebők, Miklós
Kovács, Viktor
Bánóczy, Martin
Eriksen, Daniel Møller
Neptune, Nathalie
Roussille, Philippe
Computation and Language
I.7; I.2; J.4
The most widely used large language models in the social sciences (such as BERT, and its derivatives, e.g. RoBERTa) have a limitation on the input text length that they can process to produce predictions. This is a particularly pressing issue for some classification tasks, where the aim is to handle long input texts. One such area deals with laws and draft laws (bills), which can have a length of multiple hundred pages and, therefore, are not particularly amenable for processing with models that can only handle e.g. 512 tokens. In this paper, we show results from experiments covering 5 languages with XLM-RoBERTa, Longformer, GPT-3.5, GPT-4 models for the multiclass classification task of the Comparative Agendas Project, which has a codebook of 21 policy topic labels from education to health care. Results show no particular advantage for the Longformer model, pre-trained specifically for the purposes of handling long inputs. The comparison between the GPT variants and the best-performing open model yielded an edge for the latter. An analysis of class-level factors points to the importance of support and substance overlaps between specific categories when it comes to performance on long text inputs.
title Beyond Token Limits: Assessing Language Model Performance on Long Text Classification
topic Computation and Language
I.7; I.2; J.4
url https://arxiv.org/abs/2509.10199