Papers › Self-Attention Generative Adversarial Networks
Self-Attention Generative Adversarial Networks
Han Zhang, Ian Goodfellow, Dimitris Metaxas, Augustus Odena
In this paper, we propose the Self-Attention Generative Adversarial Network (SAGAN) which allows attention-driven, long-range dependency modeling for image generation tasks. Traditional convolutional GANs generate high-resolution details as a function of only spatially local points in lower-resolution feature maps. In SAGAN, details can be generated using cues from all feature locations. Moreover, the discriminator can check that highly detailed features in distant portions of the image are consistent with each other. Furthermore, recent work has shown that generator conditioning affects GAN performance. Leveraging this insight, we apply spectral normalization to the GAN generator and find that this improves training dynamics. The proposed SAGAN achieves the state-of-the-art results, boosting the best published Inception score from 36.8 to 52.52 and reducing Frechet Inception distance from 27.62 to 18.65 on the challenging ImageNet dataset. Visualization of the attention layers shows that the generator leverages neighborhoods that correspond to object shapes rather than local regions of fixed shape.
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="1805.08318")
Code
Syntology Ran 18 of 81 code samples harvested from 17 repositories linked to this paper; 63 have no recorded run. Of those that ran: 2 ran · honoured contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 12 ran with no contract checked.
By repository: official repository: 8 samples from 1 repository, 0 ran; community (archive-listed): 72 samples from 16 repositories, 17 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
48 repositories listed; official and paper-mentioned ones first.
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
81 samples harvested; 18 ran; 2 honoured the contract we drafted; 63 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.
Licence: 1 of the 81 samples is 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 17 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.
77abc303c4715e0c · report
5dd971c70bb05143 · report
3c8a8a1b83ec5aea · report
93ecfc45883b8b85 · report
db0b51d579b0a8de · report
cc8856910cbff95a · report
83eea1b3ff49a808 · report
d74eb1a1b0618351 · report
18badd533b52adb3 · report
c9a6012d7fbd67dd · report
49e2b0cc4b0c854f · report
bfe05de19b4eb8d1 · report
c2576a700c35ebba · report
4e6a8faaf8e44abe · report
a3e29c3eb31126b7 · report
de6376e3c77191a9 · report
3c1810a3f62b3156 · report
c9b8371a08cafd98 · report
e56d29a30182c70a · report
6c51f01ab7abcc0d · report
a493780508978abe · report
86ee4730f89c1466 · report
6dfacdb4f7f296a6 · report
ef511aaa7c479fd0 · report
3160840ade588e25 · report
3ed7cb04ca358824 · report
42067c777f73e7fe · report
d0dbc1ec9e12116f · report
9529ce8993bceed1 · report
3ef87d02964ebff2 · report
6e16337c88174e00 · report
9c7967df1b87b856 · report
1341ccc8c51a764e · report
e76e1f39c42ee168 · report
bddb0f7db928e1b9 · report
a991cda315bdf446 · report
0da8e3611f2915d1 · report
ace1970711646371 · report
07bea8a5df5a9e59 · report
7b64c2c40ebe4e1d · report
135b3dc835ffe6ad · report
149a12c4dc7845d3 · report
4c285e4ad37fd444 · report
ad810d34df32ec81 · report
2e0a726be884ad1d · report
6b36eef1846a9c6e · report
fb18a372c2d6ae7c · report
f9934d2088fd316e · report
046e55f2369394f8 · report
90dbf24c9ddd7f1d · report
e36470391de100a1 · report
8257e435f9a8eec2 · report
456672524c536ea3 · report
1ea274c92e014f1e · report
0e0f18750a4cb287 · report
41ffbd7edb63900f · report
51fd45e7747d0b80 · report
df604797d5e1e1f4 · report
2f9e84171dcaf423 · report
7fddf2b174e60ac1 · report
d605248fc0b2740e · report
776ca5e6e79753e3 · report
696143e37ed7ad3e · report
01aaeccd433501f0 · report
8610d8e65ac9e50c · report
6830018a9acaef0d · report
81eef2989e68e1bb · report
2adc88ed4c50017c · report
2b102de695eaf51f · report
d5151aa5668d7556 · report
9519c43c0017c576 · report
bc81f063327a2b2a · report
c58d89114d55c178 · report
9dadf7efa8619d2e · report
572d43d0e50a2023 · report
d7e3fc2fa558d6ef · report
87c95fa55e0db542 · report
3f8c44e7445adaad · report
59776bf8e0342c7d · report
b80bba5071349f52 · report
5e2ed23acb71ee11 · report
Tasks
1 archive task tag without a task page not shown.
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Conditional Image Generation | ImageNet 128x128 | SAGAN | FID | 18.65 | #20 of 22 | Archive leaderboard | report |
| Conditional Image Generation | ImageNet 128x128 | SAGAN | Inception score | 52.52 | #20 of 22 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Introduced by this paper: SAGAN
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