Understanding the role of FFNs in driving multilingual behaviour in LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bhattacharya, Sunit, Bojar, Ondřej
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913323790893056
author Bhattacharya, Sunit
Bojar, Ondřej
author_facet Bhattacharya, Sunit
Bojar, Ondřej
contents Multilingualism in Large Language Models (LLMs) is an yet under-explored area. In this paper, we conduct an in-depth analysis of the multilingual capabilities of a family of a Large Language Model, examining its architecture, activation patterns, and processing mechanisms across languages. We introduce novel metrics to probe the model's multilingual behaviour at different layers and shed light on the impact of architectural choices on multilingual processing. Our findings reveal different patterns of multilinugal processing in the sublayers of Feed-Forward Networks of the models. Furthermore, we uncover the phenomenon of "over-layerization" in certain model configurations, where increasing layer depth without corresponding adjustments to other parameters may degrade model performance. Through comparisons within and across languages, we demonstrate the interplay between model architecture, layer depth, and multilingual processing capabilities of LLMs trained on multiple languages.
format Preprint
id arxiv_https___arxiv_org_abs_2404_13855
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Understanding the role of FFNs in driving multilingual behaviour in LLMs
Bhattacharya, Sunit
Bojar, Ondřej
Computation and Language
Multilingualism in Large Language Models (LLMs) is an yet under-explored area. In this paper, we conduct an in-depth analysis of the multilingual capabilities of a family of a Large Language Model, examining its architecture, activation patterns, and processing mechanisms across languages. We introduce novel metrics to probe the model's multilingual behaviour at different layers and shed light on the impact of architectural choices on multilingual processing. Our findings reveal different patterns of multilinugal processing in the sublayers of Feed-Forward Networks of the models. Furthermore, we uncover the phenomenon of "over-layerization" in certain model configurations, where increasing layer depth without corresponding adjustments to other parameters may degrade model performance. Through comparisons within and across languages, we demonstrate the interplay between model architecture, layer depth, and multilingual processing capabilities of LLMs trained on multiple languages.
title Understanding the role of FFNs in driving multilingual behaviour in LLMs
topic Computation and Language
url https://arxiv.org/abs/2404.13855