All 57 Entries
Era 0 · Historical Whitepaper (Verbatim + Nov 2026 Addendum) Wave I · Post-Binary Research Survey (Feb 2026) research est_j · Analytical / TDP Model Unifying Framing & Synthesis February 17, 2026 7-domain external literature survey (RESEARCH.md); no novel experimental claims in Feb 2026 doc; subsequent OpenIE ternary kernels public at openIE-dev/tei-ternaryOS

Ternary Encoding Research Survey: 1.58-Bit QAT Weights, Balanced Ternary Logic, and Post-Binary Storage

February 17, 2026 7-domain literature survey covering QAT-trained BitNet b1.58/2B4T, TerEffic & TENET FPGA ternary LUTs, room-temperature Artix-7 SRAM ER-TCAM (293 ns) vs. 4 K cryogenic Josephson TCAM (26.5 aJ/cell), multipath QUIC, and Cranelift ISLE lowering.

David Charlot • • Addendum & Errata: Nov 25, 2026 • 8 min read • Glossary • Verification & AI-Use Disclosure
ternary-computing bitnet fpga lut6 tcam post-binary historical-whitepaper

Part I: Contemporary Historical Summary (As Written in February 2026)

Historical Source Provenance (Original Date: February 17, 2026): David Jean Charlot, PhD · Open Interface Engineering. Preserved from our internal 7-domain literature synthesis (RESEARCH.md, February 17, 2026). All figures in Part I summarize external published papers.

Purpose: Separating Historical Ternary Nostalgia From 2024–2026 Silicon Literature

Before publishing our February 19, 2026 essay on balanced ternary ({-1, 0, +1}), we compiled a 7-domain engineering literature review on February 17, 2026 to catalog peer-reviewed throughput, memory, and energy benchmarks across ternary LLM kernels, FPGA lookup fabrics, ternary content-addressable memories (TCAMs), transport protocols, and compiler backends.

Domain 1: 1.58-Bit Ternary LLMs (QAT) & FPGA Lookup-Table Accelerators

Constraining neural weights during training to {-1, 0, +1} (log2(3) ≈ 1.585 information bits/weight) replaces floating-point FMA multipliers in linear projections with integer sign-selection, zero-skipping, and addition—provided the model is trained from scratch via Quantization-Aware Training (QAT) rather than naively post-training quantized (PTQ):

Published SystemHardware SubstrateReported Throughput / Memory Ratio (vs. FP16 Baseline)Published Energy / Efficiency Ratio (External Literature)
BitNet b1.58 & 2B4T (Ma et al., 2024/2025)GPU custom kernels (QAT from scratch on up to 4T tokens)2.71x faster · 3.55x lower weight memory vs. LLaMA FP16~71.4% lower matrix-multiply arithmetic energy (7 nm model)
BitNet a4.8 (Wang et al., 2024)1.58-bit weights + hybrid 4-bit / sparsified activations55% active parametersMitigates 8-bit activation bottleneck
bitnet.cpp (TL1/TL2) (Wang et al., 2024)Commodity x86 AVX2 & ARM NEON LUT kernels2.37–6.17x (x86) · 1.37–5.07x (ARM) vs. FP16 CPU55–82% CPU inference energy reduction
TerEffic (Yin et al., 2025)AMD Alveo U280 FPGA (16 nm HBM/SRAM LUT fabric)16,300 tok/s (~46 W board) on 370M–2.7B models19x tokens/J vs. Jetson Orin Nano · 8x vs. A100
TENET (Huang et al., 2025)Sparse ternary LUT (FPGA + 28 nm/7 nm ASIC synthesis)Exploits 0-weight sparsity in LUT indexing4.3x (FPGA) · 21.1x (ASIC) energy efficiency vs. A100
TeLLMe v2 (2025)Low-power edge FPGA (KV260-class LUT matmul)Table-lookup prefill + decodeSub-10 W edge ternary execution

A central architectural observation from TerEffic and TENET was how naturally discrete low-bit weights map onto 6-input FPGA Lookup Tables (LUT6, 2^6 = 64 truth-table entries) without instantiating DSP floating-point multipliers.

Domains 2–7: Distinct Ternary TCAM Substrates, Arithmetic, QUIC, Telemetry & ISLE

The remaining six sections surveyed adjacent systems building blocks, keeping distinct device technologies separated:

Domain 2 — Ternary Vector Search & Two Distinct TCAM Hardware Regimes:
  • Ternary/1.58-bit Matryoshka embeddings: >96% recall retention at 10-16x smaller RAM footprint.
  • Regime A (Room-Temp 28 nm CMOS FPGA): Xilinx Artix-7 SRAM-emulated ER-TCAM — ~222M ternary
    wildcard searches/sec at ~293 ns latency (watt-scale board power; nanojoules per search).
  • Regime B (4 K Cryogenic Superconducting Circuit): SQUID / Josephson-junction ternary TCAM cell
    simulation — ~26.5 aJ cell switching energy (excludes ~300-1,000 W/W 4 K cryocooler overhead!).

Domain 3 — Balanced Ternary Arithmetic & Multi-Valued Device Physics:
  • Balanced ternary {-1, 0, +1} exhibits unbiased truncation rounding (zero DC rounding bias).
  • Ternary Wallace-tree multiplier papers reported 27.5% lower Power-Delay Product (PDP) at 800 MHz
    on multi-threshold CNTFET / 2D-material SPICE models (pre-commercial device simulation).

Domains 4 & 5 — Multipath QUIC Transport & Ultra-Low-Bitrate Neural Codecs:
  • Multipath QUIC (IETF draft), Media over QUIC (MoQ), and L4S low-queue-delay congestion (RFC 9330).
  • 2-3 kbps neural audio/avatar codecs (EnCodec, Lyra, keypoint deltas) vs. raw video bitstreams.

Domains 6 & 7 — Hardware Power Telemetry & Cranelift ISLE Lowering:
  • Surveyed Linux Intel/AMD RAPL (`powercap`), `zeus-apple-silicon`, and macOS `IOReport`/`powermetrics`.
  • Mapped Cranelift's `ISLE` term-rewriting DSL for packing 5 trits per 8-bit byte (`3^5 = 243 <= 256`).

Radix Arithmetic, Un-Merged TCAMs & QAT Scope Errata (2026-11-25 Audit)

  1. Correcting "3-Trit / 6-Bit 64-State" Radix Arithmetic (3^3 = 27, NOT 64!):
    • An earlier retrospective note on this page carelessly wrote “3-trit/6-bit biological-style 64-state codon addressing.” That conflates base-3 and base-4/base-2 exponentiation:
      • 3 trits span 3^3 = 27 states (NOT 64!).
      • 6 binary bits (2^6 = 64, the address width of a hardware LUT6) or 3 quaternary base-4 symbols (4^3 = 64, biological {U, C, A, G} RNA codons) span 64 states.
      • When 3 trits are stored using a standard 2-bit-per-trit binary encoding (00 = 0, 01 = +1, 10 = -1, 11 = unused/guard) to drive a 6-input LUT6, the 3-trit tuple occupies 27 valid ternary states out of the 64 physical LUT6 truth-table entries (leaving 37 unused/fault-trap bit patterns—whereas byte-level 5-trit packing uses 3^5 = 243 of 2^8 = 256 states, 94.9% density).
  2. Un-Merging the Two Separate TCAM Architectures (293 ns CMOS FPGA vs. 26.5 aJ 4 K Josephson Cell):
    • An earlier one-line summary compressed Domain 2 as “26.5 aJ/293 ns ternary TCAM search,” inadvertently implying a single device achieved both numbers simultaneously! In reality, they come from two completely incompatible physical substrates:
      • 293 ns (~222M searches/s) was measured on a room-temperature 28 nm CMOS Xilinx Artix-7 FPGA emulating ternary ER-TCAM in block/LUT SRAM at watt-scale board power (~nJ per lookup).
      • 26.5 aJ per match cell came from a 4 K cryogenic superconducting Josephson-junction / SQUID circuit study—a single-cell Josephson switching energy that omits the ~300–1,000 W of room-temperature wall-plug refrigeration power required per 1 W of 4 K cooling lift.
  3. Mandatory Training-From-Scratch (QAT) Requirement for 1.58-Bit LLMs:
    • Unlike INT8 or INT4 post-training quantization (PTQ), collapsing pretrained FP16/BF16 transformer weights directly to ternary {-1, 0, +1} severely degrades accuracy. Achieving BitNet b1.58 / 2B4T parity requires Quantization-Aware Training (QAT) with straight-through estimators (STE) and absmean/absmax per-tensor scaling from scratch across trillions of training tokens, paying substantial upfront GPU training energy (est_j) that only amortizes over high-volume inference deployments.

Chronological Evolution Within OpenIE Research

  1. First-Party Inline DC Shunt Measurements (64-Codon LUT6 Nucleus): Transitioned from citing external est_j papers to metering our own 6-bit (2^6 = 64-entry) LUT6 boolean primitives and Antisym-40 zero-multiply ternary kernels (27-of-64 2-bit-coded 3-trit groups and native 6-bit boolean codons in openIE-dev/tei-ternaryOS) via external inline DC board shunts (measured_j) on NVIDIA Jetson Thor (125–176 nJ per inference, 1.65x ternary efficiency gain) and 38 ns deterministic MCU execution.
  2. Compiling Stabilized Sub-Networks Into LUT6 Tables (Downward LUT6 Compilation): Bypassed full-model 4T-token QAT retraining by compiling bounded, stabilized reflex sub-graphs into 64-entry LUT6 tables (970 MB active streaming RAM on a 34.66B stack).
  • Li, F., Zhang, B., & Liu, B. (2016). Ternary Weight Networks (TWN). arXiv:1605.04711 — foundational {-W, 0, +W} threshold-based ternary neural quantization.
  • Zhu, C., Han, S., Mao, H., & Dally, W. J. (2017). Trained Ternary Quantization (TTQ). ICLR 2017 — learned asymmetric scaling factors {-W_n, 0, +W_p} via QAT.
  • Ma, S., Wang, H., Ma, L., Wang, L., Wang, W., Huang, S., Dong, L., Wang, R., Xue, J., & Wei, F. (2024). The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits (BitNet b1.58). arXiv:2402.17764; Ma, S., et al. (2025). BitNet b1.58 2B4T Technical Report (QAT from scratch on 4T tokens); Wang, H., et al. (2024). bitnet.cpp: Efficient Edge Inference for Ternary LLMs.
  • Yin, C., et al. (2025). TerEffic: Highly Efficient Ternary LLM Inference on FPGA. arXiv:2502.16473; Huang, Y., et al. (2025). TENET: Sparsity-Aware LUT-Centric Architecture for Ternary LLM Inference.
  • Brusentsov, N. P. (1958–1965). Setun Balanced Ternary Computer, Moscow State University — historical hardware origin of balanced ternary {-1, 0, +1} arithmetic.

Changelog (2026-11-25)

  • Fixed the "3-trit / 6-bit 64-state" radix conflation: stated explicitly that 3 trits yield 3^3 = 27 states, whereas 6 binary bits (2^6) or 3 base-4 codons (4^3) yield 64 states (27 of 64 LUT6 entries used under 2-bit-per-trit coding).
  • Un-merged the two distinct TCAM technologies in description, Part I, and Part II (293 ns room-temperature 28 nm Xilinx Artix-7 SRAM ER-TCAM vs. 26.5 aJ/cell 4 K cryogenic superconducting SQUID simulation excluding cryocooling).
  • Explicitly stated the from-scratch Quantization-Aware Training (QAT) requirement for BitNet b1.58, separated Part I from Part II, and added citations to TWN (Li et al., 2016), TTQ (Zhu et al., ICLR 2017), BitNet b1.58 (Ma et al., 2024), TerEffic (2025), TENET (2025), and Brusentsov’s Setun.
DC

David Charlot

Open Interface Engineering, Inc. · Signed Provenance · Self-Checked

Compiled February 17, 2026 as an internal literature survey (RESEARCH.md); subsequent first-party OpenIE ternary/LUT6 code is public at openIE-dev/tei-ternaryOS. Full licensing & AI-use disclosure →

February 17, 2026 7-domain external literature survey (RESEARCH.md); no novel experimental claims in Feb 2026 doc; subsequent OpenIE ternary kernels public at openIE-dev/tei-ternaryOS

Check the primary artifacts or run an independent replication

Inspect signed provenance manifests, rerun our public Apache-2.0 commodity-hardware replication kits, review our November 25, 2026 outside-review errata, or browse primary manuscripts on the Research Hub.