Papers › Gaussian Error Linear Units (GELUs)

Gaussian Error Linear Units (GELUs)

27 Jun 2016arXiv:1606.08415archive 2025-07-28

Dan Hendrycks, Kevin Gimpel

We propose the Gaussian Error Linear Unit (GELU), a high-performing neural network activation function. The GELU activation function is xΦ(x), where Φ(x) the standard Gaussian cumulative distribution function. The GELU nonlinearity weights inputs by their value, rather than gates inputs by their sign as in ReLUs (x1_(x>0)). We perform an empirical evaluation of the GELU nonlinearity against the ReLU and ELU activations and find performance improvements across all considered computer vision, natural language processing, and speech tasks.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1606.08415")

Code

Syntology Ran 2 of 9 code samples harvested from 3 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 0 ran; community (archive-listed): 2 samples from 2 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hendrycks/GELUs officialmentioned in papertfMIT report
colorfulscoop/tfdlg mentioned on GitHubtfMIT report
fyumoto/MHGAN mentioned on GitHubtfMIT report
nardeas/MHGAN mentioned on GitHubtf report
noriyukipy/tfchat mentioned on GitHubtfMIT report
noriyukipy/tfdlg mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 2 ran; 1 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran
7unverified

Licence: 0 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

add_context hendrycks/GELUs/timit_fcn.py official repository unverified MIT (permissive) · 35c1769491b04ae0 · report
embeddings_to_dict hendrycks/GELUs/twitter_pos.py official repository unverified MIT (permissive) · 7d646d3612cadf34 · report
enumerate_context hendrycks/GELUs/timit_fcn.py official repository unverified MIT (permissive) · ada13f1c1f56cd40 · report
load_batch hendrycks/GELUs/load_cifar10.py official repository unverified MIT (permissive) · 8633f606824fb007 · report
load_data10 hendrycks/GELUs/load_cifar10.py official repository unverified MIT (permissive) · 9db68167799bea76 · report
to_categorical hendrycks/GELUs/load_cifar10.py official repository unverified MIT (permissive) · 70f5b5175a23f59d · report
unpickle hendrycks/GELUs/SGDR_WRNs_gelu.py official repository unverified MIT (permissive) · 9cf114efaf65dc13 · report
GELU MaximeVandegar/Papers-in-100-Lines-of-Code/Gaussian_Error_Linear_Units_GELUs/gelu.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 947842dcbef5f862 · report
gelu nardeas/MHGAN/mhgan/ops.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · f34536b4c0da6083 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ReLU

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections