Learning to Look at the Other Side: A Semantic Probing Study of Word Embeddings in LLMs with Enabled Bidirectional Attention

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Feng, Zhaoxin, Ma, Jianfei, Chersoni, Emmanuele, Zhao, Xiaojing, Bao, Xiaoyi
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912622930034688
author Feng, Zhaoxin
Ma, Jianfei
Chersoni, Emmanuele
Zhao, Xiaojing
Bao, Xiaoyi
author_facet Feng, Zhaoxin
Ma, Jianfei
Chersoni, Emmanuele
Zhao, Xiaojing
Bao, Xiaoyi
contents Autoregressive Large Language Models (LLMs) demonstrate exceptional performance in language understanding and generation. However, their application in text embedding tasks has been relatively slow, along with the analysis of their semantic representation in probing tasks, due to the constraints of the unidirectional attention mechanism. This paper aims to explore whether such constraints can be overcome by enabling bidirectional attention in LLMs. We tested different variants of the Llama architecture through additional training steps, progressively enabling bidirectional attention and unsupervised/supervised contrastive learning.
format Preprint
id arxiv_https___arxiv_org_abs_2510_01652
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Learning to Look at the Other Side: A Semantic Probing Study of Word Embeddings in LLMs with Enabled Bidirectional Attention
Feng, Zhaoxin
Ma, Jianfei
Chersoni, Emmanuele
Zhao, Xiaojing
Bao, Xiaoyi
Computation and Language
Autoregressive Large Language Models (LLMs) demonstrate exceptional performance in language understanding and generation. However, their application in text embedding tasks has been relatively slow, along with the analysis of their semantic representation in probing tasks, due to the constraints of the unidirectional attention mechanism. This paper aims to explore whether such constraints can be overcome by enabling bidirectional attention in LLMs. We tested different variants of the Llama architecture through additional training steps, progressively enabling bidirectional attention and unsupervised/supervised contrastive learning.
title Learning to Look at the Other Side: A Semantic Probing Study of Word Embeddings in LLMs with Enabled Bidirectional Attention
topic Computation and Language
url https://arxiv.org/abs/2510.01652