# How can a model simultaneously retain existing knowledge and effectively learn or adapt to new tasks under varying conditions?

Category: [Continual and Robust Learning](../qcat/3.md) › [Catastrophic Forgetting in Continual Learning](../qgroup/29.md) · 8 papers · Partly verified

[Open on the map](../questions.html#q196)

*8 papers; abstracts only, so this reports what papers claim.*

## Bottom line
The papers collectively report that a single model can support two coexisting modes—retrieving pre-trained task knowledge and adapting in-context to novel tasks—and that in-context adaptation can achieve optimal or near-optimal prediction rates or sample complexity. The central tension is that adaptation to genuinely new tasks is slower for rare or unseen tasks (power-law rather than exponential convergence), and the proposed mechanisms differ, from Bayesian task retrieval or implicit inference to test-time feature learning via nonlinear gating. Complementary results suggest retention and adaptation can be balanced through weak-to-strong fine-tuning, over-parameterization, and representation size matched to the data regime. However, all results are theoretical or on small synthetic models, and no paper evaluates the retention-adaptation trade-off at scale, tests cumulative forgetting over sequential tasks, or links pre-training representation choices end to end to retention during later adaptation.

## Convergence
### 1. In-context adaptation to new tasks can achieve near-optimal prediction rates or sample complexity.
**3 papers**
- [p155446](../p/155446.md) Optimal In-context Adaptivity and Distributional Robustness  [theory; not stated]: pretrained transformer adapts to a new task's difficulty in-context, achieving the optimal prediction rate under distribution shift
- [p150684](../p/150684.md) Mamba Can Learn Low-Dimensional Targets In-Context via Test- [theory; Mamba]: test-time sample complexity comparable to nonlinear transformers, which achieve near information-theoretically optimal rates
- [p150527](../p/150527.md) Transformers Can Learn Multiclass Classification In-Context: [theory/synthetic; linear transformers]: linear transformers learn multiclass in-context classification with near-optimal per-label sample complexity
- (qualifies) [p149830](../p/149830.md) A Unified Theoretical Framework for Task Recognition and Tas [theory; not stated]: only frequent tasks show fast error decay; rare or unseen tasks converge at a slower power-law rate

## Contested
### How fast can adaptation to genuinely new tasks be? (scope difference)
- A: In-context adaptation to new tasks achieves optimal or near-optimal prediction rates. (p155446)
- B: Learning rare or unseen tasks converges more slowly, at a power-law rate rather than exponential. (p149830)
- Why: p155446 analyzes transformers pretrained on task mixtures with distribution shift, while p149830 derives optimal predictors under explicit capacity constraints where rare tasks receive zero task-specific capacity.

### What mechanism drives adaptation to novel tasks in-context? (scope difference)
- A: Adaptation works through Bayesian task retrieval or implicit inference over latent tasks. (p149830 [partial])
- B: Adaptation works through test-time feature learning driven by nonlinear gating. (p150684)
- Why: p149830 models pretraining as a Pitman-Yor mixture over latent tasks, while p150684 analyzes Mamba's nonlinear gating on single-index targets; the settings are not directly comparable.

## Isolated claims (1 to 2 papers)
- Weak-to-strong fine-tuning can elicit a new task feature while preserving pre-trained capabilities, whereas standard supervised fine-tuning causes forgetting when off-target feature directions correlate with the target's.
  - [p155865](../p/155865.md) The Mechanism of Weak-to-Strong Generalization: Feature Elic [theory; two-layer neural networks]: W2S elicits the target feature and retains capabilities; SFT forgets when off-target directions correlate with the target
- Over-parameterized networks can simultaneously memorize noisy labels and retain an internal generalization structure extractable even under heavy noise.
  - [p148534](../p/148534.md) Unveiling Memorization–Generalization Coexistence: A Case St [synthetic; two-layer neural networks]: with 80% label noise, near-perfect test accuracy achieved by extracting internal structure via frequency methods
- The optimal representation size for downstream adaptation depends on the data regime, with compression helping only when pretraining data is abundant.
  - [p152669](../p/152669.md) Optimal Representation Size: High-Dimensional Analysis of Pr [theory; not stated]: with abundant pretraining but scarce labels, maximally compressed representations are optimal; limited pretraining favors higher dimensions
- A single model can support two coexisting modes: retrieving pre-trained task knowledge and adapting in-context to novel tasks.
  - [p149830](../p/149830.md) A Unified Theoretical Framework for Task Recognition and Tas [theory; not stated]: two regimes emerge: task recognition for frequent tasks, task learning for rare or unseen ones
  - [p152712](../p/152712.md) Task Vector Geometry Underlies Dual Modes of Task Inference  [theory/synthetic; small transformers] **[partial]**: two inference modes coexist within one model; OOD learning uses a subspace nearly orthogonal to task vectors

## Gaps
- All results are theoretical or on small synthetic models; no paper evaluates the retention-adaptation trade-off in large language models at scale.
- No paper studies sequential learning of many new tasks, so cumulative forgetting over a task sequence is untested.
- No work links pre-training representation choices end to end to retention of old tasks during later adaptation.

## Off topic or tangential

## Verification report
- revision: 9 findings sent back to the generator; the revised answer was checked again
- bottom line: 4 sentences written, 0 dropped and 0 narrowed where both judges agreed, 2 kept although the judges split, 0 not checked
- 13 paper-to-statement attributions checked by two judges; agreement: 2 supports vs partial, 11 both agree
- changes: 2 partial
- judge A (command-a-plus-05-2026): planted wrong statements caught 14 of 14; positive controls passed 14 of 14; claim-level overstatements caught 1 of 1; bottom-line overstatements caught 1 of 1
- judge B (deepseek/deepseek-v4-pro-0813): planted wrong statements caught 14 of 14; positive controls passed 14 of 14; claim-level overstatements caught 1 of 1; bottom-line overstatements caught 1 of 1

## The 8 papers that ask this question

- [A Unified Theoretical Framework for Task Recognition and Task Learning in In-Context Learning](../p/149830.md)
- [Optimal In-context Adaptivity and Distributional Robustness of Transformers](../p/155446.md)
- [The Mechanism of Weak-to-Strong Generalization: Feature Elicitation from Latent Knowledge](../p/155865.md)
- [Transformers Can Learn Multiclass Classification In-Context: Isotropy Governs Generalization](../p/150527.md)
- [Unveiling Memorization–Generalization Coexistence: A Case Study on Arithmetic Tasks with Label Noise](../p/148534.md)
- [Optimal Representation Size: High-Dimensional Analysis of Pretraining and Linear Probing](../p/152669.md)
- [Task Vector Geometry Underlies Dual Modes of Task Inference in Transformers](../p/152712.md)
- [Mamba Can Learn Low-Dimensional Targets In-Context via Test-Time Feature Learning](../p/150684.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=q/196)
