Back to Work

Vikshep

From Geant4 output to physics answer. Nothing learned, nothing leaked.

The problem it solves

A neural jet tagger trained on high-level kinematic features learns the jet mass implicitly. Cut on its score and you carve a bump-shaped hole into the background mass spectrum — a fake signal. This is mass sculpting, a recognized failure mode in ATLAS, CMS, and every boosted-object search that uses a learned discriminant without explicit decorrelation.

Vikshep replaces the learned feature extractor with a fixed one (the wavelet scattering transform), then penalizes residual correlation using a weighted distance-correlation (DisCo) term with the exact weighted dCorr2 gradient. The features are mathematical properties of the transform, not empirical claims about a trained model.

Pipeline

Select a stage to see what it does and which crate implements it.

Select a stage to see what it does and which crate implements it.

Crate map

Vikshep Compute

vikshep-scatterv0.1.0

Filter banks, cascade driver, pooling, r2, log-mean, scattering manifests

49 dlAGPL-3.0-or-later
vikshep-cpuv0.1.0

CPU reference backend implementing the five Tier-1 kernels

42 dlAGPL-3.0-or-later
vikshep-backend-apiv0.1.0

ScatterBackend trait: the five Tier-1 kernels that every backend must implement

61 dlAGPL-3.0-or-later
vikshep-detmathv0.1.0

Portable exp, ln, sin, cos — the only source of transcendental functions

156 dlAGPL-3.0-or-later
vikshep-numericsv0.1.0

Stockham FFT, twiddle tables, SplitMix64/Philox4x32-10, OIDs, RFC 8785 canonical JSON, provenance manifests

152 dlAGPL-3.0-or-later
vikshep-statsv0.1.0

Weighted dCorr2 and its exact gradient, JSD, cuts, Asimov proxy, lambda frontier, benchmark report

31 dlAGPL-3.0-or-later
vikshep-trainv0.1.0

Logistic and MLP tagger heads, DisCo training with Adam, lambda sweep, ridge calibration

22 dlAGPL-3.0-or-later
vikshep-anomalyv0.1.0

Fingerprint distributions, Sliced Wasserstein-1, deterministic HNSW, detection, graph output

32 dlAGPL-3.0-or-later
vikshep-mcpv0.1.0

MCP data plane: JSON-RPC 2.0 over stdio, tensors by OID in shared memory

11 dlAGPL-3.0-or-later
vikshepv0.1.0

Top-level crate

12 dlAGPL-3.0-or-later

Vikshep Quantum

vikshep-qcorev0.2.0

Quantum core

vikshep-statevecv0.2.0

State vector operations

PyPI

vikshepv0.2.0
pip install vikshep

Determinism: VDS-1

The Vikshep Determinism Specification (VDS-1) defines three tiers:

Tier 1Bit-exact on every conforming backend

FFT and inverse FFT, filter multiplication, complex modulus, subsampling, S0/S1/S2 scattering coefficients.

Tier 2Bit-exact on every platform (runs in this Rust CPU code)

Filter and twiddle construction, r2 ratios, reductions, statistics, training, calibration, anomaly search, reports.

Tier 3Reproducible only on the same build and platform

External simulators such as Geant4 (provenance only).

Cross-platform bit identity is proven by CI on Linux x86_64, Linux AArch64, macOS arm64, and Windows x86_64. Read the spec

Results

Benchmarks in progress. Results will be published here with a link to the run or report once measured.

Status

measuredCPU reference implementation (vikshep-ingest / vikshep-recipe CLI)
measuredVDS-1 conformance suite, cross-platform bit identity
measuredDisCo-penalized tagging and calibration with exact weighted dCorr2 gradient
measuredMCP data plane (vikshep-mcp, JSON-RPC 2.0 / stdio)
in progressDesktop app
in progressGPU acceleration (proprietary backends)