Papers › Meta-Learning with Warped Gradient Descent

Meta-Learning with Warped Gradient Descent

30 Aug 2019ICLR 2020 1arXiv:1909.00025archive 2025-07-28

Sebastian Flennerhag, Andrei A. Rusu, Razvan Pascanu, Francesco Visin, Hujun Yin, Raia Hadsell

Learning an efficient update rule from data that promotes rapid learning of new tasks from the same distribution remains an open problem in meta-learning. Typically, previous works have approached this issue either by attempting to train a neural network that directly produces updates or by attempting to learn better initialisations or scaling factors for a gradient-based update rule. Both of these approaches pose challenges. On one hand, directly producing an update forgoes a useful inductive bias and can easily lead to non-converging behaviour. On the other hand, approaches that try to control a gradient-based update rule typically resort to computing gradients through the learning process to obtain their meta-gradients, leading to methods that can not scale beyond few-shot task adaptation. In this work, we propose Warped Gradient Descent (WarpGrad), a method that intersects these approaches to mitigate their limitations. WarpGrad meta-learns an efficiently parameterised preconditioning matrix that facilitates gradient descent across the task distribution. Preconditioning arises by interleaving non-linear layers, referred to as warp-layers, between the layers of a task-learner. Warp-layers are meta-learned without backpropagating through the task training process in a manner similar to methods that learn to directly produce updates. WarpGrad is computationally efficient, easy to implement, and can scale to arbitrarily large meta-learning problems. We provide a geometrical interpretation of the approach and evaluate its effectiveness in a variety of settings, including few-shot, standard supervised, continual and reinforcement learning.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1909.00025")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: official repository: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

flennerhag/warpgrad officialmentioned in paperpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from flennerhag/warpgrad. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

approx_step flennerhag/warpgrad/src/warpgrad/warpgrad/utils.py official repository unverified Apache-2.0 (permissive) · 32b845b0bdefaa12 · report
build_kwargs flennerhag/warpgrad/src/omniglot/utils.py official repository unverified Apache-2.0 (permissive) · 62b6e465c6d6a88f · report
compute_ncorrect flennerhag/warpgrad/src/omniglot/utils.py official repository unverified Apache-2.0 (permissive) · e96d229a005e9d51 · report
convert_arg flennerhag/warpgrad/src/omniglot/utils.py official repository unverified Apache-2.0 (permissive) · fc9694f7c4cfc1dc · report
gen_job flennerhag/warpgrad/src/omniglot/run_multi.py official repository unverified Apache-2.0 (permissive) · e6117b3cf555d86a · report
get_async flennerhag/warpgrad/src/omniglot/run_multi.py official repository unverified Apache-2.0 (permissive) · 55501ab84bac6947 · report
get_model_config flennerhag/warpgrad/src/omniglot/run_multi.py official repository unverified Apache-2.0 (permissive) · 747bb1ba3659822e · report
grad flennerhag/warpgrad/src/warpgrad/warpgrad/utils.py official repository unverified Apache-2.0 (permissive) · 9031a2aac8c79c7a · report
initialize flennerhag/warpgrad/src/maze_navigation/maze.py official repository unverified Apache-2.0 (permissive) · 96ac1c28c4f7fb11 · report
is_reward flennerhag/warpgrad/src/maze_navigation/maze.py official repository unverified Apache-2.0 (permissive) · 52200b78221c5ecd · report
line_seg_len flennerhag/warpgrad/src/warpgrad/warpgrad/updaters.py official repository unverified Apache-2.0 (permissive) · 82e3e23b84f083b9 · report
load_args flennerhag/warpgrad/src/omniglot/monitor.py official repository unverified Apache-2.0 (permissive) · b677d9dfa8aa5ea4 · report
load_results flennerhag/warpgrad/src/omniglot/monitor.py official repository unverified Apache-2.0 (permissive) · fe0761d80f06cb62 · report
step flennerhag/warpgrad/src/warpgrad/warpgrad/utils.py official repository unverified Apache-2.0 (permissive) · 953b2b83b9cf396a · report
step_fun flennerhag/warpgrad/src/maze_navigation/maze.py official repository unverified Apache-2.0 (permissive) · e3f2074a947300ac · report
warp_on_same_loss flennerhag/warpgrad/src/warpgrad/warpgrad/updaters.py official repository unverified Apache-2.0 (permissive) · ade47f8be3c0ee8d · report

Tasks

Few-Shot LearningInductive BiasMeta-LearningReinforcement Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections