Kestrom Rules

by CAPH TECH · Technique · Text & code

A method that turns short hand-written rules into a small network reading a language model's internal signals, giving agents a memory that answers or abstains.

Latest · Nov 28New kestrom bridge rules (PR #33) ports per-token DSL probes fitted on Qwen3.5-4B to other models; on Gemma 4 E4B in_code F1 reached 0.9238 with unlabeled Z-score calibration.

Evidence

  1. Nov 28
    Ported probes carry token-domain features like code spans and language well, but next-token syntax features such as sentence ends lose AUC across model families.
    Hands-on testrizumitaJapanese
  2. Nov 26
    Rules compile to a small 3-layer neural net that returns null when no unit fires; an agent-written 85-line rule set got 55 right, 4 null and 1 wrong on 60 unseen questions.
    Maker's claimrizumitaJapanese
  3. Nov 26
    The 'open line' method forces the first answer line's class from the rules: Qwen3.5-4B first-line accuracy rose from 13 to 22 of 24 unseen questions; greedy MLX only, not vLLM or llama.cpp.
    Maker's claimrizumitaJapanese

Alternatives

Works with
Made for Kestrom Rules