---
title: "DyTox — paper by Douillard et al. (2022) — summary and ideas"
description: "How DyTox uses expanding task tokens for continual image learning, with shared attention, rehearsal, and limits on its evidence."
canonical: "https://research.elamur.ai/free/en/papers/douillard-2022-dytox-transformers-continual-learning-dynamic/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/douillard-2022-dytox-transformers-continual-learning-dynamic/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion

# DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion

Paper · 2022 · Arthur Douillard, Alexandre Ramé, Guillaume Couairon et al.

**Authors:** [Arthur Douillard](https://md.research.elamur.ai/free/en/authors/arthur-douillard/), [Alexandre Ramé](https://md.research.elamur.ai/free/en/authors/alexandre-rame/), [Guillaume Couairon](https://md.research.elamur.ai/free/en/authors/guillaume-couairon/) and [Matthieu Cord](https://md.research.elamur.ai/free/en/authors/matthieu-cord/) · **Year:** 2022 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

[**357** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3217195287|W4225484930|W4225880066) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2111.11326)
- [DOI 10.1109/cvpr52688.2022.00907](https://doi.org/10.1109/cvpr52688.2022.00907)
- [arXiv 2111.11326](https://arxiv.org/abs/2111.11326)
- [OpenAlex](https://openalex.org/W4225484930)

Citations: OpenAlex, 2026-10-14.

## Deep dive: DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion

How DyTox uses expanding task tokens for continual image learning, with shared attention, rehearsal, and limits on its evidence. · about 32 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Learning a new task can weaken performance on earlier tasks. DyTox addresses this problem in continual image recognition: a system receives successive learning tasks and must acquire new distinctions while retaining useful knowledge from previous training. The practical difficulty is that protecting earlier abilities can become expensive. Keeping separate processing machinery for each task increases storage and computation, while repeatedly changing shared machinery risks forgetting. The authors seek a design that can continue through many tasks with limited growth and without repeatedly adjusting its training settings.

Their central idea is to expand the system through small learned task vectors, called task tokens, within a [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) architecture. A transformer uses attention to make information in one representation influence another. In DyTox, visual features modify the query associated with a task token through a task attention block, abbreviated TAB. This gives task-specific components a role inside a shared architecture. The intended benefit is a useful balance: task-specific capacity can increase as learning proceeds, while the system avoids adding another complete visual processing route for every task. The authors also describe a decoder whose attention computation grows linearly with the number of image patches.

The reported experiments concern CIFAR100 and ImageNet1000. In their discussion of the main comparisons, the authors describe DyTox as achieving leading performance on ImageNet and remaining close to DER on CIFAR100. DER is a competing approach that expands its representation during continual learning. The authors distinguish ordinary DyTox from DyTox+, an additional version using MixUp. They report that MixUp reduces forgetting, with a stronger effect in their transformer setting than in a comparison using ResNet. Training also includes rehearsal: selected examples from previous classes are retained and combined with the data for a new task.

The strongest numerical details available in the authors’ review discussion concern execution time rather than recognition accuracy. They report a forward-pass time of 50.3ms for their transformer architecture and 51.4ms for ResNet18, using a batch of 32 RGB images with dimensions of 224×224. They also report an additional time cost of +2.24% per task for DyTox, with similar overhead during training and testing. Those measurements support the practical motivation for small task-specific additions, but they do not establish a universal speed advantage. The discussion refers to accuracy tables and architectural descriptions without reproducing their contents, so exact recognition scores, complete equations, and several training details cannot be recovered from it. DyTox’s contribution is therefore clearest as a compact expansion strategy, supported by reported benchmark comparisons whose full quantitative conditions remain essential to judging the result.

### Ideas worth borrowing

Small task-specific additions. DyTox treats architectural growth as something that can happen through learned vectors rather than complete processing networks. This is a reusable design question: before duplicating a large component for each new requirement, ask whether a compact task-specific representation can direct shared computation sufficiently well. The principle could apply wherever many related tasks draw on a common input representation. Its usefulness depends on whether the shared machinery still has enough capacity; small additions are attractive because they reduce growth, not because they guarantee that every task can be accommodated.

Condition the query with the input. The authors explain DyTox by contrasting its direction of conditioning with FiLM. Their account of FiLM has a question representation modifying visual features through an affine transformation. DyTox instead lets visual features alter a task-token query through attention. That distinction suggests a broader architectural choice: adaptation can happen in the representation being inspected, in the mechanism inspecting it, or in both. When the underlying representation is useful across tasks, adapting the query may offer a relatively compact place to introduce specialization. This is a design possibility rather than a claim that either direction is always superior.

Evaluate growth as an operating cost. The paper’s motivation includes memory and execution time after many successive tasks. This encourages a more useful comparison than reporting recognition performance alone. A continual system should also be judged by what another task adds to storage, training, and prediction. DyTox’s reported timing comparison and its discussion of DER make that concern concrete. The same habit is valuable in any service that accumulates functionality: an initially affordable design can become difficult to operate if each addition duplicates substantial work.

Choose settings for reuse. The authors say that they selected their hyper-parameters using CIFAR100 with 50 steps and then kept them fixed across different numbers of steps. They acknowledge that tuning specifically for a 10-step setting could improve performance there, but regard that as a different objective from finding settings that transfer across scenarios. Researchers can borrow this evaluation principle without borrowing the architecture. If ease of reuse is part of the contribution, the experiment should test reuse directly rather than quietly allowing every setting its own carefully adjusted configuration.

Keep the memory procedure visible. DyTox’s rehearsal examples are selected through iCaRL’s herding procedure, then included with new-task data without oversampling. This detail matters because architectural comparisons can otherwise conceal different access to earlier information. A system that sees more old examples, or sees them more frequently, may forget less for reasons unrelated to its central mechanism. The reusable idea is procedural transparency: specify how retained examples are chosen and how they enter training. That makes both scientific comparisons and engineering reproductions easier to interpret.

Separate the architecture from training additions. The authors present DyTox without MixUp as the main system and DyTox+ as an additional experiment. This distinction helps identify what the compact expansion mechanism contributes and what changes when the training procedure is strengthened. It also motivates checking an augmentation on another backbone instead of assuming its benefit belongs uniquely to the proposed design. Elsewhere, this separation can prevent a complicated collection of improvements from being mistaken for evidence about a single component. The important question is which intervention explains which outcome, under which conditions.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, DyTox is most useful as an architectural possibility and an evaluation discipline. There is no documented Mova implementation of task tokens, a task attention block, or DyTox’s rehearsal procedure in the information available here. It would therefore be inaccurate to describe the paper as an established part of Mova’s operation. The concrete connection is prospective: DyTox offers a way to think about adding task-specific behavior while limiting the growth of shared machinery.

The closest transferable question concerns how Mova might represent specialization. Suppose a language system must support a new task while preserving earlier behavior. One option is to change shared processing extensively; another is to retain a compact component associated with the new task. DyTox makes the latter option interesting because its expanding elements are small learned vectors that participate in attention. For Mova, a related experiment could ask whether a compact task representation can direct existing language representations towards different outputs without requiring a separately maintained processing route for every task.

That proposal should remain separate from a claim of compatibility. DyTox’s experiments concern images, and its attention mechanism operates with visual features and image patches. A Rust implementation alone does not supply the corresponding representations, training process, or machinery for attention. Before borrowing the mechanism, Mova would need an explicit account of what the task representation queries, what information changes during learning, and which shared components supply useful evidence. Without those choices, “adding task tokens” would name an aspiration instead of a functioning design.

Transparency also needs a careful interpretation. A compact task vector is not automatically understandable to a person. Its small size may make it easier to store, inspect, compare, and track across versions, but those conveniences do not explain what its learned values mean. A transparent Mova experiment would therefore need to connect any new task component to observable behavior. It could record which task introduced the component, which shared representations it accesses, and how predictions change when that component is used. Those would be properties of the proposed implementation, not results established by DyTox.

The paper’s treatment of operational growth is immediately relevant even if Mova never adopts attention-based task tokens. When a new language capability is added, an implementation can record the additional storage and execution work alongside its task performance. DyTox’s authors make these costs part of their motivation because a continual system has to remain usable after successive additions. Mova could adopt that habit directly: each extension should have a visible cost, and its benefit should be evaluated against that cost under a stated workload.

Rehearsal suggests another possible experiment. DyTox retains selected earlier examples and combines them with new-task data. A language system facing successive changes could similarly retain a deliberately chosen evaluation and training collection from earlier tasks. However, the paper does not establish how its image-based selection procedure should transfer to language. Mova would need its own justification for example selection and would need to distinguish examples used for learning from examples reserved for measuring retained behavior. The general lesson is that memory access belongs in the design, rather than being treated as an incidental implementation detail.

The fixed-hyperparameter strategy is especially compatible with a small system intended to be understandable and maintainable. If a proposed extension requires a new set of sensitive settings for every task, its apparent simplicity may hide substantial maintenance work. Mova could evaluate a task-specific mechanism under settings selected in advance, then report where those settings remain adequate and where they fail. DyTox provides a reason to value that experiment, but it supplies no language-specific result that would predetermine the outcome.

The honest practical conclusion is that Mova could borrow DyTox’s questions before borrowing its components. How much task-specific state is necessary? How does it influence shared computation? What is retained from earlier training? How does another task change execution cost? A successful implementation would need concrete answers and direct measurements. Until those exist, the relationship is a research direction grounded in compact specialization, visible memory use, and explicit evaluation of forgetting.

### The problem and its context

#### Learning changes the system that remembers

Continual learning concerns a sequence of learning situations rather than a single fixed training collection. In the class-incremental setting discussed by the authors, new classes arrive over successive tasks. The system must learn to recognize those additions while preserving useful behavior on classes encountered earlier. Catastrophic forgetting names the central failure: learning that improves current performance can interfere with abilities acquired before.

The difficulty is easy to state but harder to evaluate fairly. A system can protect earlier knowledge by retaining more data, preserving more components, restricting changes more strongly, or allocating additional capacity. Each choice changes the resources available for solving the problem. An approach that performs well after substantial expansion may face a different practical constraint from an approach that stays compact. Conversely, a compact approach may remain inexpensive because it has less freedom to adapt.

DyTox’s authors place their work within this tension. Their motivation is operational as well as statistical. They want limited memory growth, limited time overhead, and settings that do not need to be reconsidered for every sequence. These goals matter together. A method that controls forgetting through expensive duplication might become difficult to deploy, while one that stays small through delicate pruning might require substantial tuning.

The term “task” also needs care. In this discussion it identifies an increment in the learning sequence, associated with new classes and training data. It should not be read as evidence that the method handles every kind of changing environment. The authors themselves distinguish their benchmark settings from situations in which class distributions are unbalanced or tasks overlap. Those alternatives change what data arrive and how earlier knowledge is revisited.

#### Expansion as a way to protect specialization

The authors chose a dynamically expandable architecture because task-specific components can help reduce interference. The intuition is that a later task need not express every useful distinction through exactly the same adjustable state as an earlier task. Some specialization can be attached to the task that introduced it.

Their discussion identifies strong continual-learning results from expandable approaches as part of the motivation. DER is the main competing example developed in the review responses. The authors describe its unpruned execution cost as increasing with the number of tasks because earlier feature extractors remain involved. This makes DER relevant in two ways: it is a demanding recognition baseline, and it exposes the cost of preserving substantial task-dependent processing machinery.

DyTox seeks a smaller unit of expansion. Rather than treating a complete feature extractor as the natural thing to add, it introduces small learned task vectors within a transformer framework. The general question is whether task-specific interaction with a shared representation can preserve enough specialization to compete with more extensive architectural growth.

This does not establish that shared components remain unaffected by later learning. The review discussion does not specify their full update rules. It does establish the intended direction of the design: preserve room for task-specific behavior while keeping the additional state small enough to avoid a separate pruning stage motivated by expansion.

#### Rehearsal as a common comparison condition

The authors also use rehearsal, meaning that some earlier training examples are retained and revisited. Their clarification identifies iCaRL’s herding procedure as the method for selecting examples from the current classes for later use. Those examples are then added to the next task’s data without oversampling.

This is important context because DyTox does not claim to solve continual recognition through architecture alone. It combines task-specific expansion with access to selected past examples. Rehearsal provides direct evidence about earlier classes during later training; task-specific components provide an architectural means of organizing specialization. Their roles are related but distinct.

The authors describe their rehearsal protocol as the standard used by the compared baselines, including DER. That supports interpreting the comparisons as attempts to hold an important source of past information consistent. It does not reveal the entire memory budget or establish that every implementation detail is identical. The selection rule and sampling treatment are known; the complete training configuration is not reproduced in the discussion.

The reference list also includes [Memory Aware Synapses: Learning what (not) to forget](https://md.research.elamur.ai/free/en/papers/aljundi-2017-memory-aware-synapses-learning-forget/). Its presence establishes that it belongs to the paper’s cited context. The review responses do not explain its mechanism or provide a direct result against it, so it should not be used to construct a detailed contrast that the discussion does not support. A bibliography identifies intellectual surroundings without supplying every comparison needed for a technical history.

#### Why attention enters the design

DyTox’s choice of transformers is connected to its chosen unit of specialization. A task token can participate in attention with visual information, allowing task-dependent processing to be introduced inside the architecture. The authors regard this token-based conditioning as a particularly straightforward fit for their transformer framework.

Their comparison with FiLM helps explain the idea. In the authors’ account, FiLM uses a question encoding to apply an affine modification to visual features for visual question answering. An affine modification changes features through learned scaling and shifting. DyTox uses attention to change the task-token query in response to visual features. The direction of influence and the transformation mechanism therefore differ.

This comparison matters because “conditioning” is a broad term. It can refer to changing shared features using task information, changing a task representation using the input, or arranging interactions between both. Simply observing that two systems use conditioning does not show that they implement the same operation. The authors’ explanation narrows the relationship to a useful architectural question without claiming that DyTox is an affine modulation method.

The paper also cites [Layer Normalization](https://md.research.elamur.ai/free/en/papers/ba-2016-layer-normalization/), alongside other work used in the broader transformer literature. The review discussion does not identify its exact placement in DyTox. That distinction between citation and specified implementation is important throughout: the references establish context, while the missing main descriptions would be needed to reconstruct the complete architecture.

### The method, step by step

#### Begin with the learning sequence

DyTox is designed for successive learning tasks in image recognition. The current task supplies examples from its classes, and retained examples make some information about earlier classes available. The method must accommodate the new classes while maintaining recognition of the old ones.

A useful way to understand the architecture is to separate shared visual processing, task-specific learned state, and the training data that constrain both. Shared processing extracts visual features. Task tokens supply compact learned components associated with successive tasks. Rehearsal supplies earlier examples during later training. These are complementary parts of the method, rather than interchangeable descriptions of the same mechanism.

The review responses establish this outline but do not reproduce the full computational definition. In particular, they do not specify the complete prediction head, the exact arrangement of every transformer block, or all rules governing parameter updates. The steps below explain the operations the authors explicitly discuss without filling those gaps with an assumed implementation.

DyTox's continual learning design The steps in order.

#### Represent the image through shared processing

The architecture uses a transformer-based visual encoder. An encoder transforms an input into features that subsequent computation can use. Here the input is an image, and the decoder’s efficiency is discussed in terms of the number of image patches.

A patch is a portion of an image used as a unit in the representation. The important point for DyTox is that the number of these units affects attention cost. The authors say their decoder uses sparse attention with linear complexity in the patch count. Sparse attention restricts which interactions are computed, rather than requiring every available element to interact with every other element in that stage.

This statement concerns the decoder described by the authors. It should not be expanded into a claim that every component of DyTox has linear cost in image size, or that all computation remains fixed as tasks accumulate. The paper separately reports time growth per task. Patch-related complexity and task-related growth describe different dimensions of the system.

Shared visual processing is central to the intended resource saving. If each new task required another complete visual encoder, task-specific expansion would carry a much larger operational burden. DyTox instead places its expanding task state in small learned vectors. The review responses do not provide the parameter counts needed to quantify the resulting storage saving, but they make the design choice explicit.

#### Add compact task-specific state

A task token is a learned vector used to represent task-specific information within the architecture. In this setting, “token” refers to an internal computational element, not to a word or a text segmentation rule. Its significance comes from how it interacts with visual features through attention.

The authors state that expansion is limited through the addition of small learned vectors. That is the central mechanism behind the name DyTox: the architecture grows through task tokens. The practical aspiration is to introduce new specialization without adding a large independent processing network.

A compact vector can still influence substantial computation because it participates in a shared mechanism. Its values do not need to store an entire visual processing pipeline. Instead, they help determine how task-dependent information is formed from the available features. This explains why token expansion can be an architectural alternative to more extensive duplication, although the exact representational capacity depends on details not reproduced in the responses.

The available discussion does not give the dimensionality of the task tokens or a complete initialization rule. It also does not establish every freezing or updating decision for earlier task components. Those details matter for implementation and for understanding exactly how interference is controlled. They cannot be inferred merely from the fact that expansion occurs.

#### Let visual features influence the task query

The task attention block, or TAB, is the point where the authors locate their conditioning mechanism. They describe visual features as modifying the query associated with a task token. Attention is the operation that connects the visual information with that task-specific state.

For a newcomer, the query can be understood as the part of the computation that determines what information is sought from the available representation. The visual features provide the content with which it interacts. In DyTox, that interaction is task-dependent because the learned token is associated with a task.

This explanation should not be mistaken for a complete equation. The review responses do not write the projections, normalization operations, attention weights, or subsequent transformations. A standard attention formula would not by itself specify DyTox, and supplying one would blur the difference between a general mechanism and the authors’ actual implementation.

The comparison with FiLM clarifies what is known. FiLM is described as using question information to alter visual backbone features through an affine operation. DyTox instead uses visual evidence to modify a task query through TAB. The authors therefore argue for a difference in both the direction of conditioning and the operation performing it.

This distinction also prevents an overly simple interpretation of the task token as a fixed instruction that independently determines the output. The token participates in an interaction with the current image. Its role is task-specific, but the resulting computation depends on visual information.

#### Combine new examples with retained examples

The training data for a new task include selected rehearsal samples from previous classes. Rehearsal is the deliberate reuse of earlier examples so that later learning is still constrained by evidence about earlier classes.

The authors identify iCaRL’s herding procedure as their selection method. They do not reproduce that procedure’s algorithm in the review responses. The defensible description is therefore that examples are selected using that named rule, rather than an invented account of its internal calculations.

The selected samples are added to the new task’s data without oversampling. Oversampling would make those examples appear more often through an additional sampling policy. The authors explicitly say they do not apply such a policy here.

That matters for interpreting the data mixture. The architecture’s performance is achieved with a particular way of exposing it to past information. Changing the retained examples, their number, or their frequency could change the balance between acquiring current distinctions and retaining earlier ones. The discussion identifies the selection approach and the absence of oversampling, while leaving the complete memory allocation unspecified.

The same clarification also helps locate what DyTox does not attempt to eliminate. Its compact architectural growth does not remove the need to describe retained data. Parameter storage and rehearsal storage are different resource categories, and a complete deployment account would need both.

#### Keep the main training procedure distinct from MixUp

The authors describe their main experiments as DyTox without MixUp. DyTox+ adds MixUp in a further experiment intended to demonstrate a stronger continual training procedure, particularly useful with transformers.

MixUp is a named augmentation in the discussion, but its mathematical construction is not reproduced there. No mixing distribution, coefficient choice, or target-combination equation is specified. Consequently, the method can be identified by name and role, but its exact configuration cannot be reconstructed from the review responses.

The authors also applied MixUp with ResNet and report reduced forgetting there. They say the effect was smaller than with DyTox and, more broadly, with transformers. This provides a useful check against attributing the entire benefit solely to the proposed architecture. It suggests that the training intervention has value beyond DyTox while interacting with architectural choice.

The comparison does not supply enough information to separate every possible cause of that interaction. Backbone differences, optimization choices, and the rest of the training configuration could matter. The report supports a qualitative observation under the authors’ experiments, not a general theorem about augmentation.

#### Reuse settings across task schedules

The hyper-parameter policy is part of the practical method. Hyper-parameters are choices governing training or architecture that are set outside the ordinary learned parameter updates. The authors say that their selection was performed on CIFAR100 with 50 steps.

They then kept those settings unchanged across different step counts. Their discussion explicitly mentions the possibility of better results from tuning for a 10-step setting, while rejecting that as inconsistent with their goal of reusable settings.

This is a meaningful choice because the task schedule changes the learning problem. A configuration that performs well under one schedule might need different adjustments under another. Holding settings fixed tests whether the proposed system remains useful without that additional adaptation.

The responses do not reproduce the hyper-parameter values themselves. They also do not provide the complete search process used to select them. What is established is the selection setting and the policy of retaining the resulting choices, not a complete reproducible training recipe.

#### What a full mathematical specification would still require

No complete DyTox equations appear in the authors’ review responses. Their mathematical notation specifies the image dimensions used in a timing comparison, but it does not define the task attention block or the learning objective.

A faithful mathematical account would need the task-token representation, the transformation of visual features, the attention operation, the prediction rule, and the training losses. It would also need to state which parameters change at each task. Those elements cannot be safely reconstructed from the architectural name or from references to omitted sections.

The method is nevertheless understandable at the level of its central design decision. Shared visual processing supplies features; compact task-specific vectors expand the architecture; attention lets visual evidence influence task queries; retained examples provide continuing exposure to earlier classes. The distinction between this design explanation and a complete executable specification is essential to understanding what the available evidence supports.

### Experiments and results

#### Recognition benchmarks and the reported ranking

The authors discuss continual-learning experiments on CIFAR100 and ImageNet1000. Their responses refer to standard benchmark settings and comparisons with earlier methods, but the main result tables are not reproduced.

For ImageNet, they describe DyTox without MixUp as achieving leading performance. For CIFAR100, they describe the same version as very close to DER. In a separate response, they characterize performance across step settings as close to or better than DER and substantially better than the remaining baselines.

These are the authors’ qualitative assessments. They are not substitutes for accuracy values, variation across runs, or a complete description of the class schedules. The responses point to tables containing those results, but do not state the scores needed to recreate an accuracy chart.

The distinction between the datasets and their schedules is also important. CIFAR100 with 50 steps is explicitly identified as the setting used for hyper-parameter selection. A 10-step setting is discussed when the authors explain why they did not tune separately for every schedule. The review responses do not provide a complete list of experimental splits, so neither schedule should be treated as a universal condition for all the reported findings.

#### A numerical comparison of forward-pass time

The available numerical comparison concerns the base execution speed of the transformer architecture against ResNet18. The reported workload is a forward pass over 32 RGB images of size 224×224.

A forward pass means computing the system’s output from its input, without including the complete sequence of operations required for a training update. This is a useful operating measurement, but it is narrower than total training time.

Forward-pass latency for 32 RGB images of size 224×224 The reported transformer timing is close to the ResNet18 timing.

**The numbers**

| System or setting | latency in ms |
| --- | --- |
| ResNet18 | 51.4 |
| DyTox transformer architecture (this paper) | 50.3 |

The chart supports the authors’ statement that their architecture has a base speed comparable to the backbone used by the baselines. It does not show a recognition result, and it is not tied to a named dataset split. The workload is specified through the image batch rather than through a particular test partition.

The discussion does not identify the hardware, measurement variation, or complete execution environment for these timings. That limits their interpretation. They are evidence about the authors’ measured configuration, not a guarantee that another implementation will reproduce the same latency.

The numbers also should not be converted into an unstated percentage advantage. Their value is the direct comparison the authors report. Differences in the surrounding software, hardware, or measurement procedure could affect how such a comparison transfers.

#### Growth as tasks accumulate

The authors report a time overhead of +2.24% per task for DyTox. They say that the overhead is approximately similar during training and testing.

This is the relevant complement to the base latency comparison. Base speed asks how expensive the architecture is under the measured starting configuration. Per-task overhead asks how that cost changes as the continual sequence progresses.

The responses do not provide a complete timing curve or enough detail to reconstruct every point on one. It would therefore be inappropriate to project a total latency for a particular task count by applying an assumed compounding or accumulation rule.

For DER without pruning, the authors describe execution growth through repeated feature extraction. Their example states that 50 tasks require 50 forward passes. That observation concerns the unpruned form of the competing system.

The authors explicitly say they could not compare execution speed against pruned DER because its pruning code was unavailable and the necessary timing information was absent. The resulting comparison is informative but incomplete: DyTox has a reported growth figure, while the strongest corresponding timing claim about DER applies to its unpruned operation.

#### Keeping resource types separate

The authors’ motivation includes memory, but the responses do not give the parameter counts or storage measurements needed for a numerical memory comparison. They describe the expansion through small learned vectors and explain that this limits the need for pruning.

That is an architectural argument about the unit of growth. It should not be converted into a claim about total storage, which would also depend on retained examples and other state.

Similarly, the timing comparison should not be treated as a direct measure of computational complexity in every component. The decoder’s linear scaling with patch count is an algorithmic statement. Measured forward-pass latency and additional cost per task are operating measurements. They describe related concerns at different levels.

The most useful reading keeps those levels visible. DyTox proposes compact additions, reports a modest task-related time overhead, and compares its base execution with a familiar convolutional backbone. A complete resource evaluation would require additional details.

#### What the reported results establish

The recognition comparisons support the authors’ claim that compact task-token expansion can remain competitive with a strong expandable baseline. The timing results support their argument that the transformer choice need not impose a large base latency penalty under the reported workload.

The MixUp experiment further suggests that training procedure can reduce forgetting beyond the main architecture. Its effect with ResNet indicates that the intervention is not exclusive to DyTox, while the stronger reported effect in the transformer setting motivates examining the combination.

What remains unavailable is the exact size of the recognition gains, the measured forgetting values, and the full accuracy–resource tradeoff. The responses do not state those quantities. The evidence therefore supports a promising practical design and reported benchmark competitiveness, while leaving the complete quantitative assessment dependent on the omitted experimental tables.

### What the ablations show

#### Replacing the transformer encoder with ResNet

The clearest architectural comparison described by the authors substitutes a ResNet for the transformer-based encoder. They report that this version performs better than every baseline except DER, while remaining below the full DyTox system.

This comparison addresses an important question: does the proposed strategy depend completely on the transformer encoder? The reported convolutional version retains enough effectiveness to exceed most baselines, suggesting that the broader task-conditioning strategy has value beyond the exact end-to-end transformer configuration.

At the same time, the lower result relative to DyTox supports the authors’ choice of the transformer architecture within their experiments. It is evidence that the encoder choice matters, rather than evidence that any backbone would deliver the same outcome.

The comparison remains qualitative. The responses do not state the relevant dataset split, accuracy values, uncertainty, or complete configuration. They also do not establish whether every architectural and optimization detail was matched. Those omissions prevent a precise attribution of the performance gap.

The authors describe this as an existing experiment that had initially been left out to keep the presentation focused. That gives it the status of a reported comparison, while proposed tests with other convolutional backbones remain future possibilities.

#### Adding MixUp to the training procedure

MixUp is the main training intervention discussed separately from the architecture. The authors state that ordinary DyTox already reaches their reported benchmark standing without it. DyTox+ adds the augmentation to demonstrate a further continual training procedure.

This separation matters because it prevents the architecture’s main evidence from depending entirely on the additional training technique. A reader can distinguish the claim that task-token expansion is competitive from the claim that MixUp can further reduce forgetting.

The authors report that MixUp also reduces forgetting when used with ResNet, although less strongly than with DyTox and transformers more generally. That is a useful controlled comparison in principle: it asks whether an observed improvement is specific to the proposed architecture or appears elsewhere.

The result supports a broad interpretation of the augmentation’s usefulness, together with a possible architectural interaction. It does not establish why the interaction occurs. The responses provide no measured forgetting values or detailed comparison that would identify the causal mechanism.

In particular, the observation should not be turned into a universal statement that transformers always benefit more from MixUp. It is a report about the authors’ experiments. The conditions required to generalize it are not specified.

#### Holding settings fixed across schedules

The fixed-hyperparameter policy offers another form of analysis. Instead of changing the settings to optimize every task schedule, the authors use choices selected on CIFAR100 with 50 steps across the evaluated step counts.

This examines practical robustness. A system that works under fixed settings imposes less repeated tuning work than one whose results depend on scenario-specific adjustment. That concern is especially relevant to continual learning, where the future sequence may not be known when the initial choices are made.

The authors acknowledge the tradeoff directly when discussing 10 steps. They believe targeted tuning could improve that result, but regard such tuning as inconsistent with the practical objective they set.

This is evidence about an evaluation policy, rather than a numerical sensitivity study. The responses do not list alternative settings, report a search surface, or show how much performance changes when individual choices vary. Robust reuse and low sensitivity are related ideas, but they are not identical.

The comparison with DER’s pruning is also limited. The authors say DER uses different hyper-parameters for its pruning across settings. That motivates their preference for small additions that avoid such pruning, but the responses do not reproduce a matched analysis of tuning effort.

#### Decoder sparsity and task-related cost

The decoder’s sparse attention is presented as a reason for linear complexity with respect to image patches. The reported per-task overhead provides an operating measurement connected to the same practical motivation.

However, the responses do not include an ablation that replaces sparse attention with a denser alternative. They do not report the recognition or timing change caused by that substitution.

The distinction is important. An architectural property can explain why a design is expected to be efficient without proving that the chosen arrangement is the best available one. A direct ablation would be needed to measure the cost and benefit of that component against a defined alternative.

Likewise, compact vector expansion is central to the design, but no numerical comparison of token sizes or expansion rules appears in the responses. The mechanism is motivated and supported by overall results, while its individual design choices are not fully isolated in the available discussion.

#### Comparisons the authors propose rather than report

The authors suggest that other conditioning mechanisms could be compared with DyTox. A FiLM-like strategy is one example. They also mention additional convolutional backbones as possible comparisons.

These statements identify useful questions, but they are not experimental findings. The review discussion does not report a FiLM-based continual-learning baseline or show how its performance would compare with TAB.

The same distinction applies to more realistic data settings. The authors propose learning from work on unbalanced distributions and exploring overlapping tasks through CORE50 scenarios. Those are directions for extending evaluation, not ablations already completed.

Taken together, the reported analyses support several narrower conclusions: encoder choice matters in the authors’ comparison; MixUp reduces forgetting in more than one architecture; fixed settings are part of the claimed practical value; and compact expansion is connected to measured time growth. They do not provide a complete component-by-component account of every source of performance.

### Limitations

#### Limits the authors explicitly acknowledge

The authors recognize a gap between their benchmark scenarios and more realistic continual-learning conditions. CIFAR100 and ImageNet1000 are standard in the literature they discuss, but standardization does not mean that their task sequences reproduce every practical deployment.

They specifically mention tasks that are not mutually exclusive. In such a setting, later data can include classes encountered earlier. Their proposed treatment is to handle those examples in the same way as rehearsal data from previous tasks.

That explanation identifies how the existing training procedure might accommodate overlap. It does not demonstrate performance under overlap. The amount, timing, and composition of returning data could change the learning balance, and the review responses provide no completed experiment resolving those effects.

The authors also identify unbalanced distributions as a direction for extension. They suggest drawing on earlier work addressing the tail of a distribution, but do not report an integrated method or a result under that condition.

Another explicit limit concerns the timing comparison with DER. The authors could describe its unpruned growth, but could not measure its pruned execution because the necessary code and timing information were unavailable. This means the practical comparison does not cover every form of the strongest competing approach.

These limitations are material to the central claim. DyTox is motivated partly by deployability after many tasks. Missing evidence about overlapping data, imbalance, and a pruned competitor leaves important parts of that deployment argument open.

#### Limits visible in the experimental scope

A careful reader should distinguish the authors’ stated limitations from additional boundaries of the evidence. The reported experiments concern image recognition. They do not establish performance in language processing, generation, or the tasks Mova might pursue.

The architectural idea may transfer, but transfer requires a new definition of the input representation, task structure, and prediction problem. A task token interacting with image features is not sufficient evidence for a language-system implementation.

Rehearsal is another important boundary. DyTox uses selected earlier examples, so its reported behavior should not be presented as evidence for a setting in which no past data can be retained. The architecture and the memory procedure contribute together.

The discussion also does not specify the complete rehearsal budget. Knowing the selection method and the absence of oversampling is useful, but insufficient for calculating total storage or reproducing the full data exposure across a sequence.

Similarly, small task vectors do not imply that total resource use remains fixed. The authors report additional time per task, and retained examples also occupy storage. Compact growth is a different claim from no growth.

#### Limits on reconstructing the results

The authors refer to main-text tables, appendix material, and architectural descriptions that are not reproduced in their review responses. As a result, several central measurements are unavailable in the discussion.

There are no exact recognition scores for the main DyTox comparisons, no numerical forgetting values for the MixUp analysis, and no complete account of variation across runs. The qualitative ranking is informative, but it cannot answer how large or stable the reported advantages are.

The timing values are more concrete, yet their operating conditions are incomplete. The image batch and dimensions are stated, while the hardware and measurement protocol are not. A reader should therefore treat the reported latency as conditional on the authors’ setup.

The +2.24% per-task overhead also lacks the surrounding timing curve needed for detailed forecasting. It cannot safely be turned into a projected deployment cost through an assumed calculation.

A similar issue affects reproducibility. The responses identify herding, fixed hyper-parameters, a transformer encoder, and TAB, but do not provide the full learning objective or update rules. A complete implementation cannot be specified from these elements alone.

These are limits on what can be concluded from the authors’ discussion. They should not be misrepresented as proof that the full study lacked those details. The appropriate conclusion is that the details are required for a complete assessment and are not available in the review responses.

#### Limits on causal explanations

Overall performance does not by itself identify which component causes an improvement. DyTox combines an encoder choice, task-specific expansion, attention-based conditioning, rehearsal, and a training configuration.

The ResNet substitution and MixUp comparison help separate some of these factors, but their numerical details are absent. Other choices, including token dimensionality, attention structure, and the treatment of earlier parameters, are not isolated in the discussion.

The claim that small additions avoid sensitive pruning is plausible within the stated design motivation. It does not establish that every alternative pruning procedure would be difficult to tune or operationally inferior. The authors’ available comparison is narrower.

The fixed-hyperparameter experiment also needs a measured interpretation. Keeping settings unchanged is evidence of reuse across the evaluated scenarios. It does not show that the settings are universally robust or that no tuning will be needed in a new domain.

These distinctions matter because the most appealing explanation can otherwise outrun the experiment. DyTox’s compactness, attention mechanism, and training choices form a coherent proposal. Their individual contributions still require appropriately controlled evidence.

#### Limits on transparency and deployment claims

Task-specific components make architectural organization more explicit, but learned vectors are not automatically interpretable. The paper’s discussion does not demonstrate that a person can inspect a task token and recover a clear account of the associated knowledge.

This is particularly relevant to a transparent system such as Mova. Compact state can be easier to track without being easy to understand. Behavioral tests, records of learning history, and explicit interfaces would still be needed to make a proposed implementation accountable.

The production motivation should also remain separate from a production validation. The authors want a design that can handle many successive tasks with limited overhead. Their benchmarks and timing measurements address parts of that objective, but they do not establish reliability under every changing workload.

Finally, the method does not make future task structure irrelevant. The authors’ own discussion of overlap and imbalance shows that the way data arrive matters. Compact expansion is a strategy for continual learning, not a guarantee that arbitrary distribution changes can be handled without revisiting the surrounding training procedure.

### What came after

[Continual Learning Under Language Shift](https://md.research.elamur.ai/free/en/papers/gogoulou-2023-continual-learning-under-language-shift/) is a later work from 2023 that cites DyTox. Its title places continual learning in the context of changing language conditions, extending the surrounding discussion beyond the image-recognition setting central to DyTox.

The available description establishes the citation relationship, but does not explain what that later work does with DyTox. It does not state that the authors implemented task-token expansion, used TAB, reproduced DyTox’s rehearsal setup, or compared directly against its architecture.

That distinction matters when describing influence. A citation can acknowledge related work, motivate a problem, identify a baseline, or adopt a technical mechanism. Without the later paper’s method and discussion, those possibilities should remain separate.

The defensible connection is therefore thematic and bibliographic. DyTox offers a compact way to organize task-specific adaptation in a continual-learning system. Continual Learning Under Language Shift places continual learning in a language setting and cites that contribution. Establishing a stronger technical lineage would require evidence about the later work’s actual use of the idea.

DyTox leaves a useful question for such later research: can small task-specific components direct shared computation while keeping forgetting and operating growth under control? Its image experiments and review discussion make that question concrete. Whether the same strategy succeeds under language shift remains a separate empirical question.

## Cite

Cite as Arthur Douillard, Alexandre Ramé, Guillaume Couairon and Matthieu Cord. 2022. DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr52688.2022.00907](https://doi.org/10.1109/cvpr52688.2022.00907)

```bibtex
@inproceedings{douillard2022dytox,
  title = {{DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion}},
  author = {Arthur Douillard, Alexandre Ramé, Guillaume Couairon and Matthieu Cord},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00907},
  eprint = {2111.11326},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr52688.2022.00907}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
