---
title: Discrete Min-Max Violation (DMMV) Overview
url: https://www.emergentmind.com/topics/discrete-min-max-violation-dmmv
type: topic
---

# Discrete Min-Max Violation (DMMV) Overview

Discrete Min-Max Violation (DMMV) denotes, in its most explicit recent formulation, a discrete optimization problem that seeks an assignment of discrete values to variables minimizing the largest constraint violation. Given a real matrix \(A \in \mathbb{R}^{m \times n}\), a real target vector \(b \in \mathbb{R}^m\), and a discrete feasible set \(\mathbb{V} \subset \mathbb{R}\), the task is to choose \(\mathbf{x} \in \mathbb{V}^n\) so as to minimize \(\|A\mathbf{x}-\mathbf{b}\|_\infty\), equivalently \(\max_{i=1,\ldots,m} |(A\mathbf{x}-\mathbf{b})_i|\) [2508.13437]. The literature also uses the label more broadly for discrete minimization of metric or ultrametric violations in \(\ell_0\), and for settings where discrete min-max behavior diverges from continuous or classical max-min principles; these uses are related by a common focus on worst-case or obstruction-type violations, but they are not identical definitions [2208.13920], [2106.04116], [2110.11210].

## 1. Definition and formal optimization model

In the context-free formulation, DMMV is specified by the triplet \((A,b,\mathbb{V})\) and asks for
\[
\min_{\mathbf{x} \in \mathbb{V}^n} \|A\mathbf{x} - \mathbf{b}\|_\infty
\]
or, equivalently,
\[
\min_{\mathbf{x} \in \mathbb{V}^n} \max_{i=1,\ldots,m} | (A\mathbf{x} - \mathbf{b})_i |.
\]
The objective is a worst-case criterion: it minimizes the maximum absolute deviation over all constraints, rather than an average or total error [2508.13437].

The same problem admits a standard MILP reformulation through an auxiliary variable \(t \ge 0\):
\[
\begin{align*}
\min_{\mathbf{x},\, t} &\quad t \\
\text{s.t.}\ \ \ & A\mathbf{x} - \mathbf{b} \le t \mathbf{1} \\
                 & A\mathbf{x} - \mathbf{b} \ge -t \mathbf{1} \\
                 & \mathbf{x} \in \mathbb{V}^n .
\end{align*}
\]
This makes explicit that DMMV combines linear constraints, discrete decision variables, and an \(\ell_\infty\) objective [2508.13437].

A defining feature of this formulation is that it is described as context-free: it is not tied to any specific application area, and only assumes linear constraints, discrete variable domains, and minimization of the worst-case constraint violation. The cited applications include quantized regression, robust combinatorial design, digital filtering, and tomography with quantized pixel values, which illustrate how the same abstract model can encode heterogeneous discrete design tasks [2508.13437].

## 2. Complexity and computational status

The explicit DMMV formulation is NP-hard. More precisely, the decision problem
\[
DMMV_\infty = \{(A, b, \mathbb{V}, t) \mid \exists\, x \in \mathbb{V}^n:\ \|A x - b\|_\infty \leq t\}
\]
is NP-complete, via reduction from Subset-Sum [2508.13437]. Accordingly, exact solution is generally intractable at large scale, especially when \(n\) is large or the discretization \(\mathbb{V}\) is fine.

This hardness is consistent with a broader pattern in discrete min-max optimization. In a related but distinct line of work, minimax problems with coupled linear constraints are shown to violate the classical max-min inequality: for
\[
\min_{x \in X} \max_{y \in Y,\ Ax + By \leq c} f(x,y)
\quad\text{and}\quad
\max_{y \in Y} \min_{x \in X,\ Ax + By \leq c} f(x,y),
\]
there is no deterministic ordering; any of \(<\), \(=\), or \(>\) can occur. The same paper proves NP-hardness even when \(f(x,y)\) is strongly convex in \(x\) and strongly concave in \(y\) [2110.11210]. Although that problem is not the same as the \(\ell_\infty\) DMMV model, it sharpens the general observation that discrete min-max formulations can behave very differently from their classical convex-concave archetypes.

A further computational distinction appears in online learning. For many polynomial-time solvable offline min-max discrete problems, efficient vanishing regret or even vanishing approximate \(\alpha\)-regret is impossible for some \(\alpha\), unless standard complexity collapses occur; min-max vertex cover is the principal positive exception discussed, with a matching \(2\)-approximate vanishing regret upper bound via online gradient descent [1907.05944]. This suggests that even when a static min-max objective is algorithmically manageable, dynamic or repeated variants may inherit additional hardness.

## 3. Algorithmic solution methods for the explicit DMMV problem

To address practical DMMV instance sizes, a GPU-accelerated heuristic called the Accelerated Maximum Violation Minimizer (AMVM) has been proposed. AMVM is based on Adaptive Large Neighborhood Search and uses an iterative destruction-repair-local-search workflow [2508.13437].

Initialization obtains an initial discrete solution either from a relaxed LP plus rounding or from a baseline such as round-to-nearest. Each iteration then applies destruction, repair, and local search. Destruction may be Random Destroy or Worst-Remove Destroy based on impact scores. Repair may be Random Repair or Greedy Repair, with the latter selecting the neighbor value minimizing the current objective. Local search includes both 1-OPT, which moves one variable to another discrete level if the objective improves, and Swap, which exchanges two variable values subject to a strictly improving condition [2508.13437].

For variables \(x_i > x_j\), the swap criterion is stated as follows: a swap strictly improves the maximum violation iff
\[
\frac{-t-s_k}{\Delta} < a_{kj} - a_{ki} < \frac{t-s_k}{\Delta}
\quad \forall k = 1,\dots,m,
\]
where \(s = A x - b\), \(t = \|s\|_\infty\), and \(\Delta = x_i - x_j\). A corollary then restricts attention to swap pairs that are likely to alter the worst violated constraints and that pass necessary quick checks on a subset of worst residuals, reducing the need to evaluate all \(O(n^2)\) swaps [2508.13437].

The acceleration strategy is explicitly architectural as well as algorithmic. All destructive, repair, and improvement moves are implemented as fused CUDA kernels in PyTorch; matrix-vector products, norm calculations, impact scoring, candidate evaluations, and reductions are executed in batch on GPU; and keeping tensor operations on-device minimizes CPU-GPU synchronization overhead. Reported iteration rates are up to \(26\times\) faster than single-CPU implementations [2508.13437].

## 4. Metric and ultrametric violation distance as \(\ell_0\)-type DMMV

A second major usage of the DMMV idea appears in metric repair. Given pairwise distances \(x \in \mathbb{R}_{\ge 0}^{\binom{[n]}{2}}\), the Metric Violation Distance problem is
\[
\text{MVD}(x) := \min_{y \in M_n} \|x-y\|_0,
\]
where \(M_n\) is the set of metrics on \(n\) points and \(\|x-y\|_0\) counts the number of modified entries. The Ultrametric Violation Distance problem is
\[
\text{UMVD}(x) := \min_{y \in U_n} \|x-y\|_0,
\]
where \(U_n\) is the set of ultrametrics, characterized by
\[
x(i,j) \le \max\{x(i,k),x(j,k)\}
\quad\text{for all distinct } i,j,k.
\]
The paper explicitly states that both MVD and UMVD can be interpreted as discrete minimization of the number of violations of (ultra)metricity and are essentially the DMMV problem in the Hamming, i.e. \(\ell_0\), norm [2208.13920].

Algorithmically, the minimization versions admit strong approximations. For unweighted MVD, the cited result is an \(O(\log n)\)-approximation running in \(O(n^3)\) time. For UMVD, a pivot-based method gives an \(O(\log n)\)-approximation, more precisely \(O(\min(T,\log n))\) when \(T\) is the number of distinct distances, and a separate constant-factor approximation is obtained by interpreting UMVD as hierarchical correlation clustering. Weighted UMVD admits an \(O(\log n \log \log n)\)-approximation [2208.13920].

The maximization versions behave very differently. When the objective is to select the largest subset of entries already forming a metric or ultrametric, both Max-Metric Violation Distance and Max-Ultrametric Violation Distance are NP-hard to approximate within any constant factor assuming the Unique Games Conjecture, even for unweighted and complete instances [2208.13920]. This sharp contrast between minimization and maximization is one of the clearest complexity-theoretic fault lines in the DMMV-related literature.

## 5. Terminological range and theoretical interpretations

The term “Discrete Min-Max Violation” is used across several nearby research programs in partially overlapping senses. The following summary captures the main usages present in the cited literature.

| Usage | Core content | Source |
|---|---|---|
| Explicit optimization problem | \(\min_{\mathbf{x}\in\mathbb{V}^n}\|A\mathbf{x}-\mathbf{b}\|_\infty\) | [2508.13437] |
| Hamming-norm violation repair | MVD/UMVD minimize \(\ell_0\) changes to satisfy metric or ultrametric constraints | [2208.13920] |
| Discrete–continuous discrepancy | discrete and continuous min-max problems may disagree | [2106.04116] |
| Failure of classical max-min ordering | coupled constraints can make either min-max or max-min larger | [2110.11210] |

In the discrete-to-continuous min-max framework based on homogeneous and piecewise multilinear extensions, DMMV refers to cases where the discrete and continuous saddle point problems disagree: the continuous saddle point problem may admit a solution while the original discrete problem may not. This appears in the discussion surrounding the non-converse of the discrete–continuous saddle point equivalence theorem [2106.04116]. The conceptual role of “violation” here is not residual fitting, but a failure of exact transfer between combinatorial and continuous formulations.

Earlier work on discrete min-max optimization also provides an algorithmic lineage for DMMV-style problems. For instances consisting of a discrete structure together with \(n\) comparables from a totally ordered set \(\mathbb{K}\), where the solution must be one of the comparables, the ordered version with runtime \(\xi(A,n)\) yields an unordered algorithm running in \(O(\xi(A,n)\log^* n)\) time and \(O(n)\) comparisons. The paper characterizes such problems via min-max circuits, continuous order statistics, and commutation with every monotone function [0801.4130]. This suggests a precursor framework in which discrete worst-case objectives are exploited without full sorting.

## 6. Applications and empirical performance

In post-training quantization of language models, DMMV is instantiated row-wise as
\[
\widehat w_{l,r} = \arg\min_{w_r \in Q^d}\|w_r X_l^T - b_r\|_\infty.
\]
For Meta OPT-125M at 3-bit precision and without outlier separation, AMVM reports perplexities \(27.26\) and \(34.70\) and is described as outperforming SqueezeLLM, GPTQ, OmniQuant, ApiQ, and RTN on C4 and WikiText2 by approximately \(14\%\) average improvement [2508.13437].

In discrete tomography, the objective is to reconstruct an image from projection data while constraining pixel values to a finite set and minimizing worst-case residuals. On four-level segmented brain images with strong uniform noise, AMVM on GPU reduces reconstruction error by \(16\%\) over DART, yields the lowest worst-case \(\ell_\infty\) errors among compared methods, and runs \(6\times\) faster than CPU [2508.13437].

In discrete FIR filter design, the min-max objective corresponds to minimizing ripple under fixed-point coefficient constraints. On moderate instances, AMVM matches Gurobi’s optimal ripple \(0.207\) in seconds; on a larger instance with \(N=500\), it is reported as \(6\times\) faster and achieves ripple \(0.13\) versus \(0.26\); and on an Anti-Hum \(60\)Hz filter, GPU AMVM attains ripple \(0.19\) compared with Gurobi’s \(0.24\) in \(20\)s versus \(120\)s [2508.13437].

Related discrete min-max objectives also arise outside linear residual fitting. In swarm robotics on the infinite grid, the min-max gathering problem seeks a gathering node minimizing the maximum Manhattan distance any robot must travel. The cited work characterizes all initial configurations where the optimal gathering problem is unsolvable, proves that the subgraph of min-max nodes is always a step-graph, a disconnected step-graph, or a \(4\)-cycle, and gives a deterministic distributed algorithm for gathering \(n \ge 9\) robots to a designated min-max node [2410.11966]. This suggests that DMMV belongs to a broader family of discrete worst-case optimization problems in which the central object is not average efficiency but the control of the most adverse local deviation.

Source: https://www.emergentmind.com/topics/discrete-min-max-violation-dmmv