Retrieval Backward Attention without Additional Training: Enhance Embeddings of Large Language Models via Repetition

Abstract
Language models can be viewed as functions that embed text into Euclidean space, where the quality of the embedding vectors directly determines model performance, training such neural networks involves various uncertainties. This paper focuses on improving the performance of pre-trained language models in zero-shot settings through a simple and easily implementable method. We propose a novel backward attention mechanism to enhance contextual information encoding. Evaluated on the Chinese Massive Text Embedding Benchmark (C-MTEB), our approach achieves significant improvements across multiple tasks, providing valuable insights for advancing zero-shot learning capabilities.
View on arXiv@article{duan2025_2502.20726, title={ Retrieval Backward Attention without Additional Training: Enhance Embeddings of Large Language Models via Repetition }, author={ Yifei Duan and Raphael Shang and Deng Liang and Yongqiang Cai }, journal={arXiv preprint arXiv:2502.20726}, year={ 2025 } }
Comments on this paper