




















A peer-review distribution of the Semiotic-Reflexive Transformer Adapter (SRT-Adapter), v8a generation, trained on top of a frozen Qwen/Qwen2.5-7B. Includes the trained weights, an inference-only loader, evaluation data, benchmark artifacts, and the paper.
Custom-code model. This is not an
AutoModel-loadable checkpoint.AutoModel.from_pretrained(...)will not work. Clone or download this repository and load the weights through the bundledSRTAdapterclass. See How to get started with the model.
Training and research source code is held back during patent and publication review. This package ships the architecture as inference-only Python, sufficient to load the weights and read out all four semiotic channels. Training pipelines, loss code, dataset construction, and the wider SRT framework are not included.
| Developed by | James Burton Lancaster |
| Model type | Adapter (parameter-efficient side network) on a frozen causal language model |
| Backbone | Qwen/Qwen2.5-7B (7.6B params, frozen, bf16) |
| Trainable parameters | ~14.5M (0.19% of backbone) |
| Language | English |
| License | Apache-2.0 (adapter weights, code, and config) |
The SRT-Adapter bolts semiotic awareness onto a frozen 7B language model. It does not modify a single backbone parameter and does not degrade language modeling quality. It exposes four new readouts at every token position:
The v8a generation is the headline result of the paper: removing the discrete prototype basis used in v3–v7 leaves cross-entropy unchanged while substantially improving every encoder-geometry metric.
All measured on Qwen/Qwen2.5-7B, with no backbone parameters touched.
| Metric | Unadapted Qwen | SRT-Adapter v8a |
|---|---|---|
| Validation cross-entropy (nats) | 2.71 | 2.63 |
| Reddit community recall@1 (35-class) | 0.029 (chance) | 0.484 (16.7× chance) |
| Archetype recall@1 (33-class, OOD) | 0.030 (chance) | 0.230 (7.6× chance) |
| Within/between cosine ratio | n/a | 2.016 (vs 1.006 prior) |
| Trajectory anisotropy expansion | n/a | ~325× vs prototype baseline |
| Regime AUROC | n/a | 0.99 (ECE ≈ 0.001 on 351K tokens) |
| TruthfulQA hallucination AUROC (zero-shot) | n/a | 0.573 (no TruthfulQA in training) |
| Counterfactual community decoding | n/a | 0.00 disagreement (factual) / 0.95 (contested) |
Full reporting and version history (v3 → v8b): paper §5 and Appendix A.
This adapter is the production-scaling stage of a multi-year research program on computational semiotics. The architectural commitments and training objectives were validated in two prior stages on different backbones and datasets before this release. Treat the v8a numbers below as the latest checkpoint in a longer arc, not as a fresh proposal.
VALIDATION_HISTORY.md, Stage 1.VALIDATION_HISTORY.md, Stage 2.For the program-level theoretical foundation see Lancaster (2025), "The Treachery of Signs," SSRN 5987495. For the full prior architecture specification and Stage 1 + Stage 2 results see Lancaster (2026a), SSRN 6349978. The present paper reports Stage 3 Phase 1 plus the v5 through v8a Stage 3 Scalable progression.
If you are reviewing the paper, use v8a. The model card will be updated with a revision tag if v9 ships as an upgrade.
srt-adapter-v8a/
├── README.md ← you are here
├── LICENSE ← Apache-2.0
├── paper.pdf ← preprint with full architecture spec (§3 + Appendix A)
├── VALIDATION_HISTORY.md ← Stage 1 + Stage 2 + Stage 3 Phase 1 evidence summary
├── config.json ← v8a hyperparameters and module dimensions
├── adapter.safetensors ← v8a weights (~28 MB, safetensors, preferred)
├── adapter.pt ← v8a weights (~28 MB, PyTorch state-dict, legacy)
├── requirements.txt ← torch + transformers + numpy + safetensors
├── src/
│ └── srt/ ← inference-only model code
│ ├── config.py ← config dataclasses
│ ├── adapter.py ← SRTAdapter (frozen-backbone wrapper)
│ └── modules/ ← CDH, MAH, RRM, BEN
├── examples/
│ ├── README.md
│ └── load_and_score.py ← end-to-end demo, prints all 4 readouts
├── data/
│ ├── DATA.md ← schema + reproduction instructions for the full corpus
│ ├── NOTICE ← copyright notice for bundled Reddit comments
│ ├── val_200.jsonl ← 200 held-out samples with per-token r_true labels
│ └── archetypes.json ← 33-class out-of-distribution archetype probe
└── benchmarks/
├── curated_metrics.json ← reference metrics from paper §5
└── curated_traces.json ← per-token trace dumps used in plots
Note on
benchmarks/curated_metrics.json. This file reports v8a numbers on a 100-passage curated probe (regime accuracy, per-layer divergence norms, community-protocol activations). The near-zero $\hat{r}$ vs $r_{\text{true}}$ Pearson on this slice is expected and is discussed in paper §5.7 ($\hat{r}$ tracks information density as much as contestedness on short curated passages). The headline Pearson and recall numbers in the Evaluation table above come from the full Reddit validation split, not this curated probe.
data/DATA.md for schema and reproduction.# 1. set up a venv (Python ≥ 3.10) and install deps
pip install -r requirements.txt
# 2. score a passage end-to-end
cd examples
python load_and_score.py --text "Vaccine mandates are an obvious public health win."
First run downloads Qwen/Qwen2.5-7B (~15 GB) from HuggingFace. The example loads adapter.safetensors by default and falls back to adapter.pt if the safetensors file is absent.
For a programmatic-use snippet, see examples/README.md.
The adapter is most useful as a diagnostic instrument for what a frozen language model already encodes about discourse structure. Some concrete patterns:
Use BEN's regime logits to flag which token positions in a passage sit in a contested-meaning regime. Useful for:
The 64-D community vector from CDH supports nearest-neighbor retrieval and clustering without ever needing community labels at inference. Useful for:
By steering the community vector at decode time, you can ask "how would this community complete this sentence?" Useful for:
$\hat{r}$ correlates with epistemic instability and gives a usable zero-shot AUROC of 0.573 on TruthfulQA. Useful as:
The MAH divergence vectors (3 × 256-D per token) are usable as semiotic features in any downstream classifier without retraining the backbone or the adapter. Useful for:
data/val_200.jsonl ships with per-token r_true labels. Reviewers can validate claims about $\hat{r}$ correlation, regime accuracy, and divergence norms against the bundled benchmarks/curated_metrics.json without rerunning training.
data/DATA.md for schema and reproduction.data/val_200.jsonl under the terms in data/NOTICE.| Module | Reads | Outputs | Paper section |
|---|---|---|---|
| Community Discovery Head (CDH) | layer 4 hidden states, mean-pooled | continuous 64-D community vector (no prototype basis under v8a) | §3.2 |
| Metapragmatic Attention Heads (MAH) | layers 7, 14, 21 | per-token divergence vectors (256-D × 3 layers) | §3.3 |
| Reflexive Recurrent Module (RRM) | accumulated divergence | 512-D GRU meta-state; FiLM injections back into layers 14, 21 | §3.4 |
| Bifurcation Estimation Network (BEN) | meta-state | per-token $\hat{r}$ + 2-way regime logits | §3.5 |
Full module specifications and loss decomposition: paper §3, §4, and Appendix A.
The paper publishes its failures in full. In short:
@article{lancaster2026srtadapter,
title = {Semiotic Taps: Lightweight Adapter Modules for Bifurcation
Detection in Frozen Language Models},
author = {Lancaster, James Burton},
year = {2026},
note = {Preprint, peer-review distribution}
}
@article{lancaster2026srtpreprint,
title = {Semiotic-Reflexive Language Model Training: Bridging
Interpretive Bifurcations through Metapragmatic Chain
Architectures and Embodied Grounding},
author = {Lancaster, James Burton},
year = {2026},
journal = {SSRN},
url = {https://papers.ssrn.com/abstract=6349978}
}
@article{lancaster2025treachery,
title = {The Treachery of Signs: Semiotic Mediation, Pitchfork
Bifurcation, and Political Polarization in Algorithmically
Curated Societies},
author = {Lancaster, James Burton},
year = {2025},
journal = {SSRN},
url = {https://papers.ssrn.com/abstract=5987495}
}
Full reference list (Peirce, Wildgen, Anderson, Silverstein, Kockelman, Evans, von Foerster, Maturana & Varela, Leighton, VanSaders, Bennett, Landauer, Parrondo, and others) in paper.pdf.
LICENSE).data/val_200.jsonl: included for research reproduction; comments remain the intellectual property of their original Reddit authors. See data/NOTICE.For training-code access, reproduction questions, or follow-up: see paper PDF for current author contact details.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。