Designing Non-Linear Activation Functions for Equivariant Networks

90 concepts57 papers1 proposal

In geometric deep learning, equivariance ensures that if an input transforms (e.g., rotates, translates, or scales), its internal representations transform in an identical, predictable manner. While constructing linear layers—such as group convolutions—that satisfy this property is well-understood, introducing non-linearities remains a fundamental challenge. Standard point-wise activation functions like ReLU or Sigmoid operate independently on individual scalar components of a vector. Doing so alters the relative proportions of those components, distorting the vector's direction and breaking geometric consistency.

As shown by Marco Pacini et al. in A Characterization Theorem for Equivariant Networks with Point-wise Activations, this creates a mathematical "barrier": for continuous symmetries like rotations ($SO(n)$), applying standard point-wise activations forces the network to become entirely invariant (discarding orientation) rather than equivariant (tracking orientation). Similarly, Sébastien Herbreteau et al. in Normalization-Equivariant Neural Networks with Application to Image Denoising demonstrate that clipping values at zero via ReLU prevents networks from reacting predictably to basic linear transformations like shifting or scaling. To build deep, expressive architectures without destroying geometric structure, researchers must design specialized, symmetry-preserving non-linearities.

Scalar Gating: Separating Magnitude from Direction

The most common way to introduce non-linearity without altering a vector's orientation is to decouple its magnitude from its direction. Because a vector's magnitude or inner product is an invariant scalar under transformations like rotation, we can safely apply any standard non-linear function to this scalar component. The resulting non-linear value can then act as a "gate" or scaling factor for the original equivariant vector.

As Lingshen He et al. note in Efficient Equivariant Network, equivariance does not strictly require linear operations; a layer remains equivariant as long as the interaction between points depends only on their relative positions in the symmetry group. This principle allows invariant scalars to dynamically modulate higher-order tensors.

For instance, Tianlang Chen et al. in GeoMFormer: A General Architecture for Geometric Molecular Representation Learning and Yi-Lun Liao et al. in Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphs utilize scalar-based gating to modulate non-scalar features in molecular graphs, bypassing the heavy computational overhead of traditional tensor products.

This gating strategy scales across diverse architectures:

Norm-Preserving and Phase-Based Transformations

Instead of using a separate gating stream, another approach applies non-linearities directly to the norm of the feature vector itself. By scaling the entire vector based on a non-linear function of its magnitude, the network alters the signal strength while leaving the spatial direction completely untouched.

Wen Shen et al. leverage this strategy in 3D-Rotation-Equivariant Quaternion Neural Networks, redesigning activations to operate exclusively on the norm of multi-dimensional features to ensure spatial directionality remains unwarped.

When working in the frequency domain, such as with Steerable Transformers for Volumetric Data, non-linear functions and normalization layers are applied strictly to the magnitude of feature vectors. This preserves the phase of the Fourier coefficients, which encodes crucial directional information. On a broader geometric scale, Eduardo Vera et al. introduce global activation functions in ConformalLayers: A non-linear sequential neural network with associative layers that operate on the norm of entire feature maps, maintaining mathematical associativity and enabling deep layer fusion.

Group Sampling and Canonical Frames

Rather than modifying the activation function to fit the geometric space, one can transform the geometric space to fit standard activation functions. This is achieved by mapping (or "lifting") features onto the symmetry group itself, applying standard point-wise activations, and then projecting back.

Gabriele Cesa et al. formalize this in A Program to Build E(N)-Equivariant Steerable CNNs by sampling steerable features onto the discrete elements of a symmetry group, processing them with efficient activations like ReLU, and returning to the steerable representation. Similarly, Pim De Haan et al. in Gauge Equivariant Mesh CNNs: Anisotropic convolutions on geometric graphs use Fourier transforms to transition vector fields on meshes into spaces where they can be processed safely without destroying rotational properties.

Alternatively, Shitong Luo et al. decouple local geometry from global pose in Equivariant Point Cloud Analysis via Learning Orientations for Message Passing by projecting neighbor coordinates into canonical local frames. Once aligned to these local coordinate systems, arbitrary non-linear functions can be applied freely without breaking global equivariance.

Algebraic Constraints: Odd Functions and Bilinear Forms

For certain types of data structures and discrete symmetries, point-wise activations can be used directly, provided they satisfy strict algebraic constraints. The most prominent example is the requirement for odd functions ($f(-x) = -f(x)$), such as Tanh.

Jeffrey Wood in Neural networks for invariant pattern recognition established that maintaining mathematical invariance under inversion requires restricting activations to odd functions. This constraint is critical in biological and topological domains: Vincent Mallet et al. show in Reverse-Complement Equivariant Networks for DNA Sequences that reverse-complement symmetry in DNA sequences strictly limits admissible point-wise activations to odd functions to prevent breaking structural consistency.

In topological data processing, Maosheng Yang et al. in Simplicial Convolutional Neural Networks and T Mitchell Roddenberry et al. in Principled Simplicial Neural Networks for Trajectory Prediction demonstrate that orientation equivariance in simplicial complexes requires odd activations like Tanh. Using non-odd functions like ReLU forces the network to learn patterns tied to arbitrary edge indexing rather than true geometric flow, causing severe performance degradation when orientations are randomized.

Standard Point-wise (e.g., ReLU)  --> Breaks Vector Direction / Orientation
Odd Point-wise (e.g., Tanh)       --> Preserves Inversion / Sign Symmetries
Scalar Gating / Norm-Scaling     --> Preserves Continuous Rotational Symmetries (SO(n))
Group Lifting / Canonical Frames  --> Allows Arbitrary Non-linearities via Space Transformation

For abstract continuous spaces like Lie algebras, where standard scalar activations fail completely, Tzu-Yuan Lin et al. introduce invariant bilinear activations in Lie Neurons: Adjoint-Equivariant Neural Networks for Semisimple Lie Algebras. By using the Killing form as an invariant metric, they enable vector-valued thresholding that respects the algebraic structure of the input space.

To combine vector features non-linearly in physics applications, Alexander Bogatskiy et al. in Lorentz Group Equivariant Neural Network for Particle Physics utilize tensor products followed by Clebsch-Gordan decompositions, while Shi Yin et al. in A Framework of SO(3)-equivariant Non-linear Representation Learning and its Application to Electronic-Structure Hamiltonian Prediction generate equivariant features by taking the gradient of an invariant scalar function.

Theoretical Implications on Layerwise Structure

The choice of activation function does not just preserve symmetry; it actively shapes how networks learn it. Vahid Shahverdi et al. mathematically prove in Identifiable Equivariant Networks are Layerwise Equivariant that end-to-end network equivariance necessitates layerwise equivariance. Crucially, they show that smooth, highly identifiable activations like Tanh provide stronger structural guarantees, forcing internal layers to develop clear symmetric filters compared to piecewise linear functions like ReLU.

However, extending these rigorous guarantees to non-commutative algebraic structures, such as compact matrix quantum groups, remains an active theoretical frontier. As noted by Edward Pearce-Crump in Compact Matrix Quantum Group Equivariant Neural Networks, while linear layers can be rigorously defined for quantum groups, characterizing non-linear activation functions that maintain symmetry across the entire network depth without breaking non-commutative algebraic structures remains an open challenge.

Key Foundational Work

Steerable CNNs (2017) — contributed 2 concept elements to this direction.
Neural networks for invariant pattern recognition (1995) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_equivariant_activation_functions_9924882c,
  title = {equivariant activation functions},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/equivariant-activation-functions/rdr_9924882cea364029a0ed6eecd55644be},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_equivariant_activation_functions_9924882c_v1,
  title = {equivariant activation functions},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/equivariant-activation-functions/rdr_9924882cea364029a0ed6eecd55644be/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake