Response to Reviewer 1ZeM
Thank you for your review. We appreciate your effort to understand the paper despite it being outside your scope of interests. We are happy that you found the motivation and structure of the paper clear, and we believe your summary and description of strengths are quite accurate.
> The paper hinges on the assumption that the factors of the distribution are known.
That is right, we assume the *factor structure* (the set of factors and their sets of arguments) are known. Their parameters are not necessarily known and can be learned with the aid of the amortized sampler (cf. the end of Section 2.1). We provide experiments in Section 5 where the task is to learn the parameters of the graphical model associated with a data-generation process, and demonstrate the benefit of using Δ-AI's partial inference capabilities to more efficiently learn factor parameters.
Learning the undirected graphical model structure itself is quite a different problem and is outside the scope of this paper (and we are not aware of any amortized inference algorithm that jointly learns the factor structure, the parameters, and the amortized sampler). Indeed, it is typical for related work to study the problem of inference and learning in fixed graphical models, for example, using GFlowNets [Zhang et al., ICML 2022] or other algorithms taking advantage of sparsity (e.g., [Heap et al., "Massively parallel reweighted wake-sleep", UAI 2023]).
We see two approaches possible to sampling the factor structure:
- The first is to use a continuous relaxation of the space of "presence" variables for every possible factor (indicating whether a factor is present or not in the graphical model) and to fit the presence variables jointly with the factor parameters using an approximate method such as Gumbel-softmax. This would, however, not result in an unbiased sampler of the posterior over factor graph structures.
- An approach more in line with the spirit of this paper would be to use a GFlowNet to sample the factor structure, perhaps by starting with an empty graph and inserting the factors one by one. This treats the factor structure as a latent variable and amortizes the sampling of the Bayesian posterior over this structure. We see this as a promising direction for future work, as GFlowNets have been successfully used to sample the structure of **directed** graphical models (Bayesian networks) ["Bayesian structure learning with generative flow networks", UAI 2022] and to sample continuous parameters associated to their factors ["Joint Bayesian inference of graphical structure and parameters", NeurIPS 2023].
> The paper asserts that it accomplishes simultaneous amortization over multiple DAG structures. However, it would be beneficial to provide a more detailed explanation of how this simultaneous amortization is achieved.
We attempted to explain this in Section 3, but welcome any concrete suggestions on how to make this clearer. Would it help to incorporate into the text a description along the following lines?
"Figure 2 shows an example of multiple DAG structures (I-maps) for the same undirected graphical model. The conditionals present in the DAGs are different: for example, the conditional $p(v_1\mid v_2,v_3)$ appears in the two DAGs in the second row, but not in those in the first row. The proposed algorithm learns a model $q$ that matches the conditionals in the target distribution $p$. If $q$ has a structure that allows taking varying subsets of variables as input -- such as a masked autoencoder -- then it can be trained to match the conditionals appearing in multiple DAG structures simultaneously, and the resulting sampler can then be used for sampling in any of these DAGs."