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.
- AuxRichness
Metrics - Scalar facts about the auxiliary covariate / latent pair feeding an iVAE.
- Jacobian
Sparsity Metrics - Scalar facts about decoder Jacobian sparsity.
Functions§
- anchor_
consistency_ metrics - Compute anchor counts from an assignment matrix.
- 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.