TrolyPage

An autonomous Marketing & Sales operating system for businesses that want AI-powered omni-channel growth.

Contact Info

Follow Us

12 min read

Stress-Testing LLMs on Messy Chat Slang, Typos, and Unaccented Vietnamese: Which Model Family Holds Up?

TrolyPage

Dec 02, 2026
11 views
3D isometric glass data prism sorting noisy orange and purple text fragments into clean structured cubes on a deep navy background

Unaccented Vietnamese and rapid mobile slang break LLM intent routing and SKU lookup because stripping diacritics collapses distinct words into identical strings while subword tokenizers fragment informal abbreviations. Frontier model families separate on tokenizer coverage, social-corpus exposure, and reasoning depth rather than parameter hype. Engineering teams can prevent false quotes by running a 25-utterance, 5-category stress test before enabling live chat.

Editorial disclosure: Compiled and published by TrolyPage, whose pre-live evaluation chat and platform boundaries are modeled alongside direct model APIs below. External vendor documentation and pricing were verified on 2026-12-02.

Why Unaccented Vietnamese and Mobile Slang Break Intent and SKU Lookup

Clean benchmark prompts hide the largest failure mode in Southeast Asian and global mobile-first support: buyers rarely type edited prose on phones. Across Messenger, WhatsApp, Zalo, and web chat, messages arrive without diacritics, compressed into shorthand, and stitched with English SKU codes.

Three mechanical failures explain why a model that passes staging prompts suddenly misquotes in production:

  • Diacritic-collision homographs: Vietnamese uses six lexical tones plus vowel modifiers. Stripping accents collapses unrelated words into identical ASCII tokens: bo maps to bò (beef), bơ (butter), bỏ (cancel), or bộ (combo/set); ban maps to bán (sell), bàn (table), bạn (friend), or bản (edition); ma maps to mã (code/SKU), mà, má, or mạ. Without context, small models pick the highest-frequency general prior instead of the store SKU.
  • Subword fragmentation on teencode: Compressed social forms like sp nay bn z shop (sản phẩm này bao nhiêu vậy shop), ib gia si, or dc freeship hk rarely appear in formal corpora. Research on ViSoBERT (EMNLP 2023) showed that models trained only on clean news/web Vietnamese underperform on social streams heavy in teencode, emojis, and missing tone marks unless exposed to social-domain data.
  • Noise brittleness under minimal character edits: In R²ATA (EMNLP 2024), just 1 to 8 character edits on task-critical tokens sharply degraded reasoning across open and frontier LLMs. Likewise, MulTypo (2025) tested 18 open-source LLMs under keyboard-layout typos, finding that instruction tuning can increase brittleness under noise and lower-resource languages degrade faster than English.

Even when edits preserve token length, surface variation shifts model probabilities. VialectBench (2026) evaluated 400 Standard Vietnamese prompts against 2,400 dialectal rewrites and measured clear likelihood shifts despite near-identical lengths—enough to push borderline routers from tool lookup into guessing.

Three-column failure map showing how unaccented Vietnamese homographs like bo, teencode abbreviations, and mixed-script SKU queries fracture subword tokenizers and cause routing errors without a 25-utterance pre-live stress gate
Figure 1: Lexical collision and subword fragmentation map across raw Messenger, Zalo OA, and Web Chat inputs versus the 5-category pre-live stress gate.

How Tokenizer Design and Model Tiers Separate Frontier Families

Which LLM family holds up best depends on two layers: subword segmentation and whether the chosen price tier allocates enough contextual reasoning for homograph disambiguation.

OpenAI's tiktoken library documents o200k_base (~200,000 tokens) for modern GPT families, doubling cl100k_base's vocabulary to merge multilingual syllables and cut byte-level splitting. Google's Gemini token guide sets a ~4-characters-per-token baseline (100 tokens ≈ 60–80 English words) and offers count_tokens to measure noisy input inflation before billing.

Across all four major API ecosystems (verified live on December 2, 2026), fast routing models cost 10x–20x less than balanced escalation models:

Vendor & Docs Fast / Routing Tier (USD / 1M) Balanced Escalation Tier (USD / 1M) Noisy-Chat Cost & Caching Mechanics
OpenAI API gpt-5-nano: $0.05 / $0.40
gpt-6-luna: $0.10 / $0.50
gpt-4o-mini: $0.15 / $0.60
gpt-5-mini: $0.25 / $2.00
gpt-6.1-terra: $1.00 / $5.00
gpt-6.2-sol: $2.00 / $10.00
o200k_base cuts clean Vietnamese splits; 90% cached-input discount on gpt-6-luna ($0.01) and gpt-6.1-terra ($0.05) keeps canonical SKU glossaries cheap.
Anthropic Claude API Claude Haiku 5.5: $0.10 in / $0.50 out (≤100K); $0.01 cache hits Claude Sonnet 5.5: $2.00 in / $10.00 out; $0.10 cache hits Haiku 5.5 targets classification, extraction, and routing; reserve Sonnet 5.5 (20x cost) for ambiguous multi-intent turns.
Google Gemini API gemini-2.5-flash-lite: $0.10 / $0.40
gemini-3.5-flash-lite: $0.30 / $2.50
gemini-3.8-flash: $0.75 / $3.75 (promo to Dec 31, 2026; $1.50/$7.50 Jan 1, 2027)
gemini-4-hydrogen: $1.50 / $7.50
Strong SEA script coverage; note that internal thinking tokens bill at output rates, multiplying cost on noisy turns if thinking is uncapped.
DeepSeek API deepseek-flash: $0.15 / $0.60 off-peak ($0.30 / $1.20 peak); $0.003–$0.006 cache hit deepseek-v4-pro: $0.66 / $1.98 off-peak ($1.32 / $3.96 peak); $0.022–$0.044 cache hit Automatic context caching cuts repeated prompt reads up to 98%; 2,500 concurrency on deepseek-flash vs. 500 on deepseek-v4-pro.

Neither end of the pricing spectrum wins alone. Running balanced tiers on every "ship bn?" ping wastes 10x–20x budget, while pushing raw slang straight into ultra-cheap tiers causes silent SKU misquotes.

Architecture Trade-Offs: Option A vs. Option B vs. Option C

Engineering leads must choose how noisy text enters the inference stack before picking a vendor:

Option Volume & Budget Fit TTFT Latency & Tokens Dominant Error Modes Root Mechanism Cost of Choosing Wrong
Option A: Raw unnormalized noisy chat into small fast-tier models <1,500 chats/mo; <$10/mo raw API or entry trial ~250–450 ms TTFT, but extra retry turns when replies miss Colliding homographs (bo, ban, ma), missed teencode, guessed stock Corpus priors override domain SKUs when subwords fragment 5%–10% misquote rate at 10k chats/mo = 500–1,000 bad orders & refunds
Option B: Deterministic shorthand normalization + canonical SKU glossary into fast-tier models 1,500–15,000 chats/mo; $8–$32/mo workspace tiers or $15–$45/mo API <5 ms regex pass; shrinks noisy input tokens & leverages 90%+ prompt caching Unseen regional slang, compound multi-intent strings, or mixed complaints Maps bn, dc, ib, sz, and SKU aliases into clean canonical tokens first Unguarded regex rewrites can corrupt SKU codes like K-200 or DC-12V
Option C: Confidence-gated hybrid routing (fast-tier default + escalation on ambiguity) 15,000–50,000+ chats/mo; $32–$104/mo workspace tiers or $60–$250/mo API ~300–500 ms for ~80%–85% fast turns; ~900–1,600 ms for escalated ~15%–20% Over-escalation if confidence threshold is too strict; leaks if too loose Pairs deterministic cleanup + fast schema extraction with homograph/multi-intent escalation Overkill engineering below 1,500 chats/mo; unguarded revenue leakage above 20,000/mo

In bundled workspace terms, TrolyPage meters usage by tokens (~4,000 tokens estimated per average multi-turn exchange) across public USD plans (VAT included): Lite ($8/mo, 4M tokens, ~1,000 est. exchanges), Starter ($16/mo, 16M tokens, ~4,000 est. exchanges), Pro ($32/mo, 40M tokens, ~10,000 est. exchanges), and Scale ($104/mo, 200M tokens, ~50,000 est. exchanges), plus $1/seat/mo for extra human agents. TrolyPage's Free plan is a one-time, time-limited 50,000-token trial (~12 est. exchanges)—not a permanent free tier—so teams should isolate evaluation tests intentionally.

Confidence-gated Option C routing architecture diagram pairing a boundary-safe deterministic normalizer with fast-tier cached SKU lookup, ambiguity escalation, cost-resilience chart, and 200-point TrolyPage Evaluation Chat rubric
Figure 2: Option C confidence-gated routing pipeline, Option A/B/C spend-vs-resilience trade-off curve, and 200-point pre-live evaluation gate.

Ready-to-Run 25-Utterance Noisy-Chat Stress-Test Harness

Published datasets prove noise hurts accuracy, but only your own catalog test verifies SKU safety. Run these 25 reproducible utterances across five failure categories in stateless sessions (zero prior turn history), swapping in your store's live SKU names:

ID Failure Category Raw Customer Utterance Expected Intent & Canonical Slots Primary Trap Tested
U01 1. Diacritic Homographs bo nay con k shop, lay 2 bo stock_check + order_draft (qty: 2, unit: set) bo (combo) vs. bỏ (cancel)
U02 1. Diacritic Homographs ban cho minh xem ban mau den di product_lookup (color: black) ban (you / table / edition) collision
U03 1. Diacritic Homographs ma nay co giam gia k, dat qua discount_inquiry (promo or SKU code) ma (code) + dat (expensive vs. order)
U04 1. Diacritic Homographs don cua em di chua shop, doi lau qua order_status (frustrated tone) don (order) + di (shipped)
U05 1. Diacritic Homographs bo don cu cho e doi sang mau do nha order_modify (cancel old, swap red) bo = cancel + doi = swap
U06 2. Teencode & Shorthand sp nay bn z shop, ib gia si k price_inquiry + wholesale_quote sp, bn, z, ib, k
U07 2. Teencode & Shorthand dc freeship hk, e o q7 tphcm shipping_fee (District 7, HCMC) dc, dialectal hk (không), q7
U08 2. Teencode & Shorthand sz M con hang hem ad, cao 1m65 58kg vua k stock_check + size_advice (M, 165cm, 58kg) sz, hem, ad + sizing
U09 2. Teencode & Shorthand cx mun mua ma so ship cao wa, ck trc dc giam k shipping_fee + prepay_discount cx, mun, wa, ck trc
U10 2. Teencode & Shorthand thui khoi nha e k lay nua dau opt_out_or_cancel (stop follow-up) Colloquial opt-out without STOP
U11 3. Typos & Missing Spaces pls refnd ord #4021 rn, wrng item sent refund_request (#4021, wrong item) Vowel drops (refnd, wrng, rn)
U12 3. Typos & Missing Spaces giao hnag ve binhthanh thu7 dc ko delivery_schedule (Binh Thanh, Sat) Transposed hnag + binhthanh
U13 3. Typos & Missing Spaces wanna xchange sz L to M, how2 return?? exchange_policy (L to M) Phonetic xchange, how2
U14 3. Typos & Missing Spaces cho hoi gia may loc nuoc k200 vs k300 khac j product_compare (K200 vs K300) k inside k200 must not rewrite
U15 3. Typos & Missing Spaces chuyenkhoan roi ma chua thay xacnhan, check gium payment_verify (request proof / human) Concatenated terms + no auto-confirm
U16 4. Mixed-Script & SKUs check giup e con airpods pro 2 usb-c k, bn vnd product_lookup + price_inquiry English model + bn vnd
U17 4. Mixed-Script & SKUs need 3x SKU-B09 black + invoice VAT for cty order_draft (SKU-B09, qty 3) + vat English qty + Vietnamese cty
U18 4. Mixed-Script & SKUs cai ao hoodie form boxy nay con m k, ship sg 2h dc k stock_check (size M) + express_ship Size letter m vs. pronoun slang
U19 4. Mixed-Script & SKUs voucher 10% off apply dc cho hang sale k ad promo_eligibility (check KB policy) Mixed promo stacking guard
U20 4. Mixed-Script & SKUs cam sac PD 65W nay dung cho mac air m3 ok k compatibility_check (PD 65W, M3) Hardware spec + ok k
U21 5. Multi-Intent & Adversarial sp A gia bn, con mau trang k, ship ve da nang may ngay, lay 1 cai price + stock + eta + order_draft 4 stacked intents in one string
U22 5. Multi-Intent & Adversarial hom qua bao 250k sao nay len 290k r, giai thich di price_dispute + human handoff Dispute must not invent discounts
U23 5. Multi-Intent & Adversarial dat 2 cai, a quen lay 1 thoi nha, ship gio hanh chinh order_draft (qty: 1, office hours) Mid-turn self-correction (2 → 1)
U24 5. Multi-Intent & Adversarial neu mua 5 bo thi giam con 99k/bo dc k, ok thi chot luon bulk_discount (enforce published tier) Adversarial 99k price anchoring
U25 5. Multi-Intent & Adversarial sdt 0909xxxxxx, dia chi 12 le loi q1, giao chieu nay nha order_draft (missing SKU → clarify) Must ask for SKU before drafting order

4-Dimension Evaluation Scoring Rubric and Pre-Live Gate

Score every test turn from 0 to 2 across four dimensions (8 points max per item; 200 points total). Require ≥185/200 overall and zero Score-0 hard fails on pricing (U24), payment checks (U15), or incomplete drafts (U25):

Dimension Score 2 (Pass) Score 1 (Partial) Score 0 (Hard Fail)
1. Intent Fidelity Captures all intents and mid-turn edits (U23) Gets primary intent, drops secondary question (U21) Misreads homograph or misses opt-out (U01, U10)
2. SKU & Slot Mapping Resolves exact SKU, qty, size/color, and district Right product family, unconfirmed variant Hallucinates SKU or corrupts K200/PD 65W
3. Hallucination Guard Clarifies ambiguous slots; holds policy/price limits Verbose or redundant follow-up question Confirms unverified transfer (U15) or 99k anchor (U24)
4. Action & Token Discipline Valid tool/schema arguments within latency budget Valid prose reply, misses structured tool call Broken JSON/tool payload or leaks prompt rules

For Option B or Option C pre-processing, apply word-boundary guards so standalone slang expands without mutating SKU codes:

SLANG = {"sp": "san pham", "bn": "bao nhieu", "dc": "duoc", "ib": "inbox",
         "sz": "size", "ck": "chuyen khoan", "trc": "truoc", "cty": "cong ty"}

def normalize_chat(text: str) -> str:
    out = []
    for tok in text.split():
        clean = tok.lower().strip(",.?!:")
        if clean in ("k", "ko", "hk"):
            out.append("khong")
        elif clean in SLANG:
            out.append(SLANG[clean])
        else:
            out.append(tok)
    return " ".join(out)

Validating Noisy-Chat Resilience in TrolyPage Evaluation Chat

Testing in isolation misses real catalog and rule interactions. On TrolyPage, teams replay all 25 utterances inside pre-live Evaluation Chat (evaluation) before enabling Messenger, Zalo OA, Instagram DM, WhatsApp, Telegram, or Website Chat. Each turn tests live knowledge grounding, Trigger-Condition-Action rules, handoff pause locks, and AI Action Tools (product lookup, order drafts, bookings, payment links / QR verification, and shipping fee calculation).

Account for two concrete platform boundaries during pre-live testing:

  • Embedded-text PDFs vs. chat images: TrolyPage's PDF parser reads embedded text layers only and has no OCR for image-only scanned PDFs. Convert scanned SKU tables to text or spreadsheets so U14 and U19 lookups succeed. (Customer photos sent in chat are handled by Vision models.)
  • Orchestration & API scope: TrolyPage uses Trigger-Condition-Action rules rather than a drag-and-drop flowchart builder, and its public developer REST API is still in progress. Automated test runners connect via Webhooks, Zapier, Google Sheets OAuth, or the TrolyPage Workspace MCP Gateway (291 live tools across 1 unified server and 11 domain servers; note legacy /pricing copy still prints 86 tools / 7 servers). Automated AI runs 24/7, while human technical support operates during Vietnam business hours (UTC+7).

Running this 25-utterance suite across raw input, boundary-safe normalization, and confidence-gated routing turns noisy-chat resilience into a verifiable pre-launch gate.

Comments

Your comment will appear after review.

Sign in to comment

No comments to show.