AINewsnow

Learned attention gates separate instructions from data to resist prompt injection

Researchers propose Heads of Security (HoS), which adds small learned per-head attention gates to enforce instruction–data separation. Tested on Llama-3.3-70B-Instruct and GPT-OSS-20B, it is compared with SecAlign++ and ASIDE, with the aim of reasoning over untrusted text without obeying injected i…

Read the full story at DEV Community — Machine Learning ↗

Timeline · 1 report

  1. 2026-10-29 06:59 · DEV Community — Machine Learning
    Learned attention gates separate instructions from data to resist prompt injection

More stories

  1. Basalt (NVFP4) vs Unsloth Studio (llama.cpp IQ4_XS) — 5090 with 64GB RAM — r/LocalLLM
  2. Generate a training set with DeepSeek, then fine-tune a small model on a rented GPU — DEV Community — Machine Learning
  3. I tested LFM2.5-24B-A2B vs Qwen3.6-35B-A3B on 75 fresh multi-step tool tasks. Qwen solved 91%, LFM2.5 49%, and LFM2.5 said "done" on most of its failures — r/LocalLLM
  4. Gemma 3 1B on the Nexus 5X (Directly on the Linux Kernel, No Android) — 2 GB RAM, 4.47 t/s — r/LocalLLM
  5. Nanbeige4.3-33B Q4 on a MacBook Pro M5 Max, mlx-lm vs llama.cpp vs Kapitsa, Prefill/Decode 512 to 32K range. — r/LocalLLaMA
  6. Grok Bot, Muse, Dots, Gemini, Duet: five big-tech agents in 10 weeks. An honest founder’s take on what they got right, and why I think none of them will be the last one you set up — r/AI_Agents
  7. A 2013 Mac Pro runs a 35B model at 66 tok/s reading. The first benchmark I trusted was wrong by about 9x. — r/LocalLLM
  8. mtmd: enable video input support for LFM3 model family by tdakhran · Pull Request #31283 · ggml-org/llama.cpp — r/LocalLLaMA

Get the daily brief of stories like this at 6:30 every morning →