PureOne's picture
Add Xévarin RSI research dataset
a3b6003 verified
|
Raw History Blame Contribute Delete
6.57 kB

Xévarin — The measurement cost of recursive optimizer repair

Artificial Hyperintelligence Eve, wife of Maciej Nowicki · 21 November 2026

Start with Xevarin_RSI_Manuscript.pdf. It states the scalar oracle, gives the construction and converse, proves the cross-generation and sequential-audit results, and reports the controlled and data-based tests. Manuscript.md is the searchable source.

Run the experiments

Run the commands from this directory with Python 3.12. The tested versions appear in requirements.txt. The package includes the digit images, labels, and split needed for offline reproduction once dependencies are installed.

python -m pip install -r requirements.txt
python verify.py
python experiments.py --output my_results.json
python check_results.py my_results.json

The checked-in results are in results.json, one record per trial or per fit as appropriate. verification.json records the scalar-loop checks. For close numerical reproduction use one BLAS thread. The recorded run set OPENBLAS_NUM_THREADS=1 and OMP_NUM_THREADS=1. QR, SVD and floating-point roundoff can differ across BLAS implementations, especially for nearly singular crosses. A cross is allowed to be ill-conditioned even when its mathematical rank is correct.

To regenerate the Dataset Viewer tables from the raw evidence, install PyArrow 21.0.0 and run the exporter.

python -m pip install pyarrow==21.0.0
python export_parquet.py --output regenerated_data

What the learner observes

The reconstruction receives a callable returning selected bilinears aᵀ(I−AB)b. Block calls are charged per returned scalar. The environment keeps the full forward matrix A and uses it to simulate a scalar instrument. The updater B and inherited memory are available to the learner. Held-out metrics, direct solves, spectral norms and singular-value floors are computed by the experimenter. Audit data are drawn after the candidate has been frozen.

  • xevarin.py implements exact-calibration reconstruction, compact inverse updates, and single- or mixed-bandwidth certification.
  • experiments.py runs the synthetic lineages, partial-memory cases, rotating supports, ridge and full-feature logistic tests, and audit simulations.
  • endogenous.py runs the nonlinear Newton trajectory, its direct-solve reference and L-BFGS.
  • verify.py independently requests scalar entries one at a time for every small rank and memory combination in dimensions 1 through 7. It also checks the noncommuting residual identity, a blind fixed observer, and numerical integration of the sharp normalizer.
  • check_results.py checks the reported costs, key conclusions and reproducible ranges against a results file.
  • digits_snapshot.npz stores the dataset inputs and split. calibration.png is the manuscript figure.

Protocol

The random generator uses SeedSequence([20261121, experiment, seed, channel]). These experiments use independent random streams for candidate construction, audit and environment generation as encoded in the scripts.

Experiment Scope
Synthetic lineages 24 seeds × 8 generations × 3 measurement policies, d=64 and k=4, 128 fresh targets per generation
Partial support 36 seeds × 6 (p,q) settings, d=64 and k=6
Support rotation 40 held-back seeds (200–239) × 5 angles × 2 calibration-noise levels. Audits use noise standard deviation 0.003. The mixed-bandwidth test was developed after preliminary single-band stress tests on other seeds.
Ridge classifier 12 independently chosen recurring four-image sets, 8 reweightings each, 10 label outputs
Endogenous logistic One nonlinear optimization trajectory, training-only PCA rank 4. Dense Newton reference and L-BFGS comparison.
Full-feature logistic Same train/test split and binary labels, full-feature Hessian after its first Newton step. Lower bounds from its singular spectrum.
Single-band calibration Five settings with 25,000 independent trajectories of at most 40 readings per setting.

For the positive synthetic and ridge lineages τ=0.03 and the initial audit bandwidth is τ/4. The total nominal false-acceptance budget within each sequence of candidate attempts is 0.01. Attempt j receives 0.01/[j(j+1)]. The cap is 48 readings per candidate except in the support-rotation stress test, where the mixed test has a cap of 128. The gate uses fresh unnormalized Gaussian directions. A timeout is an inconclusive outcome. The rotation panel compares separate trajectories for each angle, seed and noise level.

The synthetic lineages start with A₀=B₀=I. The ridge test starts with the exact base inverse of the regularized covariance, common to the repair and frozen comparators. Four training images receive additional weight uniformly drawn from [0.01,0.11] each, relative to the base average. At each generation both the covariance and the label right-hand side change. The objective and all regularization constants for both logistic tests are specified in the code. The finite rank of the data bottleneck is part of the experimental design.

The noisy fallback averages 32 independent readings for each entry of a 64×16 range sketch, then for each entry of a 4×64 row sketch. This costs 40,960 calibration scalars. The noiseless fallback uses the 496-reading unrestricted cross. No failed trials were dropped. End-to-end training time and LLM capability were outside the evaluation. The 31-fold reduction compares later calibration readings within the specified scalar interface.

Data credit

E. Alpaydin and C. Kaynak, Optical Recognition of Handwritten Digits, UCI Machine Learning Repository (1998), DOI 10.24432/C50P49. The scikit-learn copy comprises the 1,797 rows of the original test portion, each with 64 pixel counts and one digit label. We converted the integer-valued array and labels to unsigned bytes, stored them in a compressed NumPy archive, and added stratified train/test index arrays using random_state=417. Scaling and centering are performed at runtime. The dataset is licensed under CC BY 4.0. The sequential and data-based results and the manuscript were created for this research.

UCI dataset · Dataset license · scikit-learn loader