Downloads · 30 days
6
10% of all-time downloads
araujota/activation-support-fusion-v1
activation-support-fusion-v1 is a text ranking model from araujota. Use it for the text ranking task on the model card, and read the license before you ship it in a product. It is set up for activation-rag. The card lists the license as mit.
activation-support-fusion-v1 is an experimental second-stage evidence reranker. It combines prefill-only Qwen3-4B telemetry with metadata from an organic dense top-100 candidate slate. It does not accept text directly…
Downloads · 30 days
6
10% of all-time downloads
All-time downloads
63
Public
Parameters
49.3K
208 KB on disk
Likes
0
Public
Click a slice to open those files.
.json317 KB · 60%
From the Hugging Face model README
activation-support-fusion-v1 is an experimental second-stage evidence
reranker. It combines prefill-only Qwen3-4B telemetry with metadata from an
organic dense top-100 candidate slate. It does not accept text directly and it
does not generate answers.
Linear(254,128) -> ReLU -> Linear(128,128) -> ReLU -> Linear(128,1)model.safetensorsQwen/Qwen3-4B with the released RMT adapterlog1p plus row L2 normalizationresid_pre support residual1.0; dense metadata remain MLP inputsThe layer-24 primitive is computed from two zero-generation prefills:
row_l2(hidden_l24(true query + candidate) - hidden_l24(candidate only))
It is projected onto a split-safe L1-logistic support direction. The resulting scalar is expanded with within-slate z-score, rank, disagreement, and dense interaction terms before MLP inference.
Use this artifact for research on activation-augmented reranking over a frozen dense candidate slate, particularly expert evidence retrieval where topical hard negatives are common. Appropriate uses include controlled legal, biomedical, scientific, policy, and technical-documentation experiments.
Do not use it as a first-stage retriever, text-only reranker, answer generator, safety classifier, or autonomous medical/legal decision system.
pip install 'activation-rag @ git+https://github.com/araujota/activation-rag.git'
hf download araujota/activation-support-fusion-v1 --local-dir activation-support-fusion-v1
activation-rag-score \
--bundle activation-support-fusion-v1 \
--input slates.jsonl \
--output rankings.jsonl
Each JSONL row has query_id and candidates. Each candidate requires:
chunk_id, dense_score, and positive integer dense_rank;core245, either a feature-ID mapping or 245-value ordered array;l24_support_raw, or the two 2,560-value hidden-state arrays from which it is derived.from activation_rag.release_reranker import ActivationSupportFusionReranker
model = ActivationSupportFusionReranker.load("activation-support-fusion-v1")
ranked = model.score_slate(candidates)
The complete prompt, telemetry-capture, and production integration instructions are in the GitHub README.
The corrected publication evaluation used held-out LegalBench-RAG and pooled R2MED queries, organic dense top-100 candidates, no qrel-positive appending, and every test query in the metric denominator.
| Method | Combined nDCG@10 |
|---|---|
| Dense | 0.2683 |
| Core245 + dense | 0.2779 |
| L24 support residual + dense | 0.3534 |
| Full fusion | 0.3664 |
| Ettin | 0.3595 |
| BGE reranker v2-m3 | 0.3615 |
| Qwen3-Reranker-0.6B | 0.3662 |
Full fusion versus dense: absolute +0.0981, relative +36.5%, paired
randomization p=0.00010, bootstrap 95% CI [0.0797, 0.1166], 820 queries.
LegalBench-RAG was 0.3714 versus dense 0.2820; R2MED was 0.3404 versus
dense 0.1964.
The full model is statistically tied with the strongest tested text rerankers.
Its Core245 increment over L24+dense is modest but replicated (+0.0129,
p=0.0196; GPU replay +0.0117, p=0.0399). The release does not claim
universal state of the art.
The support direction and MLP were fit only on train partitions. Model and hyperparameter selection used dev partitions. Test query IDs were held out and are included in this repository for audit. Candidate-group guards required:
strict_organic_dense_topk_no_qrel_append provenance;The MLP used groupwise listwise ranking, AdamW, dense hard negatives, dropout,
weight decay, and a dev-selected alpha/epoch. See config.json,
l24-training-summary.json, and evaluation-summary.json for the released
contract and metrics.
Historical high scores from behavior-latent-general-v0.1, including an APPS
diagnostic, were affected by contaminated training or qrel-positive candidate
insertion and are explicitly withdrawn.
release-manifest.json supplies SHA-256 hashes for every release file. The
bundle uses Safetensors and a NumPy scorer, avoiding executable pickle loading.
The exact feature order and normalizer are embedded in config.json and checked
against feature-manifest.json at load time.
Citation metadata will be added after archival publication. For now, cite the repository URL and immutable Git commit used in your experiment.