All 57 Entries
Era I · Feb 2026 Essay (Verbatim + Nov 2026 Addendum) research est_j · Analytical / TDP Model Unifying Framing & Synthesis Feb 2026 Essay · Verbatim Text + Nov 2026 Errata

Beyond Binary: Ternary Computing for Energy Efficiency

What if we stopped forcing every number into zeros and ones? Ternary encoding with {-1, 0, 1} replaces multiplication with addition and cuts LLM inference energy by up to 82%.

David Charlot • • Addendum & Errata: Nov 25, 2026 • 8 min read • Glossary • Verification & AI-Use Disclosure
ternary energy-efficiency lut6 silicon ai-inference

Every transistor in every chip on the planet speaks the same language: zero or one. On or off. True or false.

We’ve built an entire civilization on this binary abstraction, and it works beautifully — for logic. But for arithmetic, especially the kind of arithmetic that dominates modern AI, binary is profoundly wasteful.

Consider matrix multiplication, the operation at the heart of every transformer model. Two floating-point numbers meet, get multiplied, and the result gets accumulated. This happens billions of times per inference pass. Each multiplication involves dozens of transistor state changes, each state change dissipates energy as heat, and most of that heat represents information the model doesn’t actually need.

What if we could replace those multiplications with additions?

The 1.58-Bit Insight

In late 2024, researchers demonstrated that large language models can be effectively quantized to 1.58 bits per parameter — values restricted to just three states: {-1, 0, 1}. (Superseded / corrected — refers specifically to BitNet b1.58 (Feb 2024), which requires quantization-aware training from scratch rather than post-training quantization; see Nov 25, 2026 Errata & Addendum below)

At first glance, this sounds like a catastrophic loss of precision. How can a model that originally used 16 bits per parameter survive on less than 2?

The answer lies in redundancy. Most of the information in a neural network’s weights is noise. The signal — the actual knowledge the model has learned — can be captured in the direction of each weight: negative, zero, or positive. The magnitude, it turns out, is largely redundant when you have enough parameters.

This isn’t just a theoretical curiosity. It has profound implications for energy consumption.


Multiplication Becomes Addition

When weights are constrained to {-1, 0, 1}, matrix multiplication simplifies dramatically:

  • Multiplying by 1 is a no-op — just pass the value through
  • Multiplying by -1 is a sign flip — one bit toggle
  • Multiplying by 0 eliminates the computation entirely

No floating-point multiplier units are needed. The entire operation reduces to conditional addition and subtraction. On modern hardware, this means:

  • 55-82% less energy per inference compared to FP16 models (Superseded / corrected — analytical arithmetic-energy projection from BitNet b1.58 gate models (est_j), not whole-system wall power; see Nov 25, 2026 Errata & Addendum below)
  • 5x more values per byte — five trits pack into one byte with room to spare
  • Cache-friendly — smaller weight representations mean fewer memory fetches

The arithmetic isn’t just simpler. It’s categorically different. You’re not approximating multiplication with cheaper multiplication. You’re eliminating it.


Invisible Ternary: Our Implementation

Invisible Ternary is our Rust implementation of ternary encoding for compute, databases, and networking. The project explores three domains:

Ternary compute kernels. SIMD-accelerated ternary matrix operations on ARM (Apple Silicon NEON) and x86 (AVX-512). These kernels process 5 trits per byte and use addition-only accumulation for the inner loop.

Ternary database encoding. JouleDB integrates ternary representations for similarity search. Hyperdimensional Computing vectors encoded in ternary enable O(1) approximate nearest-neighbor lookups with dramatically less memory and energy than dense float embeddings. (Superseded / corrected — fixed-dimension linear scan / constant-time bitwise Hamming op per vector, not asymptotic O(1) in corpus size N; see Nov 25, 2026 Errata & Addendum below)

Ternary network protocol. When model weights are ternary, there’s no reason to transmit them as floats. A ternary wire format reduces model download sizes and network energy proportionally.


The Energy Argument

The energy savings from ternary aren’t marginal. They’re structural.

A standard FP16 multiply-accumulate on Apple M4 consumes roughly 0.9 picojoules. A ternary conditional-add on the same hardware consumes approximately 0.15 picojoules. That’s an 83% reduction — not from better hardware, but from better math. (Superseded / corrected — 0.9 pJ vs. 0.15 pJ are generic 7nm CMOS ALU gate-level estimates (est_j), NOT physical measurements on an Apple M4 SoC, and exclude SRAM/DRAM fetch and trit-unpacking overhead; see Nov 25, 2026 Errata & Addendum below)

Scale that to a billion operations per inference pass, multiply by millions of inference requests per day, and the cumulative energy savings are measured in megawatt-hours.

This is what we mean when we talk about addressing the energy crisis at interfaces. The interface between model weights and compute hardware is the most energy-intensive boundary in modern AI. Ternary encoding shrinks that boundary to nearly nothing.


Binary got us here. Ternary gets us further — with less energy, less hardware, and less waste.

Strength and Honor.


View Repository Energy Research

Learn more at energy.openie.dev


Archival Note & Technical Errata

To preserve historical accuracy, the February 21, 2026 essay above is restored verbatim from founding commit 5e5f2a3, with inline bracketed markers pointing to the corrections below:

  1. Missing Citation & Date for BitNet b1.58 (“In late 2024, researchers demonstrated…”): The 1.58-bit (log2(3) ≈ 1.585 bits) result refers to BitNet b1.58 by Ma et al. (The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits, arXiv:2402.17764, February 2024, with bitnet.cpp CPU inference kernels following in late 2024). The original post omitted the direct citation.
  2. Mandatory Training-From-Scratch (QAT) Constraint: The February text wrote that LLMs “can be effectively quantized to 1.58 bits per parameter,” which readers could misread as post-training quantization (PTQ) of existing FP16 models. Naive post-training rounding of pretrained FP16 weights to {-1, 0, +1} severely degrades perplexity and task accuracy; matching FP16 quality at 1.58 bits requires quantization-aware training (QAT) from scratch (training with straight-through estimators and per-tensor/per-token absmean/absmax scaling across trillions of tokens).
  3. Gate-Level est_j Estimates Misstated as Apple M4 Measurements (0.9 pJ vs. 0.15 pJ and 55–82%): Neither 0.9 pJ nor 0.15 pJ was physically measured on an Apple M4 chip (Apple does not expose per-instruction ALU picojoule rails). Those figures derive from 7nm/45nm CMOS arithmetic-unit energy tables (Horowitz, ISSCC 2014; Ma et al., 2024, est_j) for isolated FP16 multiply-accumulate vs. INT8/ternary adders. On real von Neumann CPUs and GPUs, SRAM/DRAM weight fetches (~5–15 pJ/byte off-chip) and SIMD bit-unpacking instructions dominate total inference energy—meaning base-3 (3^5 = 243) division/modulo or table unpacking per inner loop can erase isolated ALU savings unless lookup tables are structured specifically to avoid unpack overhead.
  4. HDC O(1) Lookup Scope: Ternary hyperdimensional computing (HDC) reduces per-vector distance evaluation to fixed-width bitwise XOR/popcount operations (O(D) in fixed vector width D, independent of floating-point multipliers), but exact scan over N unindexed items remains O(N) unless paired with an approximate index or associative memory.
  • Setun & Balanced Ternary Hardware: Nikolay Brusentsov et al., Setun balanced-ternary ({-1, 0, +1}) computer at Moscow State University (1958)—demonstrating symmetric signed-digit addition and rounding hardware decades before modern neural accelerators.
  • Early Ternary Deep-Network Quantization: Fengfu Li, Bo Zhang, and Bin Liu, “Ternary Weight Networks (TWN),” arXiv:1605.04711 (2016); Chenzhuo Zhu, Song Han, Huizi Mao, and William J. Dally, “Trained Ternary Quantization (TTQ),” ICLR (2017).
  • 1.58-Bit LLMs & Table-Lookup Inference: Shuming Ma et al., “The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits,” arXiv:2402.17764 (2024); Jianyu Wei et al., “T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edge,” EuroSys (2025).
  • CMOS Arithmetic vs. Data-Movement Energy: Mark Horowitz, “1.1 Computing’s Energy Problem (and what we can do about it),” IEEE ISSCC (2014).

How This Seed Evolved by November 2026

Putting inline Texas Instruments DC current shunts (measured_j) and hardware RAPL/IOKit counters (reported_j) on real rails forced us to confront the exact bit-unpacking bottleneck hidden inside February’s 5-trits-per-byte (243 / 256) prototype:

  • Antisymmetric-40 Zero-Multiply EntroMCU / T-MAC Ternary Nucleus: Building on antisymmetric table-lookup principles, we eliminated runtime base-3 trit unpacking and sign-mirror redundancy—achieving 0 wasted bytes, a 1.65x end-to-end energy efficiency gain versus FP16 SIMD baselines on NVIDIA Jetson AGX Thor (measured_j via onboard TI DC rail shunts), and a 1.12x energy gain versus dense SIMD baselines on AMD Zen 5 (reported_j via RAPL) in Downward LUT6 Compilation.
  • The 64-State LUT6 Lookup Nucleus & Fanless M.2 Silicon: In The 64-Codon Lookup Table Nucleus, Wobble Harmonics, and Fanless M.2 Silicon (paper at research.openie.dev/papers/lut-adapt/) we proved across 20 six-kernel Lean 4 theorems that 6-input Boolean truth tables (2^6 = 64 truth-table entries) execute verified discrete reflex skills in 125–176 nJ (measured_j, Jetson Thor DC shunt), 38 ns (12.2 cycles on an Alif Ensemble MCU), and 0.86 W / 55.2 °C (est_j thermal envelope) on a fanless Artix-7 M.2 card. (Terminology clarification: calling the 64-entry LUT6 table a “64-codon” nucleus is a cardinality naming parallel between 2^6 = 64 Boolean input states and 4^3 = 64 nucleotide triplets—including masked don’t-care bit positions analogous to third-base degeneracy—not a claim of biochemical or biological isomorphism.)

Diff & Changelog (commit 5e5f2a3 → 2026-11-25)

  • Body text: Restored 100% verbatim from 5e5f2a3 (reversing silent mid-year inline edits to the 55–82% bullet, 5 trits bullet, and Apple M4 0.9 pJ / 0.15 pJ paragraph); added four explicit bracketed errata pointers.
  • Frontmatter: Added track, artifactStatus, licenseNote, and primaryClaim; added explicit evidence classes (est_j, measured_j) and comparison baselines to headlineMetric, evolutionSummary, and evolvedInto, and clarified the 2^6 = 64 vs. 4^3 = 64 cardinality naming parallel.
  • Addendum: Added BitNet b1.58, TWN, TTQ, Setun, and Horowitz citations; documented the QAT-from-scratch requirement and Apple M4 est_j correction.
DC

David Charlot

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

Essay text CC0-1.0; openIE-dev/invisible-ternary public crate (MIT/Apache-2.0) implements host SIMD packing kernels, while QAT model weights and hardware shunts live in Nov 2026 follow-on studies. Full licensing & AI-use disclosure →

Feb 2026 Essay · Verbatim Text + Nov 2026 Errata

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.