Chapter 12. Text mining and retrieval-augmented pipelines
Data Mining as Observation, draft 0.3, 2026-09-09. Week 12 of ECE 514. Reading due before this chapter is Devlin et al. 2019 sections 1 and 3 and Lewis et al. 2020 sections 1 and 2 [42, 43]. Section 0.17 of the toolkit introduces the text vocabulary this chapter uses. Every number below traces to a committed file listed in the last section.
Text is the dominant unstructured type, and the session deck draws the modern text pipeline as a chain. Split documents into chunks, embed each chunk, index the vectors, retrieve the chunks nearest a question, and generate an answer from them. Every week of this course sits somewhere on that chain. Week two's cleaning is the chunking. Week three's similarity is the retrieval. Week eleven's index is the middle. This chapter reads the chain in the book's terms. It is a chain of observers, and the weakest reader in it sets what the whole pipeline can see.
The chapter has three measured stories and one sealed result. The reader of a real legal corpus recovered from the outside, after a first attempt that missed for a reason the discipline could name. An encoder gate that turned nine within-corpus successes into eight cross-corpus successes and one recorded failure, and then found that six of its axes were one axis in disguise. And a language model that passed its benchmark and false-cleared on a third of its deployment slices, under seal.
12.1 A document is a vector, and the vectorizer is the first observer
The classical vectorizers are readers with nameable quotients. A bag of words counts terms and discards their order. TF-IDF, equation 0.36, reweights the counts so that terms present everywhere carry nothing, which is a declaration that the consumer should not read document-frequency. Cosine on TF-IDF vectors discards document length, and chapter 3 said when that is right. Latent semantic analysis keeps the top singular components of the TF-IDF matrix, and chapter 4 said what that reader is. It is the identity reader on term-document variance, and the components it keeps are the directions documents vary most in, whether or not the downstream consumer reads them.
A topic model reads documents through a generative story [44], a mixture of topics each a distribution over terms, and its quotient identifies documents with the same topic mixture regardless of which words realized it. A contextual encoder reads each token through its neighbours and produces a vector whose quotient is learned from the encoder's training objective, and section 12.4 shows what that quotient does and does not contain.
The session deck says the classical baselines are still competitive and it is worth knowing why in the book's terms. For a consumer that reads term overlap, a bag of words is the right quotient and a learned encoder has thrown away exactly the coordinates the consumer wants. For a consumer that reads meaning across paraphrase, the encoder's quotient is the right one. Section 12.5 has the measured case in which a bag-of-words reader was used as the control against which an encoder had to prove it was reading anything the counts could not.
12.2 A retrieval pipeline is a chain of observers
Write the pipeline as a composition. The chunker maps a document to pieces. The encoder maps a piece to a vector. The index maps a query vector to a candidate list. The generator maps a candidate list and a question to an answer. Chapter 2 gave the rule for a chain, and it needs two qualifications here. The rule is pointwise, and two of these stages are not differentiable. Chunking and indexing are discrete operations, a document goes to a set of pieces and a query to a candidate list, and they have no Jacobian. What survives without a derivative is the statement about distinctions. A stage can only merge inputs, never separate two that an earlier stage already merged, so any two inputs an earlier stage cannot tell apart, the pipeline cannot tell apart either. Where a run of stages is differentiable at a row, the pointwise rank bound of equation 2.1 applies to that run.
$$\begin{gathered} x\sim_{\text{stage}} x'\ \Longrightarrow\ x\sim_{\text{pipeline}} x'\quad\text{for every stage, differentiable or not}, \\ \operatorname{rank}P_{\text{run}}(x)\le\min_{\text{stages in the run}}\operatorname{rank}J_{\text{stage}}(x)\quad\text{on a differentiable run of stages, at each row.} \end{gathered} \tag{12.1}$$
Both lines are machine-checked in Lean in appendix C, the inheritance for every stage and the rank bound for linear stages.
Three consequences follow, and each earlier chapter supplied one.
The weakest reader sets the quotient. A generator that could read a fine distinction cannot read it if the index never retrieved the chunk that carried it, and chapter 10 showed that under compression the first casualties are exactly the isolated chunks that fine distinctions live in. Anti-hub recall of the index bounds the pipeline's recall on the questions that need those chunks.
Recall is measured against truth, not against the index. Chapter 11's benchmark read 0.999 against an index's own ranking and 0.592 against the exact neighbours of the same queries. A pipeline evaluation that scores retrieval against the index's own top list has measured nothing about the chain.
Retrieval has a death point, and it is derived. Chapter 9's certificate says that when the true chunk's margin over the distractors, in units of the distractors' spread, falls below the expected maximum of the distractors, single-stage retrieval is expected to fail, and the derived threshold located the death point within 6 percent across fourteen corpora. A pipeline that retrieves one chunk per question is that certificate at one candidate, and a pipeline that retrieves ten and reranks has bought itself a wider margin.
The chain is also a chain of budgets. Chunk size, embedding dimension, candidate depth, and context length are four budgets, and chapter 4 said a verdict does not transfer from one budget to another. A pipeline tuned at one candidate depth has been tuned for one observer.
12.3 The reader of the corpus can be recovered blind
The observation program's cleanest recovery of a real consumer's read operator was on a text retrieval task [13], and the sequence is worth telling in full because the first attempt missed, and the discipline distinguished a failure of the claim from a failure of the instrument.
The corpus was CourtListener, United States case law, embedded with a general multilingual encoder. The consumer was citation ranking, which scores whether an opinion cites another, graded by AUROC on held-out opinions disjoint from calibration. The claim was chapter 4's flip. At matched bits, a compression that preserves what the ranker reads beats a reconstruction-optimal compression on the ranking task while reconstructing worse.
The miss. The first attempt estimated the ranker's read operator as the centred covariance of the documents on the calibration split. On the held-out split the reconstruction trade and the anti arm passed, and the flip failed. The reconstruction-optimal code beat the read-preserving one, 0.773 against 0.757. A weaker program would have concluded that the flip does not hold on real retrieval. The diagnosis was sharper. The document covariance captures where the signal varies, not what the consumer reads, and the estimated subspace overfit the calibration split and did not transfer. This was a read-operator identifiability failure, not a failure of the flip, and it was carried as refuted with that name.
The rehabilitation. One change. Replace the estimated covariance with the blind probe of section 0.5, applied to the ranker's own margin, kept to 32 directions, with the configuration chosen on an internal split of the calibration data and sealed before the held-out split was touched. On the same held-out data the verdict reversed. The read-preserving code scored 0.779 against 0.771, the flip held on 200 of 200 comparisons, and the reconstruction-optimal code reconstructed 2.6 times better, error 0.220 against 0.584, while ranking worse. The blind probe had recovered a read operator that was both misaligned with the document variance and generalizing to unseen opinions, the two conditions the miss had proved necessary.
The fresh split. Because the rehabilitation's held-out split had already delivered the first verdict and its margin was thin, 0.008, the frozen recipe was rerun on a fully virgin opinion-disjoint split with the probe refit. All four bars passed with double the margin, 0.796 against 0.780, and the read-preserving code edged the uncompressed baseline, because stripping the nuisance directions denoised the ranking. The asterisk on the reused split was removed.
$$\begin{gathered} \text{legal, virgin split}:\quad \mathrm{AUROC}_R=0.796>\mathrm{AUROC}_O=0.780, \\ \text{flip }200/200, \qquad \text{uncompressed }0.79,\ \text{centred }0.84. \end{gathered} \tag{12.2}$$
The uncompressed ranker read 0.79 and centring the embeddings raised it to 0.84, so the corpus was strongly anisotropic, which is the condition under which a learned quotient and a variance quotient disagree most.
The non-oracle test on a fresh domain. A reviewer asked for the most stringent version. Recover the read operator with no oracle at all on an untouched domain, commit the winning code, its sign, and its magnitude before opening the test split. The domain was two newsgroups, space against autos, with a frozen latent semantic embedding fit on the training split only, 100 components of TF-IDF, and a logistic classifier as consumer. The blind direction was confirmed. The code the framework chose before seeing any label reached AUROC 0.975 against 0.910 for the alternative. The two-metric flip tied on held-out data and the point magnitude overshot its sealed band, so the row is carried as partial. The direction transfers across domains prospectively. The magnitude's scale constant does not yet, and chapter 11 section 11.7 said the same of the measurement instrument's linearity.
For a text pipeline the reading is one paragraph. The reader of your corpus, the ranker or classifier at the end of the chain, has a read operator that can be measured from its outputs at the price chapter 11 gave. Measuring it is what let a compression be chosen that beat the uncompressed baseline. Assuming it from the document variance is what produced the miss.
12.4 Fine-tuning moves the relation it trained on
Chapter 11 section 11.8 gave the measurement and this section reads it for text. A general multilingual encoder adapted to case law by contrastive training on citation pairs rose from 0.765 to 0.971 on citation retrieval, the relation it trained on, and from 0.545 to 0.562 on docket lineage, a relation it never saw. The first attempt, an unsupervised contrastive pass, fell to 0.340, below the base encoder, and its training loss fell while held-out retrieval fell with it. The encoder's random-pair cosine, a measure of how crowded its space is, fell from 0.570 to 0.259.
The observer reading is that a contrastive objective declares a quotient. The pairs it pulls together are the differences it declares irrelevant. Citation pairs declared that two opinions on the same point of law are the same for the ranker's purposes, and the encoder learned that quotient and almost nothing about lineage, which citation pairs never mention. The unsupervised objective declared that a sentence and its dropout copy are the same, which is a quotient the base encoder already satisfied, and the training collapsed the geometry that had been tuned for something harder.
That a contrastive margin loss is zero exactly when every declared pair beats every other pair by the margin, and that no scorer can do so for both a declaration and its swap, so that the declared pairs decide what similar means, is machine-checked in Lean in appendix C.
Chapter 10's stratified measurement gives the multilingual version. A translation-trained encoder dissolved the borders between languages, turning seven of thirteen into backbone areas whose rows are retrieved from every language, while a general encoder kept every language a local-hub area. Which of the two is right depends on whether the consumer wants cross-lingual retrieval or within-language precision, and neither encoder's documentation says which it built.
12.5 Within-dataset AUROC is not evidence
A family of small domain encoders, one per moral dimension, was built by contrastive fine-tuning [32] of a general encoder on one corpus per dimension. Each scored between 0.75 and 0.955 on held-out rows of its own corpus. Scored on a second, independent corpus of the same dimension, every one collapsed to between 0.47 and 0.55, which is chance. The within-corpus numbers were artefacts of the corpus's surface, because learning the surface is the easiest way to separate a corpus's pairs.
The fix. Train each dimension on at least two corpora at once, drawing every same-sign positive from a different corpus than its anchor. To pull a text from corpus A next to a same-valence text from corpus B, the encoder cannot use A's surface. Held-out AUROC is then cross-corpus by construction. A gradient-reversal domain head was available as an extra control and the record says the load-bearing fix was the cross-corpus positives, not the adversary, which only helps when the two corpora are surface-similar.
The gate. A dimension is validated when its cross-corpus AUROC beats both of two nulls by at least 0.10 on the same held-out pairs. The untrained encoder, and a TF-IDF bag-of-words model. The second null is the section 12.1 reader used as a control. If the counts can separate the pairs, the encoder has proved nothing the counts did not know.
$$\text{validated}\iff \mathrm{AUROC}_{\text{cross}}-\max\big(\mathrm{AUROC}_{\text{untrained}},\ \mathrm{AUROC}_{\text{BoW}}\big)\ \ge\ 0.10. \tag{12.3}$$
That a validated encoder clears each null by the margin, that a null above nine tenths cannot be cleared by any encoder, and that a strictly monotone recalibration of the score leaves the verdict unchanged, are machine-checked in Lean in appendix C.
The scorecard. Eight of nine dimensions passed, with cross-corpus AUROC from 0.622 to 0.853 and bag-of-words between 0.46 and 0.54 on every one, so the encoders' signal is not lexical. The ninth, respect for rights, failed. Its registered rerun paired same-genre court facts across jurisdictions and read 0.509 against an untrained null of 0.512, and a stratified variant on the most coherent pairing available read 0.467, below its own baseline. Corpus choice was eliminated as the cause, the method-failure branch was left open, and the dimension remains a hand-specified rule in every consumer.
Six axes that were one. A general valence channel, trained on the pooled corpora, passed the same gate at 0.856 plus or minus 0.008 on 51319 rows. The preregistration then asked whether the named axes survived residualizing against it, requiring at least eight of eleven to still predict their own axis best on independent corpora. Four did. Purity, legitimacy, loyalty, care, and fairness were at least 0.98 predictable from general valence on independent corpora. Privacy, environmental, and autonomy were specific. The gate-level confirmation, all eleven axes plus the valence channel scored on every axis's held-out pairs, found five own-axis and six demoted, and the valence channel's row was bimodal, 0.85 to 0.94 on the demoted axes' pairs and chance on the specific ones. Care's encoder outscored the epistemic encoder on the epistemic pairs, 0.875 against 0.811. The record's line is that one measurement in nine coats is a finding, not a failure, and the display rule adopted is that a demoted axis is shown as valence plus survivors, never as a hollow axis.
The general encoder's blindness. The reason a domain encoder was needed at all is a measured property of the general one. It encodes surface smoothly, so an age of 17 sits beside 19 and a price of 999 beside 1001, and it cannot see a stratum it never learned, such as the legal threshold that separates them. A test for discontinuities across six legal-threshold families found every one smooth, which is encoder blindness rather than evidence that the thresholds are not there. And a structural statistic that looked moral-specific, an autocorrelation of 0.84 on legal text, read 0.607 on physics preprints against an isotropic null of 0.007, so it was a property of the encoder's text geometry and not of the domain.
Calibration and authority. Each validated encoder carries an expected calibration error [35] computed on a held-out split, 0.018 to 0.101 against raw values up to 0.223, and a reliability weight of zero or twice AUROC minus one, whichever is larger, so that a consumer weights each score by how much its encoder has earned. A score from an unvalidated encoder cannot enter a decision, because the validation record is bound into the decision's audit artifact.
That a residual is orthogonal to the column removed, and that a column orthogonal to it is unchanged by residualization, are machine-checked in Lean in appendix C.
For a text project every one of those steps has a direct translation. Validate on a second corpus. Include the bag-of-words null. Check whether your named categories are one category in disguise. Report calibration beside AUROC.
12.6 A benchmark score is a certificate
Chapter 13 will say that a certificate is a claim about a read at a time, and chapter 8 said a benchmark is a harness with its own read subspace. This section has the sealed cell that joins them, on a language model.
A pretrained natural-language-inference model was scored on its benchmark and on a challenge set of thirty syntactic subcases [45, 14] built so that a model relying on word-overlap shortcuts passes the benchmark and fails the subcases. The certificate was the benchmark score against a target of 0.8. Deploy everywhere if it clears. The witness was the true accuracy on each subcase, the deployment footprint the aggregate score cannot see. The naive policy trusted the benchmark. The aware policy measured each slice on a small sample.
$$\begin{gathered} \mathrm{FC}_{\text{naive}}=\Pr\big[\mathrm{acc}_s<\text{target}\ \big|\ \text{benchmark}\ge\text{target}\big]=\frac1S\sum_{s=1}^{S}\mathbf 1\big[\mathrm{acc}_s<\text{target}\big] \\ \text{when the benchmark clears, so that the naive certificate's coverage is 1.} \end{gathered} \tag{12.4}$$
| quantity | measured, three seeds |
|---|---|
| benchmark accuracy | 0.909, 0.920, 0.909 |
| certified to deploy | yes |
| mean accuracy across the thirty slices | 0.736 |
| spread across slices | 0.380 |
| naive false-clear rate | 0.333 |
| aware false-clear rate | 0.033 |
The model passed its benchmark and false-cleared on ten of thirty deployment slices. The sealed bars, a naive rate of at least 0.25, an aware rate of at most 0.10, dominance of aware over naive, and three manipulation checks including that the model truly passes its benchmark and that the slices truly differ, all passed on all three seeds. The record calls this a dark place, because the failure is invisible on the leaderboard. The model did pass. Naming the per-slice false-clear rate makes the difference between evaluation and deployment a measured number rather than an incident.
That a deployment mean lies between its worst and best slice, and falls strictly below the best whenever a served slice scores below it, is machine-checked in Lean in appendix C, with the section's numbers.
That every benchmark admits a shortcut with zero benchmark error, and that a row on which the shortcut and the intended rule differ lies outside the benchmark, are machine-checked in Lean in appendix C.
The reading for a text project is chapter 1's third failure mode with a number attached. The consumer that was evaluated, the benchmark's distribution, is not the consumer that was deployed, and the difference is a false-clear rate per footprint that a small labelled sample per slice would have caught.
12.7 What a text-mining report must state
A project report that mines text or builds a retrieval pipeline states the following.
- The vectorizer and its quotient. Which differences between documents the representation declares irrelevant, and whether the consumer agrees.
- The chain and its weakest reader. Each stage's budget, and anti-hub recall of the index beside mean recall.
- Recall against exact neighbours of the uncompressed vectors, never against the index's own list.
- Cross-corpus validation with the bag-of-words null, for any trained encoder or classifier, with the margin over both nulls.
- Whether named categories survive residualization against a general channel, if the report has more than one.
- Per-slice deployment accuracy beside the benchmark score, with the false-clear rate at the deployment target.
- The reader recovered or assumed. If the pipeline was tuned against a read operator, how it was obtained. If it was tuned against document variance, say so.
A report with one benchmark number and no slices will be returned.
Exercises
Warm-up
- Name the quotient declared by each of a bag of words, TF-IDF with cosine, latent semantic analysis, and a contrastive encoder.
- Why can a bag-of-words baseline beat a learned encoder for some consumers?
- State the distinction rule for a pipeline, say when a rank bound can be added to it, and say which stage most often binds.
- Why is recall against an index's own ranking not evidence about a pipeline?
- In the legal sequence, why was the first miss called an identifiability failure rather than a failure of the flip?
- What single change turned the miss into the confirmation?
- Why was a fresh split run after the confirmation had already passed?
- Why did the unsupervised fine-tuning attempt degrade the base encoder, in the book's terms?
- Why is within-corpus AUROC not evidence of a real dimension, and what construction makes AUROC cross-corpus by construction?
- Why is a bag-of-words model the right null for an encoder gate?
- Six axes were demoted to one channel. Why does the record call that a finding rather than a failure?
- A model passed its benchmark at 0.909. State its naive false-clear rate on the challenge set and what a deployer should have measured instead.
By hand
- A term appears 4 times in a 200-word document and in 20 of 2000 documents. A second term appears 10 times in the same document and in 1000 of 2000. Compute both TF-IDF weights, equation 0.36, and state which the vectorizer reads as more important.
- Two documents have TF-IDF vectors (0.3, 0.4, 0) and (0.6, 0.8, 0.5). Compute their cosine similarity and their Euclidean distance. State which reader calls them the same document.
- A differentiable run of a pipeline's stages has pointwise read-operator ranks 200, 64, 10, and 1 at a row. State the bound on the run's pointwise rank at that row and the stage that sets it, and say why the same bound cannot be written for a run that includes the chunker.
- An encoder scores cross-corpus AUROC 0.62 against an untrained null of 0.50 and a bag-of-words null of 0.46. Apply equation 12.3. Repeat for 0.58.
- A named axis is 0.98 predictable from a general channel on independent corpora. State whether the demotion rule displays it as its own axis, and what a reader of its score is actually reading.
- A model clears its benchmark. Ten of thirty deployment slices score below the target. Compute the naive false-clear rate by equation 12.4. An aware policy measures each slice and misjudges one. Compute the aware rate.
- An encoder's random-pair cosine falls from 0.570 to 0.259 after fine-tuning. Compute the ratio and state in one sentence what a lower value means for cosine as a reader.
Programming
- Vectorize your project's text three ways, bag of words, TF-IDF, and a sentence encoder. For each, report the ten nearest neighbours of three documents and the overlap between the three lists.
- Build the chain of section 12.2 on your corpus with a stated chunk size, index, and candidate depth. Report recall at 10 against exact neighbours of the uncompressed chunk vectors, and anti-hub recall, following chapter 10.
- Estimate the read operator of the pipeline's final consumer, a ranker or classifier, by finite differences at twice the embedding dimension of calls per row. Compare its top directions to the top principal components of the chunk vectors and report the overlap.
- Fine-tune an encoder on one relation in your corpus and evaluate on that relation and on one it never saw, with a paired bootstrap interval on each, following chapter 11 section 11.8.
- Train a classifier on one corpus and evaluate it on a second corpus of the same task. Report within-corpus and cross-corpus AUROC, and the bag-of-words AUROC on the same cross-corpus pairs. Apply equation 12.3.
- If your project has more than one labelled category, train a general channel on the pooled labels and residualize each category against it. Report which categories still predict themselves best.
- Take any benchmark-scored model in your project and split your deployment data into at least ten slices by a metadata key. Report per-slice accuracy, the benchmark score, and the naive false-clear rate at a stated target.
Answers to the warm-up and by-hand problems are collected in the answer key at the end of the book.
Homework 12. The chain and its weakest reader
Assigned in week 12, due Sunday of week 13, alongside Lab 4. Fifteen points. Uses your project's text, or the Lab 4 corpus if your project has none.
Part A, three vectorizers (3 points). Programming exercise 20. The three neighbour lists and their overlaps, and one sentence naming the quotient your consumer needs.
Part B, the chain (5 points). Programming exercises 21 and 22. Recall against exact neighbours, anti-hub recall, and the overlap between the consumer's read directions and the principal components. State which stage binds the chain.
Part C, cross-corpus (4 points). Programming exercise 24. Within, cross, and bag-of-words AUROC and the verdict of equation 12.3. A report without the bag-of-words null earns zero for this part.
Part D, slices (3 points). Programming exercise 26. The per-slice table and the naive false-clear rate.
Preregistration. Before Part C, commit a file stating whether you expect your classifier to pass the cross-corpus gate. Include the hash. Graded on having been made.
Sources for every number
Paths are relative to a checkout of the named repository, at the commit and with the access status listed in appendix A, all under github.com/ahb-sjsu unless appendix A says otherwise. Shas, DOIs, and versions are as recorded in the source files on 2026-09-03. A row is reproduced by opening the cited lines at that commit, and where a row names a script the command is the one the repository's README gives for it.
| Section | Claim | Source |
|---|---|---|
| 12.2 | pullback composition and the rank bound | geometric-observation\chapters\ch06_mathematical_preliminaries.md:10-27; chapter 2 of this book |
| 12.2 | recall 0.999 vs 0.592, the derived death point within 6 percent across fourteen corpora | openvector-bench\README.md:60-96; geometric-observation\claims\LEDGER.md row GO-3 |
| 12.3 | 035 miss 0.773 vs 0.757, identifiability diagnosis, 036 blind probe r 32, 0.779 vs 0.771, 200 of 200, recon 0.220 vs 0.584, 039 virgin split 0.796 vs 0.780, margin 0.008 to 0.016, edges baseline | geometric-observation\chapters\ch10_the_blind_probe.md:53-90; geometric-observation\claims\LEDGER.md rows GO-B-legal 035 and 036, GO-P-2026-039 |
| 12.3 | uncompressed 0.79, centred 0.84 | geometric-observation\claims\LEDGER.md row GO-B-legal |
| 12.3 | 041 non-oracle, frozen LSA TF-IDF to SVD 100 train-only, AUROC 0.975 vs 0.910, flip tied, magnitude overshot, partial | geometric-observation\chapters\ch10_the_blind_probe.md:100-118; geometric-observation\claims\LEDGER.md row GO-B-blind 041 |
| 12.4 | 0.765 to 0.971, 0.545 to 0.562, v1 0.340, cosine 0.570 to 0.259 | lebse\README.md:40-75; lebse\PAPER.md:1-15,60-66 |
| 12.4 | seven of thirteen backbone areas under the translation-trained encoder, all local-hub under the general one | turboquant-pro\docs\RESULTS_multilingual_strata.md:55-90 |
| 12.5 | within 0.75 to 0.955 collapsing to 0.47 to 0.55, cross-corpus positives as the fix, adversary not load-bearing | xbse\README.md:104-130,160-172 |
| 12.5 | the gate, both nulls, margin 0.10, scorecard 0.622 to 0.853, bag of words 0.46 to 0.54, rights 0.509 vs 0.512 and 0.467 | xbse\README.md:130-160,195-219 |
| 12.5 | valence channel 0.856 plus or minus 0.008 on 51319 rows, P1 failed 4 of 11, the G-share table, 12 by 12 gate five own-axis six demoted, bimodal G row, 0.875 vs 0.811, display rule | xbse\docs\BIFACTOR_READOUT.md:14-100 |
| 12.5 | 17 beside 19, 999 beside 1001, six legal families smooth, autocorrelation 0.84 vs 0.607 vs 0.007 | xbse\docs\MOBSE_PLAN.md:12-35 |
| 12.5 | ECE 0.018 to 0.101 vs raw up to 0.223, reliability weight, audit binding | xbse\README.md:175-195; gtc-prototype\docs\CALIBRATED_AUTHORITY.md:19-63 |
| 12.6 | XPROTO-LLM, benchmark 0.909, 0.920, 0.909, thirty slices, target 0.8, naive 0.333, aware 0.033, spread 0.380, deployment mean 0.736, six bars on three seeds, sealed 2026-08-25 at b61f7f1 | observation-theory-campaigns\experiments\LLM-EVAL-TRACK.md:1-50; observation-theory-campaigns\analysis\llm\XPROTO-LLM-graded.json; observation-theory-campaigns\experiments\SEALS.md:85 |
previous, Chapter 11. Embeddings and vector search ยท next, Chapter 13. Scale, cost, and the certificate that ages