English

The more polypersonal the better -- a short look on space geometry of fine-tuned layers

Computation and Language 2025-01-13 v1 Machine Learning

Abstract

The interpretation of deep learning models is a rapidly growing field, with particular interest in language models. There are various approaches to this task, including training simpler models to replicate neural network predictions and analyzing the latent space of the model. The latter method allows us to not only identify patterns in the model's decision-making process, but also understand the features of its internal structure. In this paper, we analyze the changes in the internal representation of the BERT model when it is trained with additional grammatical modules and data containing new grammatical structures (polypersonality). We find that adding a single grammatical layer causes the model to separate the new and old grammatical systems within itself, improving the overall performance on perplexity metrics.

Keywords

Cite

@article{arxiv.2501.05503,
  title  = {The more polypersonal the better -- a short look on space geometry of fine-tuned layers},
  author = {Sergei Kudriashov and Veronika Zykova and Angelina Stepanova and Yakov Raskind and Eduard Klyshinsky},
  journal= {arXiv preprint arXiv:2501.05503},
  year   = {2025}
}

Comments

Neuroinformatics 2024