An Algorithm to Recover Shredded Random Matrices
Abstract
Given some binary matrix $M$, suppose we are presented with the collection of its rows and columns in independent arbitrary orderings. From this information, are we able to recover the unique original orderings and matrix? We present an algorithm that identifies whether there is a unique ordering associated with a set of rows and columns, and outputs either the unique correct orderings for the rows and columns or the full collection of all valid orderings and valid matrices. We show that there is a constant $c > 0$ such that the algorithm terminates in $O(n^2)$ time with high probability and in expectation for random $n \times n$ binary matrices with i.i.d.\ Bernoulli $(p)$ entries $(m_{ij})_{ij=1}^n$ such that $\frac{c\log^2(n)}{n(\log\log(n))^2} \leq p \leq \frac{1}{2}$.
- Publication:
-
arXiv e-prints
- Pub Date:
- October 2023
- DOI:
- 10.48550/arXiv.2310.16715
- arXiv:
- arXiv:2310.16715
- Bibcode:
- 2023arXiv231016715A
- Keywords:
-
- Mathematics - Probability;
- Computer Science - Discrete Mathematics;
- Computer Science - Data Structures and Algorithms;
- Mathematics - Combinatorics;
- 60C05 (Primary) 68Q25 (Secondary)