MemoryLLM: Plug-n-Play Interpretable Feed-Forward Memory for Transformers

Apple ML Research··

Understanding how transformer components operate in LLMs is important, as it is at the core of recent technological advances in artificial intelligence. In this work, we revisit the challenges associated with interpretability of feed-forward modules (FFNs) and propose MemoryLLM, which aims to decouple FFNs from self-attention and enables us to study the decoupled FFNs as context-free token-wise neural retrieval memory. In detail, we investigate how input tokens access memory locations within FFN...

Read full article →

Related Articles

OpenAI’s o1 correctly diagnosed 67% of ER patients vs. 50-55% by triage doctors
donsupreme · Hacker News · 3mo ago
Accelerating Gemma 4: faster inference with multi-token prediction drafters
amrrs · Hacker News · 3mo ago
ChatGPT lost 22 points of web share in a year
echohive42 · Hacker News · 20h ago
A couple million lines of Haskell: Production engineering at Mercury
unignorant · Hacker News · 3mo ago
Using “underdrawings” for accurate text and numbers
samcollins · Hacker News · 3mo ago