Left to Solve
Problems / MathOverflow (not formalized)

Is there a matrix that has the completely opposite effect of a Hadamard matrix?

Open, not yet stated in LeanMathOverflow (not formalized)Uncategoriseddifficulty55/100

Statement

First, let me provide some background on the problem:

In the field of Large Language Model quantization/compressions, outliers (abs of outliers are much larger than the mean of abs of all elements in the matrix) in weights and activations can affect the precision of quantization. As a result, various methods have been proposed to enhance quantized model's accuracy, one of which is Rotation. Typically, we choose a randomized Hadamard matrix . For an operation during inference of LLM, (X is activation and W is weight matrix), we transform it to to maintain computational invariance. At the same time, and serves to suppress outliers in and .

My question is:

• Does there exist a similar matrix ,

• such that:

• maintains computational invariance,

• suppresses the values of non-outliers or non-salient values in (making them closer to zero or turning to zero at all)**.

• If not exists, is there a approximate matrix , such that . reserves as much information from as possible and achieves the same effect as

According to my intuitive understanding, when non-outliers …

Posed by xzh · matrices, matrix-theory, orthogonal-matrices, compressed-sensing

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-479400.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-479400.lean

import Mathlib

/-!
# Is there a matrix that has the completely opposite effect of a Hadamard matrix?

Source: https://mathoverflow.net/questions/479400
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_479400

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_479400