中文
相关论文

相关论文: Geometric Factual Recall in Transformers

200 篇论文

Transformers excel at in-context retrieval but suffer from quadratic complexity with sequence length, while State Space Models (SSMs) offer efficient linear-time processing but have limited retrieval capabilities. We investigate whether…

人工智能 · 计算机科学 2026-03-04 Georgios Pantazopoulos , Malvina Nikandrou , Ioannis Konstas , Alessandro Suglia

Large Language Models (LLMs) are prevalent in modern applications but often memorize training data, leading to privacy breaches and copyright issues. Existing research has mainly focused on posthoc analyses, such as extracting memorized…

机器学习 · 计算机科学 2025-01-10 Tarun Ram Menta , Susmit Agrawal , Chirag Agarwal

Embedding matrices are key components in neural natural language processing (NLP) models that are responsible to provide numerical representations of input tokens.\footnote{In this paper words and subwords are referred to as \textit{tokens}…

计算与语言 · 计算机科学 2022-04-19 Krtin Kumar , Peyman Passban , Mehdi Rezagholizadeh , Yiu Sing Lau , Qun Liu

Knowledge graph representation learning approaches provide a mapping between symbolic knowledge in the form of triples in a knowledge graph (KG) and their feature vectors. Knowledge graph embedding (KGE) models often represent relations in…

机器学习 · 计算机科学 2025-07-18 Kossi Amouzouvi , Bowen Song , Andrea Coletta , Luigi Bellomarini , Jens Lehmann , Sahar Vahdati

Continual learning allows the system to learn and adapt to new tasks while retaining the knowledge acquired from previous tasks. However, deep learning models suffer from catastrophic forgetting of knowledge learned from earlier tasks while…

机器学习 · 计算机科学 2024-12-17 Dupati Srikar Chandra , P. K. Srijith , Dana Rezazadegan , Chris McCarthy

Analogical reasoning is a hallmark of human intelligence, enabling us to solve new problems by transferring knowledge from one situation to another. Yet, developing artificial intelligence systems capable of robust human-like analogical…

机器学习 · 计算机科学 2026-04-09 Philipp Hellwig , Willem Zuidema , Claire E. Stevenson , Martha Lewis

Vector representations of sentences, trained on massive text corpora, are widely used as generic sentence embeddings across a variety of NLP problems. The learned representations are generally assumed to be continuous and real-valued,…

Do transformers, when trained on sequential reasoning traces, build internal models of the underlying task? And if so, does the structure of those internal representations mirror the structure of the domain? We train an 8-layer transformer…

机器学习 · 计算机科学 2026-05-20 Roman Kniazev , Nathanaël Fijalkow

Rote learning is a memorization technique based on repetition. Many researchers argue that rote learning hinders generalization because it encourages verbatim memorization rather than deeper understanding. This concern extends even to…

Answer selection aims at identifying the correct answer for a given question from a set of potentially correct answers. Contrary to previous works, which typically focus on the semantic similarity between a question and its answer, our…

计算与语言 · 计算机科学 2020-12-09 Aissatou Diallo , Markus Zopf , Johannes Fürnkranz

While fine-tuning is the standard for injecting factual knowledge into large language models (LLMs), the mechanisms enabling reliable fact recall via unseen queries remain poorly understood. Common two-stage training strategies, which…

计算与语言 · 计算机科学 2026-05-29 Ying Zhang , Benjamin Heinzerling , Dongyuan Li , Kentaro Inui

Transformers are a widespread and successful model architecture, particularly in Natural Language Processing (NLP) and Computer Vision (CV). The essential innovation of this architecture is the Attention Mechanism, which solves the problem…

机器学习 · 计算机科学 2024-11-25 Bernhard Bermeitinger , Tomas Hrycej , Massimo Pavone , Julianus Kath , Siegfried Handschuh

Large language models encapsulate knowledge and have demonstrated superior performance on various natural language processing tasks. Recent studies have localized this knowledge to specific model parameters, such as the MLP weights in…

计算与语言 · 计算机科学 2024-09-04 Yifan Wei , Xiaoyan Yu , Yixuan Weng , Huanhuan Ma , Yuanzhe Zhang , Jun Zhao , Kang Liu

In forecasting multiple time series, accounting for the individual features of each sequence can be challenging. To address this, modern deep learning methods for time series analysis combine a shared (global) model with local layers,…

机器学习 · 计算机科学 2025-02-14 Luca Butera , Giovanni De Felice , Andrea Cini , Cesare Alippi

While word embeddings have been shown to implicitly encode various forms of attributional knowledge, the extent to which they capture relational information is far more limited. In previous work, this limitation has been addressed by…

计算与语言 · 计算机科学 2019-06-05 Jose Camacho-Collados , Luis Espinosa-Anke , Steven Schockaert

Recent research has established that the impact of context in a vanilla transformer can be represented implicitly by forming a token-dependent, rank-1 patch to its MLP weights. This work extends that foundational theory to the diverse…

机器学习 · 计算机科学 2025-12-24 Adrian Goldwaser , Michael Munn , Javier Gonzalvo , Benoit Dherin

Large language models (LLMs) achieve state-of-the-art results across many natural language tasks, but their internal mechanisms remain difficult to interpret. In this work, we extract, process, and visualize latent state geometries in…

机器学习 · 计算机科学 2026-01-06 Alex Ning , Vainateya Rangaraju , Yen-Ling Kuo

Language grounding aims at linking the symbolic representation of language (e.g., words) into the rich perceptual knowledge of the outside world. The general approach is to embed both textual and visual information into a common space -the…

计算与语言 · 计算机科学 2021-09-15 Hassan Shahmohammadi , Hendrik P. A. Lensch , R. Harald Baayen

The inductive bias of a graph neural network (GNN) is largely encoded in its specified graph. Latent graph inference relies on latent geometric representations to dynamically rewire or infer a GNN's graph to maximize the GNN's predictive…

机器学习 · 计算机科学 2025-03-11 Haitz Sáez de Ocáriz Borde , Anastasis Kratsios

In this paper, we delve into several mechanisms employed by Transformer-based language models (LLMs) for factual recall tasks. We outline a pipeline consisting of three major steps: (1) Given a prompt ``The capital of France is,''…

计算与语言 · 计算机科学 2024-05-27 Ang Lv , Yuhan Chen , Kaiyi Zhang , Yulong Wang , Lifeng Liu , Ji-Rong Wen , Jian Xie , Rui Yan