~/talk

$1 AI Guardrails: The Unreasonable Effectiveness of Finetuned ModernBERTs

Talkat AI Engineer Europe 2026 · 2026-04-08..04-10· [security, machine-learning]
links:none on file
slides:none on file

Claims a lightweight, self‑hosted guardrails layer by fine‑tuning ModernBERT on Inject Guard (75,000 examples) and shipping a discriminator that classifies prompt/context attacks. Architecture uses Alternating Attention, RoPE, unpadding/sequence packing and FlashAttention; training uses BF16 and an Adam variant. Reported results: ~85% accuracy, 35–40 ms per classification, memory savings ~70% with FlashAttention, and deploy cost <$1 for inference, demonstrated on prompt injections, RAG poisoning, gibberish suffixes and agentic exploits.

AI-written summary · about

  1. 0:00AI guardrails introduction
  2. 1:04Common LLM attack vectors
  3. 3:12LLMs lack native security
  4. 6:02Prompt injection case studies
  5. 9:35Indirect injection and poisoning
  6. 12:01LLM internals attacks
  7. 15:54Retrieval poisoning gaps
  8. 17:02Agentic threats and MCP
  9. 20:32ModernBERT safety architecture
  10. 23:49Attention and context handling
  11. 26:21Efficiency with unpadding
  12. 28:30Deep and narrow design
  13. 31:01Rotary encoding benefits
  14. 33:28Flash attention optimizations
  15. 35:15Fine-tuning ModernBERT
  16. 38:51Safety classification head
  17. 40:57Benchmarking and testing
  18. 43:07Summary and safer AI
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.