Expand description
Numeric kernels for identifiability-theorem diagnostics.
The kernels return scalar facts for iVAE auxiliary richness, decoder Jacobian sparsity, and manifold-SAE anchor coverage. Rust, Python, and CLI layers turn those facts into user-facing reports.
Structs§
- Anchor
Consistency Metrics - Scalar facts about the per-atom anchor structure of an assignment matrix.
- Anchor
Consistency Preconditions - Typed pass/fail verdict for the anchor-consistency identifiability check.
- Anchor
Consistency Report - AuxRichness
Metrics - Scalar facts about the auxiliary covariate / latent pair feeding an iVAE.
- Jacobian
Sparsity Metrics - Scalar facts about decoder Jacobian sparsity.
Constants§
- ANCHOR_
DOMINANCE_ DEFAULT - Default anchor-dominance threshold: the exact floating-point encoding of a strict majority.
Functions§
- anchor_
consistency_ report - Run the full anchor-consistency identifiability check and return the typed
verdict.
assignmentsis(N, K);anchor_dominancedefaults toANCHOR_DOMINANCE_DEFAULTwhenNone. - aux_
richness_ metrics - Compute the iVAE auxiliary-richness numeric facts.
- concat_
decoder_ blocks - Stack a list of per-atom decoder blocks (each shape
(basis_size_k, P)) column-wise into a single Jacobian of shape(P, sum_k basis_size_k). Used by the Python diagnostics dispatcher to feedjacobian_sparsity_metricsfrom aManifoldSAE.decoder_blockspayload without doing the concatenation in Python. - jacobian_
sparsity_ metrics - Compute mean sparsity and per-sample rank of a stack of Jacobians.