TRANSMISSION // 2611.27018v1
Why Integer Weights Change What Shallow ReLU Networks Can Compute
Source published
A mathematical preprint proves the least integer output multiplier for two-hidden-layer ReLU networks representing six-input maxima. For seven inputs, it narrows the answer to two or six but leaves the choice unresolved.

Returning the largest of several numbers is simple to describe. Representing it exactly with a shallow ReLU network can be more subtle when every weight must be an integer. Pengcheng Cheng’s preprint studies the smallest output scaling that makes such representations possible—and explains why the six- and seven-input cases have different answers so far.
A ReLU unit applies the function max(0, x). This paper asks a mathematical question about networks built from such units: What is the least positive integer multiplier needed for a network with two hidden layers to represent the maximum of several inputs exactly, when its network arrays must have integer entries? The output weights are included in that requirement.
The model has zero biases and allows any finite hidden-layer widths. The paper explains that biases do not change the existence question for these positively homogeneous target functions: they can be removed while retaining the weight matrices. The results concern exact equality for all inputs, not performance on a dataset.
Why integers change the problem
With real or rational coefficients, two hidden layers suffice for a broad class of continuous piecewise-linear functions. Integer coefficients impose a different arithmetic constraint. Clearing denominators can turn a rational construction into an integer one after scaling the output, but that alone does not identify the smallest possible scale.
To analyze the question, Cheng connects maxima with polytope support functions. A support function records the largest value of a linear measurement over a polytope; for a polytope with specified vertices, it is a maximum of linear functions. The paper uses support-function identities, including those built from lattice polytopes with integer vertices, to translate between geometric constructions and ReLU representations. Its cubical chains—formal sums of oriented cubes in integer directions—help track the coefficients in these identities. The paper also addresses lower-dimensional remainders, which matter when turning a geometric identity into a network with integer coefficients.
The finite parts of the argument come with exact certificates and verification programs. These check integer identities and finite-field calculations. The construction for six times the seven-input maximum uses an integral filling and a completion argument; the full weight arrays for that construction are not expanded in the paper text.
Six inputs: the minimum is established
For the maximum of six inputs, the least positive integer multiplier is two. The paper gives an integer-weight representation achieving that multiplier and rules out odd multipliers. Together, these results establish the minimum for the stated two-hidden-layer model.
Seven inputs: two possibilities remain
For seven inputs, the paper proves that a multiplier of six works and rules out odd multipliers. It therefore narrows the least multiplier to two or six. The unresolved issue is whether the factor of three is necessary. The preprint does not decide whether two works.
One exact calculation concerns a restricted geometric setting: the coordinate-facet complex of a six-dimensional simplex. For that complex, the paper computes a coning index of six over the integers and three over the localized ring Z[1/2], where division by powers of two is allowed. The calculation permits arbitrary integral directions within each coordinate facet. It is not a bound for unrestricted networks, and the paper explicitly cautions that it does not prove that the unrestricted seven-input multiplier must contain a factor of three.
A separate result constructs a finite character that distinguishes rational representability from representability over Z(3) in a specified dictionary. Here Z(3) consists of rational numbers whose denominators are not divisible by three. The dictionary includes two known constructions and all pairs of edge-disjoint three-edge forests; coefficients need not be symmetric. Within this dictionary, the paper also shows that any integer multiplier for the seven-input maximum must be divisible by three. These conclusions are limited to the stated dictionary: they do not establish an obstruction for every possible network representation.
The open question and its limits
The remaining seven-input question is reformulated as whether a particular homology class vanishes in a complex allowing unrestricted integral directions. Vanishing is equivalent to the multiplier being two; nonvanishing would imply six. The paper identifies this test but does not resolve it. Thus the six-input result is definitive, while the seven-input result is a bracket, not a final answer.
This is a mathematical preprint about exact representation under a specified model, not an empirical comparison of neural-network performance. Its certificates and verification programs accompany finite calculations, but preprints may not have undergone peer review. The restricted coordinate-facet and finite-dictionary results should not be mistaken for conclusions about all networks.
- ReLU networks
- integer weights
- maximum functions
- exact representation
- lattice polytopes
- arithmetic obstructions