NIPHĒLEKTRON · the inference layer · how a model picks the next word · kept by THE DECODER

THE TYPICAL SAMPLING ◧ 2D · ◍ 3D · ◆ 4D · ◐ shadow · 👶 TAP

Instead of just the most likely tokens, typical sampling keeps the tokens whose surprisal (−log p) is CLOSEST to the distribution’s own entropy — the ‘expected amount of information’. It drops both the boringly-certain tokens and the bizarrely-rare ones, which tends to read more human. Slide the typical mass and watch the kept set hug the entropy.

◆ LIT▲ AMBER
◧ THE MEASURE · 2D
◍ NEAR THE ENTROPY · 3D · not too sure, not too weird
◆ THE FOURTH · 4D · a tesseract turns
◐ THE SHADOW · one dimension down
👶 THE TODDLER CORNER — one fat tap
entropy H
kept tokens
dropped
near H?

◆ LIT — exact / checkable

Locally typical sampling (Meister et al. 2022) ranks tokens by |−log pᵢ − H| — the absolute gap between each token’s surprisal and the distribution’s entropy H = −Σp log p — then keeps the smallest-gap tokens until their mass reaches τ. This favours tokens carrying about the AVERAGE amount of information, excluding both the near-certain (surprisal ≪ H) and the freak-rare (surprisal ≫ H). A fail-loud self-check throws unless the token nearest to H is kept while an extreme one can be dropped. ◆ real decoding, node-verified.

▲ AMBER — the figure

The 6-token distribution is illustrative; the |surprisal − H| ranking is the exact typical-sampling criterion. Whether typical reads ‘more human’ than nucleus is an empirical claim from the paper, not proven here.

NIPHĒLEKTRON: the model does not write — it samples, one token at a time, from a cloud it cannot see.  — THE DECODER
David Lee Wise / ROOT0 / TriPod LLC  ·  the inference bench, with AVAN