Preprint · Reading edition

Learn, Freeze, and Transfer an Activation Function Across Architectures

An activation function learned jointly with a source network in a single training run can be frozen and reused in networks of different architectures trained from scratch.

Nilekani Centre at AI4Bharat, Indian Institute of Technology Madras · a.arun283@gmail.com

November 2026 · figures in this edition are interactive

Contents

Abstract

Transfer learning typically reuses knowledge acquired by a source network through its learned weights. We investigate whether a learned activation function can also be transferred and remain useful in networks trained from scratch. We study this complementary form of transfer through a learn–freeze–transfer protocol, in which the activation is optimized jointly with a source network in a single training run, and is then frozen and reused in target networks trained from scratch. A pointwise activation with globally shared parameters is independent of layer dimensions and can therefore be incorporated into networks of different architectures trained from scratch. We instantiate this protocol with FAct, a five-parameter activation represented by a two-harmonic truncated Fourier series, initialized from a Fourier approximation of GELU and learned in a Vision Transformer (ViT) on ImageNet-1K. When reused in a ViT of the same architecture trained from scratch on ImageNet-1K, the frozen activation (Frozen FAct) improves top-1 accuracy by 1.46 percentage points over GELU. Across four smaller target architectures (standard ViT, Swin Transformer, linear-attention ViT, and MLP-Mixer) and four image-classification datasets, it achieves the highest mean accuracy among eleven activation functions in 15 of 16 settings under a common training configuration, with improvements of up to 1.71 percentage points over the best conventional activation. When the learning rate and weight decay are tuned separately for each activation under the same search budget, Frozen FAct still ranks first in 11 of the 16 settings, second in four, and fourth in one. These results provide empirical evidence that a learned activation function can retain its usefulness when transferred across vision architectures, independently of the weights with which it was learned.

1 Introduction

Transfer learning typically reuses knowledge acquired by a source network through its learned weights. We investigate whether an activation function learned jointly with a source network in a single training run can also be transferred to target networks and remain useful. To this end, we use a parameterized activation function whose coefficients are shared globally across all activation sites of the network. Global sharing makes the number of activation parameters independent of network depth and width, so the learned function can be reused in networks of different architectures. This yields a complementary form of transfer, in which the learned activation, rather than the source-network weights, is retained and reused.

Learnable activation functions allow the nonlinear transformation to adapt during training. Existing parameterizations include adaptive slopes[1, 2], customized activation functions[3], rational functions[4], and kernel-based representations[5]. Their parameters may be assigned locally to individual neurons or layers[1, 3, 4, 6, 7] or shared across multiple layers[2, 8]. These approaches study how activation functions adapt within a network. In contrast, we examine whether a learned activation can be retained and reused independently of the network in which it was optimized.

Prior work has reused activation functions beyond the setting in which they were obtained, but mainly through automated search[9, 10, 11] or meta-learning[12]. To our knowledge, transferring an activation learned in a single training run across architectures has not been studied. In our setting, the activation is learned through end-to-end training with a single source network, without meta-learning or a separate search. After source training, the activation is frozen and transferred to target networks trained from scratch. Only its learned coefficients are transferred; the source-network weights are not reused, and the activation remains fixed throughout target training (Figure 1). This protocol allows us to examine whether a nonlinearity learned within one network remains useful across different architectures and tasks.

We instantiate this protocol with FAct (Fourier Activation), a learnable activation represented by a two-harmonic truncated Fourier series with five coefficients. A single set of coefficients is shared across all MLP blocks of the network. The coefficients are initialized from a two-harmonic Fourier approximation of GELU[13] and optimized jointly with the source-network weights. We refer to the activation after source training, with its coefficients fixed, as Frozen FAct.

The learn-freeze-transfer framework: a depth-6 ViT learns one shared five-coefficient activation on ImageNet-1K; the coefficients are frozen; the frozen activation is used in a freshly initialized ViT-d6 on ImageNet-1K and in ViT-d2, Swin-d2, LinViT-d2 and MLP-Mixer targets on four datasets.
Figure 1. Overview of the learn–freeze–transfer framework. (a) A five-parameter FAct activation, shared across all MLP blocks, is learned jointly with a depth-6 ViT on ImageNet-1K. (b) The learned activation coefficients are frozen after source training. (c) Only these coefficients, not the source-network weights, are transferred to independently initialized target networks. Evaluation includes same-task transfer to a fresh ViT-d6 and cross-architecture transfer to ViT-d2, Swin-d2, LinViT-d2, and MLP-Mixer, with the activation coefficients fixed throughout target training.

We evaluate Frozen FAct in two transfer settings. In the same-task setting, the activation learned by a depth-6 Vision Transformer (ViT)[14] on ImageNet-1K[15] is reused in a ViT of the same architecture, trained from scratch on the same task. In the cross-architecture setting, the same five coefficients are used in four depth-2 target architectures: a ViT with global self-attention, a Swin Transformer with shifted-window self-attention[16], a ViT with linear attention[17], and an attention-free MLP-Mixer[18]. These targets contain approximately 100K parameters each and are trained on four image-classification datasets: Fashion-MNIST[19], CIFAR-10, CIFAR-100[20], and Food-101[21].

In the same-task setting, Frozen FAct improves ImageNet-1K top-1 accuracy by 1.46 percentage points over GELU. In the cross-architecture setting, it achieves the highest mean test accuracy among eleven activation functions in 15 of the 16 architecture–dataset combinations under a common training configuration, with improvements of up to 1.71 percentage points over the best conventional activation. When the learning rate and weight decay are tuned separately for each activation under the same search budget, Frozen FAct still ranks first in eleven combinations, second in four, and fourth in one. Finally, on Swin targets of one to six blocks, a frozen, untrained Fourier approximation of GELU does not reproduce these gains, indicating that the benefit comes from the learned activation rather than the Fourier parameterization alone. In contrast to the SPLASH ablation of Tavakoli et al.[22], these results show that a frozen learned activation can retain its benefit after transfer.

This work makes three contributions:

  1. A learn–freeze–transfer protocol for activation functions. We formulate a complementary form of transfer in which a globally shared activation is learned jointly with a source network in a single training run, then frozen and reused in target networks trained from scratch, without transferring source-network weights.
  2. A globally shared activation suited for transfer. We instantiate the protocol with FAct, whose five coefficients are shared across all MLP blocks, so that the learned activation can be placed in networks of different architectures.
  3. An empirical evaluation of activation transferability. We evaluate same-task and cross-architecture transfer using three transformer architectures and an attention-free MLP-Mixer on four image-classification datasets. We compare Frozen FAct with ten conventional activation functions under common and activation-specific hyperparameter configurations, and we include a control showing that the gains come from the learned activation rather than its parameterization.

2.1 Transfer Learning

Transfer learning reuses knowledge acquired on a source task to improve learning on a target task[23]. In deep networks, this is typically done by reusing learned weights, either to initialize a target network that is then fine-tuned or as fixed feature extractors[24]. Knowledge distillation transfers knowledge between networks of different architectures, but it requires the source network during target training to provide supervision[25]. In both cases, the transferred knowledge is carried by the source network’s weights or outputs. We study a complementary setting in which only a learned activation function is transferred, and the source network is not used during target training.

2.2 Learnable and Globally Shared Activation Functions

Learnable activation functions introduce parameterized nonlinear transformations whose parameters are optimized jointly with the network weights. PReLU learns the slope of the negative input region[1], and ACON provides a more flexible parametric formulation[3]. Padé activation units represent the nonlinearity as a ratio of polynomials[4], while other approaches use adaptive piecewise-linear functions[6] or kernel-based representations[5]. Learnable Fourier-type activations have also been studied, with coefficients learned within the network in which they are used[26, 27, 28].

Activation parameters also differ in how they are shared. They may be assigned to individual neurons or layers, or shared across multiple layers. Jagtap et al.[2] introduced globally adaptive activation functions for deep and physics-informed neural networks, using a single trainable scaling parameter that adjusts the activation slope across the network. Delfosse et al.[8] shared a common set of rational-function parameters across layers to regulate activation plasticity in deep reinforcement learning. These approaches show that sharing activation parameters within a network can be useful. However, sharing alone does not show whether a learned activation can be separated from its source network and reused in another network.

2.3 Reuse and Transfer of Activation Functions

Several studies have reused activation functions beyond the setting in which they were obtained. Ramachandran et al.[9] discovered Swish by automated search on a small network and showed that it transfers to larger models and other tasks. Bingham and Miikkulainen[10] used surrogate-based search to find activation functions that transfer from small search tasks to larger models, including ResNet-50 on ImageNet. Strack et al.[11] used gradient-based search and transferred the resulting activations, with their constants fixed, to larger models of the same type and to new datasets. Teney et al.[12] meta-learned activation functions through bilevel optimization across task episodes, demonstrating transfer across algorithmic tasks and reuse in networks of different widths.

Reusing a learned shape does not always preserve its benefit. Tavakoli et al.[22] found that a fixed activation mimicking the final shape of trained SPLASH units performed only on par with ReLU, and concluded that the evolution of the shape during training was important. Although this was not a transfer study, it suggests that freezing a learned activation may discard part of its benefit.

The present study differs from these works in two respects. First, the activation is learned in a single conventional training run, without search or meta-learning. Second, the frozen coefficients are transferred across architecture families, from a ViT to Swin, linear-attention, and MLP-Mixer targets, without reusing source-network weights or updating the activation during target training.

3 FAct: Learning and Transferring a Shared Nonlinearity

3.1 Global Activation Sharing

Let zℓ denote the pre-activation at the ℓ-th activation site in a network, and let ϕ(z;θ) denote a parameterized activation function. In FAct, a single parameter vector θ is shared across all MLP blocks of the network:

hℓ=ϕ(zℓ;θ),ℓ=1,…,L, (1)

where L denotes the number of activation sites and hℓ is the corresponding activation output. The same parameter vector is used at every site, without replication across layers or hidden units.

Because the activation parameters are shared, their gradients aggregate contributions from all activation sites during training:

∂𝒥∂θ=∑ℓ=1L∂𝒥∂hℓ∂ϕ(zℓ;θ)∂θ, (2)

where 𝒥 denotes the network training objective. Each term represents the gradient contribution propagated through an individual activation site. Consequently, the shared activation parameters are optimized using signals from all MLP blocks rather than through independently learned, layer-specific parameter sets.

Global sharing defines a single parameterized nonlinear function that can be retained independently of the source-network weights. We refer to FAct while its parameters are jointly optimized with the source-network weights as Learnable FAct. After source training, the parameters are frozen, and the resulting activation is referred to as Frozen FAct.

3.2 Fourier Parameterization and Initialization

We parameterize FAct using a truncated Fourier series:

ϕ(z;θ)=a0+∑k=1K[akcos(kωz)+bksin(kωz)], (3)

where a0, ak, and bk are learnable coefficients, and K denotes the number of harmonics. We fix the angular frequency to ω=1, giving the activation a period of 2π. The parameter vector is defined as

θ=(a0,a1,…,aK,b1,…,bK), (4)

containing 2K+1 coefficients. In the main experiments, we set K=2, resulting in five learnable parameters shared across the entire network. Consequently, the number of activation parameters is independent of network depth and width.

The Fourier representation provides a compact and smooth parameterization whose shape can adapt during training. Depending on the learned coefficients, the resulting function can exhibit monotonic or non-monotonic behaviour over the input range of interest. Furthermore, its output is bounded for any finite coefficient values:

|ϕ(z;θ)|≤|a0|+∑k=1K(|ak|+|bk|). (5)

This bound follows from the bounded magnitudes of the sine and cosine functions.

Interactive exploration of the Fourier parameterization in Equation (3). FAct is displayed with K=2 and ω=1 over one period, z∈[−π,π]. The five sliders control the complete parameter vector θ in Equation (4). Presets load the GELU-based initialization (Equation 7), the coefficients learned by the source ViT on ImageNet-1K, or zero coefficients. GELU is displayed as a non-periodic reference. The dotted lines indicate the coefficient-dependent output bound derived in Equation (5). The Show Fourier components option decomposes the activation into its constant, first-harmonic, and second-harmonic terms. [open this figure in its own tab]

We initialize FAct using a two-harmonic Fourier approximation of GELU[13]. For a reference activation function σ, the Fourier coefficients are obtained by projection over one period, [−π,π]:

a0=12π∫−ππσ(z)dz, (6a)
ak=1π∫−ππσ(z)cos(kωz)dz,k=1,…,K, (6b)
bk=1π∫−ππσ(z)sin(kωz)dz,k=1,…,K. (6c)

For σ=GELU, K=2, and ω=1, the resulting initialization is

θ0=(0.7061,−0.7049,0.0261,1.0000,−0.5000). (7)

This initialization provides a reference nonlinear transformation while allowing all five coefficients to adapt during source-network training.

3.3 Learn-Freeze-Transfer Protocol

The globally shared parameterization allows the learned activation to be separated from the source network and reused independently. During source training, the source-network weights and shared activation parameters are jointly optimized:

(Ws*,θ*)=argminWs,θ𝒥src(Ws,θ), (8)

where Ws denotes the source-network weights, θ represents the shared activation parameters, and 𝒥src is the source-task training objective. The resulting activation is

ϕ*(z)=ϕ(z;θ*). (9)

After source training, the learned activation parameters θ* are frozen. Only these parameters are transferred to a target network; the source-network weights Ws* are not transferred. Let Wt denote the weights of an independently initialized target network, and let 𝒥tgt denote its training objective. Target training then optimizes

Wt*=argminWt𝒥tgt(Wt;θ*),θ* fixed. (10)

Thus, the target-network weights are optimized for the target task while the transferred activation parameters remain unchanged throughout training. No source-network weights are used to initialize the target model, and target-task gradients do not update the transferred activation.

This protocol isolates the reuse of the learned nonlinearity from the transfer of network weights. It therefore enables us to examine whether an activation learned jointly with one source network remains useful when incorporated into independently initialized networks, without further adaptation of the activation itself. Figure 1 illustrates the three stages of this process.

4 Experimental Evaluation

This section evaluates whether a globally shared activation learned jointly with a source network remains useful when transferred to independently initialized target networks. We first describe the source and target architectures, datasets, and training protocol. We then examine the evolution of the source-learned activation, its transfer to a network with the same architecture and task, and its transfer across four target architectures with different attention and token-mixing mechanisms. Frozen FAct is compared with ten conventional activation functions to assess its performance under a common training configuration.

4.1 Experimental Setup

Source and target networks. We learn FAct in a depth-6 Vision Transformer (ViT-d6; throughout, the suffix -dk denotes a network of depth k) trained on ImageNet-1K[15]. The source network contains 3,048,232 parameters, and learning FAct adds five trainable activation coefficients, resulting in 3,048,237 trainable parameters. The same five coefficients are shared across all MLP blocks of the source network. We train the source network with five random seeds (seeds 1–5); each run jointly optimizes the source-network weights and the shared activation from the same GELU-based initialization. Unless otherwise stated, the transfer experiments reuse the activation learned by the seed-1 source checkpoint; the five source runs converge to nearly identical activations, as quantified in Section 4.2, so this choice is representative rather than specific to one source run.

After source training, the learned activation is transferred to four independently initialized target architectures: a depth-2 Vision Transformer (ViT-d2) with global self-attention, a depth-2 Swin Transformer (Swin-d2) with shifted-window self-attention[16], a depth-2 Vision Transformer with linear attention (LinViT-d2)[17], and a depth-2 MLP-Mixer[18]. These target networks contain approximately 100K parameters, with their exact configurations provided in Appendix A. No source-network weights are transferred, and the activation coefficients remain fixed throughout target training.

Datasets and transferred activation. Each target architecture is evaluated on Fashion-MNIST[19], CIFAR-10, CIFAR-100[20], and Food-101[21]. All target experiments use the same frozen activation coefficients obtained from the seed-1 source checkpoint: a0=0.2182, a1=0.1193, a2=−0.4237, b1=0.8315, and b2=−0.5918. Thus, the same source-learned activation is used across all target architectures and datasets.

Training and evaluation protocol. All target experiments use five random seeds, with the same seed configurations across architectures, datasets, and activation choices. Models are trained for 100 epochs using AdamW, with a learning rate of 10−3, weight decay of 0.05, and a batch size of 256. The learning-rate schedule consists of five epochs of linear warm-up followed by cosine decay. Label smoothing and dropout are both set to 0.1. All activation choices use identical dataset-specific preprocessing and augmentation, without test-time augmentation. The complete preprocessing and augmentation procedures are provided in Appendix A.

Frozen FAct is compared with ten conventional activation functions: ReLU[29], LeakyReLU[30], GELU[13], SiLU[31], Mish[32], HardSwish[33], Softplus[34], ELU[35], SELU[36], and Tanh[37]. For each run, the checkpoint with the highest validation accuracy is selected and evaluated once on the held-out test set. Results are reported as mean and sample standard deviation across five seeds. Activation-specific learning-rate and weight-decay tuning results are provided in Appendix B.

4.2 Evolution of the Source-Learned Activation

FAct is initialized using a two-harmonic Fourier approximation of GELU, with all five coefficients subsequently optimized jointly with the source-network weights. Figure 2 illustrates the evolution of the shared activation during ImageNet-1K training. The activation progressively departs from its initial GELU approximation and develops a non-monotonic shape over the course of training. The final learned function, obtained after 100 epochs, differs substantially from its initialization and is the activation frozen and transferred to all target networks in the subsequent experiments.

Consistency across source runs. Although the transfer experiments reuse the activation from a single source checkpoint, the activation that FAct learns is highly consistent across independent source runs. Training the source network with five random seeds yields nearly identical coefficients, with mean ± sample standard deviation across seeds of a0=0.2155±0.0030, a1=0.1181±0.0038, a2=−0.4205±0.0021, b1=0.8457±0.0126, and b2=−0.5990±0.0096.

Three panels over one Fourier period: GELU and its two-harmonic Fourier approximation; the shared activation at epochs 1, 5, 10, 25, 50 and 100 of source training; the final learned FAct against GELU, with the central 98% pre-activation band shaded.
Figure 2. Evolution of the FAct activation during source-network training. (a) GELU and its two-harmonic Fourier approximation used to initialize FAct. (b) Evolution of FAct at selected training epochs. (c) Final learned activation after 100 epochs compared with GELU. The final curve corresponds to the seed-1 source checkpoint used in all transfer experiments. The shaded region indicates the central 98% of source-network pre-activations, pooled across all six MLP blocks on 512 ImageNet-1K validation images.
Interactive extension of Figure 2: Evolution of the source-learned FAct activation. The applet visualizes the shared activation learned by the seed-1 source ViT across 100 ImageNet-1K training epochs. The upper panel displays the activation at the selected epoch alongside conventional activation functions. The middle panel shows the trajectories of the five Fourier coefficients, with a vertical marker indicating the selected epoch and dashed references indicating their GELU-based initialization. The lower panel shows the empirical distribution of source-network pre-activations, pooled across all six MLP blocks on 512 ImageNet-1K validation images. The shaded interval denotes the central 98% of pre-activations, [−1.02,1.04]. The transferred activation corresponds to the final source-trained coefficients. [open this figure in its own tab]

4.3 Same-Task Transfer at Source Scale

To examine whether the learned activation remains useful when transferred to a network with the same architecture and task, we train a freshly initialized ViT-d6 on ImageNet-1K using the frozen FAct activation learned by the source network. The five activation coefficients are obtained from the seed-1 source checkpoint and remain fixed throughout target training. No source-network weights are transferred. We conduct five independent target runs, all using the same frozen activation, so the reported variation reflects differences in target initialization and training rather than variability across independently learned activations.

Table 1. Same-task transfer on ImageNet-1K using a freshly initialized ViT-d6. Results report top-1 accuracy (%) on the ILSVRC validation set as mean ± sample standard deviation across five target runs. Frozen FAct uses the activation coefficients learned by the source network; source-network weights are not transferred, and activation coefficients remain fixed. Δ denotes the difference in mean accuracy relative to GELU, in percentage points.

ActivationTop-1 accuracy (%)Δ vs GELU (pp)
GELU62.45 ± 0.13—
Frozen FAct63.91 ± 0.15+1.46

Table 1 compares Frozen FAct with GELU under the same architecture and training configuration. Frozen FAct achieves a mean top-1 accuracy of 63.91%±0.15, compared with 62.45%±0.13 for GELU, an improvement of 1.46 percentage points. This result provides evidence that the source-learned activation retains useful properties even when separated from its original network weights and reused in an independently initialized network performing the same task.

4.4 Transfer Across Transformer Architectures

Tables 2–4 report the test accuracy of the eleven activation choices on ViT-d2, Swin-d2, and LinViT-d2, respectively, under the common training configuration. Table 5 summarizes the performance difference between Frozen FAct and the best-performing conventional activation for each target–dataset combination, while Figure 3 illustrates the corresponding accuracy margins.

Table 2. Transfer performance on ViT-d2 with global self-attention under the common training configuration. Results are mean test accuracy (%) ± sample standard deviation across five seeds. Bold and underlining indicate the highest and second-highest mean accuracies, respectively.

ActivationFashion-MNISTCIFAR-10CIFAR-100Food-101
Frozen FAct90.94 ± 0.1075.56 ± 0.3547.67 ± 0.4835.83 ± 0.36
ReLU90.40 ± 0.4674.50 ± 0.4646.95 ± 0.6334.07 ± 0.22
LeakyReLU90.27 ± 0.2774.51 ± 0.2646.80 ± 0.2134.12 ± 0.21
GELU89.09 ± 0.2472.46 ± 0.2946.30 ± 0.2434.10 ± 0.39
SiLU87.96 ± 0.5770.47 ± 0.3944.60 ± 0.3432.51 ± 0.54
Mish87.91 ± 0.3570.62 ± 0.4944.85 ± 0.3132.69 ± 0.32
HardSwish87.53 ± 0.5868.01 ± 0.1542.13 ± 0.3331.10 ± 0.72
Softplus86.27 ± 0.3768.51 ± 0.4140.44 ± 0.8031.84 ± 0.22
ELU86.32 ± 0.0966.25 ± 0.1938.44 ± 0.6829.36 ± 0.57
SELU86.24 ± 0.5165.29 ± 0.5037.12 ± 0.2628.71 ± 0.24
Tanh86.61 ± 0.2065.14 ± 0.3237.24 ± 0.2028.67 ± 0.40

Table 3. Transfer performance on Swin-d2 with shifted-window self-attention under the common training configuration. Results are mean test accuracy (%) ± sample standard deviation across five seeds. Bold and underlining indicate the highest and second-highest mean accuracies, respectively.

ActivationFashion-MNISTCIFAR-10CIFAR-100Food-101
Frozen FAct89.33 ± 0.1169.47 ± 0.3138.34 ± 0.3441.32 ± 0.26
ReLU88.28 ± 0.2867.31 ± 0.3336.87 ± 0.4439.20 ± 0.55
LeakyReLU88.27 ± 0.1567.56 ± 0.4136.85 ± 0.3139.20 ± 0.37
GELU88.29 ± 0.2267.82 ± 0.3137.25 ± 0.2740.43 ± 0.38
SiLU87.69 ± 0.1866.21 ± 0.3536.48 ± 0.4439.01 ± 0.54
Mish87.60 ± 0.0966.44 ± 0.3236.97 ± 0.6839.34 ± 0.32
HardSwish87.33 ± 0.2465.60 ± 0.2736.14 ± 0.3238.17 ± 0.75
Softplus85.73 ± 0.2762.61 ± 0.2632.39 ± 0.4035.67 ± 0.82
ELU85.55 ± 0.3961.03 ± 0.6531.55 ± 0.3532.66 ± 0.58
SELU83.27 ± 0.4054.81 ± 0.6825.71 ± 0.2928.75 ± 0.43
Tanh85.69 ± 0.3757.63 ± 0.9028.06 ± 0.4130.35 ± 0.43

Table 4. Transfer performance on LinViT-d2 with linear attention under the common training configuration. Results are mean test accuracy (%) ± sample standard deviation across five seeds. Bold and underlining indicate the highest and second-highest mean accuracies, respectively.

ActivationFashion-MNISTCIFAR-10CIFAR-100Food-101
Frozen FAct90.67 ± 0.2475.15 ± 0.3848.05 ± 0.1936.12 ± 0.34
ReLU90.29 ± 0.1673.94 ± 0.4846.57 ± 0.3634.40 ± 0.27
LeakyReLU90.18 ± 0.2373.89 ± 0.3046.35 ± 0.2934.50 ± 0.29
GELU89.07 ± 0.2272.13 ± 0.3145.47 ± 0.3233.88 ± 0.63
SiLU87.89 ± 0.5270.05 ± 0.3143.29 ± 0.4632.49 ± 0.13
Mish88.06 ± 0.2570.23 ± 0.2843.66 ± 0.6332.70 ± 0.17
HardSwish87.15 ± 0.4068.35 ± 0.4741.16 ± 0.6231.35 ± 0.31
Softplus85.48 ± 0.2664.30 ± 0.9838.58 ± 0.4831.47 ± 0.28
ELU86.02 ± 0.2465.63 ± 0.8737.09 ± 0.2429.24 ± 0.34
SELU85.95 ± 0.4365.07 ± 0.6235.56 ± 0.5527.91 ± 0.38
Tanh86.28 ± 0.5064.85 ± 0.8835.57 ± 0.5128.04 ± 0.11
Interactive explorer of activation performance and training dynamics corresponding to Tables 2–4 and 6. The heatmap summarizes the mean test accuracy of eleven activation functions across four datasets for the selected target architecture under the common training configuration. Users can switch between accuracy, within-dataset ranking, and accuracy difference relative to Frozen FAct. Selecting an architecture, dataset, or activation updates the detailed comparison and training-trajectory views. The dot-and-whisker plot displays individual seed results, mean test accuracy, and ±1 sample standard deviation. The training-trajectory plot shows mean validation accuracy across five seeds, with shaded regions indicating ±1 sample standard deviation. Hovering over data points provides the corresponding numerical values, while the expandable table provides the complete results. [open this figure in its own tab]

Table 5. Frozen FAct compared with the best-performing conventional activation across the twelve transformer architecture–dataset combinations under the common training configuration. The best conventional activation is selected from the ten baseline functions, excluding Frozen FAct. Accuracy values are mean test accuracy (%). Δ denotes the seed-matched mean accuracy difference between Frozen FAct and the selected conventional activation, in percentage points, across five seeds.

TargetDatasetFrozen FActBest-performing
conventional activation
Δ (pp)
ViT-d2Fashion-MNIST90.94ReLU (90.40)+0.53
CIFAR-1075.56LeakyReLU (74.51)+1.04
CIFAR-10047.67ReLU (46.95)+0.72
Food-10135.83LeakyReLU (34.12)+1.71
Swin-d2Fashion-MNIST89.33GELU (88.29)+1.05
CIFAR-1069.47GELU (67.82)+1.65
CIFAR-10038.34GELU (37.25)+1.09
Food-10141.32GELU (40.43)+0.88
LinViT-d2Fashion-MNIST90.67ReLU (90.29)+0.38
CIFAR-1075.15ReLU (73.94)+1.21
CIFAR-10048.05ReLU (46.57)+1.48
Food-10136.12LeakyReLU (34.50)+1.62
Accuracy margin of Frozen FAct over the best conventional activation for each of twelve target-dataset combinations, all positive, with one-standard-deviation error bars.
Figure 3. Accuracy margin of Frozen FAct over the best-performing conventional activation across the twelve target–dataset combinations. Each point represents the mean seed-matched difference in test accuracy (percentage points) across five seeds. Error bars represent one sample standard deviation of the paired differences. The conventional activation selected for each comparison is indicated below the corresponding dataset (LReLU denotes LeakyReLU).
Interactive exploration of Figure 3: Accuracy margins of Frozen FAct over the best-performing conventional activation. The visualization presents the seed-matched mean accuracy differences across the twelve transformer architecture–dataset combinations under the common training configuration. Users can filter the results by target architecture and dataset. Positive values indicate higher mean accuracy for Frozen FAct, whereas negative values favour the selected conventional activation. Whiskers represent ±1 sample standard deviation of the paired differences across five seeds. Hovering over or selecting a comparison reveals the selected baseline activation, mean accuracies, paired difference, variability, and seed-level results. The expandable table provides the corresponding numerical values. [open this figure in its own tab]

Across the three transformer architectures and four datasets, Frozen FAct achieves the highest mean test accuracy in all twelve architecture–dataset combinations. Its improvement over the best-performing conventional activation ranges from 0.38 percentage points on LinViT-d2 with Fashion-MNIST to 1.71 percentage points on ViT-d2 with Food-101. The strongest conventional baseline varies across architectures: ReLU or LeakyReLU provides the highest mean accuracy among conventional activations for ViT-d2 and LinViT-d2, whereas GELU performs best across all four Swin-d2 datasets. Importantly, the same five activation coefficients learned by the source ViT-d6 are used in all target experiments, without transferring source-network weights or updating the activation during target training. These results provide empirical evidence that a globally shared nonlinearity learned within one network can retain its usefulness across independently initialized transformer architectures with different attention configurations and target tasks.

For reference, we also compare Frozen FAct with FAct learned directly in each ViT-d2 target under the same common configuration (Appendix D). The transferred activation performs comparably to one learned on the target task: mean differences are within 0.12 percentage points on Fashion-MNIST and CIFAR-10, and Frozen FAct achieves higher mean accuracy on CIFAR-100 and Food-101.

Additional analyses investigate the effect of the GELU-based initialization and of target-network depth in Swin targets (Appendix C).

4.5 Transfer to an MLP-Mixer Architecture

To examine whether the learned activation transfers beyond attention-based architectures, we evaluate Frozen FAct in an independently initialized depth-2 MLP-Mixer[18]. Unlike the transformer architectures, MLP-Mixer uses separate MLPs for token mixing and channel mixing, without self-attention. We transfer the same five source-learned activation coefficients to both types of MLP blocks and keep them fixed throughout target training. The comparison includes the same ten conventional activation functions under the common training configuration.

Table 6. Transfer performance on MLP-Mixer under the common training configuration. Mean test accuracy (%) ± sample s.d. across five seeds. Bold indicates the highest mean test accuracy for each dataset, and underlining indicates the second-highest. The comparison includes Frozen FAct and the same ten conventional activation functions as Tables 2–4.

ActivationFashion-MNISTCIFAR-10CIFAR-100Food-101
Frozen FAct91.42 ± 0.1875.99 ± 0.1647.49 ± 0.3835.09 ± 0.22
ReLU90.80 ± 0.2275.47 ± 0.3547.08 ± 0.4634.92 ± 0.35
LeakyReLU90.64 ± 0.3975.51 ± 0.1347.20 ± 0.4834.94 ± 0.40
GELU89.84 ± 0.1375.32 ± 0.4845.99 ± 0.6036.15 ± 0.47
SiLU88.90 ± 0.2973.75 ± 0.3045.07 ± 0.8335.15 ± 0.30
Mish88.94 ± 0.2574.03 ± 0.3045.17 ± 0.5835.25 ± 0.25
HardSwish87.81 ± 0.4172.78 ± 0.4244.05 ± 0.7834.39 ± 0.26
Softplus86.98 ± 0.4268.26 ± 1.0635.33 ± 1.8432.70 ± 0.12
ELU86.52 ± 0.2270.19 ± 0.5641.27 ± 0.7830.82 ± 0.38
SELU86.02 ± 0.2264.97 ± 0.2236.07 ± 0.4624.90 ± 0.25
Tanh86.53 ± 0.1865.42 ± 0.5636.19 ± 0.4329.97 ± 0.29

Frozen FAct achieves the highest mean test accuracy on Fashion-MNIST, CIFAR-10, and CIFAR-100, outperforming the best-performing conventional activation by 0.62, 0.48, and 0.29 percentage points, respectively (Table 6). On Food-101, GELU performs better by approximately 1.05 percentage points. These results provide evidence that a source-learned activation can also be reused in an attention-free architecture without transferring source-network weights or updating its coefficients, although its performance advantage varies across datasets. After activation-specific hyperparameter tuning, Frozen FAct retains its advantage on Fashion-MNIST and CIFAR-10, whereas HardSwish performs better on CIFAR-100 and Food-101.

5 Conclusion

This work investigated whether a globally shared activation learned jointly with a source network can be reused independently of the network weights with which it was optimized. We introduced a learn–freeze–transfer framework and instantiated it using FAct, a five-parameter activation represented by a two-harmonic truncated Fourier series. Initialized using a Fourier approximation of GELU, its coefficients are optimized jointly with a source Vision Transformer and subsequently frozen for transfer to independently initialized target networks.

We evaluated the proposed approach through same-task and cross-architecture transfer experiments. In the same-task setting, Frozen FAct improved ImageNet-1K top-1 accuracy by 1.46 percentage points over GELU when used in a freshly initialized ViT-d6. Across four target architectures and four image-classification datasets, Frozen FAct achieved the highest mean test accuracy among eleven activation choices in 15 of the 16 architecture–dataset combinations under a common training configuration. This included all twelve combinations involving the three transformer architectures and three of four MLP-Mixer combinations. Following activation-specific hyperparameter tuning, Frozen FAct ranked first in eleven combinations, second in four, and fourth in the remaining combination. Throughout these experiments, only the five learned activation coefficients were transferred; source-network weights were not reused, and the activation remained fixed during target training.

These findings provide empirical evidence that a globally shared nonlinearity learned within one network can retain its usefulness when transferred to independently initialized networks with different architectures and target tasks. However, the evaluation uses a single source-learned activation obtained from one Vision Transformer trained on ImageNet-1K, and the cross-architecture experiments are restricted to relatively small target networks and image-classification tasks. Further investigation is needed to establish how activation transferability varies across source architectures, source training datasets, model scales, and target tasks. Extending this evaluation to convolutional and other network architectures would help determine the broader applicability of transferable learned nonlinearities. The mechanism behind the gains also remains open.

Appendix A: Experimental Configuration

A.1 Models and datasets

The source model is a depth-6 Vision Transformer (ViT-d6) trained on ImageNet-1K, with FAct shared across its six MLP blocks. The target models comprise three depth-2 transformer architectures and a depth-2 MLP-Mixer. ViT-d2 uses global softmax self-attention, Swin-d2 employs shifted-window self-attention with a window size of four, and LinViT-d2 replaces softmax attention with linear attention using elu(x)+1. The MLP-Mixer consists of two blocks, each containing a pre-normalized residual token-mixing MLP (hidden width 38) followed by a pre-normalized residual channel-mixing MLP (hidden width 304), with an embedding width of 76. It does not use attention, a class token, or positional embeddings, and classification is performed using globally average-pooled tokens.

All MLPs use the same Linear–activation–dropout–Linear structure, with a single activation module shared across the MLPs within each network. Table 7 summarizes the architectural configurations and parameter counts.

The target models are trained on Fashion-MNIST (28×28), CIFAR-10 and CIFAR-100 (32×32), and Food-101 (resized to 64×64). For each dataset, 5,000 training images are held out once using a fixed random seed to form a validation split shared across all runs. The official test sets, comprising 10,000 images for Fashion-MNIST and the CIFAR datasets and 25,250 images for Food-101, are reserved for final evaluation.

A.2 Training configuration

All target networks are trained for 100 epochs with AdamW, a batch size of 256, a five-epoch linear warm-up followed by cosine decay, label smoothing of 0.1 and dropout of 0.1. The common configuration uses a learning rate of 10−3 and weight decay of 0.05 for every activation; activation-specific tuning is described in Appendix B. The source model uses the same optimizer, schedule and regularization. The transferred coefficients are those of the seed-1 source run (Section 4.1 and Figure 2).

A.3 Preprocessing and evaluation

Inputs are normalized per channel with the training-split mean and standard deviation. During training, each image is zero-padded by 2 pixels (Fashion-MNIST) or 4 pixels (other datasets), randomly cropped back to its original size and flipped horizontally with probability 0.5; validation and test images are only normalized. For each run, the checkpoint with the highest validation accuracy is evaluated once on the test set. Each result is the mean and sample standard deviation over five seeds, using the same seeds for every activation.

Table 7. Architectural and training configurations of the source and target networks. Parameter ranges reflect differences across the four target datasets.

SourceTargets
ViT-d6ViT-d2Swin-d2LinViT-d2MLP-Mixer
Token mixingglobal softmaxglobal softmaxshifted window (4)linear, elu+1MLP
Depth / width / heads6 / 192 / 62 / 64 / 42 / 64 / 42 / 64 / 42 / 76 / –
MLP hidden width76825625625638 token / 304 channel
Patch size164 (Food-101: 8)44 (Food-101: 8)4 (Food-101: 8)
Parameters3,048,232105,098–123,237102,354–110,317105,098–123,237103,620–126,313
Activation coefficients5, learned5, frozen (not updated)
DataImageNet-1K, 2242Fashion-MNIST 282, CIFAR-10/100 322, Food-101 642
Validation split10,000 train images5,000 train images per dataset, fixed
Test splitILSVRC val (50,000)official test set
Seeds1 learns FAct; 5 in Section 4.35 per activation
Optimizer / batch / epochsAdamW / 256 / 100
Learning rate / weight decay10−3 / 0.05 (common configuration; per-activation in Appendix B)
Schedule5-epoch linear warm-up, then cosine decay
Label smoothing / dropout0.1 / 0.1
Checkpointbest validation accuracy, evaluated once on the test set

Appendix B: Activation-Specific Hyperparameter Tuning

The main experiments use a common learning rate and weight decay for all activation functions. To examine whether this configuration favours Frozen FAct, we perform activation-specific hyperparameter tuning using an identical search budget. The learning rate and weight decay are selected independently for each activation–architecture–dataset combination. The search considers five learning rates (3×10−4, 10−3, 3×10−3, 10−2, and 3×10−2) and three weight-decay values (0, 0.05, and 0.2), resulting in fifteen configurations per combination. Each configuration is evaluated using a 30-epoch, single-seed proxy experiment. The selected configuration is subsequently trained for 100 epochs across five random seeds. This procedure is applied to all eleven activation choices across the four target architectures and four datasets.

Table 8. Frozen FAct compared with the best-performing conventional activation under activation-specific hyperparameter tuning. Results are mean test accuracy (%) ± sample standard deviation across five seeds for both Frozen FAct and the best-performing conventional activation. Δ denotes the difference in mean accuracy between Frozen FAct and the selected conventional activation, in percentage points.

Best-performing conventional
TargetDatasetFrozen FActActivationAccuracyΔ (pp)
ViT-d2Fashion-MNIST91.17 ± 0.17LeakyReLU90.69 ± 0.31+0.48
CIFAR-1076.34 ± 0.69GELU74.91 ± 0.13+1.43
CIFAR-10048.33 ± 0.48GELU47.06 ± 0.30+1.27
Food-10139.15 ± 0.49GELU37.13 ± 0.41+2.01
Swin-d2Fashion-MNIST90.51 ± 0.23GELU90.13 ± 0.17+0.37
CIFAR-1072.57 ± 0.57GELU73.07 ± 0.22−0.50
CIFAR-10044.13 ± 0.54LeakyReLU42.18 ± 0.59+1.95
Food-10146.51 ± 0.40GELU46.60 ± 0.86−0.09
LinViT-d2Fashion-MNIST91.39 ± 0.15ReLU90.76 ± 0.27+0.63
CIFAR-1076.38 ± 0.45GELU74.44 ± 0.44+1.95
CIFAR-10048.51 ± 0.41GELU48.18 ± 0.36+0.33
Food-10138.34 ± 0.25GELU38.70 ± 0.64−0.36
MLP-MixerFashion-MNIST91.69 ± 0.15GELU90.93 ± 0.29+0.76
CIFAR-1077.89 ± 0.66SiLU77.70 ± 0.44+0.19
CIFAR-10049.01 ± 0.56HardSwish51.48 ± 0.91−2.47
Food-10142.48 ± 0.10HardSwish43.27 ± 1.21−0.79

Table 8 summarizes the comparison between Frozen FAct and the best-performing conventional activation after activation-specific hyperparameter tuning. Frozen FAct retains the highest mean accuracy in eleven of the sixteen architecture–dataset combinations, ranks second in four, and ranks fourth in the remaining combination.

Across the transformer architectures, Frozen FAct ranks first in nine of the twelve combinations. GELU achieves the highest mean accuracy in the remaining three, displacing Frozen FAct to second place. For the MLP-Mixer, Frozen FAct retains the highest rank on Fashion-MNIST and CIFAR-10, whereas HardSwish performs better on CIFAR-100 and Food-101. Figure 4 illustrates the changes in activation rankings between the common and tuned configurations.

These results show that the relative performance of activation functions depends partly on target architecture and dataset. Nevertheless, Frozen FAct retains the highest mean accuracy in most evaluated combinations, even when conventional activation functions receive activation-specific hyperparameter optimization.

Slope charts of activation rank under the common configuration and after activation-specific tuning, for four targets and four datasets, with Frozen FAct and GELU highlighted.
Figure 4. Activation rankings before and after activation-specific hyperparameter tuning. Each panel shows the ranking of eleven activation choices based on mean test accuracy across five seeds. The left and right positions represent rankings under the common and tuned configurations, respectively (rank 1 = highest accuracy). Lines connect the rankings of the same activation across the two configurations. Frozen FAct and GELU are highlighted; the remaining nine conventional activations are shown in grey.
Interactive view of Table 8 and Figure 4. Mean test accuracy of each activation under the common configuration (left) and after activation-specific tuning (right), five seeds each. Interactive: choose the target (ViT-d2, Swin-d2, LinViT-d2 or MLP-Mixer) and dataset; hovering a line gives the selected learning rate and weight decay and the change in accuracy. [open this figure in its own tab]

Appendix C: Depth Sensitivity and the Effect of GELU-Based Initialization

We conduct an additional experiment to investigate two aspects of activation transfer: the effect of using a fixed Fourier approximation of GELU instead of the conventional GELU activation, and the sensitivity of transfer performance to target-network depth. For this analysis, we use Swin Transformer targets because GELU is the highest-performing conventional activation on all four datasets in the main Swin experiments (Table 3). This provides a single, consistent reference for evaluating the two frozen Fourier-based activations across datasets. The conclusions of this appendix therefore apply to the evaluated Swin targets and are not claimed for all architectures.

C.1 Experimental Design

We vary the depth of the target Swin Transformer from one to six blocks while keeping the remaining architectural and training configurations fixed. All blocks belong to a single stage with embedding dimension 64, four attention heads, MLP ratio 4, patch size 4 and window size 4. Blocks alternate between regular-window and shifted-window attention, beginning with a regular-window block followed by a shifted-window block with a shift of two tokens, so the depth-one model contains only a regular-window block. No patch merging is applied, so the token grid is identical at every depth and only the number of blocks, and hence the number of activation call sites, changes.

Three activation configurations are compared: (1) GELU, used as the conventional reference; (2) Frozen GELU-init, the two-harmonic Fourier approximation of GELU initialized as described in Eq. 7, with its coefficients kept fixed throughout target training; and (3) Frozen FAct, which uses the coefficients learned by the ImageNet-1K source ViT and transferred without further updates. In both frozen configurations, no source-network weights are transferred. All target networks are independently initialized and trained with five seeds using the common training configuration described in Appendix A. For each dataset and depth, all three configurations were trained on the same GPU type.

Table 9. Test accuracy across Swin Transformer target depths. Results are mean accuracy (%) ± sample standard deviation across five seeds. The three configurations are GELU, Frozen GELU-init and Frozen FAct. Bold indicates the highest mean accuracy at each dataset–depth combination.

DatasetDepthGELUFrozen GELU-initFrozen FAct
Fashion-MNIST183.93 ± 0.3584.10 ± 0.3285.03 ± 0.30
288.28 ± 0.1888.41 ± 0.2089.30 ± 0.06
389.65 ± 0.2690.07 ± 0.2490.71 ± 0.13
490.06 ± 0.0690.49 ± 0.1890.98 ± 0.26
590.71 ± 0.2491.11 ± 0.0791.83 ± 0.23
690.66 ± 0.3391.15 ± 0.1391.92 ± 0.13
CIFAR-10161.19 ± 0.6761.27 ± 0.3962.96 ± 0.35
267.83 ± 0.1967.47 ± 0.3569.31 ± 0.34
373.01 ± 0.6272.30 ± 0.5274.98 ± 0.28
474.05 ± 0.3973.53 ± 0.6275.82 ± 0.47
575.94 ± 0.2876.43 ± 0.3878.89 ± 0.48
675.53 ± 0.6276.68 ± 0.2578.60 ± 0.34
CIFAR-100130.72 ± 0.4230.71 ± 0.1830.80 ± 0.48
237.61 ± 0.3537.00 ± 0.1738.78 ± 0.40
344.09 ± 0.3743.31 ± 0.3144.87 ± 0.19
444.63 ± 0.2143.91 ± 0.2945.94 ± 0.31
547.64 ± 0.2746.96 ± 0.5149.58 ± 0.36
647.78 ± 0.4747.54 ± 0.4249.25 ± 0.40
Food-101131.93 ± 0.2430.43 ± 0.5131.74 ± 0.33
240.79 ± 0.3439.35 ± 0.3541.41 ± 0.34
346.85 ± 0.1645.20 ± 0.1447.95 ± 0.55
449.57 ± 0.3948.16 ± 0.4451.03 ± 0.43
551.26 ± 0.3049.85 ± 0.4453.63 ± 0.39
652.27 ± 0.4150.98 ± 0.2654.92 ± 0.19
Four panels of test accuracy against Swin Transformer target depth from one to six blocks, for Fashion-MNIST, CIFAR-10, CIFAR-100 and Food-101, comparing GELU, Frozen GELU-init and Frozen FAct, with one-standard-deviation error bars.
Figure 5. Effect of target-network depth on activation performance. Test accuracy of GELU, Frozen GELU-init and Frozen FAct across Swin Transformer target depths from one to six blocks on Fashion-MNIST, CIFAR-10, CIFAR-100 and Food-101. Points represent mean test accuracy across five seeds, and error bars indicate one sample standard deviation. All target networks are independently initialized and trained with their respective activation configurations.
Interactive view of Figure 5 and Table 9. GELU, Frozen GELU-init and Frozen FAct across Swin target depths one to six, five seeds each. Interactive: switch datasets, or switch to a “Δ” view to read the Frozen FAct advantage over either baseline against depth with a zero parity line; hover any depth for all three means with their s.d. and both differences. [open this figure in its own tab]

C.2 Results

Effect of the GELU-Based Fourier Initialization

We first compare Frozen GELU-init with GELU to examine the effect of replacing the conventional activation with its fixed two-harmonic Fourier approximation (Table 9). This approximation does not provide a consistent advantage over GELU across datasets and target depths. On Fashion-MNIST, Frozen GELU-init achieves higher mean accuracy than GELU at all six depths, by 0.13 to 0.49pp. On CIFAR-10, it performs better at depths one, five and six, and worse at depths two to four. On CIFAR-100, it is at or below GELU at every depth, and on Food-101 GELU achieves higher mean accuracy at every depth. The performance of the fixed Fourier approximation therefore depends on the target dataset and depth rather than providing a uniform improvement over GELU.

Sensitivity to Target-Network Depth

We next examine how the performance of the transferred activation changes with target-network depth (Table 9 and Figure 5). Frozen FAct achieves the highest mean accuracy among the three configurations at every depth on Fashion-MNIST, CIFAR-10 and CIFAR-100, and at five of six depths on Food-101. On Fashion-MNIST and CIFAR-10 it outperforms GELU at every depth, by 0.92 to 1.26pp and 1.48 to 3.07pp respectively, and is ahead in all five seed-matched runs in each case. On CIFAR-100 and Food-101 the difference is negligible at depth one (+0.08 and −0.19pp), but Frozen FAct is ahead from depth two onwards, reaching 1.94pp on CIFAR-100 and 2.64pp on Food-101, with Frozen FAct ahead in all five seed-matched runs at every depth from two to six. On CIFAR-10, CIFAR-100 and Food-101 the advantage over GELU tends to increase with depth.

Importantly, Frozen FAct also outperforms Frozen GELU-init in all 24 dataset–depth combinations, by 0.09 to 3.94pp. Together with the previous comparison, this indicates that the advantage of Frozen FAct is not explained by replacing GELU with a fixed Fourier representation: the source-learned coefficients provide an additional benefit beyond the GELU-based initialization under the evaluated settings. Overall, the transferred activation remains useful across a range of Swin target depths, although the magnitude of its advantage depends on the dataset and depth.

Appendix D: Comparison with Activation Learning in the Target Network

To provide a reference for the transfer setting, we train FAct jointly with each ViT-d2 target (Learnable FAct), using the same initialization from a Fourier approximation of GELU, and compare it with Frozen FAct transferred from the ImageNet-1K source. Both arms use the common training configuration and the same five seeds (Table 10). Frozen FAct values come from a separate seed-matched run and may differ slightly from those in Table 2.

Table 10. Frozen FAct compared with FAct learned in the target network (ViT-d2, common training configuration). Results are mean test accuracy (%) ± sample standard deviation across five seeds. Δ denotes the difference in mean accuracy (Frozen − Learnable), in percentage points.

DatasetLearnable FActFrozen FActΔ (pp)
Fashion-MNIST91.08 ± 0.1890.95 ± 0.09−0.12
CIFAR-1075.56 ± 0.1975.45 ± 0.37−0.10
CIFAR-10046.73 ± 0.2947.79 ± 0.47+1.05
Food-10135.20 ± 0.3635.82 ± 0.30+0.62

On Fashion-MNIST and CIFAR-10 the two activations differ by less than one standard deviation. On CIFAR-100 and Food-101 Frozen FAct achieves higher mean accuracy, by 1.05 and 0.62 percentage points respectively. The transferred activation therefore performs comparably to one learned directly on the target task, under the evaluated settings.

References

  1. [1]K. He, X. Zhang, S. Ren and J. Sun. Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification. IEEE International Conference on Computer Vision (ICCV), pp. 1026–1034, 2015.
  2. [2]A. D. Jagtap, K. Kawaguchi and G. E. Karniadakis. Adaptive Activation Functions Accelerate Convergence in Deep and Physics-Informed Neural Networks. Journal of Computational Physics, 404, pp. 109136, 2020.
  3. [3]N. Ma, X. Zhang, M. Liu and J. Sun. Activate or Not: Learning Customized Activation. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 8032–8042, 2021.
  4. [4]A. Molina, P. Schramowski and K. Kersting. Padé Activation Units: End-to-End Learning of Flexible Activation Functions in Deep Networks. International Conference on Learning Representations (ICLR), 2020.
  5. [5]S. Scardapane, S. Van Vaerenbergh, S. Totaro and A. Uncini. Kafnets: Kernel-Based Non-Parametric Activation Functions for Neural Networks. Neural Networks, 110, pp. 19–32, 2019.
  6. [6]F. Agostinelli, M. Hoffman, P. Sadowski and P. Baldi. Learning Activation Functions to Improve Deep Neural Networks. ICLR Workshop, 2015.
  7. [7]A. D. Jagtap, K. Kawaguchi and G. E. Karniadakis. Locally Adaptive Activation Functions with Slope Recovery for Deep and Physics-Informed Neural Networks. Proceedings of the Royal Society A, 476(2239), pp. 20200334, 2020.
  8. [8]Q. Delfosse, P. Schramowski, M. Mundt, A. Molina and K. Kersting. Adaptive Rational Activations to Boost Deep Reinforcement Learning. International Conference on Learning Representations (ICLR), Earlier version: Recurrent Rational Networks, arXiv:2102.09407, 2024.
  9. [9]P. Ramachandran, B. Zoph and Q. V. Le. Searching for Activation Functions. ICLR Workshop, arXiv:1710.05941, 2018.
  10. [10]G. Bingham and R. Miikkulainen. Discovering Parametric Activation Functions. Neural Networks, 148, pp. 48–65, 2022.
  11. [11]L. Strack, M. Safari and F. Hutter. Efficient Search for Customized Activation Functions with Gradient Descent. arXiv preprint arXiv:2408.06820, 2024.
  12. [12]D. Teney, L. Jiang, F. Gogianu and E. Abbasnejad. Do We Always Need the Simplicity Bias? Looking for Optimal Inductive Biases in the Wild. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025.
  13. [13]D. Hendrycks and K. Gimpel. Gaussian Error Linear Units (GELUs). arXiv:1606.08415, 2016.
  14. [14]A. Dosovitskiy et al. An Image Is Worth 16x16 Words: Transformers for Image Recognition at Scale. International Conference on Learning Representations (ICLR), 2021.
  15. [15]J. Deng, W. Dong, R. Socher, L. Li, K. Li and L. Fei-Fei. ImageNet: A Large-Scale Hierarchical Image Database. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 248–255, 2009.
  16. [16]Z. Liu et al. Swin Transformer: Hierarchical Vision Transformer using Shifted Windows. IEEE/CVF International Conference on Computer Vision (ICCV), pp. 10012–10022, 2021.
  17. [17]A. Katharopoulos, A. Vyas, N. Pappas and F. Fleuret. Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention. Proceedings of the 37th International Conference on Machine Learning, 119, pp. 5156–5165, 2020.
  18. [18]I. Tolstikhin et al. MLP-Mixer: An all-MLP Architecture for Vision. Advances in Neural Information Processing Systems, 34, pp. 24261–24272, 2021.
  19. [19]H. Xiao, K. Rasul and R. Vollgraf. Fashion-MNIST: A Novel Image Dataset for Benchmarking Machine Learning Algorithms. arXiv:1708.07747, 2017.
  20. [20]A. Krizhevsky. Learning Multiple Layers of Features from Tiny Images. University of Toronto, 2009.
  21. [21]L. Bossard, M. Guillaumin and L. Van Gool. Food-101 – Mining Discriminative Components with Random Forests. European Conference on Computer Vision (ECCV), pp. 446–461, 2014.
  22. [22]M. Tavakoli, F. Agostinelli and P. Baldi. SPLASH: Learnable activation functions for improving accuracy and adversarial robustness. Neural Networks, 140, pp. 1–12, 2021.
  23. [23]S. J. Pan and Q. Yang. A Survey on Transfer Learning. IEEE Transactions on Knowledge and Data Engineering, 22(10), pp. 1345–1359, 2010.
  24. [24]J. Yosinski, J. Clune, Y. Bengio and H. Lipson. How Transferable are Features in Deep Neural Networks?. Advances in Neural Information Processing Systems (NeurIPS), pp. 3320–3328, 2014.
  25. [25]G. Hinton, O. Vinyals and J. Dean. Distilling the Knowledge in a Neural Network. arXiv preprint arXiv:1503.02531, 2015.
  26. [26]I. Khalfaoui-Hassani and S. Kesselheim. Polynomial, Trigonometric, and Tropical Activations. International Conference on Learning Representations (ICLR), arXiv:2502.01247, 2026.
  27. [27]D. Ko, J. Kim, S. Ham and J. H. Jung. TESLA: Taylor Expansion of Sinusoidal Learnable Activations. Proceedings of the 29th International Conference on Artificial Intelligence and Statistics (AISTATS), 300, pp. 5257–5265, 2026.
  28. [28]T. Shor, O. Litany and A. M. Bronstein. Learnable Spectral Activations. arXiv preprint arXiv:2610.07419, 2026.
  29. [29]V. Nair and G. E. Hinton. Rectified Linear Units Improve Restricted Boltzmann Machines. International Conference on Machine Learning (ICML), pp. 807–814, 2010.
  30. [30]A. L. Maas, A. Y. Hannun and A. Y. Ng. Rectifier Nonlinearities Improve Neural Network Acoustic Models. ICML Workshop on Deep Learning for Audio, Speech and Language Processing, 2013.
  31. [31]S. Elfwing, E. Uchibe and K. Doya. Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learning. Neural Networks, 107, pp. 3–11, 2018.
  32. [32]D. Misra. Mish: A Self Regularized Non-Monotonic Activation Function. British Machine Vision Conference (BMVC), arXiv:1908.08681, 2020.
  33. [33]A. Howard et al. Searching for MobileNetV3. IEEE/CVF International Conference on Computer Vision (ICCV), pp. 1314–1324, 2019.
  34. [34]C. Dugas, Y. Bengio, F. Bélisle, C. Nadeau and R. Garcia. Incorporating Second-Order Functional Knowledge for Better Option Pricing. Advances in Neural Information Processing Systems (NIPS), pp. 472–478, 2001.
  35. [35]D. Clevert, T. Unterthiner and S. Hochreiter. Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs). International Conference on Learning Representations (ICLR), 2016.
  36. [36]G. Klambauer, T. Unterthiner, A. Mayr and S. Hochreiter. Self-Normalizing Neural Networks. Advances in Neural Information Processing Systems (NeurIPS), 2017.
  37. [37]Y. LeCun, L. Bottou, G. B. Orr and K. Müller. Efficient BackProp. Neural Networks: Tricks of the Trade, 1524, pp. 9–50, 1998.