# Hyperparameter Transfer for Dense Associative Memories

*Roi Holtzman, Dmitry Krotov, Boris Hanin*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150814) · [OpenReview](https://openreview.net/forum?id=f9niZbxnAU) · [alphaXiv](https://www.alphaxiv.org/abs/2605.10164) · [Open on the map](../papers.html#p150814)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Learning Rate Scaling](../pgroup/479.md) · Type: new method · Keywords: hyperparameter transfer, weight sharing, Dense Associative Memory, scaling prescriptions, model optimization

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Neural and brain architectures › Neural Dynamics and Recurrence

## Summary
The paper develops hyperparameter transfer methods for Dense Associative Memories, providing explicit scaling prescriptions and validating them empirically across model sizes.

## Explained to a 5-year-old
Some computer brains need many settings to work well. We can copy the good settings from a small brain to a bigger brain. This helps the big brain learn faster and better. It works especially for brains that share parts and have sharp jumps. The paper shows this copying works well in tests.

## Explained to a 5-year-old, longer
Computer programs called AI can remember many things like a memory board. To make them remember correctly, we need to set many numbers called hyperparameters. Usually, people have to guess these numbers for each new big program, which takes a lot of time. This paper looks at a special kind of AI memory that shares its parts and uses very sharp jumps. Because of this special shape, the usual ways of copying settings do not work. The authors created new ways to copy the good settings from a tiny version of the memory to a much larger version. They wrote down exact rules for how to change the numbers when the memory gets bigger. These rules are based on math, so they should work in theory. The researchers tested the rules on real computers and found they match the math predictions very well. This means the new copying method works reliably for these special memories. It saves a lot of work because we do not need to start over when we make the memory larger. The result is faster and more accurate AI memory systems.

## For a technical reader
The paper addresses the challenge of scaling hyperparameter choices from small to large Dense Associative Memory models. It derives explicit formulas that map hyperparameters tuned on a compact model to those needed for a scaled-up version. These formulas are validated empirically, showing strong agreement between theory and observed performance. The approach eliminates the need for costly re-tuning when moving to larger models, reducing both time and computational cost. By providing a systematic transfer mechanism, the work enables practitioners to efficiently deploy larger memory architectures without extensive hyperparameter search.

## Problem
Existing hyperparameter transfer techniques are not designed for models that share weights across and within layers and use rapidly peaking activation functions, making it difficult to scale hyperparameter choices from small to large models.

## Method
The approach derives explicit scaling prescriptions that map hyperparameters tuned on small models to larger models, and validates these prescriptions empirically across a range of model sizes.

## Results
The approach shows strong agreement between the derived theoretical scaling prescriptions and empirical performance across model scales.

## Contributions
It provides the first systematic hyperparameter transfer framework for models with weight sharing and sharp activations, along with explicit scaling formulas and empirical validation.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150814)
