Papers › NfgTransformer: Equivariant Representation Learning for Normal-form Games

NfgTransformer: Equivariant Representation Learning for Normal-form Games

13 Feb 2024arXiv:2402.08393links table onlyarchive 2025-07-28

Siqi Liu, Luke Marris, Georgios Piliouras, Ian Gemp, Nicolas Heess

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Normal-form games (NFGs) are the fundamental model of strategic interaction. We study their representation using neural networks. We describe the inherent equivariance of NFGs -- any permutation of strategies describes an equivalent game -- as well as the challenges this poses for representation learning. We then propose the NfgTransformer architecture that leverages this equivariance, leading to state-of-the-art performance in a range of game-theoretic tasks including equilibrium-solving, deviation gain estimation and ranking, with a common approach to NFG representation. We show that the resulting model is interpretable and versatile, paving the way towards deep learning systems capable of game-theoretic reasoning when interacting with humans and with each other.

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="2402.08393")

Code

Syntology Ran 8 of 19 code samples harvested from 2 repositories linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 2 ran; found in paper text by Syntology: 6 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

google-deepmind/nfg_transformer officialmentioned in paperjax 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

19 samples harvested; 8 ran; 1 honoured the contract we drafted; 11 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 · fixture could not drive it
6ran
11unverified

Licence: 0 of the 19 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 2 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.

_to_joint_actions google-deepmind/nfg_transformer/nfg_transformer/network.py official repository ran · honoured contract Apache-2.0 (permissive) · 90eee19a6858abd2 · report
attend google-deepmind/nfg_transformer/nfg_transformer/network.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · fc685f4567c883f5 · report
Attention google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 98ce511a0e4fa8fa · report
CrossAttention google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 32711727edad3841 · report
Dense google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 68b110bcde6505cc · report
NfgTransformer google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 804b2063b11271f3 · report
NfgTransformerBlock google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · cb256f313e907f48 · report
SelfAttention google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 82aeead71a0a530e · report
attend google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 56c9eecffbda9cab · report
conv_1d google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 6c49dd5b70757c14 · report
conv_1d google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 58bb57a72c820895 · report
layer_norm google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 662a6c7691ca6ce4 · report
layer_norm google-deepmind/nfg_transformer/nfg_transformer/network.py official repository unverified Apache-2.0 (permissive) · 8cb271e59820a9a9 · report
get_energy QB3/discrating/discrating/utils.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · af09e632468fd34f · report
get_main_component QB3/discrating/discrating/utils_plot.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · f96895b69fb5eab8 · report
projection_plane QB3/discrating/discrating/utils_plot.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 5940a263a759090e · report
rotate QB3/discrating/discrating/utils_plot.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · 60ca657d098223c8 · report
squared_loss QB3/discrating/discrating/utils.py found in paper text by Syntology ran BSD-3-Clause (permissive) · deb49abf6e0d418f · report
squared_loss_sparse QB3/discrating/discrating/utils.py found in paper text by Syntology ran BSD-3-Clause (permissive) · afe10bed08a1252d · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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