arXiv Science⌕ Search

arXiv · 2611.29925

Unshardable Codes

Abstract

We propose a new coding-theoretic problem motivated by censorship resistance. Is it possible to intertwine many pieces of data by encoding them jointly in a way that makes it impossible to remove any single piece without destroying many others as well? In particular, we want to encode $k$ data components $(m_1,\ldots, m_k)$ into a codeword $(c_1,\ldots,c_n)$ with the following properties: 1. Local recovery: every data component can be recovered (in the absence of erasures or errors) by reading at most $\ell$ correct codeword symbols. 2. Unshardability: if an adversary erases some arbitrary subset of the codeword symbols, the remaining codeword symbols either uniquely determine all $k$ data components, or there are at least $s$ data components that cannot be determined. We call such codes $(\ell, s)$-unshardable. Intuitively, such codes prevent an adversary from selectively censoring individual pieces of data by erasing codeword symbols, without destroying large amounts of other data as collateral damage. We show that codes whose generator matrix has certain superregularity properties are unshardable. Using this connection, we construct linear codes that are $(\ell, s)$-unshardable with $s = (1-\varepsilon)k$ and locality $\ell = O_\varepsilon(1)$. We also show that linear unshardable codes are subject to the lower bound $s \leq k - k/\ell + 1$. Finally, we consider a strengthening of local recovery to also require local decodability from some constant fraction of erasures or even errors. With the help of AI tools, we achieve the above notion by showing that any Locally Decodable Code (LDC) can be converted into one that is unshardable while preserving locality via a certain careful change of basis over an appropriate extension field.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Prashanth Amireddy, Yevgeniy Dodis, Rohan Goyal, Ethan Mook, Madhu Sudan, Daniel Wichs. 2026-11-23. Unshardable Codes. https://arxiv.science/abs/2611.29925

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Information Loss Is All You Need: $TC^0$ Pseudorandomness from Worst-Case Lattices

Can deterministic information loss yield post-quantum pseudorandomness with $TC^0$ evaluation? We show that deterministic rounding achieves this under quantum worst-case lattice hardness, with fixed polynomial parameters and no predetermined sample bound. We introduce learning with algebraic rounding (LAR), which applies an explicit integer rounding map to blocks of secret-dependent linear measurements and encodes the result in a lattice quotient. For one fixed family with polynomially bounded modulus and dimensions, deterministic labels on exactly uniform, secret-independent public matrices are computationally indistinguishable from independent uniform labels for every polynomial number of classical random examples. Our classical reduction from Gaussian LWE, combined with the quantum worst-case reduction to LWE, bases LAR on GapSVP and SIVP over general lattices at approximation factor $\widetilde{O}(q)$, where $q$ is the modulus. The proof uses source-independent affine transport: public affine maps sampled independently of the hidden errors transport the Gaussian error law close to uniform on the rounding map's zero-label fiber while preserving exactly uniform public matrices. For every fixed inverse-polynomial accuracy, we give a polynomial-time sampler for the same public parameter family. This yields the first post-quantum weak pseudorandom function with joint key-and-input evaluation in $TC^0$, secure against uniform quantum polynomial-time distinguishers given any polynomial number of classical uniform random examples. We also prove hardness of learning polynomial-size two-hidden-layer ReLU networks from noiseless uniform random examples, even for quantum polynomial-time improper learners.

cs.CC↗

Asymptotic Spectral Geometry and the Complexity of Tensors

We develop asymptotic spectral geometry over arbitrary fields. At a fixed spectral point, general and graph format capacities are geometric-median and fractional-matching optima; equality for all budgets admits a three-site real-tree criterion. Geometric relocation gives spectral points, local deformation retractions and path-connectedness. The third-order spectral edge-weight region is a spectrahedron, answering Strassen's log-convexity question for rectangular matrix multiplication. Over a field $\mathbb F$, denote asymptotic rank and circuit size by $\widetilde{\operatorname{R}},\widetilde{\operatorname{C}}$. Let $σ_k(\mathbb F),γ_k(\mathbb F)$ be the respective suprema of their base-$n$ logarithms over integers $n\ge2$ and nonzero $k$-th order tensors with local dimensions at most $n$. We obtain $σ_{2k}(\mathbb F)=k$ and $σ_{2k+1}(\mathbb F)>k$ for $k\ge1$. The binary complete-graph tensor on $k\ge2$ vertices has asymptotic rank $2^{k^2/4}$, refuting maximum-cut equality for odd $k$. For concise $k$-th order tensors $T$ (one-leg flattening ranks equal local dimensions), we prove $\widetilde{\operatorname{C}}(T)\le\widetilde{\operatorname{R}}(T)\le\widetilde{\operatorname{C}}(T)^{\lfloor k/2\rfloor}$. Kronecker submultiplicativity fails for ordinary and asymptotic circuit size. We obtain $Ω(\sqrt{k})\leγ_k^{\mathrm{GT}}(\mathbb F)\leγ_k(\mathbb F)\le O(k/\sqrt{\log_2 k})$, with the superscript restricting to graph tensors. Unbounded graph-format circuit exponents imply $\mathsf{VP}_{\mathbb F}\ne\mathsf{VNP}_{\mathbb F}$. The $k$-clique coefficient tensor with $q\ge2$ possible labels per vertex has ordinary and asymptotic rank $q^k$ for $k\ge4$, but asymptotic circuit size below $q^{3k/4}$ for large fixed $k$. We obtain superlinear fan-in-two Boolean circuit lower bounds for SAT and promise-USAT in specified encodings.

cs.CC↗

A Dichotomy for Real Symmetric Ternary Holant$^*$ on Domain Four

We prove a complexity dichotomy for $\text{Holant}(f)$, where $f$ is a real algebraic symmetric ternary signature on a four-element domain. Liu, Fan and Cai (COCOA 2023, TCS 2025) identified three tractable families and proved that they exhaust the tractable cases for $\{0,1\}$-valued signatures. They conjectured that every real-valued symmetric ternary signature outside these families gives a $\# P$-hard problem. We prove their conjecture for real algebraic weights. We study the real Zariski closure of the group generated by invertible unary slices. On the support of $f$, we obtain an orthogonal splitting, the full general linear group, or an orthogonal complex structure that anticommutes with every slice. In the full-group case we interpolate binary signatures that realize a hard Boolean restriction. In the complex-structure case on domain four, $f$ comes from a complex cubic in two variables. Its factorization gives either a tractable decomposition or an edge gadget that reduces a hard Boolean problem to $\text{Holant}(f)$. In every hard case a fixed finite set of real algebraic unaries suffices. The tractable signatures are exactly the real points of the class of symmetric unitarily decomposable tensors. They are characterized by pairwise commutation of their squared slice matrices.

cs.CC↗