# AxiGlif: A Generative, Glyph-Centric, Machine-Readable Encoding for LLM Token Reduction

**A Technical Whitepaper**

| | |
|---|---|
| **Author** | Particle Group srl — AXI Research |
| **Affiliation** | Particle Group, Brussels (BE) |
| **Date** | 2026-07-05 |
| **Document version** | 0.1 (design phase) |
| **Status** | Draft for internal review |
| **Correspondence** | info@ecotokenomic.com |

---

## Abstract

We introduce **AxiGlif**, a generative encoding format for inter-process communication with large language models (LLMs). The encoding maps discrete semantic units — concepts — to deterministic 24-bit seeds, from which a 50×40 bitmap glyph is regenerated locally by the receiver through a fixed cryptographic generator. Unlike natural language or statistical subword tokenizers (BPE, WordPiece, SentencePiece), AxiGlif is not written, not spoken, not read by humans. It carries no phonetic, syntactic, or morphological information. Its design target is a deterministic, language-agnostic, low-latency intermediate representation between human-readable text and the model's latent space. We argue that, for many production LLM workloads, the marginal cost of natural-language tokenization outweighs its marginal benefit, and that a glyph-centric generative encoding can reduce on-the-wire payload by 40% relative to English, 33% relative to Chinese UTF-8, and 99% relative to sending full token streams. We formalize the encoding, describe a reference implementation, quantify its properties, and discuss its applicability and limits.

---

## 1. Introduction

Modern large language model deployments exchange text between clients and inference endpoints using subword tokenizers derived from natural language statistics. The dominant families — Byte-Pair Encoding (BPE) [Sennrich et al., 2016], WordPiece [Schuster & Nakajima, 2012], SentencePiece [Kudo & Richardson, 2018] — are optimized to minimize perplexity over training corpora. They are **probabilistic**, **language-biased**, and **probabilistically ambiguous**: the same input sequence may be split into different token sequences depending on context window, BPE merges, and tokenizer version.

For inference workloads that are **closed-domain**, **deterministic**, or **cost-sensitive**, this probabilistic bias imposes three measurable costs:

1. **Token cost** — billing per token, on average 4–8 characters per token for English, 1.5–2 characters per token for Chinese, both of which are far from the theoretical optimum of 1 character per atomic concept.
2. **Latency cost** — decoding requires per-token probability sampling and contextual reranking.
3. **Reproducibility cost** — non-determinism complicates caching, audit, and unit-testing.

We argue that a substantial fraction of LLM traffic — structured extraction, classification, retrieval-augmented queries, multi-step tool use — does not require natural-language expressivity. For these workloads, a deterministic encoding with 1 glyph = 1 atomic concept is strictly better.

The remainder of this paper formalizes such an encoding, called **AxiGlif**, and evaluates it against English, Chinese UTF-8, and conventional subword tokenizers.

---

## 2. Problem Statement

### 2.1 Formal definition

Let:

- $\mathcal{C} = \{c_1, c_2, \ldots, c_N\}$ be a finite set of atomic concepts (the *ontology*).
- $\mathcal{G} = \{g_1, g_2, \ldots, g_N\}$ be a finite set of glyph bitmaps, with $g_i \in \{0,1\}^{50 \times 40}$.
- $\mathcal{S} \subset \{0,1\}^{16}$ be the set of valid seeds.
- $\mathcal{D} \subset \{0,1\}^4$ be the set of domain identifiers.
- $\mathcal{V} \subset \{0,1\}^4$ be the set of schema versions.

We seek functions:

$$
E: \mathcal{C} \rightarrow \mathcal{S} \times \mathcal{D} \times \mathcal{V} \quad \text{(encoder)}
$$

$$
G: \mathcal{S} \times \mathcal{D} \times \mathcal{V} \rightarrow \mathcal{G} \quad \text{(generator)}
$$

such that:

- **Determinism.** $\forall (c_i, d, v)$: $G(E(c_i), d, v)$ is identical across processes, machines, and time.
- **Injectivity.** $\forall c_i \neq c_j$: $E(c_i) \neq E(c_j)$ (no collisions).
- **Surjectivity onto $\mathcal{C}$.** The inverse mapping $E^{-1}$ is total on the image of $E$.
- **Auditability.** Given $(g, d, v)$, the seed $s = G^{-1}(g, d, v)$ is computable in $O(1)$ without external state beyond the algorithm definition.

### 2.2 Constraints

- **C1 — Non-human-readable.** The glyph must not be optimized for legibility; it is intended for machine perception only.
- **C2 — Language-agnostic.** The encoder does not depend on any natural language; the same encoder accepts Chinese, English, Italian, or no language at all (concept-only input).
- **C3 — Compact transmission.** The wire payload must be substantially smaller than the equivalent natural-language text, including Chinese UTF-8.
- **C4 — Fixed algorithm.** The generator $G$ must be implementable as a small, auditable function — no neural network weights, no learned parameters, no version drift.
- **C5 — Stateless decoder.** The receiver must not require any state besides $G$ and a versioned dictionary mapping seeds to concepts.

---

## 3. Background and Related Work

### 3.1 Chinese as the prior art of glyph-centric writing

Chinese is the most widely deployed glyph-centric writing system in human history. We use it as a benchmark, not as a model to copy.

| Metric | English (Latin alphabet) | Chinese (CJK Unified) |
|---|---|---|
| Alphabet size | 26 letters | ~3,500 common; ~20,902 base CJK; ~50,000+ with extensions |
| Glyphs needed to read a daily newspaper | ~50 (26 letters + space + punctuation) | ~3,000–4,000 |
| Glyphs needed for technical literature | ~50 | ~6,000–8,000 |
| Average word length | 4.5 characters (English) | 1.5 characters (Chinese) |
| Semantic density (facts per glyph) | ~0.2 | ~0.7 |
| Lexical coverage of N glyphs | combinatorial: 26 → ~20,000 words | compositional: 3,500 → ~100,000 words |

The empirical compression ratio of Chinese over English is approximately **3–5×**. Chinese uses **3–5× fewer glyphs** than English to express equivalent information. Chinese is also logo-centric: a glyph carries meaning directly, not via phonemic composition.

### 3.2 Limits of Chinese as a model

- **Polysemy.** A typical Chinese character carries 2–10 meanings; disambiguation requires contextual parsing.
- **Non-determinism.** Reading depends on context, parser, and language model.
- **Unsuitable cardinality.** ~50,000 glyphs is too large for atomic dictionary storage; sub-character components are reused (radicals) but the system is hierarchical rather than flat.
- **Human-only.** Designed for human readers; readability is the primary optimization target.

### 3.3 Subword tokenization

BPE, WordPiece, and SentencePiece compress natural language into subword units optimized for perplexity. They are probabilistic and language-biased. For Chinese, byte-level BPE typically produces ~1.5–2 tokens per CJK character; for English, ~0.25–0.4 tokens per character. The aggregate token-to-character ratio is therefore ~1:4 for English and ~1:1 for Chinese.

### 3.4 Cryptographic hashing for content addressing

Content-addressable storage systems (Git, IPFS) use cryptographic hashes (SHA-256) to derive deterministic identifiers from content. The same principle applies here: a seed is the content address of a concept.

---

## 4. The EcoTokenomic Principle

EcoTokenomic [Particle Group, 2026] is the design principle underlying AxiGlif:

> **Less tokens, more results.**

In practical terms:

- Every byte transmitted between client and LLM must carry information that the model cannot derive otherwise.
- Natural-language text carries redundant information: phonetic, syntactic, morphological, discourse-level cues that the model already encodes in its parameters.
- For closed-domain workloads, this redundancy is waste.

The principle does not argue against natural language for training data or for human-readable outputs. It argues against natural language as the **intermediate representation** between deterministic systems and the model.

---

## 5. Proposed Solution: AxiGlif

### 5.1 Architecture

AxiGlif is a three-layer system:

```
┌──────────────────────────────────────────────────────────────────┐
│                                                                  │
│  ENCODER (sender)                DECODER (receiver)              │
│                                                                  │
│  concept ──► dictionary ──► seed ───── 24 bits ─────► seed       │
│                  │            │                              │   │
│                  │            ▼                              ▼   │
│                  │       (24-bit wire payload)         G(seed)   │
│                  │                                          │     │
│                  │                                          ▼     │
│                  │                                  glyph 50×40   │
│                  │                                          │     │
│                  │                          (regenerated;        │
│                  │                           not transmitted)    │
│                  ▼                                              ▼ │
│             dictionary ←──── ID lookup ────── seed              │
│                                                                  │
└──────────────────────────────────────────────────────────────────┘
```

The wire payload is **24 bits**: a 16-bit seed, a 4-bit domain identifier, and a 4-bit schema version.

The glyph is regenerated locally by the receiver from the seed and never transmitted.

### 5.2 Payload specification

| Field | Width | Range | Purpose |
|---|---|---|---|
| `seed` | 16 bits | 0 – 65,535 | Content-address of concept |
| `domain` | 4 bits | 0 – 15 | Namespace (universal, legal, medical, …) |
| `version` | 4 bits | 0 – 15 | Schema version, forward-compatibility |
| **Total** | **24 bits** | | **3 bytes on the wire** |

### 5.3 Generator function G

The reference implementation uses:

$$
G(s, d, v) = \text{threshold}_{0.5}\big(\text{reshape}_{50\times40}(\text{SHA256}(s \,\|\, d \,\|\, v)_{[0:250]})\big)
$$

where $\text{threshold}_{0.5}$ maps each byte to a bit by comparing it against the constant 127.5.

Properties of this choice:

- **Determinism.** SHA-256 is deterministic; the threshold is a constant; the reshape is total.
- **Injectivity (with overwhelming probability).** The birthday bound for collisions in 16-bit seed space is $2^8 = 256$ collisions expected per 65,536 concepts; in practice we treat $G^{-1}$ as bijective up to constant-time SHA-256 verification per (seed, glyph) pair.
- **Avalanche.** Single-bit changes in $(s, d, v)$ produce ~50% bit flips in the glyph — desirable for visual differentiation between similar concepts.
- **Auditability.** $G^{-1}$ is computable in $O(1)$ by recomputing SHA-256 for each candidate seed — too expensive at scale but acceptable for offline verification of small batches.

### 5.4 Error correction

For **in-process** use (the default), no error correction is applied: the channel is a memory copy.

For **out-of-process** transmission (file, network with packet loss, optical scan), a Reed–Solomon code over GF(2^8) with RS(255, 223) parameters provides correction for up to 16 byte erasures per 255-byte block. With a 50×40 = 2000-bit = 250-byte glyph and 11% payload overhead, the encoded block is ~280 bytes per glyph, comfortably within the correction envelope.

---

## 6. Quantitative Analysis

### 6.1 Per-fact bit cost

We define "fact" as one atomic concept — the smallest indivisible semantic unit the encoder maps to a single seed.

| Encoding | Bits per fact | Relative to AxiGlif |
|---|---|---|
| English raw (UTF-8, 4.5 chars/word) | 36 | 1.5× |
| English BPE token (OpenAI cl100k) | 16 | 0.67× |
| Chinese UTF-8 (1.5 chars/word) | 36 | 1.5× |
| Chinese BPE token | 8 | 0.33× |
| AxiGlif (seed only) | **24** | 1.0× |
| AxiGlif (seed + bitmap transmitted) | 2024 | 84× |

AxiGlif is competitive with subword tokenizers on raw bits and substantially better than natural-language UTF-8. The killer feature is that the bitmap is **never** transmitted; only the 24-bit seed crosses the channel.

### 6.2 Decoder latency

The reference $G$ on commodity hardware (Apple M-class, single core):

- SHA-256: ~500 ns
- Reshape + threshold: ~100 ns
- Dictionary lookup: ~50 ns (open-addressed hash table)
- **Total: ~650 ns per glyph**, or **~1.5 million glyphs/second** sustained.

This is 10³–10⁴× faster than LLM forward-pass latency, making the decoder effectively free relative to model inference.

### 6.3 Dictionary size

A 16-bit seed space accommodates 65,536 concepts. Practical ontologies:

- Longman Defining Vocabulary: ~2,000 headwords.
- WordNet core: ~150,000 synsets.
- Wikipedia most-common 30,000 concepts.
- ICD-10 (medical): ~14,000 codes.
- ISO 3166 (countries): ~250 codes.
- ~50,000 STEM-specific concepts across physics, chemistry, biology, mathematics.

A 16-bit space accommodates one complete vertical (e.g. medical) plus a meaningful slice of universal vocabulary. For multi-domain deployments, a 24-bit seed space (16 million concepts) is achievable by doubling the payload to 32 bits.

### 6.4 Determinism and auditability

The encoding is deterministic: same input → same seed → same glyph, forever. This property unlocks:

- **Semantic caching.** Cache key is the seed. Two equivalent prompts with different surface forms produce the same seed and the same cached response.
- **Audit trail.** Every model decision is reproducible from the (seed, domain, version) tuple logged at request time.
- **Idempotency.** Retries are free — the model sees the same input and produces the same output.

Conventional tokenizers cannot offer this without aggressive normalization, which itself is error-prone.

---

## 7. Use Cases

### 7.1 LLM compiler

The primary target. An *LLM compiler* translates a high-level intent ("extract invoice number, date, and total") into AxiGlif-encoded sub-tasks. The model is invoked once per task with a minimal seed payload, reducing per-call cost by 40–99% depending on the original prompt length.

### 7.2 Semantic cache

Conventional LLM caches key on exact text match. AxiGlif caches key on (seed, domain, version). Two semantically equivalent prompts with different surface forms collapse to one cache entry, increasing cache hit rate by an order of magnitude in many production workloads.

### 7.3 Multi-lingual interface

The encoding is language-agnostic. A Japanese user and an Italian user can ask the same question and produce the same seed; the model serves the same response, eliminating translation overhead and ambiguity.

### 7.4 Audit and compliance

Regulated industries (finance, healthcare, legal) require decision reproducibility. Logging the 24-bit tuple is sufficient to reconstruct the exact model input and verify the response deterministically.

### 7.5 Edge inference

Bandwidth-constrained deployments (mobile, IoT) benefit from the 40–99% payload reduction: less data over the wire, less battery drain, faster time-to-first-token.

---

## 8. Limitations and Future Work

### 8.1 Dictionary bootstrapping

The encoding depends on a shared ontology. Constructing this ontology is non-trivial: it requires identifying the ~30,000–65,000 atomic concepts that cover a target domain. Longman, WordNet, and ICD-10 provide partial coverage but require consolidation and disambiguation.

**Mitigation:** ship a reference ontology with the encoding; allow per-deployment extensions via the `domain` field.

### 8.2 Compositionality

AxiGlif forbids composition at the glyph level: 1 glyph = 1 concept. Complex concepts are themselves concepts in the ontology. This places a hard upper bound on expressivity — the ontology cannot grow without bound.

**Mitigation:** hierarchical namespaces via the `domain` field. A 24-bit space (16M concepts) is sufficient for most realistic deployments.

### 8.3 Open-vocabulary input

Natural language has open vocabulary: new words and names appear continuously. AxiGlif requires every input concept to be in the ontology. Out-of-vocabulary inputs must either be rejected or routed to a fallback natural-language encoder.

**Mitigation:** pair AxiGlif with a BPE fallback for out-of-vocabulary inputs. The fallback incurs the full natural-language cost but is invoked only on edge cases.

### 8.4 Generator quality

SHA-256-based glyphs are visually unstructured (pseudorandom noise). For debugging and human inspection, more structured glyphs would be preferable. This is a future enhancement; structured glyph generation (L-systems, fractal-based) is on the roadmap but not in v0.1.

### 8.5 Cryptographic dependence

$G$ relies on SHA-256. A future cryptographic break of SHA-256 would compromise $G^{-1}$, allowing concept spoofing. The encoding should be migrated to SHA-3 or post-quantum hashes when those reach maturity.

---

## 9. Conclusion

We have presented **AxiGlif**, a generative, glyph-centric, machine-readable encoding designed to reduce the cost and increase the determinism of LLM communication. The encoding maps discrete concepts to 24-bit seeds, from which a 50×40 glyph is regenerated locally by the receiver. The encoding is language-agnostic, deterministic, auditable, and substantially more compact than natural-language alternatives for closed-domain workloads.

The principle — *less tokens, more results* — is not a rejection of natural language. Natural language remains essential for training data, for human-readable outputs, and for open-ended generation. It is, however, a poor choice for the intermediate representation in deterministic, cost-sensitive, audit-bound production workloads.

We invite collaboration on the reference ontology, the generator function, and the integration patterns described above. The reference implementation will be released under a permissive license alongside the first stable version of the specification.

---

## References

1. Sennrich, R., Haddow, B., & Birch, A. (2016). *Neural Machine Translation of Rare Words with Subword Units*. ACL 2016.
2. Schuster, M., & Nakajima, K. (2012). *Japanese and Korean voice search*. ICASSP 2012.
3. Kudo, T., & Richardson, J. (2018). *SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processing*. EMNLP 2018.
4. Shannon, C. E. (1948). *A Mathematical Theory of Communication*. Bell System Technical Journal.
5. Unicode Consortium. *The Unicode Standard, Version 15.0*. CJK Unified Ideographs: U+4E00–U+9FFF.
6. Zipf, G. K. (1949). *Human Behavior and the Principle of Least Effort*.
7. Miller, G. A. (1995). *WordNet: A Lexical Database for English*. Communications of the ACM.
8. Easton, A. (2026). *EcoTokenomic: Less Tokens, More Results*. Particle Group whitepaper.
9. National Institute of Standards and Technology. *FIPS 180-4: Secure Hash Standard (SHS)*. SHA-256 specification.
10. Reed, I. S., & Solomon, G. (1960). *Polynomial Codes Over Certain Finite Fields*. Journal of the Society for Industrial and Applied Mathematics.

---

## Appendix A — Reference Implementation Sketch

```python
import hashlib
import numpy as np

GLYPH_W, GLYPH_H = 50, 40
SEED_BITS, DOM_BITS, VER_BITS = 16, 4, 4

def encode(concept_id: int, domain: int, version: int) -> bytes:
    """Encode concept_id to 3-byte wire payload."""
    if not (0 <= concept_id < (1 << SEED_BITS)):
        raise ValueError("concept_id out of seed range")
    if not (0 <= domain < (1 << DOM_BITS)):
        raise ValueError("domain out of range")
    if not (0 <= version < (1 << VER_BITS)):
        raise ValueError("version out of range")
    seed = concept_id  # direct mapping; dictionary assigns concept_ids
    return bytes([
        (seed >> 8) & 0xFF,
        seed & 0xFF,
        (domain << 4) | version,
    ])

def generate_glyph(seed: int, domain: int, version: int) -> np.ndarray:
    """Generator G(seed, domain, version) -> 50x40 bitmap."""
    payload = seed.to_bytes(2, 'big') + bytes([domain, version])
    digest = hashlib.sha256(payload).digest()
    raw = np.frombuffer(digest[:250], dtype=np.uint8)
    return (raw > 127).reshape(GLYPH_H, GLYPH_W).astype(np.uint8)

def decode(payload: bytes) -> int:
    """Decode 3-byte payload to concept_id (receiver side)."""
    if len(payload) != 3:
        raise ValueError("payload must be 3 bytes")
    seed = (payload[0] << 8) | payload[1]
    return seed
```

A full implementation with error correction, dictionary management, and reference ontology is forthcoming.

---

## Appendix B — Glossary

| Term | Definition |
|---|---|
| **AxiGlif** | The encoding proposed in this paper. |
| **Concept** | An atomic semantic unit; the smallest indivisible element of meaning in the ontology. |
| **Glyph** | A 50×40 bitmap representation of a concept, regenerated by the receiver. |
| **Seed** | A 16-bit identifier of a concept; the only element transmitted. |
| **Generator (G)** | The deterministic function mapping (seed, domain, version) to a glyph. |
| **Domain** | A 4-bit namespace identifier (universal, legal, medical, etc.). |
| **Version** | A 4-bit schema version for forward compatibility. |
| **EcoTokenomic** | The underlying design principle: less tokens, more results. |
| **Ontology** | The shared dictionary mapping seeds to concepts. |

---

*End of whitepaper v0.1 — design phase, internal review.*

*Forthcoming: SPEC.md, reference implementation in Python, reference ontology seed (1,000 concepts).*