NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Functional Equivalence and Path Connectivity of Reducible Hyperbolic Tangent Networks

Matthew Farrugia-Roberts

While we often conceptualize a neural network's weights as a single point in a high-dimensional space, many different weight configurations actually produce the exact same mathematical function. This paper explores the "hidden" geometry of these functionally equivalent regions in neural network parameter spaces. The authors provide a complete algorithmic characterization of "reducible" networks—those with redundant hidden units—and prove that all parameters implementing the same function are connected by surprisingly simple, piecewise-linear paths. Notably, if a network has a majority of redundant units, any two equivalent parameters are at most seven straight-line segments apart.

The Problem: Reducible vs. Irreducible Networks

In deep learning, the "loss landscape" is the complex terrain our optimization algorithms (like Stochastic Gradient Descent) must navigate. This terrain is fundamentally shaped by the relationship between network parameters (weights) and the input-output functions they implement.

It has long been known that in certain architectures, you can swap two hidden units or negate their weights without changing the network's overall output. For "irreducible" networks—where every neuron performs unique, necessary work—these symmetries are discrete and well-understood. Equivalent parameters act as isolated "islands" in the parameter space.

However, "reducible" networks—those where units are zeroed out, duplicated, or cancel each other out—exhibit much more complex equivalence classes. These reducible points are mathematically "singular" and are often ignored in theoretical proofs because they represent a "measure zero" subset of the parameter space. Yet, they are vital for understanding how networks compress, how singular learning theory applies to artificial intelligence, and why certain regions of the loss landscape appear "flat."

Methodology: Mapping the Equivalence Classes

The authors focus on a single-hidden-layer architecture utilizing the hyperbolic tangent ($\tanh$) nonlinearity. The core contributions of the paper are built upon three methodological pillars:

  1. Canonicalization (Algorithm 4.1): The authors introduce a formal algorithm that takes any network parameter and systematically "zeroes out" redundant units. It merges duplicate units and removes units with zero influence until it reaches a unique, "canonical" representative of that specific mathematical function.
  2. Manifold Inversion: By "inverting" the canonicalization process, the paper characterizes the full functional equivalence class as a union of simple parameter manifolds.
  3. Path Construction: To prove connectivity, the authors describe "blank-exchange maneuvers." If a network has a "blank" (zeroed) unit, the weights of a functional unit can be "moved" into that blank space through a series of linear interpolations without ever changing the network's overall output.
Geometric representations of path maneuvers in the parameter space, illustrating how weights can be continuously transformed without altering the network's output.
(Note: This theoretical work relies entirely on mathematical proofs and algorithmic analysis; no empirical training on standard datasets like MNIST or ImageNet was performed.)

Key Findings: Connectivity and the "7-Segment" Rule

Unlike irreducible networks, where equivalent parameters are isolated, reducible networks form a connected web. You can slide from one configuration to another along "flat" paths where the loss remains completely unchanged.

  • Piecewise-Linear Connectivity (Theorem 6.1): The paper rigorously proves that for any reducible parameter, the set of all functionally equivalent parameters is piecewise-linear path-connected.
  • The "7-Segment" Rule (Theorem 6.3): One of the most striking findings is the diameter bound for highly reducible networks. If a network has at least as many redundant units as it has necessary ones, the "distance" between any two equivalent parameters is remarkably small. You can navigate from point A to point B in no more than seven linear steps.
  • Algorithmic Reduction as Compression: The canonicalization algorithm effectively performs a form of "lossless model compression," systematically stripping a network down to its minimal functional form.
  • Continuous Symmetry: The paper demonstrates that for reducible networks, functional equivalence isn't just about discretely shuffling units; it involves continuous transformations where units can "fade out" while others "fade in" to compensate.

While the main text focuses on single-input/single-output networks, the authors prove in the appendix that these connectivity results generalize to multi-dimensional inputs and outputs.

Limitations and Future Directions

While providing a rigorous mathematical foundation for understanding parameter space symmetries, the study has several limitations:

  • Architecture Constraints: The analysis is limited to single-hidden-layer networks with $\tanh$ activations. Modern deep learning relies on much deeper architectures and different nonlinearities (like ReLU). While the basic logic of redundancies (zero, constant, or proportional outputs) is generic, the specific symmetries of deeper networks are vastly more complex.
  • Exact vs. Approximate Equivalence: The paper strictly deals with exact functional equivalence. In practical applications, researchers are often more interested in approximate equivalence—parameters that produce nearly identical outputs—which presents a significantly harder mathematical challenge.
  • Loss Landscape Dynamics: The paper proves the existence of these flat, connected paths, but it does not explore how often training algorithms actually encounter these reducible regions, nor does it quantify how they affect the speed of convergence in practical, noisy training environments.

Summary updated

BibTeX
@inproceedings{farrugiaroberts2023functional,
  author = {Matthew Farrugia-Roberts},
  title = {{Functional Equivalence and Path Connectivity of Reducible Hyperbolic Tangent Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=ddKCg3OhGw},
}
Figure