← Search

Johannes von Oswald

16 accepted papers

2026

From Growing to Looping: A Unified View of Iterative Computation in LLMs

ICML 2026poster

Looping, reusing a block of layers across depth, and depth growing, training shallow-to-deep models by duplicating middle layers, have both been linked to stronger reasoning, but their relationship remains unclear. We provide a mechanistic unification: looped and depth-grown models exhibit convergen…

Cited by 0SourceScholar
2026

MesaNet: Sequence Modeling by Locally Optimal Test-Time Training

ICLR 2026poster

Sequence modeling is currently dominated by causal transformer architectures that use softmax self-attention. Although widely adopted, transformers require scaling memory and compute linearly during inference. A recent stream of work linearized the softmax operation, resulting in powerful recurrent…

Cited by 0SourcecodeScholar
2025

Learning Randomized Algorithms with Transformers

ICLR 2025oral

Randomization is a powerful tool that endows algorithms with remarkable properties. For instance, randomized algorithms excel in adversarial settings, often surpassing the worst-case performance of deterministic algorithms with large margins. Furthermore, their success probability can be amplified b…

Cited by 0SourcePDFScholar
2025

Multi-agent cooperation through learning-aware policy gradients

ICLR 2025poster

Self-interested individuals often fail to cooperate, posing a fundamental challenge for multi-agent learning. How can we achieve cooperation among self-interested, independent learning agents? Promising recent work has shown that in certain tasks cooperation can be established between ``learning-awa…

Cited by 1SourcePDFScholar
2024

Discovering modular solutions that generalize compositionally

ICLR 2024poster

Many complex tasks can be decomposed into simpler, independent parts. Discovering such underlying compositional structure has the potential to enable compositional generalization. Despite progress, our most powerful systems struggle to compose flexibly. It therefore seems natural to make models more…

2024

Linear Transformers are Versatile In-Context Learners

NeurIPS 2024poster

Recent research has demonstrated that transformers, particularly linear attention models, implicitly execute gradient-descent-like algorithms on data provided in-context during their forward inference step. However, their capability in handling more complex problems remains unexplored. In this paper…

Cited by 3SourcePDFScholar
2023

Transformers Learn In-Context by Gradient Descent

ICML 2023oral

At present, the mechanisms of in-context learning in Transformers are not well understood and remain mostly an intuition. In this paper, we suggest that training Transformers on auto-regressive objectives is closely related to gradient-based meta-learning formulations. We start by providing a simple…

2022

A contrastive rule for meta-learning

NeurIPS 2022accept

Humans and other animals are capable of improving their learning performance as they solve related tasks from a given problem domain, to the point of being able to learn from extremely limited data. While synaptic plasticity is generically thought to underlie learning in the brain, the precise neura…

2022

Disentangling the Predictive Variance of Deep Ensembles through the Neural Tangent Kernel

NeurIPS 2022accept

Identifying unfamiliar inputs, also known as out-of-distribution (OOD) detection, is a crucial property of any decision making process. A simple and empirically validated technique is based on deep ensembles where the variance of predictions over different neural networks acts as a substitute for in…

Cited by 2SourcePDFScholar
2022

The least-control principle for local learning at equilibrium

NeurIPS 2022accept

Equilibrium systems are a powerful way to express neural computations. As special cases, they include models of great current interest in both neuroscience and machine learning, such as deep neural networks, equilibrium recurrent neural networks, deep equilibrium models, or meta-learning. Here, we p…

2021

Continual learning in recurrent neural networks

ICLR 2021poster

While a diverse collection of continual learning (CL) methods has been proposed to prevent catastrophic forgetting, a thorough investigation of their effectiveness for processing sequential data with recurrent neural networks (RNNs) is lacking. Here, we provide the first comprehensive evaluation of…

2021

Learning where to learn: Gradient sparsity in meta and continual learning

NeurIPS 2021poster

Finding neural network weights that generalize well from small datasets is difficult. A promising approach is to learn a weight initialization such that a small number of weight changes results in low generalization error. We show that this form of meta-learning can be improved by letting the learni…

2021

Neural networks with late-phase weights

ICLR 2021poster

The largely successful method of training neural networks is to learn their weights using some variant of stochastic gradient descent (SGD). Here, we show that the solutions found by SGD can be further improved by ensembling a subset of the weights in late stages of learning. At the end of learning,…

Cited by 40SourcePDFScholar
2021

Posterior Meta-Replay for Continual Learning

NeurIPS 2021poster

Learning a sequence of tasks without access to i.i.d. observations is a widely studied form of continual learning (CL) that remains challenging. In principle, Bayesian learning directly applies to this setting, since recursive and one-off Bayesian updates yield the same result. In practice, however,…

2020

Continual learning with hypernetworks

ICLR 2020spotlight

Artificial neural networks suffer from catastrophic forgetting when they are sequentially trained on multiple tasks. To overcome this problem, we present a novel approach based on task-conditioned hypernetworks, i.e., networks that generate the weights of a target model based on task identity. Conti…

Cited by 481SourcecodeScholar