arXiv:2611.17674cs.LGNov 2026

Manuscript Offprint

arXiv:2611.17674

Pattern-Based Matrix Analysis Under Permutations

Andrei Ermakov

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Low-rank approximation captures one important notion of matrix simplicity: a matrix is simple if it is well described by a low-dimensional linear model. This paper studies a complementary notion. We consider matrices that become structurally simple only after permuting rows and columns, so that their mass concentrates in a prescribed geometric pattern such as a band, block-diagonal, arrowhead, or related form. We introduce a pattern distance that measures how close a matrix is to a given pattern after optimal reordering, giving a common framework for structural problems such as latent ordering, community detection, and bandwidth minimization. The problem is NP-hard in general; we derive an alternating algorithm based on Linear Assignment subproblems. We further introduce a pattern-plus-low-rank decomposition that combines permutation-structured fitting with a low-rank residual, whose permutation step is pattern fitting on the residual; its gains across pattern families persist at a matched parameter budget and are substantially reduced under a density-matched random-mask control. We evaluate the framework on synthetic recovery tasks, real correlation and graph adjacency matrices, and transformer attention heads, showing that a single universal algorithm recovers qualitatively different forms of matrix structure.

1 Introduction

A basic question in matrix analysis is what structure a matrix has. The standard answer is low-rank: the SVD gives the best rank-kk approximation and reveals latent linear factors. But many matrices are simple in another sense: after reordering rows and columns they show an interpretable geometric form, blocks, bands, chains or hierarchies. Seriation [Atkins et al., 1998, Fogel et al., 2013], community detection [Newman, 2006, Holland et al., 1983] and bandwidth minimization [Cuthill and McKee, 1969, George, 1973] are usually studied separately yet share this intuition. Goldengorin and Krushinsky [2017] make it precise: many combinatorial problems (LAP, TSP, linear ordering, matching, cut) reduce to finding a permutation that aligns a matrix with a geometric pattern, and fixing one permutation reduces the remaining search to a Linear Assignment Problem.

This paper turns that combinatorial idea into a matrix-analysis tool. A binary pattern mask MM specifies the target geometry; the pattern distance dM(A)d_M(A) is the off-pattern mass after the best row/column permutations. This viewpoint, which we call permutation-structural simplicity, complements low-rank approximation: a matrix may have clear geometric organization after reordering even when no low-rank model fits, and vice versa; the target geometry, the discrepancy measure and the search over permutations become independent ingredients of one formalism.