Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/99802
PIRA download icon_1.1View/Download Full Text
Title: Addressing token uniformity in transformers via singular value transformation
Authors: Yan , H 
Gui, L 
Li, W 
He, Y 
Issue Date: 2022
Source: Proceedings of Machine Learning Research, 2022, v. 180, p. 2181-2191
Abstract: Token uniformity is commonly observed in transformer-based models, in which different tokens share a large proportion of similar information after going through stacked multiple self-attention layers in a transformer. In this paper, we propose to use the distribution of singular values of outputs of each transformer layer to characterise the phenomenon of token uniformity and empirically illustrate that a less skewed singular value distribution can alleviate the token uniformity problem. Base on our observations, we define several desirable properties of singular value distributions and propose a novel transformation function for updating the singular values. We show that apart from alleviating token uniformity, the transformation function should preserve the local neighbourhood structure in the original embedding space. Our proposed singular value transformation function is applied to a range of transformer-based language models such as BERT, ALBERT, RoBERTa and DistilBERT, and improved performance is observed in semantic textual similarity evaluation and a range of GLUE tasks.
Publisher: PMLR web site
Journal: Proceedings of Machine Learning Research 
ISSN: 2640-3498
Description: The 38tj Conference on Uncertainty in Artificial Intelligence (UAI 2022), 1-5 August 2022, Eindhoven, The Netherlands
Rights: Posted with permission of the author.
The following publication Hanqi Yan, Lin Gui, Wenjie Li, Yulan He Proceedings of the Thirty-Eighth Conference on Uncertainty in Artificial Intelligence, PMLR 180:2181-2191, 2022 is available at http://proceedings.mlr.press/v180/yan22b.html.
Appears in Collections:Conference Paper

Files in This Item:
File Description SizeFormat 
yan22b.pdf1.06 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Version of Record
Access
View full-text via PolyU eLinks SFX Query
Show full item record

Page views

186
Last Week
14
Last month
Citations as of Nov 10, 2025

Downloads

55
Citations as of Nov 10, 2025

Google ScholarTM

Check


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.