Skip to content

How Specializing SLM Vocabulary Cut Measured Inference Cost by 77% With VocabX

Hugging Face BlogFrom the sourcePicksHow Specializing the Vocabulary of SLMs Can Cut Inference Cost by 77% in Real Applications
Original
Image: Hugging Face Blog
Who
Dharma AI
What
previews results from the VocabX paper on cost-weighted vocabulary specialization

What happened

Dharma AI previews VocabX, a cost-weighted vocabulary adaptation method that cut measured inference cost by 77.0% in its Portuguese essay grader built on Qwen3-4B. With the same base model, data and training recipe, average responses shrank from 350 to 101 tokens and the bench score rose from 0.703 to 0.810. The results come from a paper still under review and may change before publication.

Why it matters

The grader experiment illustrates why vocabulary compression should preserve decision-bearing tokens, since separating grades from surrounding JSON improved both measured cost savings and assessment quality.

The story so far

Dharma AI previewed VocabX, a vocabulary adaptation method that it said reduced measured inference cost by 77.0% in a Portuguese essay grader built on Qwen3-4B. The results come from a paper still under review and may change before publication. VocabX specializes vocabulary around the cost of each token rather than its frequency. Dharma AI reported that, with the same base model, data and training recipe, average responses shortened from 350 to 101 tokens while the benchmark score rose from 0.703 to 0.810. Those measurements apply to its Portuguese essay grader.

Catch every AI shift in one morning briefing

Model releases, price cuts, and compute shifts with original sources. Free, confirmed by email, unsubscribe anytime. Read a past issue

Read next

See the full storyDharma AI Previews VocabX Vocabulary Specialization, Reporting 77% Lower Inference Cost
This story is in 10/22 AI DailyRead the whole issue