Summary
The paper proposes Universal Neural Functionals (UNFs), which are models that process the weights of other neural networks. UNFs are equivariant to permutation symmetries of neurons and applicable to general architectures. The authors formalize neural network weights as sets of tensors, and develop an algorithm that constructs maximally expressive equivariant linear layers for processing any collection of tensors given a description of their permutation symmetries. The resulting UNFs outperforms StatNN, a baseline that uses statistical features, on an RNN generalization prediction task. Additionally, UNFs improves over several other architectures on learning optimizers for various image classifiers and language models.
Strengths
- UNF has the appealing property of being applicable to general architectures. Plus, the code appears easy to use on custom neural networks. This work is thus likely to be useful for the deep learning community.
- The algorithm that computes maximally expressive equivariant linear layers for a set of tensors is a significant theoretical contribution.
- Connection to past work is discussed well throughout the paper.
- The paper is generally clearly written and well organized. The examples in Section 2 and 3 are particularly helpful in showing the wide range of architectures UNFs are applicable on and in helping readers understand the concept of valid partitions.
- Both experiments uses datasets with decent size compared with related works and demonstrates promising performance of UNFs.
Weaknesses
- Despite the claims in the abstract and conclusion, there has been other work, most notably Lim et al. 2023, that developed permutational equivariant weight-space models applicable to general architectures. This unfortunately weakens the novelty of this paper. The narrative might need to be modified to emphasize other contributions, which are still significant, such as constructing maximally expressive equivariant linear layers and promising results for learned optimizers.
- I find Section 3 a bit difficult to follow. Part of the reason could be tensor indices are inherently complicated. However, it would be helpful if the authors could provide intuition along with stating results. For example, why do valid partitions produce a basis and other partitions do not?
- It is not clear whether the proposed architecture scales well, since the number of valid partitions can be very large especially when many indices permute simultaneously or there are many layers.
- In both experiments, the proposed method is not compared to the most recent permutation equivariant architectures (Zhang et al. 2023, Kofinas et al. 2024, Lim et al. 2023). These papers are highly relevant, as they solve the same category of problems (processing or generating neural network weights) and feature similar advantages (being permutational equivariant, and Lim et al. 2023 also has the ability to process arbitrary weight spaces). Additionally, they have been published on line more than two months before NeurIPS’s deadline so are not generally considered contemporaneous.
Questions
- Among the many applications of weight-space networks, how did the authors decide on the two tasks to conduct experiment on?
- In line 316, it is stated that UNF makes the stronger assumption than NFN that all tensor dimensions are permutable, but line 273-276 seem to suggest the UNF respect fewer symmetries. Could the authors clarify?
**Minor issues / suggestions**
- $\sigma_{d^l_i}$ and $\sigma$ in line 67 are not defined.
- In Equation (1) and the two lines after it, $\sigma$ depends on $l$, unless one assumes all weights have the same dimensions. This dependency should be made more explicit.
- In Example 2.1, is the set of weight matrices $\{W_1, …, W_{L}\}$? If so, shouldn’t the indices of $S$ and $\sigma$ range from 1 to $L$ instead of $L+1$?
- Since Theorem 3.1 uses basis for linear equivariant maps, $\mathbb{L}$ defined in line 119 should be the space of linear equivariant maps, instead of the space of equivariant maps.
- Line 165 typo “a a character”
- What is $W$ on the right side of the equation in line 172?
- Line 538 “next section” -> previous section
Limitations
The authors include an informative limitation section that points out challenges and future directions.