BadEngram: Backdoor Attack on Gated Memory Components in LLMs
To expand open-weight models'capacity without proportionally increasing computation, recent architectures incorporate gated parametric memory that retrieves learned values and injects them into intermediate representations. One representative design is Engram, which combines deterministic n-gram lookup with context-dep...