Papers › Monomial Matrix Group Equivariant Neural Functional Networks

Monomial Matrix Group Equivariant Neural Functional Networks

18 Sep 2024arXiv:2409.11697archive 2025-07-28

Hoang V. Tran, Thieu N. Vo, Tho H. Tran, An T. Nguyen, Tan M. Nguyen

Neural functional networks (NFNs) have recently gained significant attention due to their diverse applications, ranging from predicting network generalization and network editing to classifying implicit neural representation. Previous NFN designs often depend on permutation symmetries in neural networks' weights, which traditionally arise from the unordered arrangement of neurons in hidden layers. However, these designs do not take into account the weight scaling symmetries of $\ReLU$ networks, and the weight sign flipping symmetries of sin or $\Tanh$ networks. In this paper, we extend the study of the group action on the network weights from the group of permutation matrices to the group of monomial matrices by incorporating scaling/sign-flipping symmetries. Particularly, we encode these scaling/sign-flipping symmetries by designing our corresponding equivariant and invariant layers. We name our new family of NFNs the Monomial Matrix Group Equivariant Neural Functional Networks (Monomial-NFN). Because of the expansion of the symmetries, Monomial-NFN has much fewer independent trainable parameters compared to the baseline NFNs in the literature, thus enhancing the model's efficiency. Moreover, for fully connected and convolutional neural networks, we theoretically prove that all groups that leave these networks invariant while acting on their weight spaces are some subgroups of the monomial matrix group. We provide empirical evidence to demonstrate the advantages of our model over existing baselines, achieving competitive performance and efficiency.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.11697")

Code

Syntology Ran 26 of 36 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 6 ran · our draft was wrong; 20 ran with no contract checked.

By repository: official repository: 36 samples from 1 repository, 26 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mathematicalai-nus/monomial-nfn officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

36 samples harvested; 26 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran · our draft was wrong
20ran
10unverified

Licence: 0 of the 36 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mathematicalai-nus/monomial-nfn. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ArraySpec mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 8178c2d555c68f4b · report
ChannelDropout mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · ca1d055a4db1e6d9 · report
ChannelLayerNorm mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · a878a9a8b0f2ab3e · report
ChannelLinear mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 40353a86c31fca90 · report
EinsumLayer mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · c2e173b5a7b62641 · report
GaussianFourierFeatureTransform mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 48fe3dea36f9c89e · report
IOSinusoidalEncoding mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 26be31658f5e058b · report
NetworkSpec mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 470213dfc5111c7e · report
NormalizingModule mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 1db75947d6ce1f3b · report
ParamLayerNorm mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · dddb1bf40099aca9 · report
Pointwise mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · f6a29acf17a126b8 · report
SimpleLayerNorm mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 0b69c6dba62cba08 · report
TupleOp mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · metamorphic tier: deterministic MIT (permissive) · ce83a7db6de57bec · report
WeightSpaceFeatures mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran MIT (permissive) · 13dc87e6610b8b4e · report
compute_mean_std MathematicalAI-NUS/Monomial-NFN/experiments/data_utils.py official repository ran MIT (permissive) · 9870adcdf1003523 · report
fourier_encode mathematicalai-nus/monomial-nfn/nfn/layers/encoding.py official repository ran · our draft was wrong MIT (permissive) · 260b648862af987e · report
fourier_encode mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · our draft was wrong MIT (permissive) · 5febbdfeec3c83ff · report
get_npy_from_state_dict MathematicalAI-NUS/Monomial-NFN/experiments/data_utils.py official repository ran MIT (permissive) · b6b09a11976ae372 · report
get_state_dict_from_npy MathematicalAI-NUS/Monomial-NFN/experiments/data_utils.py official repository ran MIT (permissive) · 6b2124e8e2fb9a33 · report
params_to_state_dicts MathematicalAI-NUS/Monomial-NFN/nfn/common/data.py official repository ran MIT (permissive) · ef49a788da8dde77 · report
shape_wsfeat_symmetry mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · our draft was wrong MIT (permissive) · c0a8a100ad21973a · report
simple_attention mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · our draft was wrong MIT (permissive) · 1fd171846ef2ef36 · report
simple_attention MathematicalAI-NUS/Monomial-NFN/nfn/layers/layers.py official repository ran MIT (permissive) · dafd3ba91930d52f · report
state_dict_to_tensors MathematicalAI-NUS/Monomial-NFN/nfn/common/data.py official repository ran MIT (permissive) · d127d7b6cd98eaf2 · report
train_step mathematicalai-nus/monomial-nfn/experiments/classify_siren.py official repository ran · our draft was wrong MIT (permissive) · baf32f15bff306f8 · report
unshape_wsfeat_symmetry mathematicalai-nus/monomial-nfn/experiments/models.py official repository ran · our draft was wrong MIT (permissive) · 9fb54e896d3ed074 · report
HNPLinear mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 29a32995bc174d5a · report
HNPSLinear mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · c121ad9422f9a2f9 · report
HNPS_SirenLinear mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 5ba93c4071e28b32 · report
InvariantNFN_HNPS mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 3cf245773e40b81d · report
NPAttention mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 247366d488114b00 · report
NPLinear mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 32c44311b1642ecb · report
StatFeaturizer mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · e868a1e2f9647f67 · report
network_spec_from_wsfeat MathematicalAI-NUS/Monomial-NFN/nfn/common/data.py official repository unverified MIT (permissive) · bb77e575f8866574 · report
set_init_ mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 3e3e39920e776702 · report
set_init_einsum_ mathematicalai-nus/monomial-nfn/experiments/models.py official repository unverified MIT (permissive) · 8433cbb2dd1ac57c · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionNFNSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections