Why Hyperparameters Fail to Transfer Across Architectures

74 concepts74 papers1 proposal

When training deep neural networks, we often treat hyperparameters—such as learning rates, dropout probabilities, and loss weights—as properties of the dataset or the task. If a specific configuration achieves state-of-the-art results on ImageNet using a convolutional neural network (CNN), it is tempting to assume those same settings will provide a solid foundation when switching to a Vision Transformer (ViT).

In practice, this assumption frequently fails. Hyperparameters are not decoupled from the underlying model; instead, they are deeply entangled with the mathematical formalism, structural routing, and inductive biases of the neural network architecture. This phenomenon, known as architecture-dependent hyperparameter sensitivity, means that changing a model's backbone often requires completely rebuilding its optimization and regularization recipes from scratch.

The Geometric Mismatch of Loss Landscapes

To understand why hyperparameters fail to transfer, we must look at how different architectures shape the optimization landscape. When we optimize a model, we are navigating a high-dimensional surface whose geometry is dictated by the network's structural operations.

Consider the behavior of loss functions designed to calibrate model confidence or smooth out optimization. In Geometric Insights into Focal Loss: Reducing Curvature for Enhanced Model Calibration, Hiroki Naganuma et al. demonstrated that hyperparameters regulating loss landscape curvature vary drastically between convolutional networks and transformers. Because a transformer relies on global self-attention while a CNN relies on local convolutions, their respective loss landscapes exhibit fundamentally different profiles of ruggedness and curvature. A hyperparameter configuration that perfectly dampens curvature in a CNN can over-correct or destabilize a transformer.

This geometric divergence directly impacts gradient flow and optimization schedules. As Michael Denkowski et al. observed in Stronger Baselines for Trustable Results in Neural Machine Translation, optimization strategies like learning rate annealing and restarts are highly sensitive to the underlying architecture. A learning rate schedule that prevents gradient explosion in recurrent networks may fail to provide enough energy to escape poor local minima in alternative designs.

[Data Distribution] ───► [Architecture Formalism] ───► [Unique Loss Landscape Geometry]
                                                               │
                                    ┌──────────────────────────┴──────────────────────────┐
                                    ▼                                                     ▼
                             Isotropic ViT                                         Hierarchical CNN
                     (Global Attention, Flat/Wide)                        (Local Convolutions, Sharp/Rugged)
                                    │                                                     │
                                    ▼                                                     ▼
                       Requires: Low Curvature Reg.                          Requires: High Curvature Reg.

Feature Dynamics and Regularization Sensitivity

Beyond optimization, regularization techniques must also adapt to how an architecture distributes and processes information. Regularization is not a generic tax paid to prevent overfitting; it is an intervention in the model's internal feature dynamics.

Take dropout as an example. In Group-Wise Dynamic Dropout Based on Latent Semantic Variations, Zhiwei Ke et al. found that the mapping between feature density and optimal dropout probability does not generalize across architectures. CNNs compress spatial information hierarchically, creating dense local feature representations. Attention-based architectures, by contrast, distribute semantic density across tokens globally. As a result, a dropout rate optimized to protect complex features in a convolutional layer will inadvertently suppress critical routing tokens in an attention block. This sensitivity is echoed by Xiangtao Kong et al. in Reflash Dropout in Image Super-Resolution, who noted that optimal dropout probabilities shift significantly across different low-level vision backbones.

Similarly, data augmentation and view-sampling strategies are bound to architectural capacity. In Effective Self-supervised Pre-training on Low-compute Networks without Distillation, Fuwen Tan et al. demonstrated that the bottleneck in scaling self-supervised learning to lightweight models is often a mismatch between model complexity and view-sampling strength. A heavy data-augmentation recipe that forces a massive ResNet to learn robust representations will completely overwhelm a low-compute backbone, requiring a manual re-balancing of loss and sampling parameters.

The Scale versus Architecture Paradox

A common intuition in deep learning is that model size dictates hyperparameter selection—that a 100-million parameter model inherently requires different tuning than a 1-billion parameter model. However, recent empirical evidence reveals a fascinating paradox: hyperparameters often transfer remarkably well across different scales within the same family, but fail completely when moving across different architectures at the same scale.

In A Language-Guided Bayesian Optimization for Efficient LoRA Hyperparameter Search, Baek Seong-Eun et al. isolated this effect during parameter-efficient fine-tuning. They discovered that while an optimal LoRA configuration could be reliably predicted when scaling a model up from 7 billion to 13 billion parameters, that same configuration collapsed when applied to an entirely different model architecture of equivalent size.

Why does scale preserve hyperparameter compatibility while architecture destroys it? Because scaling a model preserves its fundamental inductive biases, structural routing mechanisms, and the mathematical nature of its layers. Changing the architecture, however, fundamentally alters how gradients flow and how representations are structured. For instance, Weixiang Hong showed in Training Object Detectors from Scratch: An Empirical Study in the Era of Vision Transformer that balancing convolutional and transformer layers creates unique gradient stabilities that do not generalize to purely isotropic or purely hierarchical models.

Manifestations Across Machine Learning Domains

This architectural dependency manifests across nearly every facet of modern machine learning pipelines:

Escaping the Manual Grid-Search Trap

Because manual grid searches are computationally expensive and environmentally unsustainable, researchers are developing frameworks to automate architecture-aware parameterization.

An early foundational approach was proposed by Md. Ahaduzzaman Munna et al. in Desperately Seeking Subscripts: Towards Automated Model Parameterization, which framed the choice of parameter granularity as a heuristic search through a space of structural subscripts. By treating parameterization as an explicit function of the model's mathematical formalism rather than the dataset, the authors demonstrated that optimal indexing strategies could be discovered algorithmically.

In reinforcement learning, where policy architectures change frequently, Manuel Occorso et al. introduced a meta-learning solution in Trust Region Meta Learning for Policy Optimization. By modeling the training process itself as a Meta-Markov Decision Process, their framework trains a meta-model to dynamically predict the optimal trust-region step size at every stage of learning, generalizing successfully across entirely unseen policy representations.

Ultimately, recognizing that hyperparameters are an extension of a model's architecture—rather than an independent set of dials—is crucial for building robust, transferable optimization pipelines. Future progress relies on moving away from static training recipes and toward optimization frameworks that inherently understand the structural geometry of the models they are trying to train.

Key Foundational Work

An investigation on deep learning with beta stabilizer (2016) — contributed 1 concept elements to this direction.
Desperately Seeking Subscripts: Towards Automated Model Parameterization (2011) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_architecture_dependent_hyperparameter_se_5a933c5c,
  title = {architecture-dependent hyperparameter sensitivity},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/architecture-dependent-hyperparameter-sensitivity/rdr_5a933c5cf19040dfb8170adfcd193664},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_architecture_dependent_hyperparameter_se_5a933c5c_v1,
  title = {architecture-dependent hyperparameter sensitivity},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/architecture-dependent-hyperparameter-sensitivity/rdr_5a933c5cf19040dfb8170adfcd193664/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake