JakobFehle/German-ABSA-in-the-Wild

0

stars

6

commits

Python

primary language

Apr 9, 2026

updated

README

German Aspect-based Sentiment Analysis in the Wild: B2B Dataset Creation and Cross-Domain Evaluation

Accepted at KONVENS 2025 · Hildesheim (Germany)

Paper Correspondence


Jakob Fehle¹ · Niklas Donhauser¹ · Udo Kruschwitz² · Nils Constantin Hellwig¹ · Christian Wolff¹

¹Media Informatics Group, University of Regensburg, Germany
²Information Science Group, University of Regensburg, Germany

✉ Correspondence to: jakob.fehle@ur.de
{jakob.fehle, niklas.donhauser, udo.kruschwitz, nils-constantin.hellwig, christian.wolff}@ur.de


Abstract: Aspect-based sentiment analysis (ABSA) enables fine-grained sentiment extraction from user feedback but remains underexplored in many non-English languages and specialized application domains. In this study, we present insights from a multi-stage annotation of Business-to-Business (B2B) software reviews, highlighting key challenges such as domain-specific phrasing and implicit aspect terms. We document annotation practices and systematically benchmark state-of-the-art (SOTA) ABSA models on the three subtasks Aspect Category Detection (ACD), Aspect Category Sentiment Analysis (ACSA), and Target Aspect Sentiment Detection (TASD) using five German datasets. Results show that while simple classifiers remain strong baselines for category detection and fine-tuned Large Language Models (LLMs) excel in more structured tasks, performance varies notably across domains. Our findings emphasize that ABSA methods do not generalize uniformly, and that domain-sensitive annotation and evaluation strategies are essential for robust sentiment analysis.


🧠 Overview

Aspect-based sentiment analysis (ABSA) enables fine-grained sentiment extraction from user feedback by linking opinions to specific aspects mentioned in text. While significant progress has been made for English benchmarks, ABSA remains underexplored in many non-English languages and domain-specific contexts.

In this work, we:

  • introduce a multi-stage annotation study on B2B software reviews,
  • analyze challenges such as implicit aspects and domain-specific phrasing,
  • and benchmark state-of-the-art (SOTA) ABSA models across multiple tasks and datasets.

We evaluate models on the following subtasks:

  • ACD – Aspect Category Detection
  • ACSA – Aspect Category Sentiment Analysis
  • TASD – Target Aspect Sentiment Detection

Our experiments span five German datasets, including a newly constructed B2B dataset.


🗂️ Repository Structure

📂 root/
├── 📂 data/                              # Datasets and processed data used for training and evaluation
│
├── 📂 results/                           # Experimental outputs for all evaluation runs
│   ├── 📂 <experiment_folder>/           # One folder per experiment configuration
│   │   ├── config.json                   # Model, dataset, and hyperparameter configuration
│   │   ├── predictions.json              # Model predictions and gold labels
│   │   ├── metrics_*.tsv                 # Evaluation results (e.g. F1, precision, recall)
│
├── 📂 scripts/                           # Scripts to run models and tasks
│   ├── experiment_script.py              # One script per model to run hyperparameter tuning and test set evaluation
│
├── 📂 src/                               # Core implementation of all ABSA methods
│   ├── 📂 bert_clf/                      # BERT-based classifiers (ACD, ACSA baselines)
│   ├── 📂 fs_llm/                        # Few-shot prompting with LLMs
│   ├── 📂 ft_llm/                        # Fine-tuned LLMs for structured ABSA tasks
│   ├── 📂 hier_gcn/                      # Graph-based ABSA (Hierarchical GCN)
│   ├── 📂 mvp/                           # Multi-View Prompting (MVP) implementation
│   ├── 📂 paraphrase/                    # Paraphrase-based TASD approaches
│   └── 📂 utils/                         # Shared helper functions (preprocessing, evaluation, etc.)
│
└── 📄 Annotation_Guidelines_English.pdf  # Guideliens for the annotation study

🧪 Experimental Setup

We evaluate multiple model types:

  • Classification models
    • e.g. BERT-based architectures
  • Graph-based models
    • e.g. Hierarchical GCN
  • Generative models
    • Fine-tuned LLMs (e.g. instruction-tuned models)

📊 Datasets

Dataset Overview

We use five German-language datasets:

  • Existing domain datasets (e.g. MobASA, GermEval 2017, GERestaurant, Hotel Reviews)
  • A newly constructed B2B software feedback dataset
NameAnnotationDomainTrainDevTestTotal
Hotel Reviews (Fehle et al., 2023)AC, SPHospitality (Hotels)34038514254
MobASA (Gabryszak et al., 2022)AT, AC, SPPublic Transportation3119105410285201
GERestaurant (Hellwig et al., 2024)AT, AC, SPHospitality (Restaurants)21359193054
GermEval (Wojatzki et al., 2017)AT, AC, SPPublic Transportation162001917364221759
B2B Software Reviews (Ours)AT, AC, SPSoftware Products17072495082464

Abbreviations:

  • AT = Aspect Term
  • AC = Aspect Category
  • SP = Sentiment Polarity

⚠️ Note:
The B2B dataset is confidential.
We provide synthetic examples that reflect its structure and characteristics.


🔬 Results

Aspect Category Detection (ACD)

MethodHotelMobASARestGermEvalB2B
BERT-CLF89.0694.0791.0978.1075.60
LLaMA Few-Shot79.0979.7083.6846.5166.98
LLaMA Fine-Tune87.6992.1888.0641.2774.22

Aspect Category Sentiment Analysis (ACSA)

MethodHotelMobASARestGermEvalB2B
BERT-CLF78.7583.5784.3465.8369.71
Hier-GCN78.0284.8283.3167.8769.80
LLaMA Few-Shot74.8070.2980.7939.3664.78
LLaMA Fine-Tune80.5187.2285.2233.4169.13

Target Aspect Sentiment Detection (TASD)

MethodMobASARestGermEvalB2B
Paraphrase78.6965.7254.0350.27
MvP79.6567.0055.7550.50
LLaMA Few-Shot64.6261.1343.7842.34
LLaMA Fine-Tune81.5673.2231.0655.77

Metric: Micro-F1 (average over 5 seeds)

Key Findings

  • Simple classifiers (e.g. BERT-based models) remain strong baselines for ACD.
  • Fine-tuned Large Language Models (LLMs) perform best on structured tasks like ACSA and TASD.
  • Model performance varies significantly across domains.
  • Annotation quality and dataset design strongly influence results.
  • ABSA methods do not generalize uniformly across domains.

✍️ Annotation Insights

Our multi-stage annotation process revealed key challenges:

  • Handling implicit aspects
  • Dealing with domain-specific terminology
  • High variability in phrasing
  • Importance of clear annotation guidelines
  • Need for iterative refinement and validation during annotation

📌 Summary

This repository provides:

  • A structured benchmark of ABSA methods in German
  • A deep dive into B2B domain challenges
  • Reproducible experiment outputs
  • Tools for consistent label normalization

Our results highlight the importance of:

  • domain-aware modeling
  • high-quality annotation
  • task-specific evaluation strategies

📬 Citation

@inproceedings{fehle-etal-2025-german,
    title = "{G}erman Aspect-based Sentiment Analysis in the Wild: {B}2{B} Dataset Creation and Cross-Domain Evaluation",
    author = "Fehle, Jakob  and
      Donhauser, Niklas  and
      Kruschwitz, Udo  and
      Hellwig, Nils Constantin  and
      Wolff, Christian",
    editor = "Wartena, Christian  and
      Heid, Ulrich",
    booktitle = "Proceedings of the 21st Conference on Natural Language Processing (KONVENS 2025): Long and Short Papers",
    month = sep,
    year = "2025",
    address = "Hannover, Germany",
    publisher = "HsH Applied Academics",
    url = "https://aclanthology.org/2025.konvens-1.19/",
    pages = "213--227"
}

Contributors

JakobFehle

6 commits

JakobFehle/German-ABSA-in-the-Wild

0

stars

6

commits

Python

primary language

Apr 9, 2026

updated

README

German Aspect-based Sentiment Analysis in the Wild: B2B Dataset Creation and Cross-Domain Evaluation

Accepted at KONVENS 2025 · Hildesheim (Germany)

Paper Correspondence


Jakob Fehle¹ · Niklas Donhauser¹ · Udo Kruschwitz² · Nils Constantin Hellwig¹ · Christian Wolff¹

¹Media Informatics Group, University of Regensburg, Germany
²Information Science Group, University of Regensburg, Germany

✉ Correspondence to: jakob.fehle@ur.de
{jakob.fehle, niklas.donhauser, udo.kruschwitz, nils-constantin.hellwig, christian.wolff}@ur.de


Abstract: Aspect-based sentiment analysis (ABSA) enables fine-grained sentiment extraction from user feedback but remains underexplored in many non-English languages and specialized application domains. In this study, we present insights from a multi-stage annotation of Business-to-Business (B2B) software reviews, highlighting key challenges such as domain-specific phrasing and implicit aspect terms. We document annotation practices and systematically benchmark state-of-the-art (SOTA) ABSA models on the three subtasks Aspect Category Detection (ACD), Aspect Category Sentiment Analysis (ACSA), and Target Aspect Sentiment Detection (TASD) using five German datasets. Results show that while simple classifiers remain strong baselines for category detection and fine-tuned Large Language Models (LLMs) excel in more structured tasks, performance varies notably across domains. Our findings emphasize that ABSA methods do not generalize uniformly, and that domain-sensitive annotation and evaluation strategies are essential for robust sentiment analysis.


🧠 Overview

Aspect-based sentiment analysis (ABSA) enables fine-grained sentiment extraction from user feedback by linking opinions to specific aspects mentioned in text. While significant progress has been made for English benchmarks, ABSA remains underexplored in many non-English languages and domain-specific contexts.

In this work, we:

  • introduce a multi-stage annotation study on B2B software reviews,
  • analyze challenges such as implicit aspects and domain-specific phrasing,
  • and benchmark state-of-the-art (SOTA) ABSA models across multiple tasks and datasets.

We evaluate models on the following subtasks:

  • ACD – Aspect Category Detection
  • ACSA – Aspect Category Sentiment Analysis
  • TASD – Target Aspect Sentiment Detection

Our experiments span five German datasets, including a newly constructed B2B dataset.


🗂️ Repository Structure

📂 root/
├── 📂 data/                              # Datasets and processed data used for training and evaluation
│
├── 📂 results/                           # Experimental outputs for all evaluation runs
│   ├── 📂 <experiment_folder>/           # One folder per experiment configuration
│   │   ├── config.json                   # Model, dataset, and hyperparameter configuration
│   │   ├── predictions.json              # Model predictions and gold labels
│   │   ├── metrics_*.tsv                 # Evaluation results (e.g. F1, precision, recall)
│
├── 📂 scripts/                           # Scripts to run models and tasks
│   ├── experiment_script.py              # One script per model to run hyperparameter tuning and test set evaluation
│
├── 📂 src/                               # Core implementation of all ABSA methods
│   ├── 📂 bert_clf/                      # BERT-based classifiers (ACD, ACSA baselines)
│   ├── 📂 fs_llm/                        # Few-shot prompting with LLMs
│   ├── 📂 ft_llm/                        # Fine-tuned LLMs for structured ABSA tasks
│   ├── 📂 hier_gcn/                      # Graph-based ABSA (Hierarchical GCN)
│   ├── 📂 mvp/                           # Multi-View Prompting (MVP) implementation
│   ├── 📂 paraphrase/                    # Paraphrase-based TASD approaches
│   └── 📂 utils/                         # Shared helper functions (preprocessing, evaluation, etc.)
│
└── 📄 Annotation_Guidelines_English.pdf  # Guideliens for the annotation study

🧪 Experimental Setup

We evaluate multiple model types:

  • Classification models
    • e.g. BERT-based architectures
  • Graph-based models
    • e.g. Hierarchical GCN
  • Generative models
    • Fine-tuned LLMs (e.g. instruction-tuned models)

📊 Datasets

Dataset Overview

We use five German-language datasets:

  • Existing domain datasets (e.g. MobASA, GermEval 2017, GERestaurant, Hotel Reviews)
  • A newly constructed B2B software feedback dataset
NameAnnotationDomainTrainDevTestTotal
Hotel Reviews (Fehle et al., 2023)AC, SPHospitality (Hotels)34038514254
MobASA (Gabryszak et al., 2022)AT, AC, SPPublic Transportation3119105410285201
GERestaurant (Hellwig et al., 2024)AT, AC, SPHospitality (Restaurants)21359193054
GermEval (Wojatzki et al., 2017)AT, AC, SPPublic Transportation162001917364221759
B2B Software Reviews (Ours)AT, AC, SPSoftware Products17072495082464

Abbreviations:

  • AT = Aspect Term
  • AC = Aspect Category
  • SP = Sentiment Polarity

⚠️ Note:
The B2B dataset is confidential.
We provide synthetic examples that reflect its structure and characteristics.


🔬 Results

Aspect Category Detection (ACD)

MethodHotelMobASARestGermEvalB2B
BERT-CLF89.0694.0791.0978.1075.60
LLaMA Few-Shot79.0979.7083.6846.5166.98
LLaMA Fine-Tune87.6992.1888.0641.2774.22

Aspect Category Sentiment Analysis (ACSA)

MethodHotelMobASARestGermEvalB2B
BERT-CLF78.7583.5784.3465.8369.71
Hier-GCN78.0284.8283.3167.8769.80
LLaMA Few-Shot74.8070.2980.7939.3664.78
LLaMA Fine-Tune80.5187.2285.2233.4169.13

Target Aspect Sentiment Detection (TASD)

MethodMobASARestGermEvalB2B
Paraphrase78.6965.7254.0350.27
MvP79.6567.0055.7550.50
LLaMA Few-Shot64.6261.1343.7842.34
LLaMA Fine-Tune81.5673.2231.0655.77

Metric: Micro-F1 (average over 5 seeds)

Key Findings

  • Simple classifiers (e.g. BERT-based models) remain strong baselines for ACD.
  • Fine-tuned Large Language Models (LLMs) perform best on structured tasks like ACSA and TASD.
  • Model performance varies significantly across domains.
  • Annotation quality and dataset design strongly influence results.
  • ABSA methods do not generalize uniformly across domains.

✍️ Annotation Insights

Our multi-stage annotation process revealed key challenges:

  • Handling implicit aspects
  • Dealing with domain-specific terminology
  • High variability in phrasing
  • Importance of clear annotation guidelines
  • Need for iterative refinement and validation during annotation

📌 Summary

This repository provides:

  • A structured benchmark of ABSA methods in German
  • A deep dive into B2B domain challenges
  • Reproducible experiment outputs
  • Tools for consistent label normalization

Our results highlight the importance of:

  • domain-aware modeling
  • high-quality annotation
  • task-specific evaluation strategies

📬 Citation

@inproceedings{fehle-etal-2025-german,
    title = "{G}erman Aspect-based Sentiment Analysis in the Wild: {B}2{B} Dataset Creation and Cross-Domain Evaluation",
    author = "Fehle, Jakob  and
      Donhauser, Niklas  and
      Kruschwitz, Udo  and
      Hellwig, Nils Constantin  and
      Wolff, Christian",
    editor = "Wartena, Christian  and
      Heid, Ulrich",
    booktitle = "Proceedings of the 21st Conference on Natural Language Processing (KONVENS 2025): Long and Short Papers",
    month = sep,
    year = "2025",
    address = "Hannover, Germany",
    publisher = "HsH Applied Academics",
    url = "https://aclanthology.org/2025.konvens-1.19/",
    pages = "213--227"
}

Contributors

JakobFehle

6 commits

Languages

Python

99.7%