Domination Mappings into the Hamming Ball: Existence, Constructions, and\n Algorithms

Yeow Meng Chee, Tuvi Etzion, Han Mao Kiah, Alexander Vardy

TL;DR

This paper introduces and analyzes "domination mappings," a new class of injective codes designed to manage both power consumption and heat in high-performance computer buses. The authors prove that for large systems, these specialized mappings exist whenever a standard mathematical injection is possible, and they provide a polynomial-time algorithm to find them for specific hardware configurations.

What Problem Does This Paper Address?

In high-performance computing, the "interconnects" (the buses that move data between chips) face two major physical hurdles: power consumption and heat.

  1. Power: Every time a wire transitions to a "1," it consumes power. Engineers limit this by ensuring the "Hamming weight" (the number of 1s) of a transmitted word stays below a threshold $w$.
  2. Heat: Specific wires can become "hot spots." To cool them down, the system needs to be able to "switch off" those specific wires (set them to 0) without losing the ability to transmit data.

Previously, "cooling codes" addressed these issues, but "domination mappings" offer a more structured approach. A domination mapping ensures that if you set a specific bit in your input to 0, it guarantees that certain corresponding wires on the bus also switch to 0. This allows a hardware controller to cool specific physical wires simply by manipulating the input data. Before this paper, the mathematical existence and construction of such mappings were largely unexplored.

Methods

The authors treat the problem through the lens of combinatorial graph theory and coding theory:

  • Bipartite Domination Graphs: They model the relationship between input positions ($m$) and output wires ($n$) as a bipartite graph. If an edge exists between input $i$ and output $j$, then setting input bit $x_i = 0$ forces output bit $y_j = 0$.
  • Compatibility Graphs: To prove existence, they construct a massive bipartite graph where one side is every possible $m$-bit input and the other side is every valid word in the Hamming ball (output). An edge exists if the input "dominates" the output according to the hardware constraints.
  • Hall’s Marriage Theorem: This classic graph theory tool is used to prove that a "perfect matching" exists in the compatibility graph, which translates to the existence of a valid domination mapping.
  • Linear Programming (LP) with Symmetry: To create a practical algorithm, the authors use the König-Egeváry theorem. Because the compatibility graph is exponentially large, they exploit hardware symmetries (specifically "equitable degree distributions") to collapse the LP into a version that can be solved in polynomial time.

Datasets

As a theoretical paper in mathematics and coding theory, it does not use external datasets. Instead, it relies on:

  • Mathematical Proofs: Deriving necessary and sufficient conditions.
  • Computer Searches: Used to find "perfect" domination mappings for specific small-scale parameters (e.g., the $(12, 90, 2)$ and $(11, 23, 3)$ cases).

Key Insights and Ideas

  • The "Trivial" is Sufficient (Eventually): One of the most surprising findings is Theorem 1. It states that for a sufficiently large input size ($m$), the only thing stopping a domination mapping from existing is the basic size of the "Hamming ball." If you have enough output words to fit your input words, a domination mapping will exist.
  • Monotonicity: The authors show that if a mapping exists for a certain number of wires or a certain power threshold, it also exists if you increase those resources.
  • Shortening: Much like standard error-correcting codes, domination mappings can be "shortened." By fixing certain input bits to zero, you can derive smaller, valid mappings from larger ones.
  • Equitable Distribution: The paper suggests that hardware is most efficient when the "responsibility" for cooling is spread evenly across input bits (equitable degree).

Key Results

  • Existence Bounds: The authors established that for any domination mapping, the number of wires $n$ must be at least $2m - w$.
  • Small Parameter Sufficiency: They proved that the necessary conditions for existence are also sufficient when the power threshold $w$ is 1, when $w=2$ (and $m$ is odd), or when the input size $m$ is relatively small ($m \le 3w$).
  • Asymptotic Existence: They proved that as the system scales, domination mappings become "guaranteed" as long as the output space is large enough to hold the input data.
  • Algorithmic Efficiency: They produced a polynomial-time algorithm that can determine if a mapping exists for "equitable" hardware graphs, bypassing the need to check every possible binary combination.

Limitations and Future Work

  • The "Sufficiently Large" Gap: While Theorem 1 proves existence for "large $m$," the paper doesn't calculate the exact value of $m_0(w)$ where this kicks in. Finding the specific threshold for different power levels remains an open challenge.
  • Non-Equitable Graphs: The polynomial-time algorithm is currently limited to equitable degree distributions. The authors conjecture that if any mapping exists, an equitable one must also exist, but this remains unproven (Conjecture 1).
  • Construction Complexity: While they proved existence, some of the explicit constructions (especially for $w=2$) are described as "far from trivial," suggesting that finding the most efficient mapping for a specific chip layout is still a difficult engineering task.

Summary updated

Abstract

The Hamming ball of radius $w$ in $\\{0,1\\}^n$ is the set ${\\cal B}(n,w)$ of\nall binary words of length $n$ and Hamming weight at most $w$. We consider\ninjective mappings $\\varphi: \\{0,1\\}^m \\to {\\cal B}(n,w)$ with the following\ndomination property: every position $j \\in [n]$ is dominated by some position\n$i \\in [m]$, in the sense that "switching off" position $i$ in $x \\in\n\\{0,1\\}^m$ necessarily switches off position $j$ in its image $\\varphi(x)$.\nThis property may be described more precisely in terms of a bipartite\n\\emph{domination graph} $G = ([m] \\cup [n], E)$ with no isolated vertices, for\nall $(i,j) \\in E$ and all $x \\in \\{0,1\\}^m$, we require that $x_i = 0$ implies\n$y_j = 0$, where $y = \\varphi(x)$. Although such domination mappings recently\nfound applications in the context of coding for high-performance interconnects,\nto the best of our knowledge, they were not previously studied.\n In this paper, we begin with simple necessary conditions for the existence of\nan $(m,n,w)$-domination mapping $\\varphi: \\{0,1\\}^m \\to {\\cal B}(n,w)$. We then\nprovide several explicit constructions of such mappings, which show that the\nnecessary conditions are also sufficient when $w=1$, when $w=2$ and $m$ is odd,\nor when $m \\le 3w$. One of our main results herein is a proof that the trivial\nnecessary condition $|{\\cal B}(n,w)| \\ge 2^m$ for the existence of an injection\nis, in fact, sufficient for the existence of an $(m,n,w)$-domination mapping\nwhenever $m$ is sufficiently large. We also present a polynomial-time algorithm\nthat, given any $m$, $n$, and $w$, determines whether an $(m,n,w)$-domination\nmapping exists for a domination graph with an equitable degree distribution.\n
BibTeX
@article{chee2023domination,
  author = {Yeow Meng Chee and Tuvi Etzion and Han Mao Kiah and Alexander Vardy},
  title = {{Domination Mappings into the Hamming Ball: Existence, Constructions, and\textbackslash\{\}n Algorithms}},
  journal = {Adv. Math. Commun.},
  year = {2023},
  doi = {10.3934/amc.2021036},
}

Loading related content...

Figure