Pith. sign in

REVIEW 1 cited by

Are queries and keys always relevant? A case study on Transformer wave functions

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2405.18874 v2 pith:KS3V4OLO submitted 2024-05-29 cond-mat.dis-nn cs.CLphysics.comp-ph

classification cond-mat.dis-nncs.CLphysics.comp-ph
keywords attentionkeysqueriesmechanismsfunctionsmany-bodymechanismnumerical
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

The dot product attention mechanism, originally designed for natural language processing tasks, is a cornerstone of modern Transformers. It adeptly captures semantic relationships between word pairs in sentences by computing a similarity overlap between queries and keys. In this work, we explore the suitability of Transformers, focusing on their attention mechanisms, in the specific domain of the parametrization of variational wave functions to approximate ground states of quantum many-body spin Hamiltonians. Specifically, we perform numerical simulations on the two-dimensional $J_1$-$J_2$ Heisenberg model, a common benchmark in the field of quantum many-body systems on lattice. By comparing the performance of standard attention mechanisms with a simplified version that excludes queries and keys, relying solely on positions, we achieve competitive results while reducing computational cost and parameter usage. Furthermore, through the analysis of the attention maps generated by standard attention mechanisms, we show that the attention weights become effectively input-independent at the end of the optimization. We support the numerical results with analytical calculations, providing physical insights of why queries and keys should be, in principle, omitted from the attention mechanism when studying large systems.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Improved Ground State Estimation in Quantum Field Theories via Normalising Flow-Assisted Neural Quantum States

    quant-ph 2025-06 conditional novelty 6.0 of 10

    A normalising-flow-assisted neural quantum state method estimates ground state energies of Ising chains with up to 50 spins, matching matrix product states for long-range interactions.

Pith tools