Task Agnostic Inference for Continual Learning

This direction is merged into another direction: task-agnostic inference (task-aware inference dependency). Its last version stays readable and citable here.

Version 1 of 126 papers26 conceptsfrozen 2026-10-04

In the standard framing of lifelong learning, an agent encounters a sequence of tasks—say, learning to recognize birds, then cars, then flowers. Most state-of-the-art models handle this by maintaining task-specific "experts" or sub-networks. However, these models typically rely on a task oracle: an external signal at inference time that tells the model, "You are now looking at a bird; use the bird-specific parameters."

As noted by Jaehong Yoon, Eunho Yang, and colleagues in Lifelong Learning with Dynamically Expandable Networks, this reliance on explicit task labels is a major bottleneck. In the real world, an autonomous agent must identify the context of its environment from the input data alone. The research direction of Task-Agnostic Inference seeks to eliminate the task oracle, moving toward systems that can autonomously detect and adapt to changing contexts.

The Problem of the Task Oracle

When we provide a task ID during testing, we bypass one of the most difficult aspects of intelligence: context recognition. Many modular architectures, such as the Beneficial Perturbation Network proposed by Shixian Wen and Amanda Rios, use tiny task-specific bias units to prevent forgetting. While efficient, these units require an external trigger to activate.

Without this trigger, models often suffer from "semantic drift" or catastrophic interference. Andrei A. Rusu and the team at DeepMind highlighted this in Policy Distillation, noting that true generality requires an agent to switch between learned behaviors without metadata. When the task label is removed, performance often collapses because the model cannot determine which "mode" of its internal weights to apply to the current input.

Mechanisms for Autonomous Context Discovery

To solve this, researchers are developing mechanisms that allow models to "self-route" inputs to the correct parameters. This generally involves three strategies:

1. Data-Driven Kernels and Coresets

Instead of relying on a label, some models use the statistical properties of the input to find the right task context. In Kernel Continual Learning, Mohammad Mahdi Derakhshani, Xiantong Zhen, and Cees G. M. Snoek use Variational Random Features to learn data-driven kernels. By comparing new inputs to a "coreset" of representative samples from previous tasks, the model can non-parametrically identify which task-specific classifier is most appropriate.

2. Prompting and Key-Knowledge Memory

In the realm of Vision-Language Models, Guansong Pang and Yukun Li introduced CoLeCLIP, which learns task-specific visual prompts. Similarly, the UCAD framework by Feng Zheng and Jiaqi Liu 0004 uses a "key-prompt-knowledge" memory bank. Here, the input itself acts as a query to retrieve the most relevant prompt or knowledge subset, enabling unsupervised continual learning without explicit identifiers.

3. Similarity Heuristics

To manage knowledge transfer without being told the task, models must decide how similar a new input is to what they have seen before. Chenyuan Wu and Defu Lian developed SHLPT, which uses a learnable similarity metric to partition prior knowledge. This allows the model to "borrow" from similar past tasks or "push away" from dissimilar ones autonomously, mitigating the risk of negative transfer.

Beyond Accuracy: The Cognitive Shift

The move toward task-agnostic inference represents a shift in how we evaluate AI. Xiaoqian Liu and Junge Zhang argue in Benchmarking Continual Learning from Cognitive Perspectives that current metrics are too narrow. They propose that true lifelong learning requires Sensitivity—the ability to detect task boundaries and context shifts—rather than just maintaining high accuracy on a fixed sequence of labeled data.

Whether through the "omni-voter" layers in Omnidirectional Transfer by Jayanta Dey and Joshua T Vogelstein, or the "selective specialization" in vision-language agents by Kyra Ahrens and Stefan Wermter, the goal is the same: building models that don't just remember what they've learned, but know when to use it.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_task_agnostic_inference_for_continual_le_4600ed35,
  title = {Task Agnostic Inference for Continual Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/task-agnostic-inference-for-continual-learning/rdr_4600ed35c25e4d8bb690d9e270ec9e07},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_task_agnostic_inference_for_continual_le_4600ed35_v1,
  title = {Task Agnostic Inference for Continual Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/task-agnostic-inference-for-continual-learning/rdr_4600ed35c25e4d8bb690d9e270ec9e07/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}