Skip to content

Guard: 22-language spam scoring without a tokenizer

Decidora Guard is a separate 2.1M-parameter linear model over hashed character n-grams. It scores spam or ham in 22 languages, works with any script and needs no WordPiece tokenizer. It is not Decidora and not a multilingual Decidora.

One score, any script

A message is hashed into character n-grams and message features; one linear model returns a spam score. The window is 1,536 characters, with chunking 1,536 / 768 for long messages. There is no language detector: you choose a language to apply its temperature and FPR-5% threshold; auto uses the global calibration and is more conservative.

Why separate from Decidora

Decidora is an English model with four typed heads. Guard answers one question: spam or ham. The policy is simple: SMS and short English go to Decidora; non-English and long text go to Guard. Do not ensemble max(Decidora, Guard) on English; it is worse.

Results

AUROC is 0.9876 on the Guard dev set, 0.9983 on the long-payload v2 set (TPR 0.967, FPR 0.012), and 0.9974 on native Turkish SMS (n=973). A short SMS is scored in about 0.4 ms in Python and about 7 ms in PHP.

Limits

Guard only answers spam or ham. It has no choice, score or span. It is not a safety filter and should not be the only security layer. Weights are separate from Decidora, commercial and not in the repository.

Get it

The live demo scores your text: decidora.globus.studio/guard.html. Code: MADEVAL/decidora. For weights or an evaluation bundle, write to sales@globus.studio.

The same Guard model runs in BotBlocker Security.