Certifying When Random Self-Affine Fractals Become Solid

A self-affine set is the shape produced by repeatedly applying a few shrinking linear maps plus shifts, the "chaos game" behind fern pictures and the synthetic pre-training images in FractalDB. Depending on the maps, the result is either an infinitely sparse dust of zero area or a set that contains a solid disc. Mathematicians have proved sufficient conditions for solidity. The sharpest is Typical self-affine sets with non-empty interior, which shows that if every map shrinks by more than a factor of two and a condition on singular values holds (for example $\sum_i |\det T_i|^2 > 1$), then almost every choice of shifts gives a set with non-empty interior. That paper does no computation. Nobody knows how far its conditions are from the truth. Nobody can say whether a specific, given system is solid. And the "almost every" exceptional set has never been looked at.

We propose to build an exact, computer-checkable certificate of solidity for a given self-affine system in the plane. We will then use it to map, across tens of thousands of random systems, where solidity actually begins. The immediate payoff is an empirical test of an open conjecture, that $\sum_i |\det T_i| > 1$ with contraction below $1/2$ already suffices. The survey would also show where the "typical shifts" guarantee breaks down in practice. As a secondary check, we ask whether solidity, controlled independently of the singular-value heuristics used in fractal pre-training, affects what vision models learn from these images.

Core Claim

A finite geometric certificate can prove, with exact arithmetic, that a particular self-affine set contains an open region. The certificate is a polygon $B$ with non-empty interior satisfying

$$B \subseteq \bigcup_{i=1}^m f_i(B),$$

where $f_i(x) = T_i x + a_i$ are the maps of the system, with $T_i$ the $2\times 2$ contraction matrices and $a_i$ the translation vectors. If this inclusion holds, iterating it gives $B \subseteq \bigcup_{|w|=n} f_w(B)$ for all $n$, where $f_w$ is the composition of $n$ maps. These pieces converge to the attractor $K$, and $K$ is closed, so $B \subseteq K$.

The inclusion is a finite polygon-containment check, so each positive answer is a proof. Negative answers cannot be proved the same way. For those we use exact upper bounds on area from level-$n$ covers, which tend to zero when the set is null. Our claim is that searching for such certificates at scale turns the "almost every" theorems of this area into measurable phase diagrams. Those diagrams would sharpen or refute the stated conjectures and locate the exceptional parameters that transversality arguments exclude without describing.

Relation to Prior Work

The mathematical side supplies the targets. Typical self-affine sets with non-empty interior proves interior via a chain: singular values, then Sobolev dimension above $2d$, then continuous density, then an open ball. It explicitly leaves open whether $\sum|\det T_i|>1$ suffices. Our experiments probe exactly this gap region, where $\sum|\det T_i| > 1 \ge \sum|\det T_i|^2$. Intermediate dimensions under self-affine codings uses the same $\|T_j\|<1/2$ transversality to prove dimensional constancy for almost every shift. It studies dimension of projections rather than space-filling, and it is also purely theoretical. We borrow its role for transversality as the reason exceptions should be rare, and we test that prediction numerically.

Dimension of diagonal self-affine measures with exponentially separated projections proves $\dim\mu=\min\{d,\dim_L\}$ for diagonal systems, where $\dim_L$ is the Lyapunov dimension computed from the maps' average contraction rates. It notes that typical absolute continuity may follow but does not pursue it. Diagonal systems therefore give us a second, sharply posed test: does $\dim_L > 2$ with exponential separation empirically produce interior?

Dimension of homogeneous iterated function systems with algebraic translations shows that dimension drops only under exact algebraic coincidences. That constrains our sampling. Algebraic shifts with exact overlaps are the planted negatives on which a working certificate search must fail. Self-Affine Tiles in Rn and On Refinable Sets provide ground-truth positives: lattice tiles with known interior and integer-quantized measure.

The empirical side is the application. Pre-Training Without Natural Images, Improving Fractal Pre-Training, and Evaluation of FractalDB Pre-training with Vision Transformers train networks on IFS renderings. They found that point sparsity hurts and that singular-value "sigma-factor" sampling helps. None of them knows whether a given code produces dust or a solid set. We do not propose a new pre-training recipe. We propose a measurement that separates solidity from the sigma-factor, which those papers could not do.

Research Program

The first component is the certificate search. For a planar system we compute the level-$n$ cover $P_n=\bigcup_{|w|=n} f_w(H)$, where $H$ is a convex polygon containing $K$. This cover is an exact outer approximation of the attractor. We then take candidate sets $B$ from it in two ways: as inward offsets of $P_n$, and as unions of grid cells fully covered by $P_n$. Each candidate is tested for $B\subseteq\bigcup f_i(B)$ using rational polygon arithmetic, or interval arithmetic when the matrices are irrational. The number of pieces grows like $m^n$, so we merge overlapping pieces and cap the vertex count.

On the negative side, $\mathrm{area}(P_n)$ is a rigorous upper bound on the Lebesgue measure. Geometric decay of this bound across $n$ is our evidence of a null set. It is not proof of empty interior in general. When $\sum|\det T_i|<1$, however, nullness is automatic, and those systems serve as sanity checks.

The second component is the phase-diagram survey. We sample systems with random matrices, organized by three quantities: the largest norm $\max\|T_i\|$, $\sum|\det T_i|$, and $\sum|\det T_i|^2$. For each matrix tuple we draw many random shift vectors. For every point in this parameter space we record the fraction of shifts that are certified solid, certified null, or undecided at a fixed compute budget. Three cases make this concrete. The Feng–Zhou theorem predicts a certified fraction near one inside its region. The conjecture predicts the same for the gap region. The known failure of transversality predicts genuine exceptions once norms exceed $1/2$. We repeat the survey on diagonal systems, indexed by $\dim_L$.

The third component is a controlled pre-training probe. We classify the IFS codes produced by the sigma-factor sampler of Improving Fractal Pre-Training as solid, null, or undecided. We then build two pre-training sets with matched sigma-factor distribution and matched rendered point counts, one containing only certified-solid codes and one only certified-null codes.

Baselines

For the certification question, the naive reference point is pixel occupancy. We render the chaos game at resolutions up to $4096^2$ and call a system solid if some disc of pixels is fully hit. It uses the same sampled systems, and we give it the same wall-clock budget as the certificate search. It is the obvious thing a practitioner would do.

The strongest existing predictor is the Feng–Zhou sufficient condition itself (Typical self-affine sets with non-empty interior), used as a classifier that says "solid" when $\|T_i\|<1/2$ and $t(T_1,\dots,T_m)>2$. A second competitor is a dimension-based predictor that says "solid" when the Lyapunov or affinity dimension exceeds 2, in the spirit of Dimension of diagonal self-affine measures with exponentially separated projections. These predictors cost nothing, so fairness here means evaluating them on identical samples against certified labels. No reported result found on Lacuna for any computational interior test or phase diagram, so there is no published accuracy to beat.

The certificate counts as beating these predictors in two situations. It beats pixel occupancy if pixel occupancy produces false positives, meaning systems it calls solid for which exact area bounds decay to zero. It improves on the theorem if it certifies solidity for a substantial fraction of systems that the theorem cannot classify.

An ablation isolates the key ingredient, the self-covering inclusion. We replace it with the weaker test "$P_n$ contains a disc", which is only an outer approximation, and measure how many of its "solid" calls survive exact checking.

For the pre-training probe, the naive reference is training from scratch. The strongest baseline is sigma-factor FractalDB pre-training. Pre-Training Without Natural Images reports ResNet-50 on FractalDB-10k reaching 94.1% on CIFAR-10 and 77.3% on CIFAR-100. Improving Fractal Pre-Training reports 92.7–98.1% of ImageNet-pretrained accuracy across its fine-grained benchmarks. Evaluation of FractalDB Pre-training with Vision Transformers reports Swin rising from 78.0% to 82.0% on CIFAR-100. We reproduce the sigma-factor baseline with the same architecture, number of pre-training images, epochs, and fine-tuning protocol as our solid/null splits. A difference larger than seed-to-seed variation across at least three seeds counts as a real effect.

Why not just…?

Why not just render at high resolution and look for filled pixels? A set of Hausdorff dimension $1.98$ fills every pixel at any practical resolution. Occupancy therefore cannot tell dust near dimension 2 from a solid set, and that boundary is exactly the regime the conjectures concern. The occupancy-versus-certificate comparison in the first experiment measures this confusion directly rather than assuming it.

Why not just use Lyapunov or affinity dimension above 2 as the test? Dimension 2 does not imply positive area, and positive area does not imply interior. The Feng–Zhou proof needs a continuous density, which is a much stronger property. The diagonal survey is the fair place to check this. If dimension above 2 predicts certified solidity nearly perfectly there, the dimension predictor is a real threat for diagonal systems, and we will say so. The certificate would then matter mainly for non-diagonal matrices and near-exceptional shifts.

Why not just estimate Fourier decay of the self-affine measure numerically? Fourier decay is the route the theory takes. However, finite-sample decay estimates are not proofs, and they only certify the strong sufficient condition, so they would reproduce the theorem's region rather than probe past it. We include a Fourier-decay predictor as an additional baseline for this reason.

Why not just dilate points or tune the sigma-factor for pre-training? Dilation with $3\times 3$ patches creates solid pixels regardless of the true geometry. Evaluation of FractalDB Pre-training with Vision Transformers still found strong sensitivity to fractal complexity after such rendering. The sigma-factor may already correlate with solidity, and this is a genuine threat. If matched-sigma solid and null splits transfer equally well, we will report that solidity is irrelevant to pre-training and keep the contribution mathematical.

Proposed Experiments and Decisive Checks

We first validate the certificate on ground truth. It should certify every lattice tile from the Self-Affine Tiles in Rn family that we test. It should never certify systems with $\sum|\det T_i|<1$, nor the exact-overlap algebraic systems motivated by Dimension of homogeneous iterated function systems with algebraic translations. Any false certificate indicates a bug, because the inclusion test is exact.

The central experiment is the survey of the gap region between $\sum|\det T_i|=1$ and $\sum|\det T_i|^2=1$ at $\max\|T_i\|<1/2$. If the certified fraction there approaches one as the budget grows, the conjecture gains strong evidence. If a persistent band of shifts has area bounds decaying to zero, the conjecture is likely false, and those systems become candidate counterexamples for rigorous proof.

We then cross $\max\|T_i\|=1/2$ and measure how the exceptional set grows. This tests whether the transversality threshold used in Intermediate dimensions under self-affine codings is a proof artifact or a real transition. In the diagonal family we test whether $\dim_L>2$ predicts solidity. This is the absolute-continuity step left unpursued in Dimension of diagonal self-affine measures with exponentially separated projections.

Finally, the matched solid-versus-null pre-training runs on CIFAR-10, CIFAR-100, Stanford Cars and Oxford Flowers, with ResNet-50 and Swin, settle whether solidity carries transfer signal beyond the sigma-factor.