Summary
This paper studies the problem of defining linear layers (and by extension, neural networks) that operate on neural network weight spaces. The core idea of this work is to take into account weight permutation symmetries, similar to Navon et al., ICML’23. In particular, the weights of certain feedforward architectures, such as MLPs and CNNs, can be permuted in several ways, without altering the function that the neural net represents. Therefore, the authors seek to define functions on the weights, that will be equivariant (or invariant) to these very symmetries.
To achieve this, they characterise the space of linear equivariant/invariant functions, following the framework of Ravanbakhsh et al., ICML’17, i.e. by identifying the parameters of these functions that should be shared. The authors propose two variants, one that is derived from the detailed characterisation of the weight permutation symmetries that arise from hidden neurons ($\text{NFN}_{\text{HNP}}$), and another one that assumes extra permutation symmetries in the input/output layer (that can be broken with positional encodings), and is, therefore, more parameter efficient.
Interestingly, these results easily carry over from MLPs to CNNs. The proposed layers are experimentally tested in a battery of tasks, such as predicting NN generalisation or sparsity masks for NN pruning, showing considerable improvement against baselines that do not take into account permutation symmetries, in addition to a heavily reduced parameter count.
Strengths
**Significance**: The proposed method has wide applicability, as correctly pointed out by the authors in the first paragraph of the introduction, and can potentially have a substantial impact on multiple neural-network-related problems (meta-learning, neural network editing, INR processing etc.).
**Presentation, clarity and reproducibility**: Although the concepts studied in this paper and the neural network architectures resulting from the study of the relevant symmetries, have a fair amount of complexity and may require a good understanding of the study of symmetries, the authors have made a very good effort to make their paper as accessible as possible. In particular, the illustrations, the nice summarisation of the core layer in Eq. (3) as well as the parameter counts in Table (1) and the accompanying explanations provide a good overview of the method that I believe will be appreciated by future readers. Moreover, the authors have formulated their layers in such a way that makes them easy to implement, which is also apparent from the pseudocode provided in the appendix.
**Experimental evidence**. The authors have tested their layers against a diverse set of problems and the reported results clearly motivate the need for equivariant/invariant layers and support all the design choices made.
**Extended scope**: A few months ago, another work by Navon et al., ICML’23 characterised the same family of equivariant/invariant layers as well (providing additional theoretical support). This is obviously not a problem, since the two works were developed in parallel. It is therefore nice to see that the present paper has a bonus, i.e. an extended scope compared to the aforementioned one since (1) the formulation seamlessly allows to extend the method to CNNs, and (2) the NP formulation allows for more practical implementation, a significant reduction in the number of parameters, and empirically strong performance. (3) This is probably subjective and a matter of taste, but I appreciated the alternative way to derive the layers (see sec B.3. in the appendix), using the parameter-sharing framework of Ravanbakhsh et al., ICML’17. I found it easier to follow and slightly more intuitive, which might be of independent technical interest in the future. Therefore, although the layers have been rediscovered, I feel that the contributions are still valuable.
Weaknesses
**Clarity of the proofs (appendix)**: I found the explanations in section B.4. a bit hard to follow. Personally, I am familiar with the work of Navon et al., so I could easily understand the concepts, but I fear a reader not versed in the topic, might get lost in this part. Since it is crucial in order to gain a deep understanding of the paper, I would recommend that the authors try to simplify some concepts (e.g. by giving more details for a particular sub-case).
**Related work**: I believe that the authors do not give enough credit to the work by Navon et al.. As I mentioned before, the two works are concurrent, and they apparently independently discovered the same core idea, but I think that the authors should be more upfront about this and mention this early on in the paper and cite Navon et al. more prominently.
Questions
**Experiments, baselines and implementation details**: Most of the following questions ask for clarifications and I do not consider them as weaknesses. However, I think a discussion is needed and it would be useful to include the answers to the below in the paper. In detail:
- **NP case**. What are the positional encodings that are used in the experimental section? If I understand correctly they are fixed (handcrafted). Have the authors tried learnable ones instead? What is the number of added parameters when using learnable positional encodings? How do the authors explain the fact that using positional encodings in NFN_NP performs better than NFN_HNP?
- **NFN_PT case**. Since this method performs well in the pruning mask prediction experiment, why didn’t the authors also include its performance in the rest of the experiments (e.g. generalisation and INR classification)?
- **Pruning**: Why did the authors use a generative model (CVAE) for the winning ticket experiment? Why not a deterministic predictor (a 0-1 classifier)? Have the authors tested this? How far are the generated sparsity masks from the ones that IMP yields? Why isn’t the performance of MLP and MLP_aug included in this table?
- In section 3.2, would it be possible for completeness to add some baselines that classify images and 3D shapes, using different representations instead of INRs, e.g. state-of-the-art results using image-based (CNNs) or point cloud-based classifiers? Could the authors comment on why the performance is still far from the one that the community has obtained by applying these baselines? This can be clearly observed in CIFAR-10. In addition, apart from the inr2vec baseline, it might be helpful to add the baseline from Dupont et al., ICML’22 (the “functa” representation), where INRs are represented as vectors of latent modulations.
- **NN editing**. In section 3.4., regarding the CIFAR dataset, the differences between the competing methods are not clear qualitatively. Could the authors comment on this?
- Is there any theoretically-backed advantage of using a combination of equivariant layers followed by an invariant one instead of using only invariant ones (when the ground-truth function is invariant)?
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
5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.
Limitations
- The authors have dedicated a paragraph to the limitations of their method. One thing that might be missing is a clarification (if I understand correctly) that NF layers can only be applied to the weights of neural nets that share the same architecture (fixed number of layers, fixed kernel size for CNNs). Note that L189-190 (“…which contains thousands of CNN weights trained on several datasets with varied hyperparameters”) seems contradictory to this. I think the phrase "varied hyperparameters" should be clarified to avoid confusion.
- Moreover, given that classifying INRs with NF-layers seems to still have room for improvement in order to reach the performance achieved by traditional neural nets that operate on raw representations, it might be useful to discuss the possible reasons for this more thoroughly (perhaps stronger inductive biases, taking into account other properties of the geometry of weight spaces, might be missing?)
- No foreseeable negative societal impact.