Degree-weighted max-product walk kernels for bounded-degree layouts #
In a saturated compression of a multigraph of maximum degree d ≥ 3, the quotient core H is not
necessarily d-regular: vertex degrees D_u = |incidenceSet u| (counted with multiplicity) range
over 3 ≤ D_u ≤ d, subject to the saturation condition D_u + D_v ≥ d + 3 across every edge
e = (u, v). Using a uniform decay ratio q = 1 / √(d - 1) penalises degree-three endpoints as
if they had degree d, losing both on the core-size bound 3 d / (2 d - 3) and on mixed-degree
edges.
Give each edge (u, v) of H.toSimpleGraph the degree-weighted step factor
q_{uv} = θ / (√(√(D_u - 1)) · √(√(D_v - 1))) = θ · ((D_u - 1)(D_v - 1)) ^ (-1/4)
for θ ∈ [0, 1), and define the truncated max-product walk kernel weightedKernelRow at radius
R by Bellman–Ford iteration up to R steps. Because q_{uv} < 1 when D_u, D_v ≥ 3, strictly
improving walks never backtrack, and backward induction bounds the truncation-boundary square sum
at u by (D_u / 2) θ ^ (2 R) ≤ (d / 2) θ ^ (2 R), even in the presence of parallel edges
((H.toSimpleGraph.neighborSet w).ncard ≤ D_w). Consequently, adjacent unit rows satisfy
2 q_{uv} / (1 + q_{uv} ^ 2) - (d / 2) θ ^ (2 R) ≤ ⟪unitWeightedKernelRow u, unitWeightedKernelRow v⟫
(le_inner_unitWeightedKernelRow). Summing Sheppard's crossing bound [She99] over all
edges of H with multiplicity and comparing edge-by-edge against 1 - 1 / D_u - 1 / D_v via the
multigraph handshake identity ∑_e (1 - 1 / D_u - 1 / D_v) = |E(H)| - |V(H)| ≤ β₁(G) - 1 yields
LayoutBound d A whenever arccos(ρ_{d₁, d₂}) / π ≤ A (1 - 1 / d₁ - 1 / d₂) holds on all valid
endpoint degree pairs 3 ≤ d₁ ≤ d₂ ≤ d with d₁ + d₂ ≥ d + 3 (layoutBound_of_weightedKernel).
Closed-form layout bounds #
d = 4(r = 3):LayoutBound 4 (1 / 3)(layoutBound_four_one_third), improvingA_4from2 / 5to1 / 3((4, 4)is tight atarccos(√3 / 2) / π = 1 / 6;(3, 4)has slack).d = 5(r = 4):LayoutBound 5 (5 / 3 * arccos (4 / 5) / π)(layoutBound_five_weighted,≈ 0.341388, down from≈ 0.43893).d = 6(r = 5):LayoutBound 6 (3 / 2 * arccos (√5 / 3) / π)(layoutBound_six_weighted,≈ 0.348419, down from≈ 0.46456).
Main definitions #
Cslib.Circuits.Frontier.WeightedKernel.edgeWeight: degree-weighted step factorq_{uv}.Cslib.Circuits.Frontier.WeightedKernel.weightedKernelRow,Cslib.Circuits.Frontier.WeightedKernel.unitWeightedKernelRow: truncated max-product walk kernel row and its unit normalization.Cslib.Circuits.Frontier.WeightedKernel.pairWeight,Cslib.Circuits.Frontier.WeightedKernel.pairCorrelation: limitingθ = 1weight and adjacent correlation for endpoint degrees(d₁, d₂).Cslib.Circuits.Frontier.WeightedKernel.fiveCoefficient,Cslib.Circuits.Frontier.WeightedKernel.sixCoefficient: exact layout coefficients ford = 5, 6.
Main results #
Cslib.Circuits.Frontier.WeightedKernel.le_inner_weightedKernelRow,Cslib.Circuits.Frontier.WeightedKernel.le_inner_unitWeightedKernelRow: adjacent inner-product lower bounds.Cslib.Circuits.Frontier.WeightedKernel.sum_one_sub_inv_deg_eq: multigraph cycle-excess handshake.Cslib.Circuits.Frontier.WeightedKernel.pairCorrelation_self: diagonal specialization toCslib.Circuits.Frontier.Gaussian.vertexCorrelation.Cslib.Circuits.Frontier.layoutBound_of_weightedKernel: general degree-pair criterion forLayoutBound d A.Cslib.Circuits.Frontier.layoutBound_four_one_third:LayoutBound 4 (1 / 3).Cslib.Circuits.Frontier.layoutBound_five_weighted:LayoutBound 5 fiveCoefficient.Cslib.Circuits.Frontier.layoutBound_six_weighted:LayoutBound 6 sixCoefficient.
References #
Finite maximum with zero floor #
Degree-weighted max-product walk kernel #
The edge weight is symmetric in its endpoints.
The edge weight is nonnegative when θ ≥ 0.
The truncated degree-weighted max-product walk kernel row of v at radius R.
The unit degree-weighted kernel row of v: weightedKernelRow divided by its norm.
Every entry of weightedKernelRow is nonnegative.
At v itself, weightedKernelRow equals 1 whenever 0 ≤ θ ≤ 1 and degrees are at least
three.
Outside the closed ball of radius R around v, weightedKernelRow vanishes.
Pointwise adjacent defect #
Norms and backward-induction sum bounds #
Every weightedKernelRow has Euclidean norm at least 1.
Coordinate z of unitWeightedKernelRow is weightedKernelRow divided by its norm.
Unit weighted kernel rows have norm 1.
Outside the closed ball of radius R around v, unitWeightedKernelRow vanishes.
Correlation of adjacent degree-weighted kernel rows. For R ≥ 1 and θ ∈ [0, 1), if
every vertex has degree 3 ≤ deg w ≤ d bounding its simple neighbor count, adjacent kernel rows
satisfy κ (‖k_u‖ ^ 2 + ‖k_v‖ ^ 2) / 2 - (d / 2) (θ ^ 2) ^ R ≤ ⟪k_u, k_v⟫ with
κ = 2 q_{uv} / (1 + q_{uv} ^ 2).
Correlation of adjacent unit degree-weighted kernel rows. Under the hypotheses of
le_inner_weightedKernelRow, the normalized unit rows of adjacent vertices u ~ v satisfy
2 q_{uv} / (1 + q_{uv} ^ 2) - (d / 2) (θ ^ 2) ^ R ≤ ⟪unitWeightedKernelRow u, unitWeightedKernelRow v⟫.
Multigraph handshake and limiting degree-pair correlations #
Multigraph cycle-excess handshake. In a finite loopless multigraph where every vertex has
at least one incident edge, ∑_e (1 - 1 / D_{src e} - 1 / D_{tgt e}) = |E| - |V|.
Limiting step factor 1 / (√(√(d₁ - 1)) * √(√(d₂ - 1))) at θ = 1 for endpoint degrees
(d₁, d₂).
Limiting adjacent unit-row correlation 2 q / (1 + q ^ 2) at θ = 1 for endpoint degrees
(d₁, d₂).
pairCorrelation is symmetric in (d₁, d₂).
General degree-pair layout theorem #
Degree-weighted max-product walk kernel layout bound. For d ≥ 3 and A ≥ 0, if every
degree pair (d₁, d₂) with 3 ≤ d₁ ≤ d₂ ≤ d and d + 3 ≤ d₁ + d₂ satisfies
arccos (pairCorrelation d₁ d₂) / π ≤ A (1 - 1 / d₁ - 1 / d₂), then LayoutBound d A holds.
Closed-form rational and trigonometric helpers for d = 4, 5, 6 #
Diagonal evaluation: pairCorrelation d d = Gaussian.vertexCorrelation d for d ≥ 1.
At (4, 4), pairCorrelation 4 4 = √3 / 2 = cos (π / 6).
At (5, 5), pairCorrelation 5 5 = 4 / 5.
At (6, 6), pairCorrelation 6 6 = √5 / 3.
The exact degree-five layout coefficient (5 / 3) arccos (4 / 5) / π ≈ 0.341388.
fiveCoefficient is strictly positive.
Closed-form circuit lower-bound coefficient 1 + 1 / fiveCoefficient.
Rational lower bound 3929 / 1000 ≤ 1 + 3 π / (5 arccos (4 / 5)) ≈ 3.929219.
The exact degree-six layout coefficient (3 / 2) arccos (√5 / 3) / π ≈ 0.348419.
sixCoefficient is strictly positive.
Closed-form circuit lower-bound coefficient 1 + 1 / sixCoefficient.
Closed-form LayoutBound instances for maximum degrees 4, 5, and 6 #
Degree-four layout bound 1 / 3. Connected loopless multigraphs of maximum degree four
have layouts of width (1 / 3 + o(1)) β₁ + o(|V|): (4, 4) edges meet 1 / 3 with equality and
(3, 4) edges have strictly smaller normalized crossing probability.
Degree-five weighted layout bound. Connected loopless multigraphs of maximum degree five
have layouts of width (fiveCoefficient + o(1)) β₁ + o(|V|), where
fiveCoefficient = (5 / 3) arccos (4 / 5) / π ≈ 0.341388.
Degree-six weighted layout bound. Connected loopless multigraphs of maximum degree six
have layouts of width (sixCoefficient + o(1)) β₁ + o(|V|), where
sixCoefficient = (3 / 2) arccos (√5 / 3) / π ≈ 0.348419.