Papers
Topics
Authors
Recent
Search
2000 character limit reached

Set-Based MLPs

Updated 12 February 2026
  • Set-based Multi-Layer Perceptrons are neural networks that process unordered data by enforcing permutation invariance or equivariance using group-theoretic principles.
  • They employ parameter-tying with regular and high-order representations to achieve universal approximation while mitigating hidden layer size complexity.
  • Sparse and motif-based optimizations enhance computational efficiency, enabling practical applications in set classification, point cloud analysis, and modular network design.

Set-based Multi-Layer Perceptrons (MLPs) are a class of neural network architectures designed to process and learn functions on unordered data—sets—by leveraging group-theoretic invariance or equivariance, especially under the symmetric group SnS_n. These models formalize the requirement that outputs should not change (invariant) or should change predictably (equivariant) under permutations of set elements. Recent advances prove the universality of such architectures, showing that appropriately constructed MLPs can approximate any continuous invariant or equivariant function, and relate these structures to algebraic manipulations and computational gains achievable via architectural innovations and sparsity.

1. Group Actions and Set Symmetry in MLPs

Let G=SnG=S_n denote the symmetric group over nn elements; its action on input vectors x∈Rnx\in\mathbb{R}^n is given by (g⋅x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}, or equivalently, x↦Agxx\mapsto A_g x with the permutation matrix Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}. In Set-based MLPs, hidden and output layers are endowed with compatible permutation representations—i.e., the hidden layer is indexed by HH and equipped with the group action h↦g⋅hh\mapsto g\cdot h via HgH_g, and the output layer (of size G=SnG=S_n0) has G=SnG=S_n1. These structures enforce linear layers G=SnG=S_n2 to be G=SnG=S_n3-equivariant if G=SnG=S_n4 for all G=SnG=S_n5, and G=SnG=S_n6-invariant if G=SnG=S_n7 (the identity), requiring G=SnG=S_n8 for all G=SnG=S_n9 (Ravanbakhsh, 2020).

2. Universal Approximation Theorems for Set-Based MLPs

For the design of universal set-invariant and set-equivariant approximators, two key theorems emerge:

  • Theorem A (Invariant universality): Consider a one-hidden-layer MLP with hidden layer size nn0, where the group acts regularly on hidden units (nn1). The network

nn2

with weights tied as nn3 and a shared bias nn4 is a universal nn5-invariant approximator.

  • Theorem B (Equivariant universality): Under the same construction but allowing general output action nn6,

nn7

with nn8 and nn9, yields a universal x∈Rnx\in\mathbb{R}^n0-equivariant approximator (Ravanbakhsh, 2020).

The implementation exploits parameter-tying driven by group action and exploits the regular representation for parameter efficiency. Universality is achieved as these configurations can uniformly approximate any continuous x∈Rnx\in\mathbb{R}^n1-invariant/equivariant function on compacta.

3. Hidden Layer Representation: Regular and High-Order Actions

While the regular representation yields a hidden-dimensional bottleneck of x∈Rnx\in\mathbb{R}^n2, high-order set actions enable more tractable models. Denoting x∈Rnx\in\mathbb{R}^n3 as the set of x∈Rnx\in\mathbb{R}^n4-tuples over x∈Rnx\in\mathbb{R}^n5, x∈Rnx\in\mathbb{R}^n6 acts diagonally. Proposition C states that a regular orbit exists for x∈Rnx\in\mathbb{R}^n7, reducing the necessary hidden dimensionality. Corollary D quantifies the bound as x∈Rnx\in\mathbb{R}^n8. For the pure set action, x∈Rnx\in\mathbb{R}^n9 suffices to guarantee a regular orbit, ensuring universality of the equivariant MLP (Ravanbakhsh, 2020). This insight allows for a polynomial- rather than factorial- sized hidden layer via (g⋅x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}0-tuples.

4. Algebraic Structures on Set-Based MLPs

A formal algebraic framework on the universe (g⋅x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}1 of layered MLPs enables systematic construction of complex networks from simpler components. Operations include:

  • Complementation: The complement (gâ‹…x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}2 inverts the output of a binary classifier.
  • Sum (Union): The sum (gâ‹…x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}3 produces an (gâ‹…x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}4-layer network representing the logical union.
  • Difference: Represented by (gâ‹…x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}5.
  • I-Product (Cartesian product): (gâ‹…x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}6 composes networks over direct-product domains.
  • O-Product (Output bundling): (gâ‹…x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}7 stacks outputs for multi-label or structured outputs.

These operations possess formal algebraic properties such as involution (complement is its own inverse), commutativity and associativity (sum, I-product), and existence of identity/inverse elements (Peng, 2017).

5. Concrete Architectures and Implementation Recipes

For (g⋅x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}8 using the regular representation, a minimal (g⋅x)i=xg−1(i)(g\cdot x)_i = x_{g^{-1}(i)}9-equivariant MLP comprises:

  1. Hidden units indexed by x↦Agxx\mapsto A_g x0
  2. Parameters: base input-weights x↦Agxx\mapsto A_g x1, bias x↦Agxx\mapsto A_g x2, base output-weights x↦Agxx\mapsto A_g x3
  3. Parameter-tying: x↦Agxx\mapsto A_g x4, x↦Agxx\mapsto A_g x5
  4. Forward pass:
    • x↦Agxx\mapsto A_g x6 for all x↦Agxx\mapsto A_g x7
    • x↦Agxx\mapsto A_g x8, where x↦Agxx\mapsto A_g x9 is the one-hot vector for Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}0
    • Output Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}1 transforms equivariantly: Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}2 when Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}3

Examples clarify both Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}4-equivariant (vector-valued, e.g., Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}5, Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}6) and Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}7-invariant (scalar-valued, pooling over all hidden units) cases (Ravanbakhsh, 2020).

6. Sparse and Motif-Based Optimization in Set-MLPs

Sparse Evolutionary Training (SET) introduces sparsity to MLPs through an Erdős–Rényi random initialization and periodic pruning/regrowth cycles. The motif-based structural optimization further imposes block-level structure by organizing neurons into blocks (motifs) and pruning/regrowing entire Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}8 submatrices, with block assignment guided by average weight magnitude. This approach reduces parameter count and computational cost by a factor of Ag∈{0,1}n×nA_g\in\{0,1\}^{n\times n}9 compared to standard SET, while maintaining high accuracy (empirical results: on Fashion-MNIST, motif size HH0 yields 43.3% training time reduction for a 3.7% accuracy drop) (Chen et al., 10 Jun 2025).

A concise comparison of SET and motif-based SET is shown below:

Method Param Savings Accuracy Penalty Training Time Savings
SET (m=1) Baseline None Baseline
Motif-SET (m=2) HH1 <4% 30–43%
Motif-SET (m=4) HH2 10% >60%

Motif-SET achieves best score-efficiency tradeoff for HH3 across tasks, with only minor loss in performance (Chen et al., 10 Jun 2025).

7. Applications, Limitations, and Outlook

Set-based MLPs are applicable to any domain with unordered or permutation-symmetric data, including set classification, point cloud analysis, and tasks demanding invariance or equivariance under data permutation. The algebraic approach enables construction of architectures tailored to data with decomposable or product structure, facilitating modular design and interpretation (Peng, 2017). Sparse and motif-based variants provide computationally efficient realizations suitable for high-dimensional feature selection and large-scale learning (Chen et al., 10 Jun 2025).

Limitations include exponential hidden-layer size in the worst case (full regular representation); however, high-order set representations and polynomially sized hidden layers mitigate this. The underlying algebra is specific to MLPs with fixed activations; extensions to convolutional or recurrent structures and the full range of group actions remain active research topics (Ravanbakhsh, 2020, Peng, 2017). Motif-based strategies open avenues for hardware-aware design and scaling, suggesting opportunities for further theoretical and empirical exploration (Chen et al., 10 Jun 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Set-Based Multi-Layer Perceptrons (MLPs).