VP ≠ VNP: what the two AI proofs actually do

Dirac www.youtube.com

Bref résumé

Deux systèmes d’IA, chez Anthropic et OpenAI, ont produit des preuves formalisées en Lean affirmant que VP ≠ VNP, l’analogue algébrique de la question P contre NP. Les deux approches construisent des polynômes associés à des graphes et analysent la géométrie de leurs réseaux de tenseurs. Elles obtiennent des bornes quasi-polynomiales sur la taille des circuits, mais leurs preuves doivent encore être vérifiées par des mathématiciens. Même si elles sont correctes, elles ne résolvent pas P contre NP.

  • Le permanent est le polynôme central : contrairement au déterminant, il ne bénéficie pas des symétries qui permettent un calcul rapide.
  • Les preuves exploitent des sommes d’états sur des graphes, puis relient la longueur des fils à la complexité des circuits.
  • Les résultats formalisés constituent des avancées importantes, mais les énoncés formels et leur correspondance avec les définitions mathématiques restent à examiner.

Deux preuves revendiquées

Le 23 novembre, Anthropic puis OpenAI ont publié des articles dans lesquels leurs modèles d’IA affirment avoir démontré VP ≠ VNP, une conjecture formulée par Leslie Valiant en 1979 et considérée comme l’analogue algébrique de P ≠ NP. L’article d’Anthropic est apparu à 13 h 43, heure du Pacifique, et celui d’OpenAI a suivi un peu moins de quatre heures plus tard. OpenAI indique que son modèle avait obtenu le résultat le 6 novembre. Les articles ont été rédigés par les modèles eux-mêmes et sont accompagnés de preuves formalisées dans l’assistant Lean.

Déterminant et permanent

Pour une matrice (n \times n), chaque terme du déterminant ou du permanent correspond au choix d’une entrée dans chaque ligne et chaque colonne, comme placer (n) tours sur un échiquier sans qu’elles s’attaquent. On multiplie les entrées choisies, puis on additionne les produits. Le déterminant attribue à chaque produit un signe, positif ou négatif selon la parité de la permutation, tandis que le permanent les additionne tous avec un signe positif.

Ces signes rendent le déterminant facile à calculer : l’élimination de Gauss réduit la matrice en environ (n^3) opérations. Même sans division, des méthodes comme l’algorithme de Berkowitz permettent un calcul polynomial. La même opération sur les lignes ne préserve pas le permanent ; la meilleure méthode connue mentionnée, la formule de Ryser, demande environ (2^n n) opérations. Pour une matrice à coefficients 0 ou 1, le permanent compte les couplages parfaits d’un graphe biparti, un problème que Valiant a montré P-complet en calcul booléen.

Pourquoi le permanent résiste au calcul rapide

La différence entre les deux polynômes apparaît aussi dans leurs symétries. Le déterminant est préservé par une vaste famille de transformations linéaires, notamment celles qui correspondent aux opérations sur les lignes et aux changements de base. Le permanent n’est préservé que par un groupe beaucoup plus restreint : permutations des lignes et des colonnes, certaines multiplications diagonales et transposition.

Le déterminant représente le volume orienté du parallélépipède formé par les lignes : il est multiplicatif et s’annule lorsque les lignes sont dépendantes. Le permanent n’a pas ces propriétés géométriques naturelles ; il s’interprète plutôt comme un dénombrement de couplages. Pour les matrices à coefficients non négatifs, son approximation est toutefois possible en temps polynomial randomisé, à une erreur relative fixée, grâce à un algorithme de Jerrum, Sinclair et Vigoda. Une autre approche s’appuie sur le théorème de van der Waerden : une matrice doublement stochastique a un permanent d’au moins (n!/n^n), ce qui permet une approximation déterministe dans un facteur d’environ (e^n).

Circuits, VP et VNP

Un circuit arithmétique est une suite d’opérations où chaque élément est une variable, une constante, ou la somme ou le produit de deux éléments précédents. Sa taille est le nombre d’éléments de cette suite. Il calcule un polynôme formellement : l’égalité doit rester vraie sur le corps considéré et ses extensions, pas seulement pour des entrées égales à 0 ou 1.

VP regroupe les familles de polynômes dont le nombre de variables, le degré et la taille des circuits sont bornés par des fonctions polynomiales ; le déterminant appartient à VP. VNP regroupe des familles obtenues en sommant une famille de VP sur toutes les valeurs d’un nombre polynomial de bits supplémentaires, qui jouent le rôle de certificats. Le permanent appartient à VNP et est complet pour cette classe sur les corps où (2 \neq 0) : tout polynôme de VNP peut être obtenu à partir du permanent d’une matrice de taille polynomiale, par substitution de variables et de constantes. Dans ces corps, prouver VP ≠ VNP revient donc à montrer que le permanent n’a pas de circuit de taille polynomiale. En caractéristique deux, le permanent coïncide avec le déterminant ; le polynôme des cycles hamiltoniens joue alors le rôle de problème complet pour VNP.

Pourquoi les bornes inférieures sont difficiles

Une preuve de borne inférieure doit exclure tous les circuits possibles, y compris ceux qui construisent d’immenses polynômes intermédiaires avant de les annuler. Avant ces travaux, la meilleure borne générale pour un polynôme explicite en (n) variables était de l’ordre de (n \log n). Appliquée au permanent d’une matrice (m \times m), elle ne donne qu’une borne d’environ (m^2 \log m). Des résultats beaucoup plus forts existaient pour des circuits restreints, par exemple les circuits monotones, qui ne peuvent pas soustraire, ou les circuits de profondeur constante.

Plusieurs preuves de complexité utilisent le rang d’une matrice de coefficients obtenue en séparant les variables en deux groupes. Un circuit de taille (L) peut écrire son résultat comme une somme de morceaux dont le rang est limité pour certaines séparations équilibrées. Mais la séparation peut changer d’un morceau à l’autre : un argument de rang ne contrôle qu’une coupure à la fois, tandis que le circuit combine des morceaux associés à des coupures différentes. OpenAI identifie explicitement cette difficulté.

Sommes d’états sur des graphes

Les deux preuves ne travaillent pas directement avec le permanent. Elles utilisent plutôt un polynôme construit à partir d’un graphe : chaque arête porte une chaîne de bits, chaque sommet possède une table de variables et sélectionne une variable selon les bits de ses arêtes incidentes. On multiplie les variables choisies par les sommets, puis on additionne sur toutes les affectations des arêtes. En physique, cette construction s’appelle une somme d’états ou une fonction de partition.

Les coefficients forment un réseau de tenseurs reliés par les arêtes du graphe, ce qui permet d’étudier leur géométrie. Anthropic choisit le graphe complet ; OpenAI utilise un graphe expanseur, où toute séparation équilibrée des sommets est traversée par beaucoup d’arêtes. Chaque terme se calcule facilement à partir des étiquettes, donc ces polynômes appartiennent à VNP. Un résultat de complétude de Valiant permet de convertir un circuit du permanent en un circuit de taille polynomialement liée pour la somme d’états : une borne inférieure pour celle-ci entraîne donc une borne inférieure pour le permanent.

Premier cas : les fils ont une longueur

L’idée nouvelle consiste à placer le réseau dans l’espace et à attribuer une longueur à chaque fil, pondérée par le nombre de bits qu’il transporte. À partir d’un circuit de taille (L), chaque morceau de sa décomposition peut être représenté par des fils allant vers deux centres, un de chaque côté d’une séparation, reliés par un pont qui ne transporte qu’environ (\log L) bits. Si les centres restent au milieu, le coût du routage est comparable à celui du réseau initial.

Dans un graphe très connecté, les extrémités situées d’un côté d’une séparation équilibrée s’étendent dans une direction donnée. Déplacer légèrement le centre de ce côté réduit alors la longueur totale d’une fraction fixe. Comme le réseau initial ne peut pas être disposé à moindre coût que sa propre longueur, cette économie doit être compensée par le pont ; cela impose que (\log L) soit grand. Anthropic traduit cette idée au moyen de fonctions sur les tenseurs appelées points spectraux, qui convertissent les rangs en distances et doivent satisfaire une hypothèse de géométrie « plate ». OpenAI décrit la condition équivalente comme l’absence de raccourcissement strict : aucune identité tensorielle fixe ne doit transporter l’information à travers une région à moindre coût que les fils suivant ses diamètres.

Pour les paramètres d’Anthropic, avec (K) sommets et (L) bits par arête, (\log M) est de l’ordre de (K L), tandis que la borne sur (\log L) est de l’ordre de (L K^{3/2}). En prenant (K=R^2) et (L) proportionnel à (R), on obtient une borne où (\log L) est au moins de l’ordre de ((\log M)^{4/3}).

Deuxième cas : les fils peuvent être raccourcis

Si l’hypothèse de platitude échoue, les fils peuvent être raccourcis. Les deux preuves exploitent cette économie pour accélérer un calcul : en supposant un petit circuit, elles construisent des programmes qui additionnent les exécutions d’une machine universelle sur de nombreuses étapes, mais en utilisant moins d’étapes que ces exécutions n’en contiennent. Répéter ce gain à des échelles de plus en plus grandes conduit à une contradiction par diagonalisation, la méthode au cœur du théorème de hiérarchie temporelle.

OpenAI résume ce principe ainsi : si la géométrie ne prouve pas directement la difficulté, son échec alimente un théorème de hiérarchie. Le cas contractant d’Anthropic aboutit également à un argument diagonal, qui exclut l’existence des « accélérateurs » concernés. Aucune des deux équipes ne sait quel cas s’applique ; Anthropic indique ne pas le savoir même sur les réels. Les bornes annoncées sont donc les plus faibles de leurs deux cas : environ (2^{C(\log M)^{4/3}}) pour Anthropic et (\exp(C(\log N)^{5/4})) pour OpenAI, où (N) indexe une famille de polynômes. Elles dépassent toute borne polynomiale, mais restent bien inférieures à (2^N).

Les résultats du 24 novembre

Le 24 novembre, OpenAI a publié deux nouveaux articles qui, selon l’entreprise, englobent les premiers résultats. Le premier établit une borne de la forme (\exp(C(\log N)^2/(\log\log N)^2)) pour le polynôme des cycles hamiltoniens d’ordre (N), sur tout corps, ainsi que pour le permanent hors caractéristique deux.

Le second utilise la somme d’états sur une grille (N \times N) pour séparer VP de VNP. Il s’appuie aussi sur des sommes d’états associées aux arbres binaires et aux chemins pour séparer les circuits des programmes de branchement, puis les programmes de branchement des formules. Ces séparations rendraient strictes toutes les inclusions de la hiérarchie de Valiant. La forme du graphe compte : sur un chemin, une seule arête traverse chaque coupure et la somme d’états se réduit simplement à un produit de matrices.

Ce qui est établi et ce qui reste à vérifier

Les formalités Lean constituent les éléments de preuve les plus solides à ce stade. Le développement d’Anthropic démontre tous les énoncés numérotés de l’article, à l’exception d’une remarque sur la complexité déterminantale ; une reconstruction indépendante indique que la preuve compile. Le dépôt d’OpenAI contient lui aussi une preuve Lean de la différence entre les deux classes. Lean vérifie les preuves formelles, mais des lecteurs humains doivent encore s’assurer que les définitions de circuits, VP et VNP dans les fichiers d’énoncés correspondent bien aux définitions mathématiques. Pour Anthropic, cette vérification porte notamment sur un fichier de 98 lignes.

Au 25 novembre, aucun mathématicien n’avait publiquement déclaré avoir vérifié l’une ou l’autre preuve. Plusieurs théoriciens de la complexité, dont Emanuele Viola, Lance Fortnow, Scott Aaronson et Gil Kalai, avaient discuté des résultats sans affirmer les avoir validés. Même si les preuves sont correctes, P contre NP reste ouvert : un circuit booléen doit être correct seulement sur les entrées 0 et 1, et peut calculer un polynôme différent du permanent ailleurs. Ajouter un terme comme ((x^2-x)) multiplié par un autre polynôme ne change pas les valeurs booléennes, mais peut modifier les parties du polynôme étudiées par les preuves. Une séparation booléenne impliquerait la séparation algébrique sur les complexes sous l’hypothèse de Riemann généralisée, selon un résultat de Bürgisser ; aucune implication dans l’autre sens n’est connue. Si les énoncés formels correspondent bien aux affirmations des articles, la question algébrique serait donc réglée par une borne quasi-polynomiale, tandis que l’écart avec le coût exponentiel des meilleurs algorithmes connus et la question booléenne resteraient ouverts.

Résumez n'importe quelle vidéo YouTube en quelques secondes

Obtenez des résumés comme celui-ci pour n'importe quelle vidéo, dans votre langue, avec l'app gratuite Summ.

Télécharger dans l'App Store
Disponible sur Google Play

Transcription

Transcription complète de « VP ≠ VNP: what the two AI proofs actually do ». Cliquez sur un horodatage pour ouvrir la vidéo à ce moment précis. Besoin d'une autre vidéo ? Utilisez le générateur de transcription YouTube.

0:00 The aim here is to explain a theorem that two AI models, one at Anthropic and one at OpenAI, claimed to have proved, and that both companies published on the same afternoon. VP is different from VNP, the algebraic counterpart of the P versus NP problem. I will go through what the statement says, why it resisted proof for so long, how the two proofs work at the level of their main idea, which turns out to be the same in both, and what still has to be checked before the problem can be considered settled. Leslie Valiant formulated the conjecture in 1979. Anthropic's paper reached its public repository at 1:43 in the afternoon, Pacific time, on the 23rd of November, and OpenAI's paper was merged into its

0:47 own repository just under 4 hours later. OpenAI adds that its model obtained the result on the 6th of November. Both papers were written by the models themselves, and each comes with a formalization in the Lean proof assistant. The two polynomials at the center of the conjecture are sums over permutations. For an n by n matrix, choose one entry in each row and each column, which amounts to placing n rooks on a chessboard so that no two attack each other, and multiply the chosen entries. The permanent is the sum of these n factorial products. The determinant is the same sum with a sign on each product, plus or minus one according to the parity of the permutation. The signs are what make the determinant

1:32 easy to compute. Adding a multiple of one row to another leaves the determinant unchanged because the extra terms cancel in pairs of opposite sign. So Gaussian elimination can bring the matrix to triangular form in about n cubed operations. Gaussian elimination divides, which the circuits of this story are not allowed to do, but division-free methods such as Berkowitz's algorithm from 1984 still need only a polynomial number of and multiplications. The same row operation changes the permanent, so elimination does not apply to it. The best known method, Ryser's formula from 1963, still takes about 2 to the n times n operations. For a matrix of zeros and ones, the permanent counts the perfect matchings

2:17 of a bipartite graph, a number that Valiant also showed in 1979 to be sharp P-complete to compute. That result concerns Boolean computation, whereas the conjecture concerns arithmetic circuits, which come next. The symmetries of the two polynomials show most clearly why one sign changes so much. Frobenius proved in 1897 that the linear maps on matrices that preserve the determinant are, up to transposition, the maps that multiply A on the left and on the right by two matrices whose determinants multiply to one. [snorts] This continuous family contains every row operation used in elimination and every change of basis, which is why the determinant is invariant under similarity.

3:04 Marcus and May proved in 1962 that the linear maps preserving the permanent are far scarcer. Permutations of rows and columns, multiplication on both sides by diagonal matrices whose entries multiply to one, and transposition. The geometric meaning of the determinant points the same way. Its absolute value is the volume of the parallelepiped spanned by the rows, so a shear leaves it unchanged. It is multiplicative and it vanishes exactly when the rows are linearly dependent. The permanent has none of these properties, and its natural meaning is a count of matchings. Mulmuley and Sohoni's geometric complexity theory starts from this contrast between the two symmetry groups, and neither of the new proofs

3:49 relies on it. The permanent does become tractable in a weaker sense for matrices with non-negative entries. Jerram, Sinclair, and Vigoda gave in 2004 a randomized polynomial time algorithm that approximates it within any fixed relative error. The van der Waerden conjecture, proved around 1980 by Egorichev and by Falikman, says that a doubly stochastic n by n matrix has permanent at least n factorial over n to the n. And the chapter devoted to it in Proofs from the Book presents a short proof by Gurvits. Lineal, Samorodnitsky, and Vidickson used the diagonal scalings, which changed the permanent only by a known factor, to bring a non-negative matrix close to doubly stochastic form. And the van der Waerden bound then approximates

4:36 the permanent deterministically within a factor of about e to the n. An arithmetic circuit is a list of polynomials in which each entry is a variable, a constant, or the sum or the product of two earlier entries. And its size is the length of the list. This is the definition written in Anthropic's lean file. A circuit produces a polynomial as a formal expression, so it must be correct for every input from the field and from every extension of the field, and not only for zeros and ones. Valence class 5P contains the families of polynomials whose number of variables, degree, and circuit size grow at most polynomially. The determinant belongs to it. The class 5NP contains the families

5:21 obtained from a VP family by summing over all values of polynomially many extra bits. The bits play the role of a certificate in NP, with the difference that here every certificate is summed. The permanent is in VNP because each of its terms is easy to compute from a permutation written in bits. Valiant proved that the permanent is complete for VNP over every field in which two is not zero. Every family in VNP can be obtained from the permanent of a polynomially larger matrix by substituting variables and constants. So over such fields, VP different from VNP means exactly that the permanent has no circuit of polynomial size. In characteristic two, - 1 = 1, so the

6:07 permanent coincides with the determinant and lies in VP. There, its role is taken by the Hamiltonian cycle polynomial, which sums only over the permutations that form a single cycle and is complete over every field. A lower bound has to rule out every circuit, including circuits that build enormous intermediate polynomials and cancel them later. Before these papers, the best lower bound for general circuits computing an explicit polynomial in n variables was of order n log n, proved by Strassen and by Bauer and Strassen, which for the permanent of an m x m matrix gives only about m squared log m. Much stronger bounds were known for restricted circuits, exponential bounds for monotone circuits which cannot

6:53 subtract, and since 2021, super polynomial bounds for circuits of any constant depth by Limaye, Srinivasan, and Tavenas. Many of these proofs measure a polynomial by a rank. Split the variables into two groups, arrange the coefficients in a matrix whose rows are indexed by one group and whose columns by the other, and take the rank of that matrix. A circuit with L gates writes its output as a sum of pieces, each of rank at most L across some balanced split of the variables, but the split can change from one piece to the next. OpenAI's paper names exactly this difficulty. A rank argument controls one cut at a time, while a circuit gives low ranks across cuts that vary from piece

7:39 to piece. Neither proof works with the permanent directly. Both use a polynomial built from a graph. Put a string of bits on every edge, give every vertex a table of variables, and let each vertex pick the variable indexed by the strings on its own edges. Multiply the chosen variables and add up over all labelings of the edges. Physicists call this a state sum or a partition function. Its coefficients form a tensor network made only of wires, one for each edge, which is what makes it suitable for the geometry that follows. Anthropic takes the complete graph and OpenAI an expander, two graphs in which every balanced split of the vertices is crossed by many edges. Each term is easy to compute from the

8:25 labels, which puts these state sums in VNP, so that an explicit form of Valiance completeness theorem turns a circuit for the permanent into a circuit of polynomially related size for the state sum. A lower bound for the state sum is therefore a lower bound for the permanent. The new idea is to give the wires a length. Place the network in Euclidean space and charge each wire its number of bits times its length. A circuit with L gates gives for every piece of its decomposition a way of rooting the wires through two hubs, one on each side of the split, joined by a bridge of only about log of L bits. With the hubs at the center, this routing costs as much as the original network. On a highly connected graph though, the

9:12 endpoints on one side of a balanced split add up to a long vector, and moving the hub of that side a little along it saves a fixed fraction of the length. The network itself cannot be laid out for less than its own length, so the saving has to be paid for by the bridge, and log of L has to be large. In Anthropic's paper, the lengths come from functions on tensors that it calls spectral points in the spirit of Strassen's asymptotic spectrum, and these functions turn ranks into distances. The argument needs the distances to behave like Euclidean ones, which the paper calls the flat hypothesis. OpenAI describes the same situation as the absence of a strict shortening, meaning that no fixed tensor identity carries information across a ball more

9:57 cheaply than wires laid along its diameters. Anthropic's parameters show where its exponent comes from. With K vertices and L bits on each edge, log M is about K times L, and the bound on log of L is about L times K to the three halves. So taking K equal to R squared and L proportional to R gives log of L at least of order log M to the four thirds. When the flat hypothesis fails, wires can be shortened, and both proofs turn that saving into a speed up of computation. Assuming a small circuit, they build programs that add up the runs of a universal machine over many steps using fewer steps than those runs contain. Repeat the saving at every larger scale

10:43 and reach a contradiction by diagonalization, the method behind the time hierarchy theorem. OpenAI's paper puts the structure in one sentence. If geometry fails to prove hardness directly, its failure powers a hierarchy theorem. Anthropic's contracting case ends with the same kind of diagonal argument, which shows that what it calls accelerators cannot exist. Neither paper decides which case holds, and Anthropic writes that it does not know even over the real numbers. Each stated bound is therefore the weaker of its two cases. Two to the power C times log M to the four thirds for Anthropic, and the exponential of a constant times log N to the five fourths for OpenAI, where N indexes OpenAI's family of polynomials

11:30 rather than the size of a matrix. Both bounds grow faster than every polynomial, and both remain far below two to the N. On the 24th, OpenAI posted two further papers that it says subsume the first. One proves a bound of the exponential of a constant times log N squared over log log N squared for the Hamiltonian cycle polynomial of order N over every field and for the permanent outside characteristic two. The other uses the state sum on an N by N grid to separate VP from VNP and the state sums on binary trees and on paths to separate circuits from algebraic branching programs and branching programs from formulas, which would make every inclusion in Valiant's hierarchy

12:17 strict. The shape of the graph sets the difficulty. On a path, a single wire crosses each split, and the state sum is simply a product of matrices. The formalizations are the strongest evidence so far. Anthropic's lean development proves every numbered statement of its paper except one remark about determinantal complexity, and an independent rebuild reports that it compiles. OpenAI's repository contains a lean proof that the two classes differ. Lean certifies the formal proofs, so what a human reader still has to check is whether the definitions of circuits of VP and of VNP in the statement files match the mathematical ones, a task that for Anthropic comes down to a statement

13:02 file of 98 lines. As of the 25th of November, no human mathematician has reported checking either proof, and the first posts by complexity theorists, including Emanuele Viola, Lance Fortnow, Scott Aaronson, and Gil Kalai, discussed the results without claiming to have verified them. Even if both proofs hold, P versus NP stays open. A Boolean circuit only has to be right on zeros and ones, so it may compute any polynomial that agrees with the permanent there. For instance, after adding x squared minus x times any other polynomial, and the parts of the polynomial that the proofs examine, such as its multilinear part, can change completely under such an addition. Burgisser showed that a Boolean

13:49 separation would imply the algebraic one over the complex numbers, assuming the generalized Riemann hypothesis, but no implication in the other direction is known. If the formal statements say what the papers claim, the algebraic question is settled with a quasi-polynomial lower bound, while the gap between that bound and the exponential cost of the best-known algorithms and the Boolean question itself remain open.

Share

Autres résumés de vidéos