PDPA · Malaysia · runs in this tab
One yes/no on “was personal data disclosed?” cannot tell an agent reading a card number aloud from a customer giving their first name. This asks ten typed questions in a single pass, next to what a page of regexes catches, so you can see which one is actually earning its keep.
pdpa_bank_card, pdpa_credential_otp, pdpa_mykad
and pdpa_email all have confidence intervals containing their own
baseline on 96 rows, so at this sample size none of them beats answering
“no” every time. The regex column wins outright on email, credential_otp
and bank_card. Those four are still shown, because hiding them would hide the
finding, but the gain column is the number to read.
pdpa_severity at +20.9 and pdpa_actor at +25.0.Accuracy is 86.5% on 96 held-out rows against a majority-class
baseline of 72.8% — about fourteen points of signal, not eighty-six. The
regex column is a deliberately dumb page of patterns; it beats the model outright on
pdpa_email and pdpa_credential_otp. Where the model wins on
the digit classes it wins on precision, deciding whether a twelve-digit number
is a card or an order id, not on finding digits.
The 192 MB build does not always agree with the 602 MB one. Both score
85.9% over all 960 held-out decisions, but that identical total is cancellation
rather than agreement: they differ on 46 decisions, and the differences land
on the two questions this page argues the model is for —
pdpa_actor flips on 26% of calls under 4-bit and
pdpa_severity on 10%. Both read a three- or four-way argmax over
close logits, where 4-bit weights move the decision far more often than they do on
a binary yes/no. If you intend to act on a severity or actor answer, switch the
precision selector to fp32 and wait for the larger download.
Read those two per-class numbers as a direction, not a measurement. The 51
held-out rows are 17 conversation skeletons instantiated three times each with
different fabricated identities, so pdpa_bank_card is decided by
two conversations — and they are the same two that decide
pdpa_credential_otp. One skeleton changing its mind moves a class by six
points. Only pdpa_name, pdpa_actor and
pdpa_severity are settled by enough distinct calls to be called
measured.
It is sensitive to phrasing. The same call with the surrounding turns in
Malay rather than English swings pdpa_mykad from yes at 95% to no at 7%.
Severity reverts to its training prior on unfamiliar text: it called 51% of
ordinary Malay conversation medium-or-worse while every binary class said no.
Every training example is synthetic and no real call has ever been labelled.
On accuracy, you probably should. A frontier model would likely beat 83% on this task with no fine-tuning and without two dead classes. Cost is not an argument either — inference is cheap now — and latency favours the LLM, which answers all ten questions in one call where this needs ten passes.
There is one argument, and for this particular job it is decisive: the transcript never leaves your building. Sending a recording that contains a MyKad number, a card number and an OTP to a third-party API is itself a transfer you would have to justify under the law you are trying to comply with. A tool for finding PDPA exposure should not create it. Alongside that: the answer is deterministic and auditable — same input, same output, forever, from a file you hold — where a hosted model can change under you between audits.
So the sensible design is a cascade, not a replacement. Regex first: it is
free, deterministic, and it beats this model on pdpa_email and
pdpa_credential_otp. This model for the contextual judgements regex
cannot make — whether a twelve-digit number is a card or an order id, who
volunteered what. An LLM for what is left, and only if your data policy lets you
send it.
Model: Suarify/laya-pdpa-onnx-v4-32k. Source:
github.com/suarify/laya-pdpa-my.