Related documents: DESIGN.md · PREDICTIONS.md
Section references of the form §D-x.y refer to DESIGN.md. Section references of the form §P-x refer to PREDICTIONS.md.
- Overview
- T0 — Unit tests and invariants
- T1 — Random text null distribution
- T2 — Structured code corpus
- T3 — Matryoshka and dedicated embedding models
- T4 — Standard local LLMs
- T5 — Phylomemetic fingerprinting
- T6 — General quantization benchmarks
- Corpus layout
- Cross-phase prediction matrix
- Model and corpus matrix
Testing is organized into an initial pre-phase T0 and six main phases T1–T6. The phases progress from the least constrained (random text, no semantic structure) to the most constrained (code, where ground truth is machine-verifiable), then broaden to measure what the encoding adds over current best-practice embedding models, test stylometric fingerprinting and RLHF entropy compression, and finally validate the general quantization framework predictions (P15–P17) that arise from the Wildberger-Rubine combinatorial theory.
The expected performance ordering across phases is:
Each phase carries a core retrieval benchmark and one or more prediction sub-tests tied to specific claims in PREDICTIONS.md. The prediction sub-tests are independent of the retrieval benchmark: they can confirm or falsify a prediction even when retrieval accuracy is at chance.
flowchart TD
T0["T0 — Unit tests & invariants\nGray code, quantisation,\ncollision rate\n(no model download)"]
T1["T1 — Random text\nnull distribution\n(character-frequency corpus)"]
T2["T2 — Structured code corpus\nmachine-verifiable ground truth\n(TypeScript functions)"]
T3["T3 — Matryoshka &\ndedicated embedding models\n(BEIR benchmark)"]
T4["T4 — Standard local LLMs\n(Qwen3.5-0.8B-ONNX)"]
T5["T5 — Phylomemetic fingerprinting\n(P14a–d: author attribution\n& RLHF entropy compression)"]
T6["T6 — General quantization\nbenchmarks\n(P15–P17: trie sparsity,\nGeode progressive, mixed-precision)"]
T0 -->|"null baselines\nestablished"| T1
T1 -->|"validate against\nnull"| T2
T1 -->|"validate against\nnull"| T3
T1 -->|"validate against\nnull"| T4
T2 -->|"P2, P3, P8, P10"| T3
T3 -->|"P2, P3, P5, P7"| T4
T4 -->|"P14a–d"| T5
T3 -->|"stylometric baselines\nP8 null distributions"| T5
T3 -->|"P15, P16, P17\ntrie & resolution\nbenchmarks"| T6
T0 -->|"P15 trie\ninvariants"| T6
style T0 fill:#ddf,stroke:#99c
style T1 fill:#ffd,stroke:#cc9
style T2 fill:#dfd,stroke:#9c9
style T3 fill:#fdd,stroke:#c99
style T4 fill:#eee,stroke:#999
style T5 fill:#ede,stroke:#9a9
style T6 fill:#fed,stroke:#ca6
These are lightweight tests that should pass locally without large corpora or model downloads. They validate the core Q² pipeline invariants and the algebraic properties underpinning the predictions.
-
CGAT mapping / complement involution (P1). Verify the Gray encoding and
complement operation (
$\theta$ ) satisfy the required symmetry: the complement of each symbol is the symbol with all Gray bits flipped, and the mapping exposes the two chemical axes (purine/pyrimidine and keto/amino). -
Quantisation and packing invariants. The existing unit tests in
test/q2.test.tscover these, but add a smoke test that random normal vectors always produce a valid 64-bit key and that the key is stable for the same input. - Key entropy and collision rate (P10). A small synthetic corpus (e.g. 10k random embeddings) should produce a key collision rate close to the uniform baseline.
These tests are quick and form the foundation for the higher-level phases.
Purpose. Establish the distribution of transition sequence statistics that arise from text with no semantic structure. Deviations from the null in later phases are only interpretable if the null is measured, not assumed.
Model. Xenova/all-MiniLM-L6-v2 (or onnx-models/all-MiniLM-L6-v2-onnx) — a
BERT-mini encoder producing 384-dim embeddings, published specifically for
Transformers.js / ONNX Runtime. Its role here is as a "boring" baseline to confirm the
Q² pipeline introduces no embedding artifacts before real corpora are applied. It
calibrates complement bigrams, triplets, and key entropy (P3, P8, P10) on random text
and verifies that retrieval on random text performs at chance.
Corpus. Synthetic random text (corpus C0): characters sampled i.i.d. from the empirical English character-frequency distribution (the 26-letter alphabet plus space and common punctuation, weighted by standard corpus frequencies). Generate documents of varying lengths (50, 200, 500, 2 000 characters). No LLM is involved in generation; the embedding model serves only as a deterministic function of its input.
Pipeline. Apply the full Q² pipeline to each document:
- Embed with the target model.
- Quantize using empirically calibrated
$\tau^{*}$ (§D-2.5). - Run-reduce to the transition sequence
$R$ (§D-3.1). - Compute
$K$ (§D-3.2),$\rho_{\text{hp}}$ (§P-2), bigram frequencies (§P-3), and triplet frequencies (§P-8).
Core benchmark. Retrieval precision on random-text corpora should be at chance
(
Prediction sub-tests.
| Prediction | Measurement | Expected result |
|---|---|---|
| §P-3 | Complement-bigram frequency |
|
| §P-2 |
|
|
| §P-8 | Triplet frequency distribution | Approximately uniform; any deviation flags an encoding artifact |
Calibration output. This phase produces the null distributions for
Purpose. Validate the pipeline on a corpus with machine-verifiable ground truth, using a code-specialised embedding model. Retrieval accuracy should be near-perfect; failure here indicates a pipeline defect, not a semantic limitation.
Models.
- Primary:
sailesh27/unixcoder-base-onnx— an ONNX export of Microsoft UniXcoder base, a RoBERTa-style encoder producing 768-dim code/text embeddings, designed for semantic code search. Well under 1B parameters. - Alternatives:
onnx-community/codebert-base-ONNX— ONNX version ofmicrosoft/codebert-base, trained on CodeSearchNet. Good classic CodeBERT baseline for code retrieval and P8 triplet distributions.onnx-community/codebert-javascript-ONNX— ONNX version ofneulab/codebert-javascript, trained on JavaScript fromcodeparrot/github-code-clean. Useful for a heavily JS-oriented TypeScript corpus.
- Generative sanity check:
onnx-community/Qwen2.5-Coder-0.5B-Instruct— 0.5B parameter coding model; verifies that code embeddings group correctly.
Corpus. Short, well-typed functions from a single programming language (TypeScript
recommended, consistent with the existing codebase). Source: codeparrot/github-code-clean,
filtered to JavaScript and TypeScript files, extracting one short standalone function
per sample. Each function is independently embeddable. Corpus size: 1 000–10 000
functions (corpus C2, ~100 MB). Ground truth is available from the AST without
annotation.
Retrieval tasks.
- Given a function signature, retrieve the implementation.
- Given a call site (a caller and the called function's name), retrieve the called function's body.
Ground truth is available from the AST without annotation.
Core benchmark. Retrieval accuracy at
Prediction sub-tests.
| Prediction | Measurement | Expected result |
|---|---|---|
| §P-2 |
|
Elevated |
| §P-3 | Complement-bigram frequency |
|
| §P-8 | Triplet frequency distribution | Non-uniform; high-frequency triplets correspond to common code patterns (loop, branch, return) |
| §P-10 | 64-bit key collision rate | Collision rate close to the random-hash baseline; collisions should preferentially occur between semantically similar functions |
AST ground truth for §P-2. A function that calls one or more helpers and returns
to the caller has a call-and-return structure verifiable from the AST. No subjective
annotation is required. The prediction (elevated
Purpose. Measure the contribution of quaternary encoding relative to state-of-the-art retrieval-optimised models, including matryoshka (multi-scale nested) embeddings. This phase also provides the strongest test of the hairpin and antonym predictions, because the models are optimised for semantic structure.
Models. Three model tiers cover standard, Matryoshka, and tiny baselines:
- Standard strong embedding (non-Matryoshka):
mixedbread-ai/mxbai-embed-large-v1— a BERT-large-class encoder, SOTA for its size on MTEB. Theonnx/subfolder provides quantized weights (model_quantized.onnx); fully usable through Transformers.js feature-extraction. - Matryoshka models:
nomic-ai/nomic-embed-text-v1.5— long-context (8192-token) text encoder with explicit Matryoshka Representation Learning. Recommended truncation sizes: 768, 512, 256, 128, 64. Approximately 110M parameters. Natural anchor for T3 Matryoshka tests.onnx-community/embeddinggemma-300m-ONNX— 300M-parameter embedding model derived from Gemma 3, producing 768-dim embeddings with Matryoshka sizes 512/256/128 supported. Distributed asonnx/model.onnxwith Transformers.js examples.onnx-models/all-MiniLM-L6-v2-onnx(tiny baseline) — 384-dim MiniLM, ~0.08 GB ONNX. Answers: "how much does Q² still help when embeddings are very small?"
- Standard small baseline:
Xenova/all-MiniLM-L6-v2
Corpus. A standard retrieval benchmark (corpus C3, ~250–300 MB): BeIR/beir on
Hugging Face. Recommended tasks: MSMARCO passage, Natural Questions, FiQA, and
SciFact. Each task is subsampled to approximately 75 MB, yielding 200–300 MB total
across 3–4 tasks. Also uses a curated probe corpus for §P-2 and an antonym pair set
for §P-5 (corpus C5, ≤10 MB).
Configurations evaluated.
| Config | Encoding | Model |
|---|---|---|
| A | None — float cosine | Standard |
| B | Q² + uniform Lee | Standard |
| C | None — float cosine | Matryoshka |
| D | Q² + uniform Lee | Matryoshka |
| E | Q² + weighted Lee (§P-4) | Matryoshka |
Recommended T3 configuration (configs A–E):
- A: Cosine on
all-MiniLM-L6-v2(fast baseline) - B: Q² + uniform Lee on
all-MiniLM-L6-v2 - C: Cosine on
nomic-embed-text-v1.5 - D: Q² + uniform Lee on
nomic-embed-text-v1.5 - E: Q² + weighted Lee (§P-4) on
nomic-embed-text-v1.5
Repeat D/E with embeddinggemma-300m-ONNX to confirm that P2/P3/P4/P5/P7 are not
Nomic-specific behaviours.
Core benchmark. A standard retrieval benchmark (e.g. BEIR: MSMARCO, TREC-COVID,
NQ). Metrics: nDCG@10, Recall@100. Expected ordering:
Prediction sub-tests.
| Prediction | Measurement | Configurations | Expected result |
|---|---|---|---|
| §P-2 |
|
B, D | Dialectical |
| §P-3 | Complement-bigram frequency | B, D | |
| §P-4 | E vs. D retrieval | D, E | E |
| §P-5 | Reverse-complement antonym retrieval on antonym pair set | B, D | Antonym retrieved at above-chance rate |
| §P-6 | Two-stage (hash + Lee) vs. flat Lee search, latency-matched | B, D | Two-stage |
| §P-7 | Secondary structure complexity vs. human rhetorical complexity annotation | B, D | Positive correlation; nested-argument documents score higher |
| §P-9 |
|
B (Z₄), B′ (Z₈) | No significant improvement for Z₈ |
| §P-10 | 64-bit key collision rate | B, D | Collision rate close to random-hash baseline; collisions correlate with semantic similarity |
To keep the P6 measurements tractable, limit the two-stage search experiments to a fixed prefix length (e.g. top 12–16 bits) and a manageable subset of queries, and compare the precision/recall of the two-stage pipeline against a brute-force Lee scan on the same candidate set.
For §P-4 (weighted Lee), estimate weights from observed bigram frequencies in the corpus: compute empirical frequencies for transition (Ti) and transversion (Tv1/Tv2) bigram types, then set weights proportional to the inverse frequency or log-odds (relative to the uniform null). Evaluate a small grid around the estimated weights.
Probe corpus for §P-2. Construct 30–100 sentence triplets, one from each class
(Direct, Dialectical, Negated), on diverse topics. Triplets are matched by topic so
that the only varying factor is rhetorical stance. Measure
Antonym pair set for §P-5. Curate 50–200 antonym pairs from a standard lexical
resource (WordNet). For each document in the pair, compute the reverse-complement
transition sequence, query the index, and record whether the antonym is retrieved
within the top
Annotation corpus for §P-7. Select 50–100 documents with existing rhetorical complexity annotations (e.g. from argumentation-mining datasets such as Persuasive Essays (PE) or IBM Claim Stance). Compute the secondary structure of each document's transition sequence using the Nussinov algorithm (§P-7), and measure Spearman rank correlation between the number of nested complement pairs and the human-annotated rhetorical complexity score.
Tractability note: Nussinov is
$O(n^3)$ , so cap analysis at a fixed window size (e.g. the first 1k–2k transition symbols) or analyse a random 1k-symbol subsequence per document. For longer texts, a greedy heuristic (pairing the first valid complement in a sliding window) can provide an approximate secondary-structure score.
Purpose. Establish the floor contribution of Q² encoding when activations come from a general-purpose LLM rather than a retrieval-optimised model.
Models. General-purpose local LLMs with accessible intermediate activations:
- General language model:
onnx-community/Qwen3.5-0.8B-ONNX— 0.8B parameter instruction model; improved benchmark scores over Qwen2-0.5B with wider accessibility through Transformers.js and ONNX Runtime. - Legacy baseline:
onnx-community/Qwen2-0.5B-Instruct-ONNX— retained for comparison; represents the older 0.5B generation. - Code-centric LLM:
onnx-community/Qwen2.5-Coder-0.5B-Instruct— provides a second activation geometry tuned heavily on code. - LFM-2.5 1.2B (Liquid AI) — available if the 1B ceiling is relaxed; not recommended for the first test matrix.
Note on LFM2.5-1.2B: If the 1B constraint is relaxed,
LiquidAI/LFM2.5-1.2B-Instruct-ONNXis an available option with 10 LIV (double-gated conv) blocks then 6 GQA blocks; the embedding hook uses hidden states from the last LIV block (layer index 9, 0-based).
Activation source. Final hidden-layer activation at the last token position (seq_len - 1), L2-normalised. No retrieval fine-tuning.
Corpus. Same BEIR benchmark as T3 (corpus C3). General natural language corpus
(corpus C1, ~200 MB): togethercomputer/RedPajama-Data-1T sampling from books,
Wikipedia, StackExchange, and C4 slices.
Configurations evaluated.
| Config | Encoding | Model |
|---|---|---|
| F | None — float cosine | LLM |
| G | Q² + uniform Lee | LLM |
Core benchmark. Same benchmark as T3. Expected:
Prediction sub-tests.
| Prediction | Measurement | Expected result |
|---|---|---|
| §P-2 |
|
Signal present but noisier than T3; statistically significant enrichment in Dialectical class vs. null baseline ( |
| §P-3 | Complement-bigram frequency |
|
| §P-5 | Reverse-complement antonym retrieval | Above-chance retrieval; effect size smaller than T3 |
| §P-7 | Secondary structure complexity vs. rhetorical complexity annotation | Positive correlation present but weaker than T3; statistical significance depends on model quality |
If §P-2 sub-test fails in T4 but passes in T3: the hairpin signal is present in retrieval-optimised activation spaces but not in general-purpose LLM activations. This is informative about what retrieval fine-tuning does to the structure of the L1 ball.
If §P-2 sub-test passes in T4: the hairpin signal is a property of the Q² encoding applied to any sufficiently trained transformer, not an artefact of retrieval optimisation.
Purpose. Test P14 (author fingerprint stability and RLHF entropy compression). Grounded in the Box-Muller result (PR #9), which demonstrated that author-specific signal is measurable in Q² transition-sequence statistics. T5 tests whether Q²-derived stylometric features are (a) stable within an author, (b) separable across authors, and (c) compressed by RLHF training relative to human variance.
Models. Same as T4 — onnx-community/Qwen3.5-0.8B-ONNX (or any model with
accessible intermediate activations).
Corpus. C8 — Gutenberg pre-1927 texts (Carroll, Shelley, Doyle, Poe, Twain, Dickens, Hardy, Austen, Melville, Wilde; ~100 MB) plus balanced AI-generated text samples from HC3, RAID, MAGE benchmarks (~50 MB).
Prediction sub-tests.
| Prediction | Measurement | Expected result |
|---|---|---|
| §P-14a | Within-author Q² hairpin-density CV vs. cross-author | Within-author CV < cross-author separation (stable fingerprint) |
| §P-14b | CV of Q² statistics for RLHF model vs. human authors | RLHF CV < human CV (entropy compression) |
| §P-14c | Cross-author Lee-distance clustering | Cross-author mean distance > within-author (separable fingerprints) |
| §P-14d | Temporal influence: "influenced" author closer to earlier source | Lee distance to early author < late author (inheritance signal) |
Falsification condition. If CV is equivalent between RLHF outputs and human authors (P14b fails), the entropy-compression hypothesis is falsified. If within-author and cross-author distances are indistinguishable (P14a/P14c fail), the fingerprinting signal is not present in Q² statistics.
Purpose. Validate the predictions (P15–P17) that arise from the generalized quaternary quantization framework and the Wildberger-Rubine combinatorial theory (DESIGN.md §4). These tests are domain-agnostic: they measure properties of the quantization machinery itself, independent of whether the input is a semantic embedding, a model weight tensor, or a synthetic signal.
Models. Any model producing hidden-state activations suitable for Q² encoding. The primary models from T3 and T4 are reused:
nomic-ai/nomic-embed-text-v1.5(embedding model, T3)onnx-community/Qwen3.5-0.8B-ONNX(general LLM, T4)- Synthetic signals (Gaussian, mixture-of-Gaussians, uniform, heavy-tailed) for distribution-independent validation.
Corpus. Reuses C0 (synthetic), C1 (general NL), and C3 (BEIR) from earlier phases. Additionally generates synthetic continuous signals (corpus C9) for distribution-controlled experiments.
Generated at test time from PRNG seeds; nothing stored on disk. Each sample is a
vector in
-
Gaussian:
$\mathcal{N}(0, I_n/n)$ — the standard calibration distribution. -
Mixture-of-Gaussians:
$\sum_k \pi_k \mathcal{N}(\mu_k, \sigma_k^2 I_n/n)$ — tests analytical threshold computation (§D-4.4). -
Uniform:
$\text{Uniform}[-1/\sqrt{n}, 1/\sqrt{n}]^n$ — L2-normalised. -
Heavy-tailed: Student-$t$ with
$\nu \in {3, 5, 10}$ degrees of freedom — tests robustness of the quantization framework to non-Gaussian tails.
Prediction sub-tests.
| Prediction | Measurement | Expected result |
|---|---|---|
| §P-15 (trie sparsity) | Count distinct transition sequences in a corpus of |
100% of keys are admissible; occupancy |
| §P-15 (non-uniform occupancy) | Compute subtree occupancy by first symbol and first bigram; compare to uniform expectation | Subtree occupancy is non-uniform; mirrors complement-bigram suppression (P3) |
| §P-15 (information efficiency) | Compute empirical entropy of the 64-bit key distribution and compare to the theoretical |
Empirical entropy |
| §P-16 (progressive retrieval) | Measure retrieval precision and candidate-set size as a function of prefix depth |
Candidate sets shrink geometrically as |
| §P-16 (information per symbol) | Compute mutual information between prefix of length |
First symbol contributes |
| §P-17 (mixed-precision) | Implement variance-guided bit allocation; compare retrieval accuracy to uniform quaternary at matched code length | Mixed-precision matches or exceeds uniform at 15–25% shorter code |
| §P-17 (threshold validation) | For mixture-of-Gaussian signals, compare empirical thresholds to hyper-Catalan series truncated at order 1, 2, 3 | Series converges to empirical threshold; order-2 truncation suffices for 4-component mixtures |
T6 benchmarks are primarily computational, not corpus-dependent. The trie sparsity and information-efficiency measurements (P15) require only the Q² encoder and a set of input vectors. The progressive retrieval measurements (P16) require a retrieval index over an existing corpus. The mixed-precision measurements (P17) require a modified encoder that supports per-dimension bit allocation. The threshold validation uses synthetic signals only.
Falsification conditions. If any generated key violates the no-repeat constraint, the run-reduction implementation has a bug (P15). If candidate-set sizes do not decrease geometrically with prefix depth (P16), the transition key does not behave as a multi-resolution address. If mixed-precision encoding cannot match uniform encoding at shorter code length for any model (P17), per-dimension variance heterogeneity is insufficient to exploit.
The complete corpus stays comfortably under 1 GB of raw text, leaving headroom for indices and probe metadata. Sizes below are design targets enforced by random sampling.
Generated at test time from PRNG seeds; nothing stored on disk.
Purpose: T1 null distribution. Calibrates complement bigrams, triplets, and key entropy for each embedding model.
Predictions exercised: P2, P3, P8, P10.
How it proves/falsifies: Confirms null baseline and complement bigram rate ≈ 1/3 for random transitions. Detects any encoding artifacts that already break P8 triplet uniformity before real corpora are introduced.
Source: togethercomputer/RedPajama-Data-1T, sampling from books, Wikipedia,
StackExchange, and C4 slices.
Phases: T1 (sanity vs. null), T3, T4.
Predictions exercised: P2, P3, P8, P10, P11, P12, P13 (monolingual side).
How it proves/falsifies:
- P3: Measures complement bigram frequency vs. the C0 null in broad real-world text. Underrepresentation (< 1/3) across slices supports complement suppression.
- P2, P8: Computes hairpin density and triplet distributions on longform documents vs. null; dialectical passages in StackExchange and Wikipedia discussions should show elevated rates.
- P10: Key collision rate on a 10–50k document sample.
- P11–P13: Provides the English/formal-writing baseline to contrast with spoken transcripts (C7) and cross-lingual content (C6).
Source: codeparrot/github-code-clean, filtered to JavaScript and TypeScript
files, extracting one short standalone function per sample. Target: 1,000–10,000
functions as specified above.
Phases: T2; some statistics reused in T3.
Predictions exercised: P2, P3, P8, P10, plus the T2 core retrieval benchmark.
How it proves/falsifies:
- Core T2 retrieval: Function-signature and call-site queries with ground truth from the AST validate the full Q² pipeline with code-specialized embeddings.
- P2: Functions are split into "call-and-return" vs. strictly linear via AST; elevated hairpin density in call-and-return functions relative to linear ones is directly falsifiable from the AST.
- P3: Complement bigram suppression in a domain where semantics are highly structured but phonology is irrelevant; if suppression still appears, that is strong evidence the effect is about embedding geometry, not text surface.
- P8: Codon-usage-like triplet frequency patterns tied to common code motifs (loops, branches).
- P10: Key entropy and collision rates in a machine-verifiable semantic domain.
Source: BeIR/beir on Hugging Face. Recommended tasks: MSMARCO passage, Natural
Questions, FiQA, and SciFact. Each task is subsampled to approximately 75 MB of raw
text, yielding 200–300 MB total across 3–4 tasks.
Phases: T3, T4 (core retrieval).
Predictions exercised: P2–P7, P9, P10.
How it proves/falsifies:
- Core T3/T4 metrics: nDCG@10 and Recall@100 for configs A–E and F–G.
- P4: Uniform vs. weighted Lee comparison at equal compute; weights inferred from bigram statistics on C1 and C3.
- P5: A small curated antonym corpus can be overlaid on BEIR documents rather than maintained as a separate index.
- P6: Two-stage vs. flat Lee search on a manageable but realistically noisy retrieval workload.
- P7: BEIR contains a mix of question types and document styles, supporting correlation of secondary-structure scores with rhetorical complexity where annotations exist (e.g., SciFact rationales).
Source: Feedback Prize – Persuasive Essays (PERSUADE corpus). Target: a few thousand essays.
Phases: T3, T4.
Predictions exercised: P2, P7 (primary), P13 (partial).
How it proves/falsifies:
- P7: Existing argumentative element and discourse annotations serve as a proxy for rhetorical complexity. Nussinov-style secondary structure is computed over Q² transition sequences and correlated with those complexity labels.
- P2: Dialectical, direct, and negated argumentative moves frequently co-occur in the same essay sets, enabling probe triplets for the hairpin ordering test.
- P13: A small number of calibration triplets can be embedded here as short poems or essays.
Source: Curated. Build 50–200 antonym pairs (e.g., optimism/pessimism, ascent/descent, expansion/contraction) using WordNet or similar, each paired with a 1–3 paragraph explanatory text.
Phases: T3, T4.
Predictions exercised: P2 (dialectical vs. negated forms), P5 (reverse-complement retrieval), P13 (negative regime scores for antonym pairs).
How it proves/falsifies:
- P5: Directly measures how often reverse-complement queries retrieve the antonym document compared to unrelated documents at the same Lee distance.
- P2: Direct, dialectical, and negated formulations are designed per antonym concept to stress-test the hairpin density ordering.
Source: GEM/wiki_lingua for multi-language aligned how-to articles, or aligned
Wikipedia article sets across languages. Target: balanced across 3–5 language pairs.
Phases: T3, T4 (multilingual extension).
Predictions exercised: P11, P12, P13.
How it proves/falsifies:
- P11: Compares complement suppression rates and bigram distributions across typologically different languages, controlling for content via aligned articles.
- P12: Cross-lingual matched articles describing the same physical or structural reality are used as conceptual near-neighbor pairs.
- P13: Computes regime scores for cross-lingual pairs vs. monolingual ones.
Source: Any open ASR transcript corpus hosted on Hugging Face (TED Talks, conversational speech, etc.), contrasted against C1 and C3 written text.
Phases: T3, T4.
Predictions exercised: P11, P12.
How it proves/falsifies:
- P11: Compares complement-bigram suppression strength in spoken transcripts vs. formal writing. Stronger suppression in spoken text supports the articulatory grounding story.
- P12: Checks whether suppression rates cluster by phonotactic strictness vs. conceptual content across languages.
Source (human): Project Gutenberg public-domain texts via gutenberg Python
package or pgcorpus on Hugging Face. Select 10–15 authors with
Target authors: Carroll, Shelley (M.), Doyle, Poe, Twain, Dickens, Hardy, Austen, Melville, Wilde. These provide a range of stylometric distinctiveness and subject-matter adjacency to AI training content.
Source (AI): Model-attributed synthetic text from existing open datasets:
Hello-SimpleAI/HC3— human/ChatGPT comparison corpus, model-attributedRAIDbenchmark — outputs from GPT-4, Claude, Llama, Mistral, and othersMAGE(Machine-Generated text detection dataset) — multi-model attribution
Select balanced samples per AI model (~5 MB each) to keep the AI subcorpus under 50 MB total. Use instruction-following outputs for the P14c cross-lineage test, since those most directly reflect the model's generative style under RLHF.
Phases: T5 (primary). Statistics from C8 human subcorpus also inform P11/P12 as a cross-temporal comparison against C6 (cross-lingual) and C7 (spoken).
Predictions exercised: P14a, P14b, P14c, P14d.
How it proves/falsifies:
-
P14a: Within-author variance vs. between-author variance ANOVA; Bayesian
attribution accuracy as a function of
$N$ . - P14b: Triplet entropy comparison between AI model subcorpora and Gutenberg author subcorpora.
-
P14c: Mixture model fit;
$\hat{\alpha}_i$ comparison to estimated corpus-share priors for candidate authors. - P14d: Temporal ordering check using author death dates and imitator subcorpus split.
| Segment | Description | Target size |
|---|---|---|
| C0 | Synthetic random text | ~0 MB |
| C1 | General natural language (RedPajama) | ~200 MB |
| C2 | Structured code corpus (JS / TS) | ~100 MB |
| C3 | Retrieval benchmark subset (BEIR) | ~250–300 MB |
| C4 | Rhetorical complexity / argumentation essays | ~50 MB |
| C5 | Antonym documents corpus | ≤10 MB |
| C6 | Cross-lingual matched-content corpus | ~75–100 MB |
| C7 | Spoken vs. written language corpus | ~50 MB |
| C8 | Gutenberg authors + AI attributed datasets | ~150 MB |
| C9 | Synthetic continuous signals | ~0 MB |
| Total | ~885–960 MB |
This leaves comfortable headroom for indices and probe corpora within the 1 GB budget.
| Prediction | T1 | T2 | T3 | T4 | T5 | T6 |
|---|---|---|---|---|---|---|
| §P-2 Hairpin density ordering | Null baseline | Hairpin in call-and-return code | Full probe corpus test | Noisy probe test | — | — |
| §P-3 CpG suppression | Null baseline | Confirm or falsify | Confirm at scale | Partial test | — | — |
| §P-4 Weighted Lee | — | — | Full benchmark | — | — | — |
| §P-5 Reverse complement = antonym | — | — | Full antonym test | Partial test | — | — |
| §P-6 Two-stage search | — | — | Latency-matched benchmark | — | — | — |
| §P-7 Secondary structure | — | — | Correlation with annotation | Correlation (noisier) | — | — |
| §P-8 Codon usage bias | Null distribution | Domain-specific biases | Multi-domain comparison | — | — | — |
| §P-9 Z₈ optimality | — | — | Z₄ vs. Z₈ benchmark | — | — | — |
| §P-10 Key collision rate | — | Collision-rate benchmark | Collision-rate benchmark | — | — | — |
| §P-14a Author fingerprint stability | — | — | — | — | Within vs. cross-author CV | — |
| §P-14b RLHF entropy compression | — | — | — | — | RLHF CV < human CV | — |
| §P-14c Cross-lineage influence | — | — | — | — | Author clustering | — |
| §P-14d Temporal ordering | — | — | — | — | Influenced → earlier source | — |
| §P-15 Trie sparsity | Null trie occupancy | — | Empirical trie occupancy | — | — | Full trie analysis + info efficiency |
| §P-16 Geode progressive | — | — | Progressive retrieval benchmark | — | — | Candidate-set scaling + info/symbol |
| §P-17 Mixed-precision | — | — | Variance-guided benchmark | — | — | Threshold validation on synthetics |
Tests in the T1 column establish baseline distributions. A prediction is confirmed when the T3, T4, or T6 result is statistically significant relative to the T1 null. A prediction is falsified when the result is not distinguishable from the null at the 95% confidence level across at least two model/corpus combinations.
| Prediction | Primary corpora | Primary models |
|---|---|---|
| P2 (hairpin density) | C0 (null), C2 (code), C1/C3/C4 (probes) | All — MiniLM (null), UniXcoder (T2), Nomic / EmbeddingGemma (T3/T4) |
| P3 (complement suppression) | C0 (null), C1, C2, C3, C7 | All embedding models; spoken vs. written comparison via C7 |
| P4 (weighted Lee) | C1 + C3 | Nomic, EmbeddingGemma |
| P5 (reverse-complement antonyms) | C5 (primary), C3 (secondary) | Nomic, EmbeddingGemma (T3); Qwen3.5 activations (T4) |
| P6 (two-stage hash + Lee search) | C3 | Nomic, EmbeddingGemma with Q² keys |
| P7 (secondary structure) | C4 (primary), C1 (longform) | Nomic, EmbeddingGemma |
| P8 (codon usage bias) | C0, C1, C2 | MiniLM, Nomic, EmbeddingGemma, UniXcoder |
| P9 (Z₄ vs. Z₈) | C1 + C3 | Nomic or EmbeddingGemma with Q² vs. Z₈ variant |
| P10 (key entropy / collisions) | C2 (code), C1/C3 (NL) | All models |
| P11–P13 (regime, grounding, cross-lingual) | C1 vs. C7, C6 | Nomic, EmbeddingGemma, MiniLM, Qwen2 activations |
| P14a (author fingerprint stability) | C8 human subcorpus | Nomic, EmbeddingGemma; no embedding required for raw text features |
| P14b (RLHF entropy compression) | C8 AI + human subcorpora | Triplet entropy on raw text; embedding models for transition sequences |
| P14c (cross-lineage influence) | C8 AI + human subcorpora | Raw text stylometric features; mixture model fit |
| P14d (temporal ordering) | C8 human subcorpus (with author dates) | Same as P14c |
| P15 (trie sparsity) | C0 (synthetic), C9 (synthetic signals), C1/C3 (NL) | All models; synthetic signals for distribution-controlled tests |
| P16 (Geode progressive) | C3 (BEIR), C9 (synthetic) | Nomic, EmbeddingGemma with multi-resolution retrieval |
| P17 (mixed-precision) | C3 (BEIR), C9 (synthetic) | Nomic, EmbeddingGemma with variance-guided bit allocation |
A concrete model matrix with rows corresponding to
{MiniLM, Nomic, EmbeddingGemma, mxbai, UniXcoder, Qwen2, Qwen2.5-Coder} and columns
corresponding to {T1–T6, P2–P17} clarifies exactly which model–phase combinations
need to be run vs. which can be pruned for an MVP.