← Search

Róbert Csordás

17 accepted papers

2026

Decoupling The "What" and "Where" With Polar Coordinate Positional Embedding

ICML 2026spotlight

The attention mechanism in a Transformer architecture matches key to query based on both content—the what—and position in a sequence—the where. We present an analysis indicating that what and where are entangled in the popular rotary position embedding (RoPE). This entanglement can impair performanc…

Cited by 0SourceScholar
2026

Thoughtbubbles: an Unsupervised Method for Parallel Thinking in Latent Space

ICML 2026poster

Current approaches for scaling inference-time compute in transformers train them to emit explicit chain-of-thought tokens before producing an answer. While these methods are powerful, they are limited because they cannot be applied during pretraining and rely solely on serially-generated, natural-la…

Cited by 0SourceScholar
2025

Measuring In-Context Computation Complexity via Hidden State Prediction

ICML 2025poster

Detecting when a neural sequence model does "interesting" computation is an open problem. The next token prediction loss is a poor indicator: Low loss can stem from trivially predictable sequences that are uninteresting, while high loss may reflect unpredictable but also irrelevant information that…

Cited by 0SourcePDFScholar
2025

MrT5: Dynamic Token Merging for Efficient Byte-level Language Models

ICLR 2025poster

Models that rely on subword tokenization have significant drawbacks, such as sensitivity to character-level noise like spelling errors and inconsistent compression rates across different languages and scripts. While character- or byte-level models like ByT5 attempt to address these concerns, they ha…

2024

MoEUT: Mixture-of-Experts Universal Transformers

NeurIPS 2024poster

Previous work on Universal Transformers (UTs) has demonstrated the importance of parameter sharing across layers. By allowing recurrence in depth, UTs have advantages over standard Transformers in learning compositional generalizations, but layer-sharing comes with a practical limitation of paramete…

2024

SwitchHead: Accelerating Transformers with Mixture-of-Experts Attention

NeurIPS 2024poster

Despite many recent works on Mixture of Experts (MoEs) for resource-efficient Transformer language models, existing methods mostly focus on MoEs for feedforward layers. Previous attempts at extending MoE to the self-attention layer fail to match the performance of the parameter-matched baseline. Our…

Cited by 16SourcePDFScholar
2023

Approximating Two-Layer Feedforward Networks for Efficient Transformers

EMNLP 2023long findings

How to reduce compute and memory requirements of neural networks (NNs) without sacrificing performance? Many recent works use sparse Mixtures of Experts (MoEs) to build resource-efficient large language models (LMs). Here we introduce several novel perspectives on MoEs, presenting a general framewor…

Cited by 0SourceScholar
2023

Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensions

EMNLP 2023short main

Recent studies of the computational power of recurrent neural networks (RNNs) reveal a hierarchy of RNN architectures, given real-time and finite-precision assumptions. Here we study auto-regressive Transformers with linearised attention, a.k.a. linear Transformers (LTs) or Fast Weight Programmers (…

Cited by 0SourcecodeScholar
2023

Randomized Positional Encodings Boost Length Generalization of Transformers

ACL 2023short

Transformers have impressive generalization capabilities on tasks with a fixed context length. However, they fail to generalize to sequences of arbitrary length, even for seemingly simple tasks such as duplicating a string. Moreover, simply training on longer sequences is inefficient due to the quad…

2022

A Modern Self-Referential Weight Matrix That Learns to Modify Itself

ICML 2022spotlight

The weight matrix (WM) of a neural network (NN) is its program. The programs of many traditional NNs are learned through gradient descent in some error function, then remain fixed. The WM of a self-referential NN, however, can keep rapidly modifying all of itself during runtime. In principle, such N…

2022

CTL++: Evaluating Generalization on Never-Seen Compositional Patterns of Known Functions, and Compatibility of Neural Representations

EMNLP 2022main

Well-designed diagnostic tasks have played a key role in studying the failure of neural nets (NNs) to generalize systematically. Famous examples include SCAN and Compositional Table Lookup (CTL). Here we introduce CTL++, a new diagnostic dataset based on compositions of unary symbolic functions. Whi…

2022

The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attention

ICML 2022spotlight

Linear layers in neural networks (NNs) trained by gradient descent can be expressed as a key-value memory system which stores all training datapoints and the initial weights, and produces outputs using unnormalised dot attention over the entire training experience. While this has been technically kn…

2022

The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalization

ICLR 2022poster

Despite progress across a broad range of applications, Transformers have limited success in systematic generalization. The situation is especially frustrating in the case of algorithmic tasks, where they often fail to find intuitive solutions that route relevant information to the right node/operati…

2021

Are Neural Nets Modular? Inspecting Functional Modularity Through Differentiable Weight Masks

ICLR 2021poster

Neural networks (NNs) whose subnetworks implement reusable functions are expected to offer numerous advantages, including compositionality through efficient recombination of functional building blocks, interpretability, preventing catastrophic interference, etc. Understanding if and how NNs are modu…

2021

Going Beyond Linear Transformers with Recurrent Fast Weight Programmers

NeurIPS 2021poster

Transformers with linearised attention (''linear Transformers'') have demonstrated the practical scalability and effectiveness of outer product-based Fast Weight Programmers (FWPs) from the '90s. However, the original FWP formulation is more general than the one of linear Transformers: a slow neural…

2021

The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers

EMNLP 2021main

Recently, many datasets have been proposed to test the systematic generalization ability of neural networks. The companion baseline Transformers, typically trained with default hyper-parameters from standard tasks, are shown to fail dramatically. Here we demonstrate that by revisiting model configur…