<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>Advancing mathematics by guiding human intuition with AI</title>
        <author>Davies</author>
        <author>Veličković</author>
        <author>Buesing</author>
        <author>Blackwell</author>
        <author>Zheng</author>
        <author>Tomašev</author>
        <author>Tanburn</author>
        <author>Battaglia</author>
      </titleStmt>
      <publicationStmt>
        <p>Tag layer of the DHSS Meta-Tagging Project. The article text is reproduced from the
           staged copy named in sourceDesc and is not altered; the tags are held separately in
           standOff so that overlapping and nested spans are preserved.</p>
      </publicationStmt>
      <sourceDesc>
        <bibl>
          <title>Advancing mathematics by guiding human intuition with AI</title>
          <date>2021</date>
          <publisher>Nature</publisher>
          <idno type="DOI">10.1038/s41586-021-04086-x</idno>
          
          <idno type="record">Davies2021-advancing-mathematics-by-guiding-human-intui</idno>
          <note type="staged-file">Davies2021-advancing-mathematics-by-guiding-human-intui.txt, the project's staged copy</note>
          <note type="text-sha1">c705756838689892558ed0e25e2f42dca33c604e</note>
          <note type="rights">not-redistributable</note>
        </bibl>
      </sourceDesc>
    </fileDesc>
    <profileDesc>
      <textClass><keywords><term>artificial-intelligence</term></keywords></textClass>
      <particDesc>
        <person xml:id="paper"><p>the paper's own words</p></person>
        <person xml:id="tagger"><p>the tag layer; a sentence written by the tagger about the
          paper, always anchored to a quotation but not itself a quotation</p></person>
      </particDesc>
    </profileDesc>
    <revisionDesc>
      <change when="2026-10-06"
              who="build_paper_edition.py">86 spans located by searching the stored text for the quote's exact words, allowing any whitespace between them</change>
    </revisionDesc>
  </teiHeader>
  <standOff>
    <spanGrp type="tags">
      <span xml:id="t0" from="#a5" to="#a6" type="object_of_study" ana="#object_of_study" resp="#paper">The conjecture-making stage of mathematical practice, and whether a supervised model plus attribution can guide it.</span>
      <span xml:id="t1" from="#a9" to="#a10" type="research_question" ana="#research_question" resp="#paper">Computers have generated mathematical data for decades - can a learned model do the harder thing and help a mathematician see which relationships are worth conjecturing?</span>
      <span xml:id="t2" from="#a17" to="#a18" type="contribution" ana="#contribution" resp="#paper">A framework - hypothesise a relation, learn it, attribute it, conjecture a closed form - demonstrated by two genuinely new results in different areas of pure mathematics.</span>
      <span xml:id="t3" from="#a3" to="#a4" type="claim_type" ana="#claim_type" resp="#paper">method</span>
      <span xml:id="t4" from="#a5" to="#a6" type="phenomenon" ana="#phenomenon" resp="#paper">machine-learning-guided mathematical conjecture discovery</span>
      <span xml:id="t5" from="#a15" to="#a16" type="method" ana="#method" resp="#paper">system-or-tool-building<term>system-or-tool-building</term></span>
      <span xml:id="t6" from="#a23" to="#a24" type="mechanisms" ana="#mechanisms[0]" resp="#tagger">mechanisms<term>Supervised learning first certifies that a pattern exists at all (better-than-chance prediction), then attribution techniques localise which input features carry it, so the mathematician&#x27;s search space is narrowed before any conjecture is formed</term></span>
      <span xml:id="t7" from="#a87" to="#a88" type="mechanisms" ana="#mechanisms[1]" resp="#tagger">mechanisms<term>Gradient saliency assigns importance by measuring how much the learned function&#x27;s prediction shifts under small perturbations of each input component</term></span>
      <span xml:id="t8" from="#a29" to="#a30" type="mechanisms" ana="#mechanisms[2]" resp="#tagger" cert="1.0">mechanisms<term>accuracy above chance is used as evidence that a relationship EXISTS, before anyone knows what it is - the model detects presence, not content</term></span>
      <span xml:id="t9" from="#a31" to="#a32" type="mechanisms" ana="#mechanisms[3]" resp="#tagger" cert="1.0">mechanisms<term>attribution turns an opaque learned function into something a person can reason about, by showing which inputs it is sensitive to</term></span>
      <span xml:id="t10" from="#a37" to="#a38" type="mechanisms" ana="#mechanisms[4]" resp="#tagger" cert="1.0">mechanisms<term>the human keeps the selection step: conjectures are chosen for being interesting and suggestive of a proof, not merely for fitting</term></span>
      <span xml:id="t11" from="#a35" to="#a36" type="mechanisms" ana="#mechanisms[5]" resp="#tagger" cert="1.0">mechanisms<term>the loop is iterative rather than a pipeline - the framework expects several passes before a conjecture is worth stating</term></span>
      <span xml:id="t12" from="#a75" to="#a76" type="limitations" ana="#limitations[0]" resp="#tagger">The framework needs large generatable datasets and patterns visible in computable examples<note>what this limits: the applicability of the whole framework: IT REQUIRES THE ABILITY TO GENERATE LARGE DATASETS OF THE REPRESENTATIONS OF OBJECTS AND FOR THE PATTERNS TO BE DETECTABLE</note></span>
      <span xml:id="t13" from="#a77" to="#a78" type="limitations" ana="#limitations[1]" resp="#tagger">In some domains the target functions may simply not be learnable this way<note>what this limits: domains where the target function resists learning: IN SOME DOMAINS THE FUNCTIONS OF INTEREST MAY BE DIFFICULT TO LEARN IN THIS PARADIGM</note></span>
      <span xml:id="t14" from="#a79" to="#a80" type="limitations" ana="#limitations[2]" resp="#tagger">Conclusions hold only for the sampling distribution used, not the whole space<note>what this limits: every result the pipeline produces: THE RESULTS OF THE SUBSEQUENT STAGES WILL HOLD TRUE ONLY FOR THE DISTRIBUTION P_Z, AND NOT THE WHOLE SPACE Z</note></span>
      <span xml:id="t15" from="#a83" to="#a84" type="limitations" ana="#limitations[3]" resp="#tagger">A negative result is uninformative: failure to predict does not mean no pattern exists<note>what this limits: any negative finding from the method: IF THE MODEL CANNOT PREDICT THE RELATIONSHIP BETTER THAN CHANCE, IT MAY MEAN THAT A PATTERN EXISTS, BUT IS SUFFICIENTLY COMPLICATED THAT IT CANNOT [be found] - a null is uninformative by construction</note></span>
      <span xml:id="t16" from="#a15" to="#a16" type="limitations" ana="#limitations[4]" resp="#tagger" cert="0.9">Two demonstrations in two areas; the generality of the framework is argued from them rather than established.<note>what this limits: the generality of the framework: it is argued from two demonstrations in two areas rather than established</note></span>
      <span xml:id="t17" from="#a21" to="#a22" type="limitations" ana="#limitations[5]" resp="#tagger" cert="0.8">The paper is explicit that the older data-driven route fails as objects get higher-dimensional or more structured - which is the regime the framework is for, and also the regime where its own outputs are hardest to check.<note>what this limits: the older data-driven route specifically: FOR X(z) AND Y(z) IN HIGHER-DIMENSIONAL SPACES, OR OF MORE COMPLEX TYPES, SUCH AS GRAPHS ... THIS APPROACH IS EITHER LESS USEFUL</note></span>
      <span xml:id="t18" from="#a37" to="#a38" type="limitations" ana="#limitations[6]" resp="#tagger" cert="0.9">Every step that decides whether a pattern is worth pursuing is human; the framework does not claim to automate judgement.<note>what this limits: any claim that the framework automates discovery: THE MATHEMATICIAN CAN GUIDE THE CHOICE OF CONJECTURES TO THOSE THAT NOT JUST FIT THE DATA BUT ALSO SEEM INTERESTING, PLAUSIBLY TRUE - the judgement stays human</note></span>
      <span xml:id="t19" from="#a15" to="#a16" type="transfers" ana="#transfers[0]" resp="#tagger">pattern-recognition and model-interpretation methods are imported wholesale into the working practice of pure mathematics, as an addition to the mathematician&#x27;s toolkit</span>
      <span xml:id="t20" from="#a85" to="#a86" type="transfers" ana="#transfers[1]" resp="#tagger">the gradient-based attribution method used to interpret the trained network is identified as the machine-learning counterpart of sensitivity analysis</span>
      <span xml:id="t21" from="#a17" to="#a18" type="transfers" ana="#transfers[2]" resp="#tagger" cert="1.0">supervised regression and gradient-based attribution, imported into pure mathematics not to prove anything but to indicate where a relationship might exist</span>
      <span xml:id="t22" from="#a15" to="#a16" type="transfers" ana="#transfers[3]" resp="#tagger" cert="0.95">the mathematician&#x27;s toolkit is augmented with pattern-recognition and attribution methods taken from machine learning, used to propose conjectures rather than to prove them</span>
      <span xml:id="t23" from="#a103" to="#a104" type="controls" ana="#controls[0]" resp="#tagger" cert="0.85">a new model trained from scratch to predict the signature from ONLY the three measurements the attribution had identified, and shown to reach the same performance as the original<note>eliminates: an attribution method that names features which are not in fact carrying the relationship - retraining on those three alone is the demonstration the attribution cannot give · outcome (stated by the tagger, no quotation): held</note></span>
      <span xml:id="t24" from="#a5" to="#a6" type="concepts" ana="#concepts[0]" resp="#paper" cert="1.0">conjecture<term>conjecture</term></span>
      <span xml:id="t25" from="#a19" to="#a20" type="concepts" ana="#concepts[1]" resp="#paper" cert="1.0">intuition<term>intuition</term></span>
      <span xml:id="t26" from="#a25" to="#a26" type="concepts" ana="#concepts[2]" resp="#paper" cert="0.85">supervised learning<note>about this quote: This quote ends with the stray word &#x27;By&#x27;, the first word of the next sentence. It is NOT trimmed, because the trimmed sentence occurs twice in the staged body and an anchor that matches twice is not an anchor. The claim is carried by the sentence before &#x27;By&#x27;.</note><term>supervised learning</term></span>
      <span xml:id="t27" from="#a31" to="#a32" type="concepts" ana="#concepts[3]" resp="#paper" cert="1.0">attribution techniques<term>attribution techniques</term></span>
      <span xml:id="t28" from="#a33" to="#a34" type="concepts" ana="#concepts[4]" resp="#paper" cert="1.0">gradient saliency<term>gradient saliency</term></span>
      <span xml:id="t29" from="#a43" to="#a44" type="concepts" ana="#concepts[5]" resp="#paper" cert="1.0">knots<term>knots</term></span>
      <span xml:id="t30" from="#a27" to="#a28" type="concepts" ana="#concepts[6]" resp="#paper" cert="1.0">machine learning<term>machine learning</term></span>
      <span xml:id="t31" from="#a25" to="#a26" type="senses" ana="#senses[0]" resp="#tagger" cert="0.85">intuition - as the faculty being ASSISTED: a hypothesis the mathematician brings, which the model then confirms or fails to confirm<note>about this quote: This quote ends with the stray word &#x27;By&#x27;, the first word of the next sentence. It is NOT trimmed, because the trimmed sentence occurs twice in the staged body and an anchor that matches twice is not an anchor. The claim is carried by the sentence before &#x27;By&#x27;.</note></span>
      <span xml:id="t32" from="#a39" to="#a40" type="senses" ana="#senses[1]" resp="#tagger" cert="1.0">intuition - as the faculty being TESTED: the framework as a bench on which a hunch can be checked cheaply before it is pursued</span>
      <span xml:id="t33" from="#a29" to="#a30" type="senses" ana="#senses[2]" resp="#tagger" cert="1.0">discovery - as detecting that a relation exists, which the model does</span>
      <span xml:id="t34" from="#a37" to="#a38" type="senses" ana="#senses[3]" resp="#tagger" cert="1.0">discovery - as deciding which relation is worth stating, which stays with the mathematician</span>
      <span xml:id="t35" from="#a1" to="#a2" type="alternatives" ana="#alternatives.phenomenon" resp="#tagger">phenomenon: machine-assisted formation of mathematical conjectures<note>a second reading DIFFERING from the recorded value. Recorded: machine-learning-guided mathematical conjecture discovery — note: a second reading, verbatim-verified, disagreeing with the value on the record. Not applied - a person decides.</note></span>
      <span xml:id="t36" from="#a13" to="#a14" type="claim_relations" ana="#claim_relations[0]" resp="#tagger">extends → prior work using supervised learning to find patterns in mathematics (the paper&#x27;s refs 20-24)</span>
      <span xml:id="t37" from="#a71" to="#a72" type="claim_relations" ana="#claim_relations[1]" resp="#tagger">extends → the combinatorial invariance conjecture for symmetric groups</span>
      <span xml:id="t38" from="#a59" to="#a60" type="claim_relations" ana="#claim_relations[2]" resp="#tagger">builds-on → prior work on subgraphs of Bruhat intervals (the paper&#x27;s ref 31)</span>
      <span xml:id="t39" from="#a13" to="#a14" type="claim_relations" ana="#claim_relations[3]" resp="#tagger" cert="1.0">extends → prior supervised-learning work on finding patterns in mathematical data</span>
      <span xml:id="t40" from="#a7" to="#a8" type="claim_relations" ana="#claim_relations[4]" resp="#tagger" cert="1.0">builds-on → the long tradition of computer-generated data in conjecture formation, from Gauss&#x27;s prime tables to Birch and Swinnerton-Dyer</span>
      <span xml:id="t41" from="#a9" to="#a10" type="claim_relations" ana="#claim_relations[5]" resp="#tagger" cert="0.9">contradicts → prior conjecture-generation systems, as either non-generalisable or not yet mathematically useful</span>
      <span xml:id="t42" from="#a33" to="#a34" type="concept_edges" ana="#concept_edges[0]" resp="#tagger">gradient saliency —is-a→ attribution techniques<note>strength of the relation: 1</note><term>gradient saliency</term><term>attribution techniques</term></span>
      <span xml:id="t43" from="#a27" to="#a28" type="concept_edges" ana="#concept_edges[1]" resp="#tagger">supervised learning —part-of→ machine learning<note>strength of the relation: 1
Audit 2026-09-28: RESTORED - endpoint by anaphora: &#x27;this regression process&#x27; = the supervised learning of f described in the previous sentence; part-of is loose. The earlier withdrawal is kept in the record.</note><term>supervised learning</term><term>machine learning</term></span>
      <span xml:id="t44" from="#a3" to="#a4" type="concept_edges" ana="#concept_edges[2]" resp="#tagger">machine learning —causes→ intuition<note>strength of the relation: 1
Audit 2026-09-28: DOUBTFUL - read against its full span and kept, but the authors PROPOSE a process in which machine learning observations guide intuition; causes is loose.</note><term>machine learning</term><term>intuition</term></span>
      <span xml:id="t45" from="#a97" to="#a98" type="content_tags" ana="#content_tags.statistics[0]" resp="#tagger">classification accuracy<term>classification accuracy</term></span>
      <span xml:id="t46" from="#a113" to="#a114" type="content_tags" ana="#content_tags.statistics[1]" resp="#tagger">t-test<term>t-test</term></span>
      <span xml:id="t47" from="#a49" to="#a50" type="content_tags" ana="#content_tags.statistics[2]" resp="#tagger">confidence interval<term>confidence interval</term></span>
      <span xml:id="t48" from="#a65" to="#a66" type="content_tags" ana="#content_tags.statistics[3]" resp="#tagger">bootstrap<term>bootstrap</term></span>
      <span xml:id="t49" from="#a109" to="#a110" type="content_tags" ana="#content_tags.statistics[4]" resp="#tagger">train/test split (held-out evaluation)<term>train/test split (held-out evaluation)</term></span>
      <span xml:id="t50" from="#a93" to="#a94" type="content_tags" ana="#content_tags.statistics[5]" resp="#tagger">standardization (mean and variance)<term>standardization (mean and variance)</term></span>
      <span xml:id="t51" from="#a27" to="#a28" type="content_tags" ana="#content_tags.statistics[6]" resp="#tagger" cert="1.0">regression<term>regression</term></span>
      <span xml:id="t52" from="#a29" to="#a30" type="content_tags" ana="#content_tags.statistics[7]" resp="#tagger" cert="1.0">accuracy<term>accuracy</term></span>
      <span xml:id="t53" from="#a73" to="#a74" type="content_tags" ana="#content_tags.findings[0]" resp="#tagger">The proposed machine-learning framework produced genuinely new mathematics in two unrelated fields: a knot-theoretic connection between algebraic and geometric invariants, and a candidate resolution of a long-open conjecture in representation theory.</span>
      <span xml:id="t54" from="#a99" to="#a100" type="content_tags" ana="#content_tags.findings[1]" resp="#tagger">The model reached 78% accuracy on a held-out test set, with no error larger than 2.</span>
      <span xml:id="t55" from="#a105" to="#a106" type="content_tags" ana="#content_tags.findings[2]" resp="#tagger">The natural slope linearly captures all the information about the signature that the original model drew from the geometry.</span>
      <span xml:id="t56" from="#a55" to="#a56" type="content_tags" ana="#content_tags.findings[3]" resp="#tagger">The theorem is one of the first results connecting algebraic and geometric knot invariants, with various applications.</span>
      <span xml:id="t57" from="#a51" to="#a52" type="content_tags" ana="#content_tags.findings[4]" resp="#tagger">The first conjecture, though supported by several large sampled datasets, had counterexamples built from braids of a specific form.</span>
      <span xml:id="t58" from="#a63" to="#a64" type="content_tags" ana="#content_tags.findings[5]" resp="#tagger">Salient-subgraph analysis in the representation-theory case led to the discovery that a Bruhat interval decomposes into a hypercube plus a graph isomorphic to an interval in the smaller symmetric group.</span>
      <span xml:id="t59" from="#a67" to="#a68" type="content_tags" ana="#content_tags.findings[6]" resp="#tagger">This decomposition yields a proved theorem: every Bruhat interval admits a canonical hypercube decomposition from which the Kazhdan-Lusztig polynomial can be computed directly.</span>
      <span xml:id="t60" from="#a69" to="#a70" type="content_tags" ana="#content_tags.findings[7]" resp="#tagger">Computational testing suggested the stronger claim that any hypercube decomposition, not just the canonical one, recovers the correct KL polynomial.</span>
      <span xml:id="t61" from="#a61" to="#a62" type="content_tags" ana="#content_tags.findings[8]" resp="#tagger">The edge labels are neither given to the network nor recoverable from the unlabelled Bruhat interval.</span>
      <span xml:id="t62" from="#a1" to="#a2" type="content_tags" ana="#content_tags.findings[9]" resp="#tagger" cert="1.0">The paper presents new fundamental results in pure mathematics found with machine learning&#x27;s help, as a method for aiding the discovery of conjectures and theorems.</span>
      <span xml:id="t63" from="#a9" to="#a10" type="content_tags" ana="#content_tags.findings[10]" resp="#tagger" cert="1.0">Earlier conjecture-generating systems split into two failure modes: useful but not generalisable, or general but not yet useful.</span>
      <span xml:id="t64" from="#a41" to="#a42" type="content_tags" ana="#content_tags.findings[11]" resp="#tagger" cert="1.0">The models needed can be trained within several hours on a single-GPU machine.</span>
      <span xml:id="t65" from="#a11" to="#a12" type="content_tags" ana="#content_tags.findings[12]" resp="#tagger" cert="1.0">AI had already served mathematics by finding counterexamples, accelerating calculations, generating symbolic solutions and detecting structure.</span>
      <span xml:id="t66" from="#a5" to="#a6" type="content_tags" ana="#content_tags.definitions[0]" resp="#tagger">conjecture<term>conjecture</term></span>
      <span xml:id="t67" from="#a45" to="#a46" type="content_tags" ana="#content_tags.definitions[1]" resp="#tagger">invariant<term>invariant</term></span>
      <span xml:id="t68" from="#a47" to="#a48" type="content_tags" ana="#content_tags.definitions[2]" resp="#tagger">natural slope<term>natural slope</term></span>
      <span xml:id="t69" from="#a39" to="#a40" type="content_tags" ana="#content_tags.definitions[3]" resp="#tagger">test bed for intuition<term>test bed for intuition</term></span>
      <span xml:id="t70" from="#a57" to="#a58" type="content_tags" ana="#content_tags.definitions[4]" resp="#tagger">combinatorial invariance conjecture<term>combinatorial invariance conjecture</term></span>
      <span xml:id="t71" from="#a5" to="#a6" type="content_tags" ana="#content_tags.definitions[5]" resp="#tagger" cert="1.0">conjecture<term>conjecture</term></span>
      <span xml:id="t72" from="#a33" to="#a34" type="content_tags" ana="#content_tags.definitions[6]" resp="#tagger" cert="1.0">gradient saliency<term>gradient saliency</term></span>
      <span xml:id="t73" from="#a43" to="#a44" type="content_tags" ana="#content_tags.definitions[8]" resp="#tagger" cert="1.0">knots<term>knots</term></span>
      <span xml:id="t74" from="#a89" to="#a90" type="content_tags" ana="#content_tags.variables[0]" resp="#tagger">hyperbolic invariants<term>hyperbolic invariants</term></span>
      <span xml:id="t75" from="#a81" to="#a82" type="content_tags" ana="#content_tags.variables[1]" resp="#tagger">accuracy of the learned function<term>accuracy of the learned function</term></span>
      <span xml:id="t76" from="#a95" to="#a96" type="content_tags" ana="#content_tags.variables[2]" resp="#tagger">model architecture<term>model architecture</term></span>
      <span xml:id="t77" from="#a111" to="#a112" type="content_tags" ana="#content_tags.variables[3]" resp="#tagger">threshold C k<term>threshold C k</term></span>
      <span xml:id="t78" from="#a99" to="#a100" type="content_tags" ana="#content_tags.quantities[0]" resp="#tagger">78% — held-out accuracy of the network predicting knot signature from geometric invariants</span>
      <span xml:id="t79" from="#a101" to="#a102" type="content_tags" ana="#content_tags.quantities[1]" resp="#tagger">25% — chance baseline accuracy against which the 78% signature-prediction result was judged</span>
      <span xml:id="t80" from="#a53" to="#a54" type="content_tags" ana="#content_tags.quantities[2]" resp="#tagger">0.23392 — empirical lower bound on the constant c in the slope-signature theorem, with 0.3 conjectured as an upper bound</span>
      <span xml:id="t81" from="#a107" to="#a108" type="content_tags" ana="#content_tags.quantities[3]" resp="#tagger">24,322 — number of non-isomorphic Bruhat interval graphs retained for S9 after deduplication by KL polynomial</span>
      <span xml:id="t82" from="#a91" to="#a92" type="content_tags" ana="#content_tags.quantities[4]" resp="#tagger">2.8% to 7.8% — rate at which the injectivity radius computation failed, rising with knot crossing number</span>
      <span xml:id="t83" from="#a109" to="#a110" type="content_tags" ana="#content_tags.quantities[5]" resp="#tagger">80%/20% — train/test partition ratio for the Bruhat interval dataset</span>
      <span xml:id="t84" from="#a41" to="#a42" type="content_tags" ana="#content_tags.quantities[6]" resp="#tagger" cert="1.0">several hours on a single GPU — training cost for the models behind both mathematical results</span>
      <span xml:id="t85" from="#a15" to="#a16" type="content_tags" ana="#content_tags.quantities[7]" resp="#tagger" cert="1.0">two results, in topology and representation theory — the demonstrations the generality claim rests on</span>
    </spanGrp>
  </standOff>
  <text>
    <body>
        <p><anchor xml:id="a0"/>Advancing mathematics by guiding human intuition with AI</p>
        <p>Alex Davies   Alex Davies</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Alex Davies</p>
        <p>1, ✉ , Petar Veličković   Petar Veličković</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Petar Veličković</p>
        <p>1 , Lars Buesing   Lars Buesing</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Lars Buesing</p>
        <p>1 , Sam Blackwell   Sam Blackwell</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Sam Blackwell</p>
        <p>1 , Daniel Zheng   Daniel Zheng</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Daniel Zheng</p>
        <p>1 , Nenad Tomašev   Nenad Tomašev</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Nenad Tomašev</p>
        <p>1 , Richard Tanburn   Richard Tanburn</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Richard Tanburn</p>
        <p>1 , Peter Battaglia   Peter Battaglia</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Peter Battaglia</p>
        <p>1 , Charles Blundell   Charles Blundell</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Charles Blundell</p>
        <p>1 , András Juhász   András Juhász</p>
        <p>2 University of Oxford, Oxford, UK</p>
        <p>Find articles by András Juhász</p>
        <p>2 , Marc Lackenby   Marc Lackenby</p>
        <p>2 University of Oxford, Oxford, UK</p>
        <p>Find articles by Marc Lackenby</p>
        <p>2 , Geordie Williamson   Geordie Williamson</p>
        <p>3 University of Sydney, Sydney, New South Wales Australia</p>
        <p>Find articles by Geordie Williamson</p>
        <p>3 , Demis Hassabis   Demis Hassabis</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Demis Hassabis</p>
        <p>1 , Pushmeet Kohli   Pushmeet Kohli</p>
        <p>1 DeepMind, London, UK</p>
        <p>Find articles by Pushmeet Kohli</p>
        <p>1, ✉</p>
        <p>Author information</p>
        <p>Article notes</p>
        <p>Copyright and License information</p>
        <p>1 DeepMind, London, UK</p>
        <p>2 University of Oxford, Oxford, UK</p>
        <p>3 University of Sydney, Sydney, New South Wales Australia</p>
        <p>✉ Corresponding author.</p>
        <p>Received 2021 Jul 10; Accepted 2021 Sep 30; Issue date 2021.</p>
        <p>© The Author(s) 2021</p>
        <p>Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ .</p>
        <p>PMC Copyright notice</p>
        <p>PMCID: PMC8636249  PMID: 34853458</p>
        <p>Abstract</p>
        <p>The practice of mathematics involves discovering patterns and using these to formulate and prove conjectures, resulting in theorems. Since the 1960s, mathematicians have used computers to assist in the discovery of patterns and formulation of conjectures 1 , most famously in the Birch and Swinnerton-Dyer conjecture 2 , a Millennium Prize Problem 3 . <anchor xml:id="a1"/>Here we provide examples of new fundamental results in pure mathematics that have been discovered with the assistance of machine learning—demonstrating a method by which machine learning can aid mathematicians in discovering new conjectures and theorems.<anchor xml:id="a2"/> <anchor xml:id="a3"/>We propose a process of using machine learning to discover potential patterns and relations between mathematical objects, understanding them with attribution techniques and using these observations to guide intuition and propose conjectures.<anchor xml:id="a4"/> We outline this machine-learning-guided framework and demonstrate its successful application to current research questions in distinct areas of pure mathematics, in each case showing how it led to meaningful mathematical contributions on important open problems: a new connection between the algebraic and geometric structure of knots, and a candidate algorithm predicted by the combinatorial invariance conjecture for symmetric groups 4 . Our work may serve as a model for collaboration between the fields of mathematics and artificial intelligence (AI) that can achieve surprising results by leveraging the respective strengths of mathematicians and machine learning.</p>
        <p>Subject terms: Computer science, Pure mathematics, Statistics</p>
        <p>A framework through which machine learning can guide mathematicians in discovering new conjectures and theorems is presented and shown to yield mathematical insight on important open problems in different areas of pure mathematics.</p>
        <p>Main</p>
        <p><anchor xml:id="a5"/>One of the central drivers of mathematical progress is the discovery of patterns and formulation of useful conjectures: statements that are suspected to be true but have not been proven to hold in all cases.<anchor xml:id="a6"/> <anchor xml:id="a7"/>Mathematicians have always used data to help in this process—from the early hand-calculated prime tables used by Gauss and others that led to the prime number theorem 5 , to modern computer-generated data 1 , 5 in cases such as the Birch and Swinnerton-Dyer conjecture 2 .<anchor xml:id="a8"/> The introduction of computers to generate data and test conjectures afforded mathematicians a new understanding of problems that were previously inaccessible 6 , but while computational techniques have become consistently useful in other parts of the mathematical process 7 , 8 , artificial intelligence (AI) systems have not yet established a similar place. <anchor xml:id="a9"/>Prior systems for generating conjectures have either contributed genuinely useful research conjectures 9 via methods that do not easily generalize to other mathematical areas 10 , or have demonstrated novel, general methods for finding conjectures 11 that have not yet yielded mathematically valuable results.<anchor xml:id="a10"/></p>
        <p>AI, in particular the field of machine learning 12 – 14 , offers a collection of techniques that can effectively detect patterns in data and has increasingly demonstrated utility in scientific disciplines 15 . <anchor xml:id="a11"/>In mathematics, it has been shown that AI can be used as a valuable tool by finding counterexamples to existing conjectures 16 , accelerating calculations 17 , generating symbolic solutions 18 and detecting the existence of structure in mathematical objects 19 .<anchor xml:id="a12"/> In this work, we demonstrate that AI can also be used to assist in the discovery of theorems and conjectures at the forefront of mathematical research. <anchor xml:id="a13"/>This extends work using supervised learning to find patterns 20 – 24 by focusing on enabling mathematicians to understand the learned functions and derive useful mathematical insight.<anchor xml:id="a14"/> <anchor xml:id="a15"/>We propose a framework for augmenting the standard mathematician’s toolkit with powerful pattern recognition and interpretation methods from machine learning and demonstrate its value and generality by showing how it led us to two fundamental new discoveries, one in topology and another in representation theory.<anchor xml:id="a16"/> <anchor xml:id="a17"/>Our contribution shows how mature machine learning methodologies can be adapted and integrated into existing mathematical workflows to achieve novel results.<anchor xml:id="a18"/></p>
        <p>Guiding mathematical intuition with AI</p>
        <p><anchor xml:id="a19"/>A mathematician’s intuition plays an enormously important role in mathematical discovery—“It is only with a combination of both rigorous formalism and good intuition that one can tackle complex mathematical problems” 25 .<anchor xml:id="a20"/> The following framework, illustrated in Fig. 1 , describes a general method by which mathematicians can use tools from machine learning to guide their intuitions concerning complex mathematical objects, verifying their hypotheses about the existence of relationships and helping them understand those relationships. We propose that this is a natural and empirically productive way that these well-understood techniques in statistics and machine learning can be used as part of a mathematician’s work.</p>
        <p>Fig. 1. Flowchart of the framework.</p>
        <p>Open in a new tab</p>
        <p>The process helps guide a mathematician’s intuition about a hypothesized function f , by training a machine learning model to estimate that function over a particular distribution of data P Z . The insights from the accuracy of the learned function f ˆ and attribution techniques applied to it can aid in the understanding of the problem and the construction of a closed-form f ′. The process is iterative and interactive, rather than a single series of steps.</p>
        <p>Concretely, it helps guide a mathematician’s intuition about the relationship between two mathematical objects X ( z ) and Y ( z ) associated with z by identifying a function f ˆ such that f ˆ ( X ( z ))  ≈  Y ( z ) and analysing it to allow the mathematician to understand properties of the relationship. As an illustrative example: let z be convex polyhedra, X ( z ) ∈  Z 2 × R 2 be the number of vertices and edges of z , as well as the volume and surface area, and Y ( z ) ∈ ℤ be the number of faces of z. Euler’s formula states that there is an exact relationship between X ( z ) and Y ( z ) in this case: X ( z ) · (−1, 1, 0, 0) + 2 =  Y ( z ). In this simple example, among many other ways, the relationship could be rediscovered by the traditional methods of data-driven conjecture generation 1 . <anchor xml:id="a21"/>However, for X ( z ) and Y ( z ) in higher-dimensional spaces, or of more complex types, such as graphs, and for more complicated, nonlinear f ˆ , this approach is either less useful or entirely infeasible.<anchor xml:id="a22"/></p>
        <p><anchor xml:id="a23"/>The framework helps guide the intuition of mathematicians in two ways: by verifying the hypothesized existence of structure/patterns in mathematical objects through the use of supervised machine learning; and by helping in the understanding of these patterns through the use of attribution techniques.<anchor xml:id="a24"/></p>
        <p><anchor xml:id="a25"/>In the supervised learning stage, the mathematician proposes a hypothesis that there exists a relationship between X ( z ) and Y ( z ). By<anchor xml:id="a26"/> generating a dataset of X ( z ) and Y ( z ) pairs, we can use supervised learning to train a function f ˆ that predicts Y ( z ), using only X ( z ) as input. <anchor xml:id="a27"/>The key contributions of machine learning in this regression process are the broad set of possible nonlinear functions that can be learned given a sufficient amount of data.<anchor xml:id="a28"/> <anchor xml:id="a29"/>If f ˆ is more accurate than would be expected by chance, it indicates that there may be such a relationship to explore.<anchor xml:id="a30"/> If so, attribution techniques can help in the understanding of the learned function f ˆ sufficiently for the mathematician to conjecture a candidate f ′. <anchor xml:id="a31"/>Attribution techniques can be used to understand which aspects of f ˆ are relevant for predictions of Y ( z ).<anchor xml:id="a32"/> For example, many attribution techniques aim to quantify which component of X ( z ) the function f ˆ is sensitive to. <anchor xml:id="a33"/>The attribution technique we use in our work, gradient saliency, does this by calculating the derivative of outputs of f ˆ , with respect to the inputs.<anchor xml:id="a34"/> This allows a mathematician to identify and prioritize aspects of the problem that are most likely to be relevant for the relationship. <anchor xml:id="a35"/>This iterative process might need to be repeated several times before a viable conjecture is settled on.<anchor xml:id="a36"/> <anchor xml:id="a37"/>In this process, the mathematician can guide the choice of conjectures to those that not just fit the data but also seem interesting, plausibly true and, ideally, suggestive of a proof strategy.<anchor xml:id="a38"/></p>
        <p><anchor xml:id="a39"/>Conceptually, this framework provides a ‘test bed for intuition’—quickly verifying whether an intuition about the relationship between two quantities may be worth pursuing and, if so, guidance as to how they may be related.<anchor xml:id="a40"/> We have used the above framework to help mathematicians to obtain impactful mathematical results in two cases—discovering and proving one of the first relationships between algebraic and geometric invariants in knot theory and conjecturing a resolution to the combinatorial invariance conjecture for symmetric groups 4 , a well-known conjecture in representation theory. In each area, we demonstrate how the framework has successfully helped guide the mathematician to achieve the result. <anchor xml:id="a41"/>In each of these cases, the necessary models can be trained within several hours on a machine with a single graphics processing unit.<anchor xml:id="a42"/></p>
        <p>Topology</p>
        <p>Low-dimensional topology is an active and influential area of mathematics. <anchor xml:id="a43"/>Knots, which are simple closed curves in R 3 , are one of the key objects that are studied<anchor xml:id="a44"/>, and some of the subject’s main goals are to classify them, to understand their properties and to establish connections with other fields. <anchor xml:id="a45"/>One of the principal ways that this is carried out is through invariants, which are algebraic, geometric or numerical quantities that are the same for any two equivalent knots.<anchor xml:id="a46"/> These invariants are derived in many different ways, but we focus on two of the main categories: hyperbolic invariants and algebraic invariants. These two types of invariants are derived from quite different mathematical disciplines, and so it is of considerable interest to establish connections between them. Some examples of these invariants for small knots are shown in Fig. 2 . A notable example of a conjectured connection is the volume conjecture 26 , which proposes that the hyperbolic volume of a knot (a geometric invariant) should be encoded within the asymptotic behaviour of its coloured Jones polynomials (which are algebraic invariants).</p>
        <p>Fig. 2. Examples of invariants for three hyperbolic knots.</p>
        <p>Open in a new tab</p>
        <p>We hypothesized that there was a previously undiscovered relationship between the geometric and algebraic invariants.</p>
        <p>Our hypothesis was that there exists an undiscovered relationship between the hyperbolic and algebraic invariants of a knot. A supervised learning model was able to detect the existence of a pattern between a large set of geometric invariants and the signature σ ( K ), which is known to encode important information about a knot K , but was not previously known to be related to the hyperbolic geometry. The most relevant features identified by the attribution technique, shown in Fig. 3a , were three invariants of the cusp geometry, with the relationship visualized partly in Fig. 3b . Training a second model with X ( z ) consisting of only these measurements achieved a very similar accuracy, suggesting that they are a sufficient set of features to capture almost all of the effect of the geometry on the signature. These three invariants were the real and imaginary parts of the meridional translation μ and the longitudinal translation λ . There is a nonlinear, multivariate relationship between these quantities and the signature. Having been guided to focus on these invariants, we discovered that this relationship is best understood by means of a new quantity, which is linearly related to the signature. <anchor xml:id="a47"/>We introduce the ‘natural slope’, defined to be slope( K )<anchor xml:id="a48"/> = Re( λ/μ ), where Re denotes the real part. It has the following geometric interpretation. One can realize the meridian curve as a geodesic γ on the Euclidean torus. If one fires off a geodesic γ ⊥ from this orthogonally, it will eventually return and hit γ at some point. In doing so, it will have travelled along a longitude minus some multiple of the meridian. This multiple is the natural slope. It need not be an integer, because the endpoint of γ ⊥ might not be the same as its starting point. Our initial conjecture relating natural slope and signature was as follows.</p>
        <p>Fig. 3. Knot theory attribution.</p>
        <p>Open in a new tab</p>
        <p>a , Attribution values for each of the input X ( z ). The features with high values are those that the learned function is most sensitive to and are probably relevant for further exploration. <anchor xml:id="a49"/>The 95% confidence interval error bars are across 10 retrainings of the model.<anchor xml:id="a50"/> b , Example visualization of relevant features—the real part of the meridional translation against signature, coloured by the longitudinal translation.</p>
        <p>Conjecture: There exist constants c 1 and c 2 such that, for every hyperbolic knot K ,</p>
        <p>| 2 σ ( K ) − slope ( K ) | &lt; c 1 vol ( K ) + c 2   1</p>
        <p><anchor xml:id="a51"/>While this conjecture was supported by an analysis of several large datasets sampled from different distributions, we were able to construct counterexamples using braids of a specific form.<anchor xml:id="a52"/> Subsequently, we were able to establish a relationship between slope( K ), signature σ ( K ), volume vol( K ) and one of the next most salient geometric invariants, the injectivity radius inj( K ) (ref.  27 ).</p>
        <p>Theorem: There exists a constant c such that, for any hyperbolic knot K ,</p>
        <p>| 2 σ ( K ) − slope ( K ) | ≤ c vol ( K ) inj ( K ) − 3   2</p>
        <p>It turns out that the injectivity radius tends not to get very small, even for knots of large volume. Hence, the term inj( K ) −3 tends not to get very large in practice. However, it would clearly be desirable to have a theorem that avoided the dependence on inj( K ) −3 , and we give such a result that instead relies on short geodesics, another of the most salient features, in the Supplementary Information. Further details and a full proof of the above theorem are available in ref.  27 . <anchor xml:id="a53"/>Across the datasets we generated, we can place a lower bound of c  ≥ 0.23392, and it would be reasonable to conjecture that c is at most 0.3, which gives a tight relationship in the regions in which we have calculated.<anchor xml:id="a54"/></p>
        <p><anchor xml:id="a55"/>The above theorem is one of the first results that connect the algebraic and geometric invariants of knots and has various interesting applications.<anchor xml:id="a56"/> It directly implies that the signature controls the non-hyperbolic Dehn surgeries on the knot and that the natural slope controls the genus of surfaces in R + 4 whose boundary is the knot. We expect that this newly discovered relationship between natural slope and signature will have many other applications in low-dimensional topology. It is surprising that a simple yet profound connection such as this has been overlooked in an area that has been extensively studied.</p>
        <p>Representation theory</p>
        <p>Representation theory is the theory of linear symmetry. The building blocks of all representations are the irreducible ones, and understanding them is one of the most important goals of representation theory. Irreducible representations generalize the fundamental frequencies of Fourier analysis 28 . In several important examples, the structure of irreducible representations is governed by Kazhdan–Lusztig (KL) polynomials, which have deep connections to combinatorics, algebraic geometry and singularity theory. KL polynomials are polynomials attached to pairs of elements in symmetric groups (or more generally, pairs of elements in Coxeter groups). The combinatorial invariance conjecture is a fascinating open conjecture concerning KL polynomials that has stood for 40 years, with only partial progress 29 . <anchor xml:id="a57"/>It states that the KL polynomial of two elements in a symmetric group S N can be calculated from their unlabelled Bruhat interval 30 , a directed graph.<anchor xml:id="a58"/> One barrier to progress in understanding the relationship between these objects is that the Bruhat intervals for non-trivial KL polynomials (those that are not equal to 1) are very large graphs that are difficult to develop intuition about. Some examples of small Bruhat intervals and their KL polynomials are shown in Fig. 4 .</p>
        <p>Fig. 4. Two example dataset elements, one from S 5 and one from S 6 .</p>
        <p>Open in a new tab</p>
        <p>The combinatorial invariance conjecture states that the KL polynomial of a pair of permutations should be computable from their unlabelled Bruhat interval, but no such function was previously known.</p>
        <p>We took the conjecture as our initial hypothesis, and found that a supervised learning model was able to predict the KL polynomial from the Bruhat interval with reasonably high accuracy. By experimenting on the way in which we input the Bruhat interval to the network, it became apparent that some choices of graphs and features were particularly conducive to accurate predictions. <anchor xml:id="a59"/>In particular, we found that a subgraph inspired by prior work 31 may be sufficient to calculate the KL polynomial, and this was supported by a much more accurate estimated function.<anchor xml:id="a60"/></p>
        <p>Further structural evidence was found by calculating salient subgraphs that attribution techniques determined were most relevant and analysing the edge distribution in these graphs compared to the original graphs. In Fig. 5a , we aggregate the relative frequency of the edges in the salient subgraphs by the reflection that they represent. It shows that extremal reflections (those of the form (0 , i ) or ( i ,  N  − 1) for S N ) appear more commonly in salient subgraphs than one would expect, at the expense of simple reflections (those of the form ( i ,  i  + 1)), which is confirmed over many retrainings of the model in Fig. 5b . <anchor xml:id="a61"/>This is notable because the edge labels are not given to the network and are not recoverable from the unlabelled Bruhat interval.<anchor xml:id="a62"/> From the definition of KL polynomials, it is intuitive that the distinction between simple and non-simple reflections is relevant for calculating it; however, it was not initially obvious why extremal reflections would be overrepresented in salient subgraphs. <anchor xml:id="a63"/>Considering this observation led us to the discovery that there is a natural decomposition of an interval into two parts—a hypercube induced by one set of extremal edges and a graph isomorphic to an interval in S N −1 .<anchor xml:id="a64"/></p>
        <p>Fig. 5. Representation theory attribution.</p>
        <p>Open in a new tab</p>
        <p>a , An example heatmap of the percentage increase in reflections present in the salient subgraphs compared with the average across intervals in the dataset when predicting q 4 . b , <anchor xml:id="a65"/>The percentage of observed edges of each type in the salient subgraph for 10 retrainings of the model compared to 10 bootstrapped samples of the same size from the dataset.<anchor xml:id="a66"/> The error bars are 95% confidence intervals, and the significance level shown was determined using a two-sided two-sample t -test. * p &lt; 0.05; **** p &lt; 0.0001. c , Illustration for the interval 021435–240513 ∈  S 6 of the interesting substructures that were discovered through the iterative process of hypothesis, supervised learning and attribution. The subgraph inspired by previous work 31  is highlighted in red, the hypercube in green and the decomposition component isomporphic to an interval in S N − 1 in blue.</p>
        <p>The importance of these two structures, illustrated in Fig. 5c , led to a proof that the KL polynomial can be computed directly from the hypercube and S N −1 components through a beautiful formula that is summarized in the  Supplementary Information . A further detailed treatment of the mathematical results is given in ref.  32 .</p>
        <p>Theorem: <anchor xml:id="a67"/>Every Bruhat interval admits a canonical hypercube decomposition along its extremal reflections, from which the KL polynomial is directly computable.<anchor xml:id="a68"/></p>
        <p><anchor xml:id="a69"/>Remarkably, further tests suggested that all hypercube decompositions correctly determine the KL polynomial.<anchor xml:id="a70"/> This has been computationally verified for all of the ∼3 × 10 6 intervals in the symmetric groups up to S 7 and more than 1.3 × 10 5 non-isomorphic intervals sampled from the symmetric groups S 8 and S 9 .</p>
        <p>Conjecture: The KL polynomial of an unlabelled Bruhat interval can be calculated using the previous formula with any hypercube decomposition.</p>
        <p><anchor xml:id="a71"/>This conjectured solution, if proven true, would settle the combinatorial invariance conjecture for symmetric groups.<anchor xml:id="a72"/> This is a promising direction as not only is the conjecture empirically verified up to quite large examples, but it also has a particularly nice form that suggests potential avenues for attacking the conjecture. This case demonstrates how non-trivial insights about the behaviour of large mathematical objects can be obtained from trained models, such that new structure can be discovered.</p>
        <p>Conclusion</p>
        <p><anchor xml:id="a73"/>In this work we have demonstrated a framework for mathematicians to use machine learning that has led to mathematical insight across two distinct disciplines: one of the first connections between the algebraic and geometric structure of knots and a proposed resolution to a long-standing open conjecture in representation theory.<anchor xml:id="a74"/> Rather than use machine learning to directly generate conjectures, we focus on helping guide the highly tuned intuition of expert mathematicians, yielding results that are both interesting and deep. It is clear that intuition plays an important role in elite performance in many human pursuits. For example, it is critical for top Go players and the success of AlphaGo (ref.  33 ) came in part from its ability to use machine learning to learn elements of play that humans perform intuitively. It is similarly seen as critical for top mathematicians—Ramanujan was dubbed the Prince of Intuition 34 and it has inspired reflections by famous mathematicians on its place in their field 35 , 36 . As mathematics is a very different, more cooperative endeavour than Go, the role of AI in assisting intuition is far more natural. Here we show that there is indeed fruitful space to assist mathematicians in this aspect of their work.</p>
        <p>Our case studies demonstrate how a foundational connection in a well-studied and mathematically interesting area can go unnoticed, and how the framework allows mathematicians to better understand the behaviour of objects that are too large for them to otherwise observe patterns in. <anchor xml:id="a75"/>There are limitations to where this framework will be useful—it requires the ability to generate large datasets of the representations of objects and for the patterns to be detectable in examples that are calculable.<anchor xml:id="a76"/> <anchor xml:id="a77"/>Further, in some domains the functions of interest may be difficult to learn in this paradigm.<anchor xml:id="a78"/> However, we believe there are many areas that could benefit from our methodology. More broadly, it is our hope that this framework is an effective mechanism to allow for the introduction of machine learning into mathematicians’ work, and encourage further collaboration between the two fields.</p>
        <p>Methods</p>
        <p>Framework</p>
        <p>Supervised learning</p>
        <p>In the supervised learning stage, the mathematician proposes a hypothesis that there exists a relationship between X ( z ) and Y ( z ). In this work we assume that there is no known function mapping from X ( z ) to Y ( z ), which in turn implies that X is not invertible (otherwise there would exist a known function Y  °  X   −1 ). While there may still be value to this process when the function is known, we leave this for future work. To test the hypothesis that X and Y are related, we generate a dataset of X ( z ), Y ( z ) pairs, where z is sampled from a distribution P Z . <anchor xml:id="a79"/>The results of the subsequent stages will hold true only for the distribution P Z , and not the whole space Z .<anchor xml:id="a80"/> Initially, sensible choices for P Z would be, for example, uniformly over the first N items for Z with a notion of ordering, or uniformly at random where possible. In subsequent iterations, P Z may be chosen to understand the behaviour on different parts of the space Z (for example, regions of Z that may be more likely to provide counterexamples to a particular hypothesis). To first test whether a relation between X ( z ) and Y ( z ) can be found, we use supervised learning to train a function f ˆ that approximately maps X ( z ) to Y ( z ). In this work we use neural networks as the supervised learning method, in part because they can be easily adapted to many different types of X and Y and knowledge of any inherent geometry (in terms of invariances and symmetries) of the input domain X can be incorporated into the architecture of the network 37 . <anchor xml:id="a81"/>We consider a relationship between X ( z ) and Y ( z ) to be found if the accuracy of the learned function f ˆ is statistically above chance on further samples from P Z on which the model was not trained.<anchor xml:id="a82"/> <anchor xml:id="a83"/>The converse is not true; namely, if the model cannot predict the relationship better than chance, it may mean that a pattern exists, but is sufficiently complicated that it cannot be captured by the given model and training procedure.<anchor xml:id="a84"/> If it does indeed exist, this can give a mathematician confidence to pursue a particular line of enquiry in a problem that may otherwise be only speculative.</p>
        <p>Attribution techniques</p>
        <p>If a relationship is found, the attribution stage is to probe the learned function f ˆ with attribution techniques to further understand the nature of the relationship. These techniques attempt to explain what features or structures are relevant to the predictions made by f ˆ , which can be used to understand what parts of the problem are relevant to explore further. There are many attribution techniques in the body of literature on machine learning and statistics, including stepwise forward feature selection 38 , feature occlusion and attention weights 39 . <anchor xml:id="a85"/>In this work we use gradient-based techniques 40 , broadly similar to sensitivity analysis in classical statistics and sometimes referred to as saliency maps.<anchor xml:id="a86"/> <anchor xml:id="a87"/>These techniques attribute importance to the elements of X ( z ), by calculating how much f ˆ changes in predictions of Y (z) given small changes in X ( z ).<anchor xml:id="a88"/> We believe these are a particularly useful class of attribution techniques as they are conceptually simple, flexible and easy to calculate with machine learning libraries that support automatic differentiation 41 – 43 . Information extracted via attribution techniques can then be useful to guide the next steps of mathematical reasoning, such as conjecturing closed-form candidates f ′, altering the sampling distribution P Z or generating new hypotheses about the object of interest z , as shown in Fig. 1 . This can then lead to an improved or corrected version of the conjectured relationship between these quantities.</p>
        <p>Topology</p>
        <p>Problem framing</p>
        <p>Not all knots admit a hyperbolic geometry; however, most do, and all knots can be constructed from hyperbolic and torus knots using satellite operations 44 . In this work we focus only on hyperbolic knots. We characterize the hyperbolic structure of the knot complement by a number of easily computable invariants. These invariants do not fully define the hyperbolic structure, but they are representative of the most commonly interesting properties of the geometry. Our initial general hypothesis was that the hyperbolic invariants would be predictive of algebraic invariants. <anchor xml:id="a89"/>The specific hypothesis we investigated was that the geometry is predictive of the signature.<anchor xml:id="a90"/> The signature is an ideal candidate as it is a well-understood and common invariant, it is easy to calculate for large knots and it is an integer, which makes the prediction task particularly straightforward (compared to, for example, a polynomial).</p>
        <p>Data generation</p>
        <p>We generated a number of datasets from different distributions P Z on the set of knots using the SnapPy software package 45 , as follows.</p>
        <p>All knots up to 16 crossings (∼1.7 × 10 6 knots), taken from the Regina census 46 .</p>
        <p>Random knot diagrams of 80 crossings generated by SnapPy’s random_link function (∼10 6 knots). As random knot generation can potentially lead to duplicates, we calculate a large number of invariants for each knot diagram and remove any samples that have identical invariants to a previous sample, as they are likely to represent that same knot with very high probability.</p>
        <p>Knots obtained as the closures of certain braids. Unlike the previous two datasets, the knots that were produced here are not, in any sense, generic. Instead, they were specifically constructed to disprove Conjecture 1. The braids that we used were 4-braids ( n  = 11,756), 5-braids ( n  = 13,217) and 6-braids ( n  = 10,897). In terms of the standard generators σ i for these braid groups, the braids were chosen to be ( σ i 1 n 1 σ i 2 n 2 . . . σ i k n k ) N . The integers i j were chosen uniformly at random for the appropriate braid group. The powers n j were chosen uniformly at random in the ranges [−10, −3] and [3, 10]. The final power N was chosen uniformly between 1 and 10. The quantity ∑ | n i | was restricted to be at most 15 for 5-braids and 6-braids and 12 for 4-braids, and the total number of crossings N ∑ | n i | was restricted to lie in the range between 10 and 60. The rationale for these restrictions was to ensure a rich set of examples that were small enough to avoid an excessive number of failures in the invariant computations.</p>
        <p>For the above datasets, we computed a number of algebraic and geometric knot invariants. Different datasets involved computing different subsets of these, depending on their role in forming and examining the main conjecture. Each of the datasets contains a subset of the following list of invariants: signature, slope, volume, meridional translation, longitudinal translation, injectivity radius, positivity, Chern–Simons invariant, symmetry group, hyperbolic torsion, hyperbolic adjoint torsion, invariant trace field, normal boundary slopes and length spectrum including the linking numbers of the short geodesics.</p>
        <p>The computation of the canonical triangulation of randomly generated knots fails in SnapPy in our data generation process in between 0.6% and 1.7% of the cases, across datasets. <anchor xml:id="a91"/>The computation of the injectivity radius fails between 2.8% of the time on smaller knots up to 7.8% of the time on datasets of knots with a higher number of crossings.<anchor xml:id="a92"/> On knots up to 16 crossings from the Regina dataset, the injectivity radius computation failed in 5.2% of the cases. Occasional failures can occur in most of the invariant computations, in which case the computations continue for the knot in question for the remaining invariants in the requested set. Additionally, as the computational complexity of some invariants is high, operations can time out if they take more than 5 min for an invariant. This is a flexible bound and ultimately a trade-off that we have used only for the invariants that were not critical for our analysis, to avoid biasing the results.</p>
        <p>Data encoding</p>
        <p>The following encoding scheme was used for converting the different types of features into real valued inputs for the network: reals directly encoded; complex numbers as two reals corresponding to the real and imaginary parts; categoricals as one-hot vectors.</p>
        <p><anchor xml:id="a93"/>All features are normalized by subtracting the mean and dividing by the variance.<anchor xml:id="a94"/> For simplicity, in Fig. 3a , the salience values of categoricals are aggregated by taking the maximum value of the saliencies of their encoded features.</p>
        <p>Model and training procedure</p>
        <p><anchor xml:id="a95"/>The model architecture used for the experiments was a fully connected, feed-forward neural network, with hidden unit sizes<anchor xml:id="a96"/> [300, 300, 300] and sigmoid activations. <anchor xml:id="a97"/>The task was framed as a multi-class classification problem, with the distinct values of the signature as classes, cross-entropy loss as an optimizable loss function and test classification accuracy as a metric of performance.<anchor xml:id="a98"/> It is trained for a fixed number of steps using a standard optimizer (Adam). All settings were chosen as a priori reasonable values and did not need to be optimized.</p>
        <p>Process</p>
        <p>First, to assess whether there may be a relationship between the geometry and algebra of a knot, we trained a feed-forward neural network to predict the signature from measurements of the geometry on a dataset of randomly sampled knots. <anchor xml:id="a99"/>The model was able to achieve an accuracy of 78% on a held-out test set, with no errors larger than ±2.<anchor xml:id="a100"/> <anchor xml:id="a101"/>This is substantially higher than chance (a baseline accuracy of 25%), which gave us strong confidence that a relationship may exist.<anchor xml:id="a102"/></p>
        <p>To understand how this prediction is being made by the network, we used gradient-based attribution to determine which measurements of the geometry are most relevant to the signature. We do this using a simple sensitivity measure r i  that averages the gradient of the loss L with respect to a given input feature x i  over all of the examples x  in a dataset X :</p>
        <p>r i = 1 | X | ∑ x ∈ X | ∂ L ∂ x i |   3</p>
        <p>This quantity for each input feature is shown in Fig. 3a , where we can determine that the relevant measurements of the geometry appear to be what is known as the cusp shape: the meridional translation, which we will denote μ , and the longitudinal translation, which we will denote λ . <anchor xml:id="a103"/>This was confirmed by training a new model to predict the signature from only these three measurements, which was able to achieve the same level of performance as the original model.<anchor xml:id="a104"/></p>
        <p>To confirm that the slope is a sufficient aspect of the geometry to focus on, we trained a model to predict the signature from the slope alone. Visual inspection of the slope and signature in Extended Data Fig. 1a, b shows a clear linear trend, and training a linear model on this data results in a test accuracy of 78%, which is equivalent to the predictive power of the original model. <anchor xml:id="a105"/>This implies that the slope linearly captures all of the information about the signature that the original model had extracted from the geometry.<anchor xml:id="a106"/></p>
        <p>Extended Data Fig. 1. Empirical relationship between slope and signature.</p>
        <p>Open in a new tab</p>
        <p>a Signature vs slope for random dataset. b Signature vs slope for Regina dataset.</p>
        <p>Evaluation</p>
        <p>The confidence intervals on the feature saliencies were calculated by retraining the model 10 times with a different train/test split and a different random seed initializing both the network weights and training procedure.</p>
        <p>Representation theory</p>
        <p>Data generation</p>
        <p>For our main dataset we consider the symmetric groups up to S 9 . The first symmetric group that contains a non-trivial Bruhat interval whose KL polynomial is not simply 1 is S 5 , and the largest interval in S 9 contains 9! ≈ 3.6 × 10 5 nodes, which starts to pose computational issues when used as inputs to networks. The number of intervals in a symmetric group S N is O ( N ! 2 ), which results in many billions of intervals in S 9 . The distribution of coefficients of the KL polynomials uniformly across intervals is very imbalanced, as higher coefficients are especially rare and associated with unknown complex structure. To adjust for this and simplify the learning problem, we take advantage of equivalence classes of Bruhat intervals that eliminate many redundant small polynomials 47 . This has the added benefit of reducing the number of intervals per symmetric group (for example, to ~2.9 million intervals in S 9 ). <anchor xml:id="a107"/>We further reduce the dataset by including a single interval for each distinct KL polynomial for all graphs with the same number of nodes, resulting in 24,322 non-isomorphic graphs for S 9 .<anchor xml:id="a108"/> <anchor xml:id="a109"/>We split the intervals randomly into train/test partitions at 80%/20%.<anchor xml:id="a110"/></p>
        <p>Data encoding</p>
        <p>The Bruhat interval of a pair of permutations is a partially ordered set of the elements of the group, and it can be represented as a directed acyclic graph where each node is labelled by a permutation, and each edge is labelled by a reflection. We add two features at each node representing the in-degree and out-degree of that node.</p>
        <p>Model and training procedure</p>
        <p>For modelling the Bruhat intervals, we used a particular GraphNet architecture called a message-passing neural network (MPNN) 48 . The design of the model architecture (in terms of activation functions and directionality) was motivated by the algorithms for computing KL polynomials from labelled Bruhat intervals. While labelled Bruhat intervals contain privileged information, these algorithms hinted at the kind of computation that may be useful for computing KL polynomial coefficients. Accordingly, we designed our MPNN to algorithmically align to this computation 49 . The model is bi-directional, with a hidden layer width of 128, four propagation steps and skip connections. We treat the prediction of each coefficient of the KL polynomial as a separate classification problem.</p>
        <p>Process</p>
        <p>First, to gain confidence that the conjecture is correct, we trained a model to predict coefficients of the KL polynomial from the unlabelled Bruhat interval. We were able to do so across the different coefficients with reasonable accuracy (Extended Data Table 1 ) giving some evidence that a general function may exist, as a four-step MPNN is a relatively simple function class. We trained a GraphNet model on the basis of a newly hypothesized representation and could achieve significantly better performance, lending evidence that it is a sufficient and helpful representation to understand the KL polynomial.</p>
        <p>Extended Data Table 1.</p>
        <p>Model accuracies at predicting KL coefficients from Bruhat intervals in S 9</p>
        <p>Open in a new tab</p>
        <p>To understand how the predictions were being made by the learned function f ˆ , we used gradient-based attribution to define a salient subgraph S G for each example interval G , induced by a subset of nodes in that interval, where L is the loss and x v is the feature for vertex v :</p>
        <p>S G = { v ∈ G | | ∂ L ∂ x v | &gt; C k }   4</p>
        <p>We then aggregated the edges by their edge type (each is a reflection) and compared the frequency of their occurrence to the overall dataset. The effect on extremal edges was present in the salient subgraphs for predictions of the higher-order terms ( q 3 , q 4 ), which are the more complicated and less well-understood terms.</p>
        <p>Evaluation</p>
        <p><anchor xml:id="a111"/>The threshold C k for salient nodes was chosen a priori as the 99th percentile of attribution values across the dataset<anchor xml:id="a112"/>, although the results are present for different values of C k in the range [95,  99.5]. In Fig. 5a , we visualize a measure of edge attribution for a particular snapshot of a trained model for expository purposes. This view will change across time and random seeds, but we can confirm that the pattern remains by looking at aggregate statistics over many runs of training the model, as in Fig. 5b . <anchor xml:id="a113"/>In this diagram, the two-sample two-sided t -test statistics are as follows—simple edges: t  = 25.7, P  = 4.0 × 10 −10 ; extremal edges: t  = −13.8, P  = 1.1 × 10 −7 ; other edges: t  = −3.2, P  = 0.01.<anchor xml:id="a114"/> These significance results are robust to different settings of the hyper-parameters of the model.</p>
        <p>Online content</p>
        <p>Any methods, additional<anchor xml:id="a115"/></p>
    </body>
  </text>
</TEI>
