Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lindemann, Matthias, Koller, Alexander, Titov, Ivan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929410530082816
author Lindemann, Matthias
Koller, Alexander
Titov, Ivan
author_facet Lindemann, Matthias
Koller, Alexander
Titov, Ivan
contents Models need appropriate inductive biases to effectively learn from small amounts of data and generalize systematically outside of the training distribution. While Transformers are highly versatile and powerful, they can still benefit from enhanced structural inductive biases for seq2seq tasks, especially those involving syntactic transformations, such as converting active to passive voice or semantic parsing. In this paper, we propose to strengthen the structural inductive bias of a Transformer by intermediate pre-training to perform synthetically generated syntactic transformations of dependency trees given a description of the transformation. Our experiments confirm that this helps with few-shot learning of syntactic tasks such as chunking, and also improves structural generalization for semantic parsing. Our analysis shows that the intermediate pre-training leads to attention heads that keep track of which syntactic transformation needs to be applied to which token, and that the model can leverage these attention heads on downstream tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2407_04543
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations
Lindemann, Matthias
Koller, Alexander
Titov, Ivan
Computation and Language
Models need appropriate inductive biases to effectively learn from small amounts of data and generalize systematically outside of the training distribution. While Transformers are highly versatile and powerful, they can still benefit from enhanced structural inductive biases for seq2seq tasks, especially those involving syntactic transformations, such as converting active to passive voice or semantic parsing. In this paper, we propose to strengthen the structural inductive bias of a Transformer by intermediate pre-training to perform synthetically generated syntactic transformations of dependency trees given a description of the transformation. Our experiments confirm that this helps with few-shot learning of syntactic tasks such as chunking, and also improves structural generalization for semantic parsing. Our analysis shows that the intermediate pre-training leads to attention heads that keep track of which syntactic transformation needs to be applied to which token, and that the model can leverage these attention heads on downstream tasks.
title Strengthening Structural Inductive Biases by Pre-training to Perform Syntactic Transformations
topic Computation and Language
url https://arxiv.org/abs/2407.04543