Nested Named Entity Recognition for Historical Swedish Texts: Evaluating Task-Specific Models and Large Language Models on the SWENER-1800 Dataset

This thesis investigates the performance of task-specific and general purpose models on the Nested Named Entity Recognition (NNER) task in historical Swedish texts. Using the SWENER-1800 dataset, an annotated corpus that displays the linguistic complexity of 18th- and 19th-century Swedish, the study compares a State-of-the-Art task-specific model (BINDER) against a selection of Large Language Models (GPT4-o, DeepSeek R1, and LLama 3), under zero-shot, few-shot, and fine-tuned conditions where applicable. The analysis evaluates each model's ability to detect nested (and flat) entities in a low-resource, linguistically specific and diverse setting. Results indicate that that while LLMs offer flexibility and reasonable performance in certain configurations, task-specific architectures like BINDER still outperform them, especially in capturing nested structures and, sometimes, rare entity types. Confusion matrix analysis reveals consistent semantic confusions among similar entity classes and highlights the structural limitations of LLMs in handling (deeply) nested entities. This work reinforces the value of traditional NLP methodologies for domain-specific, structured tasks.

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
Intellectual Property and Patents
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Nested Named Entity Recognition for Historical Swedish Texts: Evaluating Task-Specific Models and Large Language Models on the SWENER-1800 Dataset

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Intellectual Property and Patents
article

Nested Named Entity Recognition for Historical Swedish Texts: Evaluating Task-Specific Models and Large Language Models on the SWENER-1800 Dataset

article en

Abstract

This thesis investigates the performance of task-specific and general purpose models on the Nested Named Entity Recognition (NNER) task in historical Swedish texts. Using the SWENER-1800 dataset, an annotated corpus that displays the linguistic complexity of 18th- and 19th-century Swedish, the study compares a State-of-the-Art task-specific model (BINDER) against a selection of Large Language Models (GPT4-o, DeepSeek R1, and LLama 3), under zero-shot, few-shot, and fine-tuned conditions where applicable. The analysis evaluates each model's ability to detect nested (and flat) entities in a low-resource, linguistically specific and diverse setting. Results indicate that that while LLMs offer flexibility and reasonable performance in certain configurations, task-specific architectures like BINDER still outperform them, especially in capturing nested structures and, sometimes, rare entity types. Confusion matrix analysis reveals consistent semantic confusions among similar entity classes and highlights the structural limitations of LLMs in handling (deeply) nested entities. This work reinforces the value of traditional NLP methodologies for domain-specific, structured tasks.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Openalex Percentile: Top 37%
Intellectual Property and Patents
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.

Nested Named Entity Recognition for Historical Swedish Texts: Evaluating Task-Specific Models and Large Language Models on the SWENER-1800 Dataset · KTH Publication Database DiVA (KTH Royal Institute of Technology) (2025) | TGRS Research Map | TGRS