中文
相关论文

相关论文: What Do Position Embeddings Learn? An Empirical St…

200 篇论文

The state of the art on many NLP tasks is currently achieved by large pre-trained language models, which require a considerable amount of computation. We explore a setting where many different predictions are made on a single piece of text.…

计算与语言 · 计算机科学 2020-04-30 Jingfei Du , Myle Ott , Haoran Li , Xing Zhou , Veselin Stoyanov

In Transformers, Position Embeddings (PEs) significantly influence Length Generalization (LG) performance, yet their fundamental role remains unclear. In this work, we investigate the limitations and capabilities of PEs in achieving LG. We…

机器学习 · 计算机科学 2025-10-07 Yang Chen , Yitao Liang , Zhouchen Lin

In recent years, natural language processing (NLP) has become integral to educational data mining, particularly in the analysis of student-generated language products. For research and assessment purposes, so-called embedding models are…

计算与语言 · 计算机科学 2025-10-23 Tom Bleckmann , Paul Tschisgale

We present evidence that language models (LMs) of code can learn to represent the formal semantics of programs, despite being trained only to perform next-token prediction. Specifically, we train a Transformer model on a synthetic corpus of…

机器学习 · 计算机科学 2024-08-06 Charles Jin , Martin Rinard

Text embeddings are a fundamental component in many NLP tasks, including classification, regression, clustering, and semantic search. However, despite their ubiquitous application, challenges persist in interpreting embeddings and…

计算与语言 · 计算机科学 2025-10-03 Juri Opitz , Lucas Möller , Andrianos Michail , Sebastian Padó , Simon Clematide

We seek to better understand the difference in quality of the several publicly released embeddings. We propose several tasks that help to distinguish the characteristics of different embeddings. Our evaluation of sentiment polarity and…

机器学习 · 计算机科学 2013-05-31 Yanqing Chen , Bryan Perozzi , Rami Al-Rfou , Steven Skiena

Transformers with causal attention can solve tasks that require positional information without using positional encodings. In this work, we propose and investigate a new hypothesis about how positional information can be stored without…

计算与语言 · 计算机科学 2025-01-03 Chunsheng Zuo , Pavel Guerzhoy , Michael Guerzhoy

In this work, we investigate the positional encoding methods used in language pre-training (e.g., BERT) and identify several problems in the existing formulations. First, we show that in the absolute positional encoding, the addition…

计算与语言 · 计算机科学 2021-03-16 Guolin Ke , Di He , Tie-Yan Liu

Large language models (LLMs) have revolutionized natural language processing by achieving state-of-the-art performance across various tasks. Recently, their effectiveness as embedding models has gained attention, marking a paradigm shift…

计算与语言 · 计算机科学 2025-07-28 Chongyang Tao , Tao Shen , Shen Gao , Junshuo Zhang , Zhen Li , Kai Hua , Wenpeng Hu , Zhengwei Tao , Shuai Ma

Pretrained Language Models (LMs) have been shown to possess significant linguistic, common sense, and factual knowledge. One form of knowledge that has not been studied yet in this context is information about the scalar magnitudes of…

计算与语言 · 计算机科学 2020-11-25 Xikun Zhang , Deepak Ramachandran , Ian Tenney , Yanai Elazar , Dan Roth

Trained transformer models have been found to implement interpretable procedures for tasks like arithmetic and associative recall, but little is understood about how the circuits that implement these procedures originate during training. To…

机器学习 · 计算机科学 2024-10-08 Ziqian Zhong , Jacob Andreas

Word embeddings are the interface between the world of discrete units of text processing and the continuous, differentiable world of neural networks. In this work, we examine various random and pretrained initialization methods for…

计算与语言 · 计算机科学 2017-11-28 Tom Kocmi , Ondřej Bojar

In Transformer-based neural machine translation (NMT), the positional encoding mechanism helps the self-attention networks to learn the source representation with order dependency, which makes the Transformer-based NMT achieve…

计算与语言 · 计算机科学 2020-04-09 Kehai Chen , Rui Wang , Masao Utiyama , Eiichiro Sumita

It is well noted that coordinate-based MLPs benefit -- in terms of preserving high-frequency information -- through the encoding of coordinate positions as an array of Fourier features. Hitherto, the rationale for the effectiveness of these…

计算机视觉与模式识别 · 计算机科学 2026-03-16 Jianqiao Zheng , Sameera Ramasinghe , Xueqian Li , Simon Lucey

Large language models (LLMs) have demonstrated emergent abilities across diverse tasks, raising the question of whether they acquire internal world models. In this work, we investigate whether LLMs implicitly encode linear spatial world…

人工智能 · 计算机科学 2025-06-04 Matthieu Tehenan , Christian Bolivar Moya , Tenghai Long , Guang Lin

While recent advancements in large language models (LLMs) bring us closer to achieving artificial general intelligence, the question persists: Do LLMs truly understand language, or do they merely mimic comprehension through pattern…

计算与语言 · 计算机科学 2023-11-15 Houquan Zhou , Yang Hou , Zhenghua Li , Xuebin Wang , Zhefeng Wang , Xinyu Duan , Min Zhang

Positional encoding (PE) underpins how permutation-invariant Transformers represent sequence order, yet how positional information is processed and stored remains poorly understood. Modern PE methods such as RoPE still struggle on tasks…

计算与语言 · 计算机科学 2026-05-29 Pierre-Antoine Lequeu , Camille Barboule , Benjamin Piwowarski

Intermediate-task transfer can benefit a wide range of NLP tasks with properly selected source datasets. However, it is computationally infeasible to experiment with all intermediate transfer combinations, making choosing a useful source…

计算与语言 · 计算机科学 2022-10-24 Wangchunshu Zhou , Canwen Xu , Julian McAuley

Transformers, central to the successes in modern Natural Language Processing, often falter on arithmetic tasks despite their vast capabilities --which paradoxically include remarkable coding abilities. We observe that a crucial challenge is…

计算与语言 · 计算机科学 2023-11-28 Ruoqi Shen , Sébastien Bubeck , Ronen Eldan , Yin Tat Lee , Yuanzhi Li , Yi Zhang

Although models using contextual word embeddings have achieved state-of-the-art results on a host of NLP tasks, little is known about exactly what information these embeddings encode about the context words that they are understood to…

计算与语言 · 计算机科学 2020-05-06 Josef Klafka , Allyson Ettinger