Embedding Style Beyond Topics: Analyzing Dispersion Effects Across Different Language Models

Benjamin Icard, Evangelia Zve, Lila Sainero, Alice Breton, Jean-Gabriel Ganascia
1/1/2025
cs.CLcs.AI

No official code found. Best implementation: evangeliazve/topic_style_embeddings_dispersion (0 stars, last commit 2024-12-07).

Abstract

This paper analyzes how writing style affects the dispersion of embedding vectors across multiple, state-of-the-art language models. While early transformer models primarily aligned with topic modeling, this study examines the role of writing style in shaping embedding spaces. Using a literary corpus that alternates between topics and styles, we compare the sensitivity of language models across French and English. By analyzing the particular impact of style on embedding dispersion, we aim to better understand how language models process stylistic information, contributing to their overall interpretability.

View on arXivView PDF

Code Implementations(1)

This repository contains the code, data, plots, and results accompanying our paper submission to COLING 2025.

00PythonSep 8, 20241 years ago

Cite this paper

@article{icard2025embedding,
  title  = {Embedding Style Beyond Topics: Analyzing Dispersion Effects Across Different Language Models},
  author = {Benjamin Icard and Evangelia Zve and Lila Sainero and Alice Breton and Jean-Gabriel Ganascia},
  year   = {2025},
  eprint = {2501.00828},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.00828v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.00828.svg)](https://codeofpaper.com/paper/2501.00828)

Discussion