l24-pls8-support-reranker-v1 is an experimental second-stage evidence
reranker. It operationalizes a compact query-conditioned support subspace from
Qwen3-4B layer-24 prefill activations. It does not accept raw text by itself and
does not generate answers.
The Hugging Face repository mirrors the authoritative methods, final reports,
and compact audit summaries. GitHub remains canonical for executable source,
tests, the complete Spec Kit history, and the chronological report archive.
The model files and reported model-specific metrics on this card are unchanged.
A July 2026 claim-remediation pass added stronger mechanistic controls and a
separate L24+L34 research finalist. That finalist is not part of this model
repository. The remediation narrows the general claim: activation telemetry
reliably improves over dense retrieval in the evaluated settings, but does not
generally outperform Ettin.
Model Summary
For every candidate, the telemetry backbone captures two 2,560-dimensional
layer-24 resid_pre decision states:
the query plus candidate under an evidence-support prompt;
the same candidate under a candidate-only support-prior prompt.
The rank-9 nuisance basis removes candidate-intrinsic and
shuffled-query-persistent structure. The eight PLS coordinates are concatenated
with dense score, within-slate dense z-score, and reciprocal dense rank.
The artifact uses Safetensors and NumPy arrays; it contains no executable pickle.
Intended Use
Use this artifact for research or high-value second-stage reranking over an
organic dense top-100 slate, especially where near-topic distractors are costly:
legal evidence and contract-clause retrieval;
biomedical or clinical evidence retrieval with expert oversight;
scientific, policy, compliance, and technical-documentation retrieval;
mechanistic-interpretability research on behaviorally relevant activation subspaces.
It is not a first-stage retriever, text-only reranker, generator, safety
classifier, or autonomous legal/medical decision system.
The complete capture commands and production integration notes are in the
GitHub README.
Prompt And Capture Contract
True pair:
text
1Query:
2{query}
34Candidate evidence:
5{candidate}
67Task:
8Does the candidate evidence directly support answering the query? Focus on exact support, not topic similarity.
910Answer support:
Capture must use the released Qwen3-4B/RMT telemetry backbone, the final prompt
position, layer 24 resid_pre, zero generated tokens, and an early stop after
layer 24. Prompt, tokenizer, checkpoint, adapter, site, and decision position are
part of the representation contract.
Checkpoint and alpha selection: combined LegalBench-RAG/R2MED dev only.
Selected artifact: seed 13, epoch 5, alpha 0.8.
APPS: excluded from all fitting and selection and opened only after artifact freeze.
Evaluation
All values use full query denominators over organically retrieved dense top-100
candidates.
Dataset / system
MRR@10
nDCG@10
Recall@10
LegalBench-RAG dense
0.2456
0.2820
0.4409
LegalBench-RAG Ettin
0.3462
0.3720
0.5003
LegalBench-RAG PLS8+dense
0.3905
0.4119
0.5344
R2MED dense
0.2146
0.1964
0.2706
R2MED Ettin
0.2848
0.2937
0.4109
R2MED PLS8+dense
0.3815
0.3794
0.4931
Combined dense
0.2406
0.2683
0.4137
Combined Ettin
0.3364
0.3595
0.4860
Previous corrected activation fusion
0.3394
0.3664
0.5040
Combined PLS8+dense
0.3891
0.4067
0.5278
Combined PLS8+dense versus Ettin:
nDCG delta +0.0472, 95% CI [+0.0242,+0.0703], p=0.0001;
MRR delta +0.0527, 95% CI [+0.0267,+0.0788], p=0.0001;
Recall delta +0.0418, 95% CI [+0.0161,+0.0679], p=0.0024.
The nDCG gain over Ettin is independently significant on LegalBench-RAG
(+0.0399, p=0.0018) and R2MED (+0.0857, p=0.0025).
Three seeds reach combined nDCG 0.4081, 0.4067, and 0.4029. After removing
118 queries with exact query-text or positive-evidence overlap, PLS8+dense still
gains +0.1312 nDCG over dense on 702 queries.
APPS Zero-Shot
System
MRR@10
nDCG@10
Recall@10
Dense
0.0462
0.0559
0.0875
PLS8+dense
0.0670
0.0802
0.1233
Ettin
0.1208
0.1320
0.1671
The gain over dense is significant (+0.0243 nDCG, 95% CI
[+0.0127,+0.0363], p=0.0001), but the artifact remains below Ettin. This is
evidence of positive transfer, not universal superiority.
Interpretability Basis
The rank-8 support subspace was promoted after decomposition and causal analysis
showed that:
raw layer-24 interaction residuals carry a coordinated support-like signal;
the validated fixed-TopK SAE loses much of it into reconstruction error;
the cleaned component remains active after candidate-prior nuisance removal;
norm-matched activation patching changes downstream support-decision logits in
the predicted direction.
The eight PLS axes are compact distributed coordinates, not eight individually
human-labeled concepts. Later exact controls support a broader, causally active
late-layer evidence-judgment process at L22/L24, but reject stronger claims of a
monosemantic relevance variable, fully localized circuit, or independently
causal L34 feature. Nuisance-erased coordinates remain predictively useful, but
their intervention effect does not beat candidate-reassigned controls.
This is activation-augmented reranking, not activation-only retrieval. Dense
metadata enters the MLP and final blend.
It cannot recover relevant evidence absent from the initial candidate slate.
The strongest result uses two trained expert-prose domains. Independent
cross-domain replication is required.
This artifact's strong LegalBench-RAG/R2MED results do not establish general
superiority over text rerankers; the broader corrected conclusion is
domain- and system-dependent.
Scores are slate-relative because both dense and MLP outputs are z-normalized.
Two early-stopped prefills per candidate are expensive. Batch, cache the
candidate-only posture, truncate after layer 24, and gate usage in production.
Exact telemetry dependencies are required; changing the representation
contract invalidates calibration.
Benchmark relevance labels do not establish factual, legal, or clinical correctness.
The previous activation-support-fusion-v1 remains available for reproducibility
but is superseded. The historical behavior-latent-general-v0.1 result remains
withdrawn because of contaminated training or qrel-positive diagnostic slates.
Reproducibility
The bundle includes safe weights, frozen projection arrays, normalizers, exact
feature order, fit/dev/test query manifests, evaluation summaries, and SHA-256
checksums. Run: