Whitening Not Recommended for Classification Tasks in LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Forooghi, Ali, Sadeghi, Shaghayegh, Lu, Jianguo
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916328725544960
author Forooghi, Ali
Sadeghi, Shaghayegh
Lu, Jianguo
author_facet Forooghi, Ali
Sadeghi, Shaghayegh
Lu, Jianguo
contents Sentence embedding is a cornerstone in NLP. Whitening has been claimed to be an effective operation to improve embedding quality obtained from Large Language Models (LLMs). However, we find that the efficacy of whitening is model-dependent and task-dependent. In particular, whitening degenerates embeddings for classification tasks. The conclusion is supported by extensive experiments. We also explored a variety of whitening operations, including PCA, ZCA, PCA-Cor, ZCA-Cor and Cholesky whitenings. A by-product of our research is embedding evaluation platform for LLMs called SentEval+.
format Preprint
id arxiv_https___arxiv_org_abs_2407_12886
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Whitening Not Recommended for Classification Tasks in LLMs
Forooghi, Ali
Sadeghi, Shaghayegh
Lu, Jianguo
Computation and Language
Artificial Intelligence
Machine Learning
Sentence embedding is a cornerstone in NLP. Whitening has been claimed to be an effective operation to improve embedding quality obtained from Large Language Models (LLMs). However, we find that the efficacy of whitening is model-dependent and task-dependent. In particular, whitening degenerates embeddings for classification tasks. The conclusion is supported by extensive experiments. We also explored a variety of whitening operations, including PCA, ZCA, PCA-Cor, ZCA-Cor and Cholesky whitenings. A by-product of our research is embedding evaluation platform for LLMs called SentEval+.
title Whitening Not Recommended for Classification Tasks in LLMs
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2407.12886