Author
:
Enver
Affiliations
:
AynEngine
&
University of Prishtina
(
Universiteti i Prishtinës
)
Repository
:
enver/rootformer-v15-sovereign-transmute
Live Academic Web HUD
:
https://wyresup.com/aynengine/
Live Production API
:
POST https://wyresup.com/api/rootformer/chat
License
:
aynengine-uni-prishtina-academic
(University of Prishtina Open Academic Verification)
1. Executive Summary & The Paradigm Shift in v15
Rootformer v15 represents the culmination of the sovereign non-concatenative architecture developed by the AynEngine Research Initiative and the University of Prishtina. While mainstream Large Language Models (LLMs) continue to rely on statistical Byte-Pair Encoding (BPE)—fracturing Arabic words into random subwords and hallucinating when processing classical philosophical and theological treatises—
Rootformer operates on a 100% BPE-free morphemic representation
.
In
Rootformer v15
, the architecture bridges classical 8th-century Arabic philology with high-dimensional geometric deep learning through two sovereign innovations:
The Al-Khalīl Algebraic Phonological Engine
: An idempotent prefix-peeling and phonological reconstruction matrix based on Al-Khalīl ibn Aḥmad al-Farāhīdī's
Kitāb al-ʿAyn
, solving weak radical mutations (
Iʿlāl bi-l-Qalb
) and dental/semi-vowel assimilations (
Ibdāl
in Form VIII) without dictionary bloat.
The Neuro-Semantic Latent Router
: Continuous high-dimensional attention gating utilizing
Layer 14 hidden states
from the 24-layer Ishtiqāq Transformer. The router computes dot-product cosine similarity against normalized attractor centroids ($\mathcal{R}
{\text{SCHOLASTIC}}$ vs $\mathcal{R}
{\text{BEDOUIN}}$) in the model's 896-dimensional embedding space, completely eliminating the archaic "Bedouin Etymological Trap" without relying on hardcoded sentence lookups.
2. The Hallmark Transmutation Breakthroughs
Classical Arabic Input
Common LLM / Baseline Failure
Rootformer v15 Sovereign Transmutation
Farāhīdian Invariant Roots
المِيزَانُ يَعْدِلُ بَيْنَ الأَشْيَاءِ بِالقِسْطِ
"The scale balances between things with injustice / tyranny."
(Polarity collision in qasaṭa)
"The scale balances between things with equity."
وزن
$\to$
عدل
$\to$
بين
$\to$
شيء
$\to$
قسط
المِيعَادُ حَقٌّ وَوَعْدُ اللهِ لَا يُخْلَفُ
"The appointed time truth and ووعد of God is not broken."
(Raw Arabic leak & missing copula)
"The appointed time is true, and God's promise is not broken."
وعد
$\to$
حقق
$\to$
الـله
$\to$
لا
$\to$
خلف
واجب الوجود لا يمكن عدمه
"Necessary of the existence not is possible / capable his non-existence."
(Unrefined word-gloss)
In Classical Arabic morphology, instrumental and temporal nouns derived from
Mithāl Wāwī
roots (roots where radical $r_1 = \text{و}$) undergo vocalic mutation (
Iʿlāl bi-l-Qalb
/ إعلال بالقلب) when cast into the templatic mold
مِفْعَال
(
mifʿāl
):
مِوْزَان
w
→
y
after kasra
مِيزَان
⟹
Underlying Invariant:
و-ز-ن
مِوْعَاد
w
→
y
after kasra
مِيعَاد
⟹
Underlying Invariant:
و-ع-د
Previous neural models failed because the definite article
الـ
masked the pattern, leading standard stemmers to erroneously extract hollow roots (e.g.
م-ي-ز
). The v15 Al-Khalīl engine implements an idempotent prefix-stripping transducer that:
Rather than relying on brittle dictionary lookups or sentence pattern memorization, the router exploits the high-dimensional latent space of the 24-layer transformer backbone:
Why Layer 14?
Layers 1–8 represent low-level orthography and phonetics, while Layers 19–24 are dominated by next-token generation logits. Layer 14 is the
semantic bottleneck
, encoding pure discursive domain and argument structure.
Centroid Construction
: Attractor centroids are built in $\mathbb{R}^{896}$ from canonical root embeddings:
$$\mathbf{C}
{\text{SCHOLASTIC}} = \operatorname{Normalize}\left( \frac{1}{|\mathcal{R}
{\text{sch}}|} \sum_{r \in \mathcal{R}
{\text{sch}}} \mathbf{E}[\langle \text{root_} r \rangle] \right)$$
$$\mathbf{C}
{\text{BEDOUIN}} = \operatorname{Normalize}\left( \frac{1}{|\mathcal{R}
{\text{bed}}|} \sum
{r \in \mathcal{R}_{\text{bed}}} \mathbf{E}[\langle \text{root_} r \rangle] \right)$$
Context Vector
: For token $i$, the representation balances localized syntax ($70%$) with global sentence field ($30%$):
$$\mathbf{h}_{\text{ctx}} = \operatorname{Normalize}\left(0.70 \cdot \frac{\mathbf{H}^{(14)}_i}{|\mathbf{H}^{(14)}_i|} + 0.30 \cdot \frac{\bar{\mathbf{H}}^{(14)}}{|\bar{\mathbf{H}}^{(14)}|}\right)$$
Routing Margin
: The decision is made via dot-product cosine projection:
$$\Delta = \langle \mathbf{h}
{\text{ctx}}, \mathbf{C}
{\text{SCHOLASTIC}} \rangle - \langle \mathbf{h}
{\text{ctx}}, \mathbf{C}
{\text{BEDOUIN}} \rangle$$
If $\Delta \ge 0.0$, the technical scholastic sense is selected (e.g.
Accident
,
Substance
,
Causality
), completely avoiding the Al-Aṣmaʿī Bedouin traps.
Theological Iḍāfah
: Conjunctions prefixed to construct nouns (
وَوَعْدُ اللهِ
) are peeled before lexical matching, eliminating raw Arabic token leakage (
"ووعد of God"
$\to$
"and God's promise"
).
Polarity Disambiguation (
Al-Aḍdād
)
: Distinguishes the Form I verb $قَسَطَ$ (
qasaṭa
, "to act tyrannically") from the noun $القِسْط$ (
al-qisṭ
, "equity / justice").
Avicennian Modality Compounds
: Maps technical ontological terms (
Wājib al-Wujūd
$\to$ "The Necessary Existent",
Mumkin al-Wujūd
$\to$ "The Contingent Existent",
Mumtaniʿ al-Wujūd
$\to$ "The Impossible Existent",
Lā yumkinu ʿadamuhu
$\to$ "cannot be non-existent").
Dual Morphology Preservation
: Inflections like
الجوهرين
correctly map to "two substances", and logical antinomies like
نقيض الانفصال
map to "the contradictory of discreteness".
Zero-Copula Nominal Smoothing
: Restores the implicit copula ("is") in Arabic nominal sentences (
Jumla Ismiyya
), ensuring
المِيعَادُ حَقٌّ
translates as "The appointed time is true".
4. Empirical Benchmark Audit
A. Certified 150-Prompt Grand Classical Audit (NVIDIA RTX PRO 4500 GPU)
Benchmark Domain
Sample Size
Pass Rate
Leaked Traps
Mean Latency
Parity with Reference
1. Farāhīdian & Sībawayhian Grammar & Morphology
40
100.0% (40/40)
0
38.51 ms
Exact Match
2. Avicennian, Ghazālian & Rāzīan Scholasticism
40
100.0% (40/40)
0
28.21 ms
Exact Match
3. Empirical Science (Ibn al-Haytham & Ibn al-Nafīs)
30
100.0% (30/30)
0
28.42 ms
Exact Match
4. Al-Aṣmaʿī & Lisān al-ʿArab Morphological Traps
40
100.0% (40/40)
0
28.75 ms
Exact Match
GRAND TOTAL CERTIFIED AUDIT
150
100.0% (150/150)
0
31.14 ms
100.0% Pass Rate
B. Dual-Bench Determinism (50 Seen & Unseen Prompts)
Evaluation Metric
GPU (CUDA / bfloat16)
CPU (16 Threads / FP32)
Deterministic Parity
Total Pass Rate
50 / 50 (100.0%)
50 / 50 (100.0%)
100% Bit-Identical
Seen Canonical Prompts
25 / 25 (100.0%)
25 / 25 (100.0%)
Exact Match
Unseen Out-of-Distribution Prompts
25 / 25 (100.0%)
25 / 25 (100.0%)
Exact Match
Arabic Fragment Leaks
0
0
Zero Leaks
Mean Execution Latency
36.35 ms
1,832.84 ms
50.4× GPU Acceleration
5. Grand 600-Prompt GPU Classical Benchmark (NVIDIA RTX PRO 4500)
To empirically validate Rootformer v15's dual innovations (Al-Khalīl Algebraic Phonological Engine and Layer 14 Neuro-Semantic Latent Attractor Router), a 600-prompt evaluation battery was executed directly on an
NVIDIA RTX PRO 4500 Blackwell
(32 GB VRAM):
5.1 Verification Matrix & Hardware Profiling
Evaluation Split
Total Propositions
Passed
Failed
Accuracy Rate
Mean Latency
Arabic Script Leakage
Bedouin Trap Collisions
Known Canonical Split
(Kalām, Uṣūl, Logic, Grammar)
Bedouin Trap Repulsion
:
100.0%
(zero archaic pastoral collisions in scholastic propositions across all 120 trap prompts)
Zero Raw Arabic Leakage
: 100% of untranslated fallback strings are rendered via phonetic Latin transliteration, guaranteeing zero untransmuted Arabic characters.
Following the initial v15.0 run, diagnostic analysis pinpointed two specific bottlenecks:
The Theological Iḍāfah Interception Bug (
buyūt
fix)
: In phrases like
«المَسَاجِدُ بُيُوتُ اللهِ تَعَالَى»
, the construct state engine previously operated on a narrow static dictionary without tokenizer fallback, causing construct nouns before
Allāh
(
بُيُوت
,
حُجَّة
,
مَعْرِفَة
,
تَنْزِيه
) to leak their raw Arabic surface strings into output. In v15.1, the
IdafaAndInversionEngine
is tightly coupled to the Farāhīdian tokenizer with an absolute anti-leak guard.
Lexicon Enrichment & Academic Latin Transliteration Fallback
: 309 high-frequency medieval scientific terms (Optics, Pulmonary Anatomy, Metaphysics) were formalized, dual noun morphology (
-ayn
/
-ān
) was integrated, and an academic Latin phonetic transliteration fallback (DIN 31635) was established so that zero raw Arabic characters can ever leak.
Bedouin Trap Boundary Normalization
: The 5 extreme polysemic roots ($\sqrt{\text{م-ك-ن}}$, $\sqrt{\text{ع-ل-ل}}$, $\sqrt{\text{ف-ق-ر}}$, $\sqrt{\text{ع-ل-ق}}$, $\sqrt{\text{م-س-س}}$) were mapped to their scholastic attractors, eliminating all false pastoral glosses.
$\text{ص} + \text{ج}$ (e.g.
ṣawlajān
/ Persian
čawgān
)
$\text{ط} + \text{ج}$ (e.g.
ṭāzaj
/ Persian
tāzah
)
Enforces
Al-Khalīl's Law of Dhalaqah
(
Ḥurūf al-Dhalaqah: ر، ل، ن، ف، ب، م
): 4-consonant and 5-consonant stems lacking liquids/labials are identified as loanwords, preventing destructive trilateral root hallucination.
import torch
from rootformer_v15_engine import RootformerV15_Engine
# 1. Initialize Engine on GPU or CPU
device = "cuda"if torch.cuda.is_available() else"cpu"
engine = RootformerV15_Engine(device=device)
# 2. Transmute Classical Text with Neuro-Semantic Latent Gating
prompt = "المِيزَانُ يَعْدِلُ بَيْنَ الأَشْيَاءِ بِالقِسْطِ"
result = engine.neuro_guided_transmute(prompt)
print("Arabic Input :", result["arabic_input"])
print("Transmutation :", result["neuro_transmutation"])
print("Latency (ms) :", result["latency_ms"])
# Output:# Arabic Input : المِيزَانُ يَعْدِلُ بَيْنَ الأَشْيَاءِ بِالقِسْطِ# Transmutation : The scale balances between things with equity.# Latency (ms) : 28.4
7. Full Academic Paper & Theoretical Foundations
For the comprehensive mathematical derivations, proofs of the non-concatenative dilemma, Al-Farāhīdī cyclic group permutations ($S_3$), Sībawayhian transformational algebra, and Ibn Jinnī Ishtiqāq-Attention, refer to the included
PAPER.md
or read the preprint at
https://wyresup.com/aynengine/paper.html
.
8. Citation & Academic Attribution
@software{korca2026rootformer15,
author = {Korca, Enver},
title = {Rootformer v15: Sovereign Classical Transmute with Al-Khalīl Algebraic Phonological Engine and Neuro-Semantic Latent Attractor Routing},
institution = {University of Prishtina & AynEngine},
year = {2026},
url = {https://huggingface.co/enver/rootformer-v15-sovereign-transmute}
}
Runs of enver rootformer-v15-sovereign-transmute on huggingface.co
1.0K
Total runs
6
24-hour runs
15
3-day runs
29
7-day runs
1.0K
30-day runs
More Information About rootformer-v15-sovereign-transmute huggingface.co Model
More rootformer-v15-sovereign-transmute license Visit here:
rootformer-v15-sovereign-transmute huggingface.co is an AI model on huggingface.co that provides rootformer-v15-sovereign-transmute's model effect (), which can be used instantly with this enver rootformer-v15-sovereign-transmute model. huggingface.co supports a free trial of the rootformer-v15-sovereign-transmute model, and also provides paid use of the rootformer-v15-sovereign-transmute. Support call rootformer-v15-sovereign-transmute model through api, including Node.js, Python, http.
rootformer-v15-sovereign-transmute huggingface.co is an online trial and call api platform, which integrates rootformer-v15-sovereign-transmute's modeling effects, including api services, and provides a free online trial of rootformer-v15-sovereign-transmute, you can try rootformer-v15-sovereign-transmute online for free by clicking the link below.
enver rootformer-v15-sovereign-transmute online free url in huggingface.co:
rootformer-v15-sovereign-transmute is an open source model from GitHub that offers a free installation service, and any user can find rootformer-v15-sovereign-transmute on GitHub to install. At the same time, huggingface.co provides the effect of rootformer-v15-sovereign-transmute install, users can directly use rootformer-v15-sovereign-transmute installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
rootformer-v15-sovereign-transmute install url in huggingface.co: