Skip to main content

Crate gam_sae

Crate gam_sae 

Source

Re-exports§

pub use gam_gpu as gpu;

Modules§

amortized_encoder
#2 (reviewer condition) — the DISTILLED / AMORTIZED encoder.
assignment
Assignment gates and sparsity-prior helpers for the SAE manifold term. Mechanically split from sae_manifold.rs.
assignment_state
Unified support-sparse assignment state for the SAE fit-path unification (design: gam#2232, Increment 1).
atom_codes
Per-point sparse atom codes for multi-manifold reconstruction.
atom_schema
Strict SAE token schema: the vocabulary for basis kinds, topology labels, assignment families, and flat-block gating modes, plus the strict harmonic metadata validation and the structural chart periods.
attention_kernel
Harmonic fits for making attention heads legible on chart coordinates.
basis
candidate_index
Sublinear candidate-atom index for active-set proposal (#985 part 1).
certificate_impls
Certificate implementations for the gam-sae certificate zoo (task #16; descended #1521).
chart_canonicalization
═══════════════════════════════════════════════════════════════════════════ Structure-theory grounding (memo Part VI, “binding = transport”, Prop H):
chart_coordinate_solve
Exact continuous projection helpers for rank-1 periodic SAE charts.
chart_transfer
Pulled-back chart-to-chart transfer operators for frozen model components.
circular_concordance
Cross-replicate circle-coordinate stability modulo the exact O(2) gauge.
coactivation_conditionality
Partition-free coactivation conditionality for structure search.
corpus
Streaming / out-of-core corpus driver for the SAE term (#973).
criterion_atoms
Criterion-as-atoms for the custom SAE penalized quasi-Laplace objective.
description_length
Description-length (REML-as-MDL) reporting surface (#2085).
dictionary_artifact
Canonical dictionary artifacts (#2018).
dual_certificate
Global-optimality dual certificate for the sparse-dictionary lanes, read through the BLASSO / super-resolution lens.
effect_weight
Fisher-effect-weighted atom retention and fit-quality reporting.
encode
Kantorovich-certified encode atlas (issue #1010).
eq4_description_length
Uniform fixed-distortion (Eq. 4) description-length scoring of a featurizer.
frames
front_door
SAE front-door lane admission — ONE engine, admitted by memory layout and model request (design gam#2232, increments 1–6).
gpu_kernels
hybrid_split
#1026 — load-bearing curved-vs-linear hybrid split for the fitted SAE dictionary.
identifiability
SAE identifiability primitives and partial-supervision gauge fixing.
inference
SAE-level inference instruments that descended into gam-sae during the #1521 crate carve (top of the DAG).
k_selection
Automatic dictionary-size (K) selection from the EV-vs-K frontier (#1026).
manifold
SAE-manifold term configuration.
migration_ledger
The one unified SAE migration ledger (sae-unification Increment 3).
nuisance_atlas
Nuisance-atlas pre-pass: regress the known nuisance manifolds out of an activation matrix before any dictionary / coordinate charting runs, so the atoms a chart later discovers are semantic rather than positional or frequency echoes.
null_battery
Standing null battery and spike-in calibration for topology/nerve claims.
null_sampler
Fixed-margin (curveball) null for the binary support matrix that the structure-move triggers read.
routability
Routability / interference-floor diagnostic — the routing-side account of SAE “dark matter”.
row_jet_program
The SAE reconstruction row as a single Taylor-jet program (issue #932).
saebench_metrics
SAEBench-facing and manifold-native evaluation metrics.
sparse_dict
Fixed-K sparse, minibatched SAE trainer (#1026, “collapsed linear lane”).
spectrometer
Dimension spectrometer — inverting SAE scaling laws into an intrinsic-dimension measurement.
structure_harvest
#997 — the wiring seam between a fitted SaeManifoldTerm and the evidence-guarded move engine of gam_solve::structure_search.
super_resolution
Multi-spike super-resolution on a single harmonic-circle atom — the closed-form solution to the binding problem.
tiered
#2023 tiered SAE spine.
trust_scores
Per-row / per-atom trust scoring for the SAE-manifold research facade.