Dependency Parsing is More Parameter-Efficient with Normalization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gajo, Paolo, Rosati, Domenic, Sajjad, Hassan, Barrón-Cedeño, Alberto
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911228828319744
author Gajo, Paolo
Rosati, Domenic
Sajjad, Hassan
Barrón-Cedeño, Alberto
author_facet Gajo, Paolo
Rosati, Domenic
Sajjad, Hassan
Barrón-Cedeño, Alberto
contents Dependency parsing is the task of inferring natural language structure, often approached by modeling word interactions via attention through biaffine scoring. This mechanism works like self-attention in Transformers, where scores are calculated for every pair of words in a sentence. However, unlike Transformer attention, biaffine scoring does not use normalization prior to taking the softmax of the scores. In this paper, we provide theoretical evidence and empirical results revealing that a lack of normalization necessarily results in overparameterized parser models, where the extra parameters compensate for the sharp softmax outputs produced by high variance inputs to the biaffine scoring function. We argue that biaffine scoring can be made substantially more efficient by performing score normalization. We conduct experiments on semantic and syntactic dependency parsing in multiple languages, along with latent graph inference on non-linguistic data, using various settings of a $k$-hop parser. We train $N$-layer stacked BiLSTMs and evaluate the parser's performance with and without normalizing biaffine scores. Normalizing allows us to achieve state-of-the-art performance with fewer samples and trainable parameters. Code: https://github.com/paolo-gajo/EfficientSDP
format Preprint
id arxiv_https___arxiv_org_abs_2505_20215
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Dependency Parsing is More Parameter-Efficient with Normalization
Gajo, Paolo
Rosati, Domenic
Sajjad, Hassan
Barrón-Cedeño, Alberto
Computation and Language
Dependency parsing is the task of inferring natural language structure, often approached by modeling word interactions via attention through biaffine scoring. This mechanism works like self-attention in Transformers, where scores are calculated for every pair of words in a sentence. However, unlike Transformer attention, biaffine scoring does not use normalization prior to taking the softmax of the scores. In this paper, we provide theoretical evidence and empirical results revealing that a lack of normalization necessarily results in overparameterized parser models, where the extra parameters compensate for the sharp softmax outputs produced by high variance inputs to the biaffine scoring function. We argue that biaffine scoring can be made substantially more efficient by performing score normalization. We conduct experiments on semantic and syntactic dependency parsing in multiple languages, along with latent graph inference on non-linguistic data, using various settings of a $k$-hop parser. We train $N$-layer stacked BiLSTMs and evaluate the parser's performance with and without normalizing biaffine scores. Normalizing allows us to achieve state-of-the-art performance with fewer samples and trainable parameters. Code: https://github.com/paolo-gajo/EfficientSDP
title Dependency Parsing is More Parameter-Efficient with Normalization
topic Computation and Language
url https://arxiv.org/abs/2505.20215