Two-Hidden-Layer ReLU Networks Can Represent MAX Functions.

Zhimao Wang, Amitabh Basu· August 27, 2026 View original

Key takeaways

  • Two-hidden-layer ReLU networks can exactly represent MAX functions for N up to 8.
  • This advances the understanding of neural network architectural requirements.
  • The findings contribute to the theoretical foundations of deep learning.
  • More efficient network designs could emerge from these insights.

Who benefits

AI ResearchSoftware DevelopmentMachine Learning Engineering

Summary

Researchers have found exact representations of MAX functions for N=5, 6, 7, and 8 using two-hidden-layer ReLU neural networks, addressing a long-standing open problem in characterizing the minimum number of hidden layers for piecewise linear functions. This work contributes to understanding the architectural requirements for neural networks.

This research investigates the ability of two-hidden-layer ReLU neural networks to precisely represent the MAX function, which calculates the maximum value among N inputs. This problem is fundamental to understanding the architectural complexity required for neural networks to model continuous piecewise linear functions. Previously, the exact representation for MAX_N was an open question for N greater than 5. Through a meticulous computer-assisted search, the authors successfully derived two-hidden-layer ReLU representations for MAX functions with N values up to 8. Their method involves constructing rational linear combinations of terms, where inner maximum operations are handled by the first hidden layer and outer maximums of sums are handled by the second. This finding provides concrete examples that push the boundaries of what is known about network depth requirements. While similar independent work has recently shown representations for N up to 10, this paper offers alternative constructions and techniques that may be valuable for future theoretical advancements in neural network architecture.

Why it matters

Understanding the representational power of neural networks with specific architectures helps AI engineers and researchers design more efficient and theoretically sound models, potentially leading to more compact and performant deep learning systems.

How to implement this in your domain

  1. 1Review the mathematical constructions presented for MAX_N representations.
  2. 2Apply these insights to design more efficient network architectures for specific piecewise linear tasks.
  3. 3Investigate if these theoretical findings can be generalized to other complex functions.
  4. 4Consider how the number of hidden layers impacts model complexity and training efficiency in practical applications.

Original post by Zhimao Wang, Amitabh Basu

"arXiv:2608.25221v1 Announce Type: new Abstract: We study exact representations of $\mathrm{MAX}_N(x)=\max{x_1,\ldots,x_N}$ using two-hidden-layer ReLU neural networks. This problem has been studied in recent years in an attempt to characterize the exact number of hidden layers re…"

View on X

Originally posted by Zhimao Wang, Amitabh Basu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Research

AI Engineering & DevToolsAI Research

Resilient Decentralized Federated Learning for Wireless IoT Networks

This paper introduces QEF-GT-AdamW, a communication-efficient and outage-resilient algorithm for decentralized federated learning over wireless IoT networks. It combines gradient tracking, AdamW optimization, and dual-stream biased quantization with error feedback to improve robustness and convergence under heterogeneous data and unreliable communication.

Nguyen Van Thieu, Ti Ti Nguyen, Ons Aouedi, Vu Nguyen Ha, Symeon ChatzinotasAug 27, 2026
AI Engineering & DevToolsAI Research

FedQoS Predicts QoS Risk for Wireless Access Selection

This paper proposes FedQoS, a federated QoS-risk learning framework that predicts future QoS degradation for reliable access selection in heterogeneous indoor-outdoor wireless environments. It enables access nodes to locally learn from network logs and collaboratively train a global predictor without centralizing user data, significantly reducing QoS failure rates.

Nguyen Van Thieu, Ti Ti Nguyen, Ons Aouedi, Zerihun Huruy, Vu Nguyen Ha, Symeon ChatzinotasAug 27, 2026
AI ResearchAI Engineering & DevTools

Parametric Knowledge Graphs Show Storage-Retrieval Gap

This paper explores compiling knowledge graphs into LoRA adapters for parametric memory, finding that while adapters effectively store factual knowledge, retrieving it via semantic similarity or weight-space geometry is ineffective. This highlights a "storage-retrieval gap" and the need for new query-conditioned composition mechanisms.

Martino M. L. Pulici, Cuong Xuan Chu, Evgeny Kharlamov, Volker TrespAug 27, 2026