ClaimsYann LeCun

“For starters, transformers are equivariant to permutations.”

Yann LeCun, on X 18 March 2024 Post by @ylecun on X, 2024-03-18 (X)

Factual AI capabilities

Transformers are equivariant to permutations, as ConvNets are equivariant to translations.

Mostly true True in substance, wrong in a detail.

Factual: Statements about the present or the past, checked against the record: did they hold up?

What would count as true or false

Judge as a technical fact as of 2024-03-18. True: standard references or established understanding show that transformer self-attention layers without positional encodings are permutation-equivariant (permuting the input tokens permutes the outputs in the same way), analogous to convolution's translation equivariance. Mostly true: the property holds only with caveats the claim leaves out (for example, it breaks once positional encodings or causal masks are added), but the core statement is accepted as standard. Mixed: experts broadly treat the statement as only partly accurate. Mostly false: the property holds only for narrow components and not for transformers in any meaningful sense. False: transformers, even without positional encodings, are shown not to be permutation-equivariant.

Set before the research began.

Evidence (4)

  1. E1 GROUP EQUIVARIANT STAND-ALONE SELF-ATTENTION FOR VISION arXiv (ICLR 2021 conference paper), by David W. Romero (Vrije Universiteit Amsterdam) and Jean-Baptiste Cordonnier (EPFL) · 2021

    “Note that the self-attention operation defined in Eq. 3 is equivariant to permutations of the input rows of X. That is, a permutation of the rows of X will produce the same output Y up to this permutation.”
  2. E2 GROUP EQUIVARIANT STAND-ALONE SELF-ATTENTION FOR VISION arXiv (ICLR 2021 conference paper), by David W. Romero (Vrije Universiteit Amsterdam) and Jean-Baptiste Cordonnier (EPFL) · 2021

    “Proposition 4.1. The global self-attention formulation without positional encoding (Eqs. 3, 8) is permutation equivariant.”
  3. E3 GROUP EQUIVARIANT STAND-ALONE SELF-ATTENTION FOR VISION arXiv (ICLR 2021 conference paper), by David W. Romero (Vrije Universiteit Amsterdam) and Jean-Baptiste Cordonnier (EPFL) · 2021

    “Though absolute positional encodings do disrupt permutations equivariance, they are unable to provide translation equivariance.”
  4. E4 GROUP EQUIVARIANT STAND-ALONE SELF-ATTENTION FOR VISION arXiv (ICLR 2021 conference paper), by David W. Romero (Vrije Universiteit Amsterdam) and Jean-Baptiste Cordonnier (EPFL) · 2021

    “Translation equivariance is key to the success of CNNs. It describes the property that if a pattern is translated, its numerical descriptors are also translated, but not modified.”

Reasoning

An independent ICLR 2021 paper states that self-attention is permutation-equivariant: permuting the input rows permutes the output the same way (E1). It also gives this as a formal proposition for global self-attention without positional encoding (E2). The same paper describes CNN translation equivariance in parallel terms, which supports the analogy the claim draws (E4). However, it notes that absolute positional encodings break permutation equivariance (E3), and the claim leaves out that caveat. Under the criteria, this makes the claim mostly true rather than fully true.

Cite this claim

Yann LeCun, “Transformers are equivariant to permutations, as ConvNets are equivariant to translations.” (said 18 March 2024). Verdict: mostly true. Reliability API, claim c_1fdd82aa9e4d, method 0.1.0+c876030c, dataset release v1.1.2. https://epistacklabs.com/claims/c_1fdd82aa9e4d

This claim is in dataset release v1.1.2, with the same verdict.

Reply to this claim

For Yann LeCun, or someone speaking for them: a correction or counter-evidence. Replies are read before anything is shown; an approved reply shows your name, role, date, statement and link. Your email address is never shown and is deleted 30 days after the decision (privacy).

More factual claims by Yann LeCun

  1. Mostly true Factual 14 March 2024
    “If it were the case, we would have AI systems that could teach themselves to drive a car in 20 hours of practice, like any 17 year-old.”

    There are currently no AI systems that can teach themselves to drive a car in about 20 hours of practice, as a 17-year-old can.

  2. Mostly true Factual 8 March 2024
    “The architecture is good, the architecture of the encoder is good, but the fact that you train the system to reconstruct images does not lead it to produce to long, good generic features of images.”

    Training an encoder to reconstruct images does not lead it to produce good generic image features, though the encoder architecture is good.

  3. Mostly true Factual 8 March 2024
    “LLMs can do none of those or they can only do them in a very primitive way and they don’t really understand the physical world.”

    Current LLMs can do none of understanding the physical world, persistent memory, reasoning and planning, or only in a very primitive way.

  4. Mostly true Factual 8 March 2024
    “No, there’s one thing that autoregressive LLMs or that LLMs in general, not just the autoregressive one, but including the bird style bidirectional ones, are exploiting and its self supervised…”

    LLMs, including BERT-style bidirectional ones, exploit self-supervised learning, and LeCun has been a very strong advocate of self-supervised learning for many years.

  5. Mostly true Factual June 2023
    “However, masked AEs are less successful with images, so in continuous domains, in general, [56].”

    Masked autoencoders are less successful with images and other continuous domains than with discrete domains such as language.

All of them

Verdicts are made automatically; how verdicts are made.