# Apple researchers find gating causes memorization over in-context learning in SSMs

> Original title: On the Importance of Gating: Memorization vs. In-Context Learning in State Space Models

- Source: Apple Machine Learning Research
- Published: 2026-11-10T00:00:00.000Z
- Bad Influence: https://badinfluence.news/items/t3uf51ccq0htpgsjya7qotiiy
- Original: https://machinelearning.apple.com/research/gating-memorization-in-context

## Summary

Apple researchers say the gating mechanism in state space models first drives them to learn memorized in-weights solutions, delaying or preventing convergence to correct in-context learning. The authors say gating can still help generalization to longer sequences, and their theory and experiments aim to guide linear-time model design.
