INDEPENDENT GUIDE · We are not TypeSafe AISOURCES VERIFIED · 3 December 2026SKENDE中文
JEV.sk
Research · 18 November 2026

Encoder instead of decoder: the UltraBERT-JEV preprint on small decision models

An arXiv preprint compared a small encoder with an equally small decoder on Jev-style tasks. The encoder was more accurate and faster, but a larger model still leads.

Independent researcher Astarag Mohapatra published a preprint titled UltraBERT-JEV on arXiv on 13 November 2026. It asks whether a model that only picks from prepared options needs an architecture built for writing text. To find out, it compares the encoder UltraBERT-380M with the decoder Qwen3-0.6B, both fine-tuned by the author on the same data. S94 This is a preprint by a single author, and the hosted Jev from TypeSafe AI is not measured in it. The work concerns open models that answer in a way similar to Jev. It will mainly interest anyone considering a decision model on their own hardware.

How the encoder picks an option

The difference lies in where the model looks. The decoder receives numbered options and is scored on which number it would write next. The encoder has a masked token in front of each option and, in a single pass over the input, determines whether “yes” or “no” belongs in that place. The scores of the individual options become a probability distribution, and no text is generated. The author tried four ways of computing the score and normalising it. During training, the order of the options was shuffled every time a row was used. S94 The result has the same shape as an answer to a Choice question: a list of options with a probability for each.

What the measurements showed

The training set had 13,000 rows, 1,000 from each of 13 datasets. They cover intent routing, short reasoning tasks and long inputs. The test set has 5,015 rows. Depending on the scoring method, the encoder reached 69.7% to 72.1% on it, while the fully fine-tuned decoder Qwen3-0.6B reached 67.6%. On six external benchmarks that were not part of training, the encoder scored 57.8% to 59.6% and the decoder 56.1%. S94

The largest shift came from a small detail: computing the score as the difference between “yes” and “no” instead of “yes” alone raised test-set accuracy from 69.7% to 71.3%. S94

The author measured speed on a single A100 card with requests sent one at a time, excluding tokenisation time. Rows averaged 1,100 to 1,200 tokens. The encoder needed 29 ms per decision, the decoder 68 ms. Memory is the exception: the encoder peaked at 2.8 GiB, the decoder at 2.2 GiB. S94

Where the larger model still leads

The preprint also reports a larger reference model. Qwen3-4B with a LoRA adapter reached 77.3% on the test set and 73.5% on the external benchmarks, more than any variant of the encoder. The price is 124 ms per decision and a memory peak of 9.3 GiB. S94

Among the limitations, the author writes that a decoder with 4 billion parameters remains more accurate except on the intent datasets. There the numbers look like this: on CLINC150 the encoder scored 91.8% and the larger decoder 89.8%, on MASSIVE 84.9% against 83.5%, and on Bitext 99.3% against 97.2%. The encoder figures are for the variant with sigmoid normalisation. S94

Option order and finding evidence

The preprint also measures what accuracy tables do not show. When the order of options was changed on the dev set, the encoder changed its answer in 13.7% to 16.6% of rows. After one wrong option was removed, the figure was 4.8% to 5.9%. S94 Sensitivity to order in Jev itself is covered in an earlier article on answer stability.

The second part of the work adds an auxiliary head to the encoder that, in the same pass, marks the sentences supporting the chosen answer. On 889 test rows with human-marked evidence it reached a sentence average precision of 0.68. The compared methods ContextCite and AT2 scored 0.41 and 0.33. The head needed 72 ms per row, ContextCite 1,860 ms. The preprint also notes that it was not verified whether the marked sentences explain how the encoder actually decided. S94

What a Slovak online shop can take from this

The result on intents is the one closest to everyday operations. Sorting messages by what the customer wants is exactly the kind of task in which, in this test, the small encoder did not fall behind a model ten times its size. Anyone working on routing customer messages by intent has a reason to follow this line of research as well.

It is not enough for immediate deployment, though. The preprint describes the training mixture as English and does not mention Slovak. The text contains no link to code or to model weights. One encoder and one decoder family were studied, all below one billion parameters. The dev and test sets were split by row, so two rows can come from the same document, and according to the preprint the confidence intervals may be too narrow. S94

A comparison with the hosted service is missing too. TypeSafe AI charges 0.042 USD per million input tokens for Jev, and output tokens are free. S01 The preprint does not calculate the cost of running your own model, so it does not tell you which option is cheaper. Our suggestion is therefore cautious: treat the work as input for thinking about your own model, not as a reason to switch. Anyone who takes this route needs their own set of Slovak examples; the procedure is described in testing in Slovak. Broader context on in-house models is in the article on a decision model instead of Jev.

Sources and level of verification

This article is based on the sources listed, as of the check date. It is not JEV.sk’s own test, nor a guarantee of the service’s current state.