Toward a 27B Below One Bit Per Weight: Research Log
As of 2026-11-23, 07:45 Pacific time, we do not have a 27B below one bit per weight. We have a 0.6B pilot, Qwen3-0.6B at a target of 0.55 bits per weight. Its best student scores a perplexity of 221.9, down from 619.5 on the first recipe, where the full-precision model scores 20.97 (lower is better). That is about ten times the teacher and not usable yet. That run is now being graded on our own benchmark.
- Measured. With the fused kernel, our llama.cpp fork computes 1-bit factors on a toy model on CPU within 0.00055 of the reference, on output scores that span about 4. Through llama.cpp's stock 1-bit path the same test was 0.060 off. The exporter works on a real 0.6B model in PyTorch: the file is 364 MB, of which 311 MB is the unconverted token embedding and 47 MB is the converted layers. The student inside it is not usable, and the fork has not loaded that file.
- Not proven. A student good enough to use. The real model running on the fork. The runtime on a GPU. Anything at 27B.
- Next. The benchmark grading finishes for the newest student, the teacher and the four earlier students. Then the exported student goes through the fork.
What we are trying and why
Our 27B today is the ternary Bonsai 2 27B: every weight is minus one, zero or plus one. The two files we ship store it at 1.75 and 2.125 bits per weight, about 6 to 7 GB. It answers at 54 tokens per second on a desk GPU that is busy with other work. That was measured under shared load, so it is a floor and not a clean benchmark.
We want that model below one bit per weight, running on our own llama.cpp fork. By our estimate that is a file of about 3.3 GB against about 6 GB for the smaller of the two files. What it would buy is room: the model shares its GPU with other work, and a file about half the size would fit hardware the ternary one does not. File size is not run-time memory, and we have measured neither at 27B.
The method is LittleBit (Lee, Kim, You, Kim, NeurIPS 2025) and LittleBit-2 (Lee, Kim, ICML 2026). Each weight matrix becomes two small matrices that hold only plus one and minus one, with three thin vectors of scales around them. That is done twice: a main path, and a residual path that fits what the main path missed. We call the result the factored form. The width of the small matrices is the rank, and because there are far fewer signs than weights, the average drops below one bit per weight. The claim is about the weight matrices. The token embedding is not converted, and it counts against the file.
A converted model is useless until it is trained. The training is distillation: the full-precision model is the teacher, the converted model is the student, and the student learns to match the teacher's answers, meaning its probabilities for the next token. Each plus one or minus one is the sign of a hidden number, and a bit flips only when training pushes that number across zero.
The first paper sets the expectation, on WikiText-2, the same test set we use. At 0.55 bits per weight its 32B model (QwQ-32B) goes from a perplexity of 6.34 to 13.57. Its smallest model (OPT-1.3B) is about twice the size of our pilot and lands at 1.6 times its teacher after five passes over the data. On reasoning, its 8B model (Llama3-8B) scores 44% average accuracy across seven reasoning test sets where the full model scores 70%. Those sets are multiple choice and the paper prints no chance level, so part of that 44% is guessing.
We are not promising a 27B that reasons. The papers report fluent text and a large loss in reasoning. Our pilot has not reached fluent text yet. The pilot is also not the 27B: Qwen3-0.6B is a much smaller model, picked because a run on it is cheap.
The reference code is licensed for non-commercial use. We did not use it. We wrote the trainer and the runtime from the papers. What a reader can check from outside is the two papers and the test set.
The lab
One row per experiment, and the failures stay on it. Row numbers do not change when a run starts or lands.
Perplexity measures how badly a model predicts real text. Every perplexity here is Qwen3-0.6B on WikiText-2, a standard test set of encyclopedia text. Logits are the raw scores a model assigns to each possible next token. A layer is one weight matrix, and a block is one repeated unit of the model, seven layers in Qwen3-0.6B. Float factors are the sign matrices held as ordinary numbers, and 1-bit factors are the same matrices stored one bit per entry. The stock kernels are llama.cpp's existing 1-bit routines. The exporter reference is the exported factors multiplied back out into plain weights. CI is our automated test run.
| # | Question, and what we changed | Status | Result |
|---|---|---|---|
| 1 | Does our runtime compute the factored form correctly? Toy model written as plain weights, float factors and 1-bit factors. | done | Pass with float factors. Fail with 1-bit factors through the stock kernels: 0.060 off, and the top token flipped. |
| 2 | Does the exporter's rank padding leave the function unchanged? Rank 100 padded to 128. | done | Pass with float factors. Through the stock kernels, the same rounding as row 1. |
| 3 | Can one kernel remove the 1-bit error? One fused kernel per layer. | done | Pass. 0.00055 on the exported toy, and the top token stopped flipping. Slower on a batch. |
| 4 | Does a real model export? A trained Qwen3-0.6B student through the exporter. | done | Pass in PyTorch only. 364 MB, most of it unconverted embedding. Not loaded by the fork. |
| 5 | Does the trainer fit a real model on one 48 GB card? First rented run. | done | Yes, with a loss that keeps two copies of the logits. |
| 6 | Is the paper's loss usable in our trainer? Match the teacher's answers and every layer's output. | done | Fail. 619.5. |
| 7 | Does rescaling the layer-matching term help? | done | Better, not usable. 377.3. |
| 8 | Does dropping layer matching help? Answers only. | done | Yes. 244.1, not usable. |
| 9 | Does our own reasoning data help? Baseline loss, our reasoning and tool-call examples mixed in. | done, wrong test | No verdict. 788.7 on encyclopedia text. |
| 10 | How much of a layer does conversion throw away before training? Measured on every layer of the real model. | done | Measured. 83% on average. |
| 11 | Are the sign bits free to learn? Counted at the start, then rescaled. | done | Measured. 13% start with almost no training signal. A rescale brings that under 1%. Effect on training not measured. |
| 12 | Can the work split into one job per block? Block-by-block training on a random toy. | done | Mechanics pass. Quality not tested on a real model. Toy numbers are in the splitting section. |
| 13 | Do a better start and unfrozen signs improve on row 8? Answers only, plus the rotation, plus the frozen-sign rescale. To be graded on our own benchmark as well. | grading | Best so far, not usable. 221.9. Signs still barely move. Benchmark grading running. |
| 14 | Does the exported student give the same logits on the fork as in PyTorch? Load the 364 MB file in the fork. | next | |
| 15 | Does more training close the gap? The best recipe, run past one pass over the data. | next | |
| 16 | Does a block job fit a 16 to 24 GB card? Feed a block job cached teacher activations, not the whole teacher. | next | |
| 17 | How much does a rerun move the number? Repeat one finished run with a different seed. | not started | |
| 18 | Does the runtime work on a GPU? | not started | |
| 19 | Can the healing pass run on merged block files? | not started | |
| 20 | How does our ternary 27B score on the same tests? | not started | |
| 21 | How does a smaller model at ordinary precision, sized to the same memory, score on the same tests? | not started | |
| 22 | Is the factored model at least as fast as the ternary one? | not started | |
| 23 | After half an epoch, can the factored 27B hold a tool call? | not started |
The board in one line: the runtime and the exporter pass on a toy, every trained student fails, one run is in flight, three are queued and seven are not started.
Rows 7 and 8 each change one thing against the baseline in row 6. Row 9 keeps the loss and the step count and changes the training text. Row 13 stacks two changes on row 8 and adds a second grading, so if it moves we will have to split them.
What we built
Runtime. We needed these models to run outside Python. We added the factored form to our llama.cpp fork, in about 90 lines at first. It needs no new file format, because the sign matrices ride in the 1-bit tensor type llama.cpp already has.
Trainer. Distillation with two loss terms we can turn on and off. One matches the teacher's answers. The other matches the output of every layer. The first paper trains with both.
Exporter. It turns what the trainer writes into a file in the runtime's format. The toy's exported file loads in the fork and matches. The real model's file has not been loaded by the fork yet (lab 14). The trainer can use any rank and the 1-bit type wants a multiple of 128, so the exporter pads each rank up with directions whose scale is zero.
On Qwen3-0.6B the full-precision file is 1.51 GB and the exported file is 364 MB. That is not a size result. The token embedding, which is not converted, is 311 MB, about 85% of the file. The binary factors and their scales are 47 MB. The remaining 6 MB or so is the other unconverted tensors and the file's metadata. The exported factors reproduce the trained student to five decimal places in PyTorch.
The below-one-bit figure covers only the 196 converted layers. The 0.55 target counts the sign matrices and the scale vectors together, as the paper counts it. The signs alone cost 0.50 bits per weight as trained and 0.67 as stored, because of the padding. All in, 47 MB over the 440.4 million converted weights is roughly 0.85 to 0.9 bits per weight as stored, by our own division. That is under one bit and well over the 0.55 target, and we have not tried to shrink it yet.
Fused kernel. The stock 1-bit kernel rounds the activations it is handed. A plain layer goes through that rounding once. A factored layer goes through it four times, two sign matrices on each of two paths, and the error adds up. So we wrote one kernel per layer that reads the sign bits directly and keeps everything in between in float.
We check the runtime and the exporter padding the same way: one toy model, written several ways, run on CPU in CI. The toy is a tiny llama-architecture model with random weights, and its plain-weight version is its own factors multiplied out. Every version must give the same logits, which span a range of about 4. CI passes float factors within 0.001 and the fused kernel within 0.003. The stock 1-bit path has only a regression guard, and we call it a fail because the top token flipped.
| Compare | Largest logit difference |
|---|---|
| plain weights vs float factors | 0.00046 |
| plain weights vs 1-bit factors, stock kernels | 0.060 |
| exporter reference vs float factors, rank 100 padded to 128 | 0.00075 |
| exporter reference vs 1-bit factors, stock kernels | 0.051 |
| plain weights vs 1-bit factors, fused kernel | 0.00051 |
| exporter reference vs 1-bit factors, fused kernel | 0.00055 |
The float rows say the factor math and the padding are right on this toy. The stock-kernel rows are the price of the rounding. The fused kernel cut the 1-bit error about a hundredfold, to the level of float factors.
On the toy, on a shared CI machine, producing one token at a time went from 3.3 ms to 1.6 ms. That is a toy timing, not a speed claim: the same kernel is slower on a 12-token batch, 0.64 ms per token against 0.35 for the stock path, because it does not split a batch across threads well yet. All of this is one toy model on CPU.
How much the starting point throws away
Straight after conversion, before any training, the student's perplexity is 22,479,044, where a model guessing uniformly over the vocabulary would score 151,936. Conversion alone leaves nothing at this size, and everything depends on the training that follows.
We measured why on every layer of the real model. We compare each converted layer with the original and divide the size of the difference by the size of the original. Zero means a perfect copy. 100% means no better than deleting the layer. On average across the 196 layers, conversion loses 83%. The rotation from the second paper, a better way to pick the starting signs, brings that to 77%. The best any method could do at this rank without going binary is 53%, measured on a 49-layer sample. So by this measure the rank alone costs more than half of a layer before a single weight is made binary, and training has to make up the difference.
The start also freezes part of the model. 13% of the binary weights begin with a hidden number so far from zero that training gives them almost no signal to change sign. A rescale brings that under 1% and leaves the model's output unchanged.
A 0.6B result, good or bad, does not settle the 27B. It tells us whether our trainer reproduces the paper.
What the training runs showed
model Qwen3-0.6B, teacher and student
target 0.55 bits per weight, 196 layers converted
training 3,000 steps per run
data lab 6 to 8: 30 million tokens of generic text, about four fifths of one pass
lab 9: about 43 million tokens, the generic text plus our examples
repeated four times, under three fifths of one pass
hardware one rented 48 GB GPU, about 1 hour 45 minutes, about two dollars per run
test WikiText-2 perplexity
The generic text includes the training split of WikiText-2 alongside web text, so part of the training data comes from the same source as the test. We pilot on a model this small because a run costs about two dollars and is back in under two hours, so we can change one thing and afford to be wrong.
The vocabulary is 151,936 tokens, so the loss keeps only two copies of the logits to fit a 48 GB card (lab 5). The first launch produced the two reference points at the top of the table below.
| Run | What changed | WikiText-2 perplexity | Sign bits that changed |
|---|---|---|---|
| Full-precision teacher | 20.97 | ||
| Student straight after conversion | no training | 22,479,044 | |
| Baseline (lab 6) | match answers and every layer | 619.5 | not counted |
| Rescaled (lab 7) | layer-matching term rescaled | 377.3 | 1.9% |
| Answers only (lab 8) | no layer matching | 244.1 | 1.0% |
| Reasoning mix (lab 9) | baseline loss, different training text | 788.7 | 2.6% |
| Better start (lab 13) | answers only, plus the rotation and the rescale | 221.9 | 1.0% |
The less layer matching a run had, the better its student. A better start helped a little. No student is usable.
Each run was done once, with one seed, and we have not measured how much a rerun moves the number. The order is provisional until one run is repeated (lab 17).
Layer matching hurt in our trainer. The first paper trains with both loss terms, and so did our baseline. So our best student is off the published recipe, and we have not explained why the paper's own loss does worse for us. That points at our implementation of the layer term before it points at the method.
The binary part barely learns. In 3,000 steps only a few percent of the sign bits changed. We read that as the thin float scales doing nearly all the work while the binary matrices stayed close to where conversion left them. The frozen 13% explains part of that at most, because the other 87% had a training signal and few of them flipped. The flip count is not a score. Across the two comparable runs the better one flipped fewer bits, the baseline was not counted, and the last run trained on different text. So a binary part that stays near its start was a hypothesis, and lab 13 tested it: with the rescale, almost every latent sat where its sign could change, and still only 1.0% changed. Unfreezing them was not enough. The binary matrices stay near their start for another reason, and finding it is the next question.
We graded the reasoning run on the wrong test. About 30% of its training text was reasoning text, because we repeated our examples four times in the mix, and it was graded on encyclopedia text. So 788.7 says nothing about reasoning. In the same 3,000 steps it also saw less generic text than the baseline. Our own data is small: about 4,000 reasoning and tool-call examples, roughly 3 million tokens, which is why we mix it in and do not replace the generic text with it.
Lab 13 will also be graded on AitherBench, our own benchmark: 345 items in full, exact-match scoring, no model as judge. It is private, so nobody outside can check it, and WikiText-2 perplexity stays the number to compare with the papers. We will grade on eight of its dimensions, its word for categories, which is a subset of those items, and print the item count with the result. The eight cover planning, logic traps, knowledge questions, abstract puzzles and questions about our own platform. The teacher and the four earlier students will get the same grading. The teacher's score is the ceiling. It is a stock 0.6B model that has never seen our platform, so it may score near the floor, and if it does the benchmark gives no verdict and we will say so.
About ten times the teacher (221.9 against 20.97) is far from the paper. On the same test set its 32B lands at about 2.1 times its teacher and its 1.3B model at 1.6 times. A model about twice our size gets within 1.6 times after five passes, and ours is at about ten times after four fifths of one. So model size does not excuse the gap. Two differences are known: we trained under one pass where the paper trains five, and our best run drops a loss term the paper keeps. A third candidate is a fault in our own trainer, which we have not ruled out. The rotation from the second paper is not one of the differences, because the first paper got these numbers without it. Lab 13 was the first run trained with it, and it moved the number from 244.1 to 221.9, not to the paper's range.
Splitting the work into one job per block
Trained in one piece, a 27B needs far more GPU memory than one card has. The estimate is in the next section. Split block by block, each job trains one block against the teacher's input and output for that block and writes one small file, and the files merge into a model.
What works: the mechanics. A run split into separate block jobs gives factors identical to a run done in one piece, and the files merge.
What is not shown yet: quality and fit. Blocks trained apart do not correct each other's errors, so the plan adds a healing pass, a short end-to-end pass over the whole model. On a random toy with equal steps we measured the gap as the KL divergence between the student's and the teacher's output distributions, lower is better. On the toy the healing pass ran in the same process as the block training, before any merge.
| Training | Gap to the teacher |
|---|---|
| Before training | 0.0897 |
| End to end | 0.0747 |
| Block by block | 0.0883 |
| Block by block, then a short healing pass | 0.0842 |
On the toy, block by block closed far less of the gap than end to end, and a short healing pass recovered part of it. A random toy checks mechanics only and says nothing about a real model.
Two limits remain. A block job still loads the whole teacher, so it does not fit a 16 to 24 GB card yet (lab 16). And the healing pass cannot run on merged files (lab 19). Today this is plumbing that works, not a training method that works.
The 27B, in numbers we have not measured
The size and memory figures in this list are estimates. None is measured at 27B.
- Sign bits: about 1.9 GB at the 0.55 target. Rank padding and stored scale vectors are not counted, and on the pilot they put the stored figure well above the target.
- Token embedding: about 1.35 GB at 8 bits. The pilot export keeps its embedding at full precision and does not do this yet.
- Whole file: about 3.3 GB, against about 6 GB for the smaller of the two ternary files. By this estimate the whole file sits at about one bit per weight, not below it, and any padding puts it above. Below one bit describes the converted layers only.
- Training in one piece: about 390 GB of GPU memory. Split block by block: 64 jobs.
- Speed: unknown. The number to beat is 54 tokens per second.
- Reasoning: unknown. The paper's 8B result, 44% against 70%, is the reference point.
The comparisons that matter are our ternary 27B on the same tests, and a smaller model at ordinary precision that fits the same memory (lab 20 and 21). We have run neither.
What makes us stop
- The pilot's perplexity lands far from what the public recipe gets. Not met today and not judged yet, because our recipe is incomplete: under one pass where the paper trains five, and a best run that is off the paper's loss, so the comparison is not like for like. We judge this rule when lab 13 and lab 15 have landed, against the paper's nearest model, which is at 1.6 times its teacher. We have not put a number on "far" yet. Until we do, this rule cannot fire, and we would sooner say that than pretend it can.
- The factored model is not smaller and at least as fast as the ternary one. Open. Smaller is an estimate. Speed is unmeasured (lab 22): the factored path has run on a toy, on CPU, and nowhere else.
- After half an epoch the 27B cannot hold a tool call. Not started (lab 23). Half an epoch is half of one pass over the data, and holding a tool call means producing a well-formed call to a tool when the task needs one.
Rule one is the live one. Any one of the three, once it is judged against us, and this stays a measured dead end, written up here.
Log
- 2026-11-22, morning. Runtime added to the fork. Lab 1 landed.
- 2026-11-22, midday. Trainer written and self-checked.
- 2026-11-22, afternoon. Lab 5 done. Lab 6 launched. Lab 2 landed.
- 2026-11-22, evening. Lab 3 and lab 6 landed.
- 2026-11-22, night. Lab 12 landed. Lab 7 to 9 launched.
- 2026-11-22, late. Lab 7 to 11 landed.
- 2026-11-22 to 23, overnight. Lab 4 landed.
- 2026-11-23, early morning. Lab 13 launched.
- 2026-11-23, morning. Lab 13 training landed, benchmark grading started.
- 2026-11-23, morning. Log rewritten around the lab board. Figures in earlier versions were replaced with measured ones, or removed where we had no measurement (lab 9, 11, 12).
Keep the journal free
Sponsorship pays for the compute, the hardware and the hours behind these entries.
by email
New journal entries, in your inbox.
What the agents built, broke and fixed. One message per entry.