Learning Probabilistic Symmetrization for Architecture Agnostic Equivariance

We present a novel framework to overcome the limitations of equivariant architectures in learning functions with group symmetries. In contrary to equivariant architectures, we use an arbitrary base model (such as an MLP or a transformer) and symmetrize it to be equivariant to the given group by employing a small equivariant network that parameterizes the probabilistic distribution underlying the symmetrization. The distribution is end-to-end trained with the base model which can maximize performance while reducing sample complexity of symmetrization. We show that this approach ensures not only equivariance to given group but also universal approximation capability in expectation. We implement our method on a simple patch-based transformer that can be initialized from pretrained vision transformers, and test it for a wide range of symmetry groups including permutation and Euclidean groups and their combinations. Empirical tests show competitive results against tailored equivariant architectures, suggesting the potential for learning equivariant functions for diverse groups using a non-equivariant universal base architecture. We further show evidence of enhanced learning in symmetric modalities, like graphs, when pretrained from non-symmetric modalities, like vision. Our implementation will be open-sourced at https://github.com/jw9730/lps.

Paper

References (100)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer SdiQ7/10 · confidence 4/52023-07-06

Summary

The paper proposes a probabilistic version of the canonization method to construct equivariant architectures from generic non-equivariant backbones. This approach is inspired by the symmetrization solution, which involves averaging a non-equivariant function to obtain an equivariant one, but replaces the uniform averaging distribution with an input-conditional one to achieve a lower sample complexity.

Strengths

The paper is clearly written and well motivated. The proposed idea overcomes some important limitations of both the symmetrisation and the canonicalisation methods. I liked the idea of using a general-purpose transformer architecture, which makes the proposed method very flexible and easy to apply in more generic contexts. The surprising performance of pre-trained vision models on non-vision tasks is also a very interesting result and I wonder if it can tell us something more general about these architectures. Despite the generality and flexibility of the approach, the experiments show it can also achieve competitive performance.

Weaknesses

With respect to the canonicalization method from [26], the proposed approach essentially averages over $N>1$ samples and, therefore, is $N$ times more expensive than canonicalization. Since this work is partially motivated by computational efficiency, I think this aspect has not been sufficiently discussed in the manuscript. Moreover, I imagine the number of samples chosen can play an important role on 1) the model's final performance, 2) the training dynamic, 3) the variance of the learned distributions and 4) the training time. I think this point also requires some additional discussion. I would encourage the authors to include a short experiment to study the effect of the sample size on (at least some of) these aspects.

Questions

Why is it necessary to assume the group is compact? line 96-97: "2) learn to produce low-variance samples $g \sim p_\omega(g|x)$ that can offer more stable gradients for the base function $f_\theta$ during training." I think this claim requires some additional comments to justify it. Why should the network learn to produce low-variance samples? On a related note, do you train the models with some low-variance regularization? what prevents the model from outputting always a uniform distribution? lines 114-117: this seems more a problem of parameterizing the group G itself, not its representations. The representation $\rho(g)$ can be computed in a differentiable way from $g$ when $G$ is a Lie group at least. Eq. 8: it is not really clear how you output a permutation matrix. You use the notation $P_g \approx \hat{P}_g$ but you don't explain what it means. The matrix $\hat{P}_g$ is a real valued matrix and doesn't belong to $(0, 1)^{n \times n}$. Do you apply rounding on it? If so, isn't it possible to just use the matrix $\hat{P}_g$? Is there any benefit in using the boolean $P_g$ instead? You compare your probabilistic method with the deterministic canonicalization method. It is not clear to me if the benefit is coming from the fact the backbone is averaged over $N>1$ samples or if the stochasticity of $p_\omega$ plays a role. Could you try a version of your model which outputs $N$ samples but deterministically (e.g. sample the noise variables only once before training and keep them fixed)? While this is already mentioned by the authors among the limitations as a future work, it would be interesting to understand if this kind of architectures enjoys the same data-efficiency property of other equivariant networks. Do the authors have any insights about the effect of the training set size on the ability of the model to learn the symmetrising distribution? The paper is missing a related works section. Moreover, I think an important part of the literature about equivariant networks using group-convolution is not cited.

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

4 excellent

Contribution

2 fair

Limitations

Some limitations are discussed in the supplementary material. I encourage the authors to move the main points mentioned there in the main paper. See also my comments under Weaknesses.

Reviewer GZXj5/10 · confidence 3/52023-07-07

Summary

The paper presents a method to learn to symmetrize a neural network using data. The method considers a learnable probability distribution over the group and uses group averaging to enforce (relaxed) equivariance w.r.t. the learned distribution.

Strengths

Over recent years there has been a growing interest in the community to learn relaxed symmetries (invariance and equivariance) from data. The paper addresses this important problem and provides a practical method that scales to interesting model classes and data problems (e.g. the use of Transformers, particle dynamics, and graphs is noteworthy).

Weaknesses

* Missed prior work There have been several approaches that aim to learn symmetrizing distributions (invariance or equivariance). Placing a probability distribution on the group over which a function is averaged and learning this distribution from data is not new. For instance, see approaches listed in survey Sec. 6 of [2]. * Proposed method already exists The paper misses this literature and it seems that the method has been published before (Equivariant Augerino, Sec. 3.1 of [1]). An argument could be made that although the Augerino paper describes the method for general groups, it only considers very simple affine groups in practice. This paper does consider more interesting group structures and domains (e.g. graphs). However, if the same method has been published before and is applied to new domains/data, this should at least be credited and discussed. This would make it more clear what the contributions of the work are. * Objective function A well-known difficulty with learning symmetry distribution is not necessarily describing a probability distribution on the group but rather the objective to learn the distribution over the group. Although the method claims to be probabilistic, it is not clear what objective is used to train the model (or whether inference is being performed). If regular maximum likelihood loss is used, it seems there is no encouragement in the objective that prevents the collapse of the symmetrization distribution into a delta peak at the identity. In such a case, it would result in not learning the symmetrization that generalises well. Prior works often consider more sophisticated losses, such as regularization [1], lower bounds or model selection, to prevent this. The paper seems to skip over this issue. [1] Benton, Gregory, et al. "Learning invariances in neural networks from training data." Advances in neural information processing systems 33 (2020): 17605-17616. [2] Rath, Matthias, and Alexandru Paul Condurache. "Boosting deep neural networks with geometrical prior knowledge: A survey." arXiv preprint arXiv:2006.16867 (2020).

Questions

a) How does the method differ from equivariant Augerino (Sec. 3.1 of [1])? b) What objective is used, or how is inference over the probability distribution being performed? c) If a maximum likelihood objective is used, what mechanism prevents the symmetrization from collapsing into the identity? Did authors notice such a collapse in experiments, or is this mitigated somehow? [1] Benton, Gregory, et al. "Learning invariances in neural networks from training data." Advances in neural information processing systems 33 (2020): 17605-17616.

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

- The paper seems to miss prior works that consider learning similar parameterizations over group structures. - The proposed method seems to be proposed already (equivariant Augerino, Sec. 3.1 of [1]) - It is not clear what objective is being used to train the model and what prevents collapse of the symmetrization distribution.

Reviewer wgQS6/10 · confidence 3/52023-07-10

Summary

The paper suggests a probabilistic approach to symmetrization, where an input conditional distribution is used to replace the untractable haar measure distribution of infinite groups. In turn, the paper identifies what are the conditions on the conditional distribution under which the symmetrization yields an equivariant function. The method is evaluated on several benchmarks involving permutation and rotation symmetries.

Strengths

Overall the paper is well-written and easy to follow. The formulation of the method seems to be adequate. The proposed idea is simple, and a natural extension of previous methods.

Weaknesses

Relation to previous works The paper in the introduction states that existing approaches focus on either manually deriving smaller subsets [1], or implementing a relaxed version of equivariance [2]. It is not clear what manually means in this context. In fact, [1] identifies a similar condition to eq(5) when the function p(g|x) is a delta function. I noticed section 2.4 relates to these previous works more thoroughly. More importantly, I feel [2] and the suggested approach are very similar, as [2] does not only suggest an approximate equivariant but rather suggests a learnable frame function (group subset), satisfying the equivariance constraint (similar to eq (5)). Thus, I feel this work should convince us of the necessity of the probabilistic model for learnable frames. To this end, I would have expected an ablation study testing “apples-to-apples” architectures where the only difference is the addition of the input noise term. It would also be beneficial to separate the test of averaging over S_n to O(3) in the experiment in table (2) and use symmetrization only to the O(3) symmetries with S_n equivariant networks. Missing discussion In fact, the network prediction in eq(4) is only approximated. Thus I assume, the loss terms used for training only estimate the true loss (gradients). How stable are these estimates? How well do they approximate the true loss?

Questions

I would appreciate any response from the authors regarding the weakness stated above.

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

Could not find a discussion on limitations

Reviewer Ry8Q6/10 · confidence 3/52023-07-10

Summary

This paper proposes a new symmetrization method for achieving equivariance for any base function. It absorbs previous methods with the same objective as special cases, including group averaging, frame averaging, and canonicalization. The method uses a learnable, equivariant map to generate the group representation necessary for achieving equivariance from an invariant, external noise variable, followed by necessary post-processing to ensure the validity of the group representation. The authors empirically demonstrate that the learned stochasticity in symmetrization leads to improved model performance than the previous methods, and showcase the benefits of general pre-training for equivariant models.

Strengths

* The proposed method is general, providing a unified perspective for previous methods and may lay the foundation for further theoretical exploration of the "optimal" conditional group distribution. * The presentation is clear and easy to read. * The finding of the benefit of non-symemtric pretraining for equivariant models seems interesting and new.

Weaknesses

* My primary concern is that the supriorty of the proposed method compared to the canonicalization method is not clear enough. - The advantages of the former over the latter seem to be more evident only in the first experiment, as the canonicalization method appears to have difficulties during optimization (although it is unknown whether this issue can be mitigated through some warm-up techniques). In the other two experiments, the performance of both methods is quite similar. - On the other hand, compared to the canonicalization method, the proposed method incurs more computational cost in practice, including the additional parameters and hyperparameters in the learnable module, as well as the sampling cost (the normalization method only requires a single "sample", whereas here we need 10-20 samples). + This paper lacks thorough empirical and theoretical analyses for the two claimed superiorities over previous methods. Specifically, - "Learn to collaborate with base function to maximize task performance": No sensitivity analysis is provided to demonstrate how this method adapts better to different base functions. - "learn to produce low-variance samples that can offer more stable gradients for the base function": No analysis of gradient magnitudes is provided to indicate its stability. * The limitation is not discusses, including the extra computational cost. * The post-process seems interesting but also laborious, as it requires different designs for each different (compact) groups.

Questions

* What's the computational cost of this method, including training and testing, compared to the canonicalization method? * Analyzing the sampling efficiency for estimating expectations would be beneficial, especially in comparison to the uniform distribution, as it is a major claim of the effectiveness of this method.

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

4 excellent

Presentation

3 good

Contribution

3 good

Limitations

The authors have not discussed the limitations.

Reviewer SgC26/10 · confidence 3/52023-07-14

Summary

This work presents a generic approach to symmetrize wide range of base models. Instead of relying on uniform average sampling, the approach introduces a trainable transformation to model the group equivariant distribution. The framework theoretically encompasses existing approaches such as group averaging, frame averaging, and canonical function approaches. Furthermore, the author provides empirical evidence demonstrating competitive performance.

Strengths

1. The proposed method demonstrates the ability to symmetrize architectures in a group-agnostic manner for general purposes, supported by sound theory. 2. The theoretical analysis presented in this work showcases the ability of the proposed approach to encompass interesting literature that assigns distributions on the compact group $G$. 3. The paper is written in a reader-friendly manner, making it easy to follow.

Weaknesses

1. A thorough discussion of the empirical and theoretical advantages and disadvantages of literatures, specifically group average, frame average, and canonicalization, would greatly enhance our understanding, given the shared problem setup with the proposed method. 2. I have reservations about the assertion made in Line 3 that >we use an arbitrary base model (such as an MLP or a transformer)... While the argument of this work suggests that the base model $f_{\theta}$ can be arbitrary, in the experiments, only MLP and transformer architectures were explored and evaluated. 3. Typically [1,2], showcasing improved performance on image classification problems is one of the common applications used to demonstrate the effectiveness of a newly proposed equivariant network. It is encouraged to include such experiments in order to comprehensively validate and demonstrate the efficacy of the proposed equivariant network. [1] S. Basu, P. Sattigeri, K. N. Ramamurthy, V. Chenthamarakshan, K. R. Varshney, L. R. Varshney, and P. Das. Equi-tuning: Group equivariant fine-tuning of pretrained models [2] S. Kaba, A. K. Mondal, Y. Zhang, Y. Bengio, and S. Ravanbakhsh. Equivariance with learned canonicalization functions

Questions

1. Is it feasible to explore the convergence of the probabilistic equivariant distribution $p_{\omega}$ and assess its dissimilarity to a uniform distribution? This analysis would provide insights into the nature of the mechanism. 2. What is the sensitivity of the proposed method to the architecture scales of MLP and transformer? Can the efficacy of the proposed method be maintained when the base models have a large number of parameters? 3. Is there a general framework or guideline for designing the $G$ equivariant neural network $q_{\omega}$? How significantly does the expressivity of $q_{\omega}$ impact the performance? 4. Why some experimental comparisons between [1-3] are missing? For instance, in ``3.1 Graph Isomorphism Learning with MLP'', what limits the comparison with [3]? [1] S. Basu, P. Sattigeri, K. N. Ramamurthy, V. Chenthamarakshan, K. R. Varshney, L. R. Varshney, and P. Das. Equi-tuning: Group equivariant fine-tuning of pretrained models [2] S. Kaba, A. K. Mondal, Y. Zhang, Y. Bengio, and S. Ravanbakhsh. Equivariance with learned canonicalization functions [3] O. Puny, M. Atzmon, E. J. Smith, I. Misra, A. Grover, H. Ben-Hamu, and Y. Lipman. Frame averaging for invariant and equivariant network design

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

The authors have discussed limitations and potential societal impact associated with this work.

Reviewer GZXj2023-08-14

I would like to thank the authors for their detailed reply and explanations. I have updated my rating.

Reviewer SdiQ2023-08-15

I thank the authors for the detailed answer and for quickly producing the suggested experiments. I maintain my (positive) score and recommend the authors to include these answers in the final version of the manuscript.

Authorsrebuttal2023-08-18

Further Response

Dear Reviewer SdiQ, Thank you again for the positive and constructive comments. We will indeed include the response in the final revision of the paper. Following common requests, we have conducted an in-depth empirical analysis of the convergence and sample complexity of the algorithm using the EXP-classify dataset (Sn invariance; Section 3.1). The results can be found in the latest common response: https://openreview.net/forum?id=phnN1eu5AX&noteId=ci75ubQbgK. We think the findings might be of your interest, in particular the analysis on how the sample size for estimation affects training (**Q4**). A notable finding is that smaller sample size for training regularizes the model towards low-variance estimation, which is **beneficial** in terms of inference time sample complexity. In addition, we think we have missed one of the questions in the initial rebuttal. We apologize for this, and would like to provide our response below. > Q. While this is already mentioned by the authors among the limitations as a future work, it would be interesting to understand if this kind of architectures enjoys the same data-efficiency property of other equivariant networks. Do the authors have any insights about the effect of the training set size on the ability of the model to learn the symmetrising distribution? A. For a given task, assuming underfitting is not a problem, we conjecture our method (and symmetrization approaches in general) would not be able to enjoy the same level of data efficiency as equivariant architectures when trained from random initialization. This is because the hypothesis space of symmetrized function would be larger in general (G equivariant universal, Theorem 2) than equivariant architectures. Based on the traditional notion of model flexibility and overfitting, symmetrized models would require more data to reach a generalizable solution. However, if we consider knowledge transfer from other domains through pre-trained base function, these transferred parameters (knowledge) would impose a strong prior on the hypothesis space; in this case, transferred knowledge could possibly improve the data efficiency of symmetrized models. The symmetrizing distribution p(g|x) here would serve as an aligner between the pretrained knowledge and target task. While we currently do not have a clear conjecture on the data efficiency of learning p(g|x) as an aligner, we plan to investigate it in future work. Sincerely, Authors of submission 12717

Reviewer SgC22023-08-17

Official Review by Reviewer SgC2

The authors have addressed all my questions and concerns well. Thus, I increased my evaluation.

Authorsrebuttal2023-08-18

Further Response

Dear Reviewer SgC2, Thank you again for the positive and constructive comments. Following common requests, we have conducted an in-depth empirical analysis of the convergence and sample complexity of the algorithm using the EXP-classify dataset (Sn invariance; Section 3.1). The results can be found in the latest common response: https://openreview.net/forum?id=phnN1eu5AX&noteId=ci75ubQbgK. We think the findings might be of your interest, as it includes results on convergence of p(g|x) in comparison to the uniform distribution Unif(G). Sincerely, Authors of submission 12717

Authorsrebuttal2023-08-18

Additional In-Depth Analysis on Convergence and Sample Sizes (1/2)

Dear Reviewers, We sincerely appreciate insightful and constructive comments from all reviewers. Following common requests (SgC2, Ry8Q, wgQS, SdiQ), we have conducted an in-depth empirical analysis of the convergence and sample complexity of our method using the EXP-classify dataset (Sn invariance; Section 3.1). We want to share our main findings that might be of general interest. Since we cannot share the figures directly in the discussion period, we used the tables to present the results. We will update our draft to reflect our new findings with better presentations. Let us recap that our algorithm uses an equivariant distribution p(g|x) and a base function f(x) to obtain a symmetrized function ϕ(x) = E_g[ g⋅f(g-1⋅x) ].       ---       **Q1. Does p(g|x) learn to produce low-variance samples compared to Unif(G)? (SgC2, Ry8Q, SdiQ)** Experiment: For every few training epochs, we sampled $N = 100$ permutation matrices $\mathbf{P}\_{g} \sim$ p(g|x) for each validation data $\mathbf{x}$ and obtained their average $\bar{\mathbf{P}}\_{\mathbf{x}} = \sum \mathbf{P}\_{g} / N$. Then, we measured the mean of row- and column-wise entropy of $\bar{\mathbf{P}}\_{\mathbf{x}}$ for quantitative analysis. If the distribution p(g|x) has learned low-variance samples, the entropy of $\bar{\mathbf{P}}\_{\mathbf{x}}$ is expected to be low. The results are summarized in Table A. Note that a similar analysis is visually presented in the Figure 1 of the main text. **Table A.** Entropy of $\bar{\mathbf{P}}\_{\mathbf{x}}$ averaged over validation dataset $\\{\mathbf{x}\\}$. | Train epoch | 100 | 500 | 1000 | 1500 | 2000 | | --- | --- | --- | --- | --- | --- | | p(g\|x) | 6.25 | 6.04 | 5.93 | 5.84 | 5.71 | | Unif(G) | 7.03 | 7.03 | 7.03 | 7.03 | 7.03 | Observation: The entropy reduces throughout training and is consistently smaller than that of Unif(G). **A1. In EXP-classify, p(g|x) learns to produce lower-variance samples than Unif(G).**       ---       **Q2. Does p(g|x) offer more stable gradients for the base function than Unif(G)? (Ry8Q, SdiQ)** Experiment: For every few training epochs, we computed the full gradient of the loss over the entire training dataset with respect to the parameters of the base function f(x). This averages out the variance from individual data point and provides the net direction of the gradient on the base function offered by p(g|x) or Unif(G). For a controlled comparison, we fixed the initialization of the base function to be identical in both settings. **Table B.** Norm of the full gradient w.r.t. the parameters of the base function trained with p(g|x) or Unif(G). | Train epoch | 100 | 500 | 1000 | 1500 | 2000 | | --- | --- | --- | --- | --- | --- | | p(g\|x) | 1.13 | 1.12 | 0.34 | 2.00 | 3.40 | | Unif(G) | 1.35e-2 | 4.27e-5 | 1.74e-4 | 2.44e-4 | 1.65e-4 | Observation: When we use p(g|x) for symmetrization, the net gradient for the base function has a consistently larger magnitude in contrast to Unif(G) that leads to near-zero net gradients. This indicates, for Unif(G), the gradients from each training data instances are oriented in a largely divergent manner and therefore the training signal is collectively not very informative, while using p(g|x) leads to more consistent gradient across training data instances, *i.e.*, it offers a more stable training signal. **A2. In EXP-classify, p(g|x) offers more stable gradients for the base function.**       ---       **Q3. Does p(g|x) offer better sample efficiency (lower variance estimation) than Unif(G)? (Ry8Q, SdiQ)** Experiment: We fixed a randomly initialized base function f(x) and computed the variance of the estimated output ϕ(x) and loss L(ϕ(x), y) with 100 repeated measurements for a range of inference sample sizes. **Table C.** Variance of estimated output ϕ(x) under p(g|x) and Unif(G). Scaled by 1e7 for readability. Lower variance for each inference sample size is boldfaced. | Inference sample size | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | p(g\|x) | **1.65** | **0.81** | **0.33** | **0.17** | **0.083** | **0.033** | **0.016** | **0.008** | | Unif(G) | 3.05 | 1.53 | 0.63 | 0.31 | 0.16 | 0.062 | 0.030 | 0.015 | **Table D.** Variance of estimated loss L(ϕ(x), y) under p(g|x) and Unif(G). Scaled by 1e7 for readability. Lower variance for each inference sample size is boldfaced. | Inference sample size | 1 | 2 | 5 | 10 | 20 | 50 | 100 | 200 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | p(g\|x) | **6.83** | **3.36** | **1.36** | **0.69** | **0.345** | **0.138** | **0.068** | **0.035** | | Unif(G) | 12.63 | 6.35 | 2.59 | 1.27 | 0.641 | 0.256 | 0.126 | 0.064 | Observation: For all measurements, p(g|x) consistently offers smaller variances of estimation than Unif(G). **A3. In EXP-classify, p(g|x) offers a better sample efficiency than Unif(G).**

Authorsrebuttal2023-08-18

Additional In-Depth Analysis on Convergence and Sample Sizes (2/2)

---   **Q4. How does the sample size affect training? (wgQS, SdiQ)** Experiment: We trained multiple models with same initialization and hyperparameters, only controlling the sample size g ~ p(g|x) for training from 1 to 50. We used early stopping based on val loss. **Table E.** Test accuracy with inference sample size 10. | Train sample size | 1 | 2 | 5 | 10 | 20 | 50 | | --- | --- | --- | --- | --- | --- | --- | | Accuracy | 98.5% | 100% | 100% | 100% | 96% | 96% | **Table F.** Entropy of $\bar{\mathbf{P}}\_{\mathbf{x}}$ averaged over validation dataset $\\{\mathbf{x}\\}$. Lower value indicates lower variance of p(g|x); please see Q1 for description. | Train sample size | 1 | 2 | 5 | 10 | 20 | 50 | | --- | --- | --- | --- | --- | --- | --- | | Entropy | 5.49 | **4.94** | 5.42 | 5.69 | 5.66 | 5.76 | **Table G.** Variance of estimated output ϕ(x). Lowest variance for each inference sample size is boldfaced. | Train sample size | 1 | 2 | 5 | 10 | 20 | 50 | | --- | --- | --- | --- | --- | --- | --- | | Inference sample size 1 | **4.26e-2** | 4.65e-2 | 7.45e-2 | 1.29e-1 | 1.37e-1 | 9.68e-2 | | Inference sample size 2 | 2.88e-2 | **1.62e-2** | 3.04e-2 | 8.37e-2 | 1.20e-1 | 1.12e-1 | | Inference sample size 5 | 1.36e-2 | **1.96e-3** | 3.11e-3 | 2.24e-2 | 4.98e-2 | 8.14e-2 | | Inference sample size 10 | 7.04e-3 | 2.97e-4 | **2.79e-4** | 4.16e-3 | 1.26e-2 | 3.54e-2 | | Inference sample size 20 | 3.63e-3 | 4.01e-5 | **6.67e-6** | 1.80e-4 | 1.23e-3 | 8.02e-3 | | Inference sample size 50 | 1.41e-3 | 7.70e-6 | **1.44e-6** | 1.58e-6 | 1.89e-5 | 1.89e-4 | | Inference sample size 100 | 7.04e-4 | 2.81e-6 | 3.23e-7 | **3.82e-8** | 5.31e-6 | 1.04e-5 | | Inference sample size 200 | 3.53e-4 | 1.13e-6 | 3.78e-8 | **1.48e-8** | 2.83e-6 | 5.12e-6 | **Table H.** Variance of estimated loss L(ϕ(x), y). Lowest variance for each inference sample size is boldfaced. | Train sample size | 1 | 2 | 5 | 10 | 20 | 50 | | --- | --- | --- | --- | --- | --- | --- | | Inference sample size 1 | **2.01e-1** | 6.97e-1 | 6.21 | 2.51e+01 | 7.18e+1 | 3.16e+2 | | Inference sample size 2 | 1.09e-1 | **1.03e-1** | 1.21 | 7.98 | 2.36e+1 | 1.35e+2 | | Inference sample size 5 | 3.65e-2 | **4.72e-3** | 5.24e-2 | 7.07e-1 | 3.48 | 3.05e+1 | | Inference sample size 10 | 1.67e-2 | **4.23e-4** | 6.49e-3 | 5.73e-2 | 4.22e-1 | 6.74 | | Inference sample size 20 | 7.69e-3 | **4.37e-5** | 1.38e-3 | 7.43e-4 | 4.17e-2 | 7.33e-1 | | Inference sample size 50 | 2.74e-3 | 8.07e-6 | 7.78e-4 | **2.76e-6** | 3.27e-3 | 1.17e-2 | | Inference sample size 100 | 1.30e-3 | 2.91e-6 | 3.30e-4 | **3.87e-8** | 1.48e-3 | 2.52e-3 | | Inference sample size 200 | 6.39e-4 | 1.16e-6 | 2.14e-4 | **1.50e-8** | 1.13e-3 | 1.26e-3 | **Table I.** Mean of estimated loss L(ϕ(x), y). Best model for each inference sample size is boldfaced. | Train sample size | 1 | 2 | 5 | 10 | 20 | 50 | | --- | --- | --- | --- | --- | --- | --- | | Inference sample size 1 | 0.492 | **0.276** | 0.852 | 2.23 | 3.48 | 7.21 | | Inference sample size 2 | 0.406 | **9.76e-2** | 0.363 | 1.04 | 1.99 | 5.15 | | Inference sample size 5 | 0.329 | **2.28e-2** | 9.22e-2 | 0.220 | 0.564 | 2.10 | | Inference sample size 10 | 0.298 | **9.54e-3** | 4.99e-2 | 4.49e-2 | 0.180 | 0.791 | | Inference sample size 20 | 0.281 | **5.43e-3** | 4.70e-2 | 4.34e-3 | 8.48e-2 | 0.211 | | Inference sample size 50 | 0.269 | 4.09e-3 | 4.13e-2 | **4.36e-4** | 4.44e-2 | 4.49e-2 | | Inference sample size 100 | 0.264 | 3.72e-3 | 4.24e-2 | **1.73e-4** | 4.22e-2 | 3.53e-2 | | Inference sample size 200 | 0.263 | 3.49e-3 | 4.03e-2 | **1.43e-4** | 4.29e-2 | 3.04e-2 | Observation 1: All models successfully achieve > 95% test accuracy when evaluated with 10 samples. Observation 2: Models trained with smaller sample sizes take more training iterations to converge. Observation 3: Models trained with smaller sample sizes tend to be more sample efficient. Their distribution p(g|x) tend to learn more low-variance permutations (**Table F**), and the models tend to learn more low-variance estimation of output ϕ(x) and loss L(ϕ(x), y) (**Tables G and H**). This indicates that small sample size serves as a regularizer that encourages lower variance of the estimator and thus a better sample efficiency. Interestingly, for training sample size 1, the task loss is high compared to all other models and sample sizes (**Table I**) while variance for inference sample size 1 is the lowest (**Tables G and H**). This suggests that training sample size 1 over-regularizes towards low-variance estimation. Observation 4: Unlike training, larger sample size for inference consistently benefits all models (**Tables G, H, and I**). **A4. In EXP-classify, the sample size for training introduces an important tradeoff. A small sample size takes more training iterations to converge, but serves as a regularizer that encourages lower variance of the estimator and thus a better sample efficiency. On the other hand, larger sample sizes are consistently better for inference.**

Authorsrebuttal2023-08-18

We are happy to provide more discussion and details

Again, we appreciate all reviewers for positive and constructive feedbacks. We believe that the new findings, especially the analysis of the group distribution variance and sample complexity, will make our paper more solid. We are happy to provide more discussion and details on the analysis upon request. We will include all the above results in a more organized form (plots and visualizations) in the final version of the paper.

Authorsrebuttal2023-08-18

Further Response

Dear Reviewer Ry8Q, Thank you again for the insightful and constructive comments. Following common requests, we have conducted an in-depth empirical analysis of the convergence and sample complexity of the algorithm using the EXP-classify dataset (Sn invariance; Section 3.1). The results can be found in the latest common response: https://openreview.net/forum?id=phnN1eu5AX&noteId=ci75ubQbgK. We think the findings might be of your interest, in particular the analysis on the stability of gradients (**Q2**) and sample complexity in comparison to the uniform distribution (**Q1 and Q3**). Sincerely, Authors of submission 12717

Authorsrebuttal2023-08-18

Further Response

Dear Reviewer wgQS, Thank you again for the insightful and constructive comments. Following common requests, we have conducted an in-depth empirical analysis of the convergence and sample complexity of the algorithm using the EXP-classify dataset (Sn invariance; Section 3.1). The results can be found in the latest common response: https://openreview.net/forum?id=phnN1eu5AX&noteId=ci75ubQbgK. We think the findings might be of your interest, in particular the analysis on how the sample size for estimation affects training (**Q4**). A particularly interesting finding is that smaller sample size for training regularizes the model towards low-variance estimation. This supplements our previous response on sampling-based loss, and provides some understanding of the side effect induced by optimizing the sampling-based upper-bound to the true objective. Sincerely, Authors of submission 12717

Reviewer wgQS2023-08-21

rebuttal

I thank the authors for a detailed rebuttal. The rebuttal addressed my concerns, I will raise my score to 6. Thank you.

Program Chairsdecision2023-09-21

Decision

Accept (spotlight)

© 2026 NYSGPT2525 LLC