Agentic AI
Researchers extend diffusion models to handle multiple related tasks simultaneously
A new method enables probabilistic prediction across connected functions by conditioning diffusion models on task-specific context.
Neural diffusion processes have emerged as a flexible alternative to traditional Gaussian models for learning probability distributions over functions, but their application has been confined to isolated, single-task scenarios. Researchers have now proposed an extension that breaks this limitation by enabling these models to handle multiple related tasks in tandem.
The new approach#
The proposed method, called multi-task neural diffusion processes (MT-NDPs), integrates a task encoder component that captures essential information from context observations and uses it to guide the diffusion model's predictions. This architecture allows the model to share knowledge between related functions while remaining robust to practical considerations like variable numbers of input examples and the arbitrary ordering of context data.
How it works#
The task encoder distills observed context into a compact, low-dimensional representation that conditions the diffusion sampling process. This design choice enables:
- Information transfer across related prediction tasks without explicit parameter sharing
- Flexible context handling that accommodates datasets with different numbers of labeled examples
- Permutation invariance, ensuring predictions remain consistent regardless of how context observations are ordered
Real-world validation#
The researchers tested MT-NDPs using synthetic experiments alongside two applied domains. In wind-energy forecasting, the model achieved the tightest coverage error among competing approaches when given larger context sets, indicating superior uncertainty quantification. Educational assessments provided another test case, where the method demonstrated its ability to adapt to new prediction targets with limited examples. Performance remained competitive with established alternatives including neural process architectures and classical Gaussian process methods, while improving over single-task diffusion baselines when context data was available.
Implications#
The work suggests that task-conditioned diffusion models hold promise for uncertainty-calibrated regression in multi-task settings, particularly in few-shot adaptation scenarios where models must generalize to previously unseen functions with minimal labeled data.

