Learning to Condition (Neural Conditioner)
- Learning to Condition is a paradigm that learns an exponential family of conditional distributions from partially observed data via a masking mechanism, unifying tasks like autoencoding and imputation.
- The Neural Conditioner architecture leverages a generator and discriminator with mask inputs to accurately approximate conditional distributions using adversarial training.
- Extensions in continuous condition transfer and conditional meta-learning improve performance and representation, while challenges remain in scalability and terminological clarity.
Learning to Condition (L2C) denotes a condition-centric learning paradigm in which the learned object is not a single predictor on fully observed inputs, but a mechanism that adapts to a specified observation pattern and produces samples from the corresponding conditional distribution. In the formulation introduced with the Neural Conditioner, L2C aims to learn all conditional distributions of a random vector from partially observed, unlabeled data by parameterizing a function that approximates for arbitrary binary masks of available and requested variables (Belghazi et al., 2019). Subsequent work has developed related condition-dependent mechanisms for continuous condition transfer and task-adaptive representation learning, while the acronym “L2C” has also been adopted for unrelated phrases in other research areas, creating substantial terminological ambiguity (Ikeda et al., 4 Apr 2025, Denevi et al., 2021).
1. Conceptual formulation
In its canonical form, L2C is the problem of learning a single model that can represent an exponential family of conditionals of a random vector . The Neural Conditioner formulates this objective as learning conditional distributions for all possible partitions of , where denotes available variables and denotes requested variables (Belghazi et al., 2019). Variables may also be neither observed nor requested, so the framework accommodates arbitrary missingness and partial supervision.
This perspective differs from ordinary supervised prediction in two ways. First, the target is a family of conditional distributions rather than a single input-output map. Second, the conditioning pattern is itself part of the input. The result is a unified interface in which imputation, denoising, inpainting, autoencoding, and unconditional generation appear as different mask configurations of the same model rather than as separate tasks (Belghazi et al., 2019).
A central claim of the Neural Conditioner is that this is “learning to condition”: learning how to generate, or sample from, any conditional of given any observation pattern (Belghazi et al., 2019). The paper also frames this as a seamless integration of different self-supervised tasks and levels of supervision into a single learning experience.
2. Neural Conditioner architecture and adversarial learning
The Neural Conditioner is written as
where 0 is the entrywise-masked observed input, 1 is the availability mask, 2 is the request mask, and 3 is an external noise vector introducing stochasticity into the generated sample (Belghazi et al., 2019). The output 4 is intended to approximate a sample from 5.
Architecturally, the method uses a standard neural network for the generator and a discriminator that also receives mask information. The discriminator distinguishes real tuples 6 from generated tuples 7, so the adversarial game is defined conditionally on both the observed variables and the requested subset (Belghazi et al., 2019). The training objective is
8
The masking mechanism is fundamental rather than auxiliary. Each minibatch samples different mask configurations, so parameter sharing occurs across a large collection of conditional estimation problems. This is the mechanism by which one model is trained to represent many conditionals simultaneously (Belghazi et al., 2019).
3. Special cases, generalization, and representation learning
The Neural Conditioner explicitly identifies several important special cases. When 9, the model acts as an autoencoder; when 0 and 1, it generates samples from the joint distribution 2, even if not trained on this mask (Belghazi et al., 2019). The same framework also supports arbitrary conditional imputation tasks.
A notable claim is that the model can generalize to unseen mask configurations. The paper states that, under a smoothness assumption on the relationships between conditionals, training on a feasible subset of maskings allows the model to generalize to conditionals never encountered during training, including the joint distribution (Belghazi et al., 2019). This suggests that the learned object is not merely a lookup over mask patterns, but a structured approximation to the geometry of a conditional family.
The method also has a representation-learning interpretation. The Neural Conditioner can provide compressive bottleneck representations that are useful for downstream classification, and the paper reports that these representations are competitive or superior to other unsupervised and self-supervised methods on datasets such as SVHN and CelebA (Belghazi et al., 2019). An information-theoretic justification is also given: the reconstruction error is lower-bounded by the conditional entropy 3, and learning about 4 requires less information than directly learning 5 (Belghazi et al., 2019).
4. Extensions of condition-centric learning
One major extension concerns continuous condition spaces. “Pairwise Optimal Transports for Training All-to-All Flow-Based Condition Transfer Model” proposes a flow-based method that simultaneously learns optimal transport maps between all pairs of conditional distributions 6, explicitly targeting settings with continuous conditions and sparse empirical observations per condition (Ikeda et al., 4 Apr 2025). Its coupling objective combines squared data distance with penalties encouraging proximity in condition space,
7
and the paper states that, in the limit, the induced empirical coupling converges to pairwise optimal transports among infinite pairs of conditional distributions (Ikeda et al., 4 Apr 2025). This addresses a regime in which separate conditional models are infeasible.
A second extension appears in conditional meta-learning. “Conditional Meta-Learning of Linear Representations” replaces a single shared representation with a conditioning function
8
mapping task side information to a task-adaptive positive semidefinite representation (Denevi et al., 2021). The conditional transfer risk is defined as
9
The paper studies environments in which tasks form separate clusters according to the representation they share, and reports that conditional meta-learning can achieve a factor of 0 better error scaling than unconditional meta-learning when there are 1 clusters (Denevi et al., 2021). It also gives a projected SGD meta-algorithm whose excess error decays as 2 in the number of observed tasks, whereas the summarized comparison to prior unconditional meta-learners cites 3 unless explicit regularization tuning is used (Denevi et al., 2021).
Taken together, these works indicate that L2C is not confined to binary observation masks. A plausible interpretation is that the underlying principle is broader: learning a parametric mechanism whose behavior changes coherently with a condition descriptor, whether that descriptor is a missingness pattern, a condition pair, or task side information.
5. Terminological ambiguity of “L2C”
The acronym “L2C” is not unique to Learning to Condition. In recent arXiv literature it has been used for several unrelated concepts.
| Use of “L2C” | Meaning | Example |
|---|---|---|
| Learning to Condition | Conditional distribution learning via Neural Conditioner | (Belghazi et al., 2019) |
| Learning-to-Compare | Comparative visual description from image pairs | (Yan et al., 2021) |
| Learning-to-Complement | Human-AI cooperative classification | (Zhang et al., 2024) |
| Learning to Construct | Insertion-based constructive neural vehicle routing | (Luo et al., 20 May 2025) |
| Learning to Coordinate | Distributed meta-trajectory optimization via ADMM-DDP | (Wang et al., 1 Sep 2025) |
| Local to Cluster | Causal abstraction under latent variables | (Li, 24 Apr 2026) |
This multiplicity is not merely lexical. “L2C: Describing Visual Differences Needs Semantic Understanding of Individuals” defines L2C as Learning-to-Compare and studies comparative captioning with explicit semantic representations and GCN-based relational reasoning (Yan et al., 2021). In human-AI cooperative classification, L2C denotes Learning-to-Complement, where AI and human predictions are aggregated rather than deferred exclusively to one side (Zhang et al., 2024). “Learning to Insert for Constructive Neural Vehicle Routing Solver” uses L2C to mean Learning to Construct with an insertion-based paradigm (Luo et al., 20 May 2025). Other examples include “Learning to Coordinate” for distributed trajectory optimization (Wang et al., 1 Sep 2025) and “Local to Cluster Causal Abstraction” in causal discovery (Li, 24 Apr 2026).
This suggests that bibliographic search by acronym alone is unreliable. In technical writing, the full expansion is often necessary to avoid conflating unrelated lines of work.
6. Misconceptions, limitations, and research directions
A common misconception is that Learning to Condition is only a form of missing-data imputation. In the Neural Conditioner formulation, imputation is only one special case; the same model can be used for autoencoding, unconditional joint sampling, and arbitrary conditional generation defined by 4 (Belghazi et al., 2019). A second misconception is that every conditional distribution requires its own dedicated model. The explicit aim of the Neural Conditioner is the opposite: a single network should learn and share parameters across an exponential number of conditionals (Belghazi et al., 2019). A related misconception is terminological: in several neighboring literatures, “L2C” does not mean Learning to Condition at all.
The principal technical limitation emphasized across the condition-centric literature is scalability across complex condition spaces. In the original Neural Conditioner this appears as the challenge of generalizing from a feasible subset of masks to unseen conditionals under a smoothness assumption (Belghazi et al., 2019). In continuous condition transfer it appears as sparse empirical observations for each condition value, which motivates all-to-all transfer learning supported by pairwise optimal transport arguments (Ikeda et al., 4 Apr 2025). In conditional meta-learning it appears as task heterogeneity that cannot be captured by a single representation, motivating side-information-conditioned representations (Denevi et al., 2021).
A plausible implication is that future progress in Learning to Condition depends on three linked properties: parameter sharing across condition space, sufficiently informative condition descriptors, and training objectives that preserve the structure of conditional families rather than fitting isolated tasks independently. Within the sources considered here, these themes recur in adversarial conditional matching, all-to-all transport learning, and side-information-conditioned meta-representation learning (Belghazi et al., 2019, Ikeda et al., 4 Apr 2025, Denevi et al., 2021).