{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,29]],"date-time":"2026-09-29T06:18:04Z","timestamp":1790662684690,"version":"4.1.0"},"reference-count":70,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"5","funder":[{"name":"David Morgenthaler II Faculty Fellowship"},{"DOI":"10.13039\/100000879","name":"Alfred P. Sloan Foundation","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100000879","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100004318","name":"Microsoft","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100004318","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["CCF-1212372"],"award-info":[{"award-number":["CCF-1212372"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["CCF-1741615"],"award-info":[{"award-number":["CCF-1741615"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2018,1]]},"abstract":"<jats:p>We present a new randomized method for computing the min-plus product (a.k.a., tropical product) of two $n \\times n$ matrices, yielding a faster algorithm for solving the all-pairs shortest path problem (APSP) in dense $n$-node directed graphs with arbitrary edge weights. On the real RAM, where additions and comparisons of reals are unit cost (but all other operations have typical logarithmic cost), the algorithm runs in time $\\frac{n^3}{2^{\\Omega(\\log n)^{1\/2}}}$ and is correct with high probability. On the word RAM with wordsize $\\log(n)$, the algorithm runs in $n^3\/2^{\\Omega(\\log n)^{1\/2}} + n^{2+o(1)}\\log(nM)$ time for edge weights in $([0,M] \\cap \\mathbb{Z})\\cup\\{\\infty\\}$. Prior algorithms took either $O(n^3\/\\log^c n)$ time for various $c \\leq 2$, or $O(M^{\\alpha}n^{\\beta})$ time for various $\\alpha &gt; 0$ and $\\beta &gt; 2$. The new algorithm applies a tool from circuit complexity, namely the Razborov--Smolensky polynomials for approximately representing ${\\sf AC}^0[p]$ circuits, to efficiently reduce a matrix product over the $(\\min,+)$ algebra to a relatively small number of rectangular matrix products over $\\mathbb{F}_2$, each of which is computable using a particularly efficient method due to Coppersmith. We also give a deterministic version of the algorithm running in $n^3\/2^{\\log^{\\delta} n}$ time for some $\\delta &gt; 0$, which utilizes the Yao--Beigel--Tarui translation of ${\\sf AC}^0[m]$ circuits into \u201cnice\u201d depth-two circuits.<\/jats:p>","DOI":"10.1137\/15m1024524","type":"journal-article","created":{"date-parts":[[2018,10,30]],"date-time":"2018-10-30T16:21:44Z","timestamp":1540916504000},"page":"1965-1985","source":"Crossref","is-referenced-by-count":52,"title":["Faster All-Pairs Shortest Paths via Circuit Complexity"],"prefix":"10.1137","volume":"47","author":[{"given":"R. Ryan","family":"Williams","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2018,10,30]]},"reference":[{"key":"atypb1","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539792233907"},{"key":"atypb2","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1997.1388"},{"key":"atypb3","unstructured":"A. V. Aho, J. E. Hopcroft, and J. D. Ullman,\n                      The Design and Analysis of Computer Algorithms\n                      , Addison-Wesley Series in Computer Science and Information Processing, Addison-Wesley, 1974."},{"key":"atypb4","doi-asserted-by":"crossref","unstructured":"A. Abboud, T. D. Hansen, V. Vassilevska Williams, and R. Williams,\n                      Simulating branching programs with edit distance and friends or: A polylog shaved is a lower bound made\n                      , in Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing (STOC), 2016, pp. 375-388.","DOI":"10.1145\/2897518.2897653"},{"key":"atypb5","doi-asserted-by":"publisher","DOI":"10.1016\/0168-0072(83)90038-6"},{"key":"atypb6","doi-asserted-by":"crossref","unstructured":"A. Abboud, R. Williams, and H. Yu,\n                      More applications of the polynomial method to algorithm design\n                      , in Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2015, pp. 218-230,https:\/\/doi.org\/10.1137\/1.9781611973730.17.","DOI":"10.1137\/1.9781611973730.17"},{"key":"atypb7","doi-asserted-by":"publisher","DOI":"10.1007\/BF02523189"},{"key":"atypb8","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-012-9734-3"},{"key":"atypb9","first-page":"193","author":"Ballard G.","year":"2012","journal-title":"Algorithms and Architectures"},{"key":"atypb10","unstructured":"G. Ballard, J. Demmel, B. Lipshitz, and O. Schwartz,\n                      Communication-avoiding parallel Strassen: Implementation and performance\n                      , in Proceedings of the 2012 International Conference for High Performance Computing, Networking, Storage and Analysis (SC), Vol. 12, 2012."},{"key":"atypb11","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-007-9036-3"},{"key":"atypb12","doi-asserted-by":"publisher","DOI":"10.1142\/S0218195901000596"},{"key":"atypb13","doi-asserted-by":"crossref","unstructured":"A. Backurs and P. Indyk,\n                      Edit distance cannot be computed in strongly subquadratic time (unless SETH is false)\n                      , in Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing (STOC), 2015, pp. 51-58.","DOI":"10.1145\/2746539.2746612"},{"key":"atypb14","doi-asserted-by":"publisher","DOI":"10.1007\/BF01263423"},{"key":"atypb15","doi-asserted-by":"publisher","DOI":"10.4086\/toc.2012.v008a004"},{"key":"atypb16","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(85)90015-7"},{"key":"atypb17","doi-asserted-by":"crossref","unstructured":"T. M. Chan,\n                      Speeding up the Four Russians algorithm by about one more logarithmic factor\n                      , in Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2015, pp. 212-217,https:\/\/doi.org\/10.1137\/1.9781611973730.16.","DOI":"10.1137\/1.9781611973730.16"},{"key":"atypb18","doi-asserted-by":"publisher","DOI":"10.1145\/2344422.2344424"},{"key":"atypb19","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-007-9062-1"},{"key":"atypb20","doi-asserted-by":"publisher","DOI":"10.1137\/08071990X"},{"key":"atypb21","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2002.1058095"},{"key":"atypb22","doi-asserted-by":"publisher","DOI":"10.1137\/0211037"},{"key":"atypb23","doi-asserted-by":"publisher","DOI":"10.1137\/0213028"},{"key":"atypb24","doi-asserted-by":"crossref","unstructured":"T. M. Chan and R. Williams,\n                      Deterministic APSP, orthogonal vectors, and more: Quickly derandomizing Razborov-Smolensky\n                      , in Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2016, pp. 1246-1255,https:\/\/doi.org\/10.1137\/1.9781611974331.ch87.","DOI":"10.1137\/1.9781611974331.ch87"},{"key":"atypb25","doi-asserted-by":"crossref","unstructured":"P. D'Alberto and A. Nicolau,\n                      Adaptive Winograd's matrix multiplications\n                      , ACM Trans. Math. Software (TOMS), 36 (2009), 3.","DOI":"10.1145\/1486525.1486528"},{"key":"atypb26","doi-asserted-by":"publisher","DOI":"10.1080\/00207169008803814"},{"key":"atypb27","doi-asserted-by":"crossref","unstructured":"R. W. Floyd,\n                      Algorithm 97: Shortest path\n                      , Comm. ACM, 5 (1962), p. 345.","DOI":"10.1145\/367766.368168"},{"key":"atypb28","first-page":"129","author":"Fischer M. J.","year":"1971","journal-title":"IEEE"},{"key":"atypb29","doi-asserted-by":"publisher","DOI":"10.1137\/0205006"},{"key":"atypb30","doi-asserted-by":"publisher","DOI":"10.1007\/BF01744431"},{"key":"atypb31","doi-asserted-by":"publisher","DOI":"10.1145\/28869.28874"},{"key":"atypb32","doi-asserted-by":"publisher","DOI":"10.1142\/S0129626496000029"},{"key":"atypb33","doi-asserted-by":"publisher","DOI":"10.1016\/0925-7721(95)00022-2"},{"key":"atypb34","doi-asserted-by":"crossref","unstructured":"A. Gr\u00f8 nlund and S. Pettie,\n                      Threesomes, degenerates, and love triangles\n                      , in Proceedings of the 2014 IEEE 55th Annual Symposium on Foundations of Computer Science (FOCS), 2014, pp. 621-630.","DOI":"10.1109\/FOCS.2014.72"},{"key":"atypb35","doi-asserted-by":"crossref","unstructured":"H. N. Gabow and P. Sankowski,\n                      Algebraic algorithms for b-matching, shortest undirected paths, and f-factors\n                      , in Proceedings of the 2013 IEEE 54th Annual Symposium on Foundations of Computer Science (FOCS), 2013, pp. 137-146.","DOI":"10.1109\/FOCS.2013.23"},{"key":"atypb36","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2004.05.006"},{"key":"atypb37","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-007-9063-0"},{"key":"atypb38","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(93)90001-D"},{"key":"atypb39","first-page":"131","author":"Han Y.","year":"2012","journal-title":"Heidelberg"},{"key":"atypb40","doi-asserted-by":"publisher","DOI":"10.1145\/321992.321993"},{"key":"atypb41","unstructured":"L. R. Kerr,\n                      The Effect of Algebraic Structure on the Computation Complexity of Matrix Multiplications\n                      , Ph.D. thesis, Cornell University, Ithaca, NY, 1970."},{"key":"atypb42","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(80)90002-1"},{"key":"atypb43","doi-asserted-by":"crossref","unstructured":"R. Motwani and P. Raghavan,\n                      Randomized Algorithms\n                      , Cambridge University Press, 1995.","DOI":"10.1017\/CBO9780511814075"},{"key":"atypb44","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(71)90006-8"},{"key":"atypb45","doi-asserted-by":"publisher","DOI":"10.1016\/0898-1221(81)90130-9"},{"key":"atypb46","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(03)00402-X"},{"key":"atypb47","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539702419650"},{"key":"atypb48","doi-asserted-by":"crossref","unstructured":"M. P\u01cetra\u015fcu,\n                      Towards polynomial lower bounds for dynamic problems\n                      , in Proceedings of the 42nd ACM Symposium on Theory of Computing (STOC), 2010, pp. 603-610.","DOI":"10.1145\/1806689.1806772"},{"key":"atypb49","first-page":"598","volume":"41","author":"Razborov A. A.","year":"1987","journal-title":"Mat. Zametki"},{"key":"atypb50","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(80)90128-3"},{"key":"atypb51","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1995.1078"},{"key":"atypb52","doi-asserted-by":"publisher","DOI":"10.1016\/S0925-7721(02)00156-6"},{"key":"atypb53","doi-asserted-by":"crossref","unstructured":"R. Smolensky,\n                      Algebraic methods in the theory of lower bounds for Boolean circuit complexity\n                      , in Proceedings of the Nineteenth Annual ACM Symposium on Theory of Computing (STOC), 1987, pp. 77-82.","DOI":"10.1145\/28395.28404"},{"key":"atypb54","doi-asserted-by":"publisher","DOI":"10.1007\/BF02165411"},{"key":"atypb55","doi-asserted-by":"publisher","DOI":"10.1137\/0213027"},{"key":"atypb56","first-page":"605","author":"Shoshan A.","year":"1999","journal-title":"IEEE"},{"key":"atypb57","first-page":"278","author":"Takaoka T.","year":"2004","journal-title":"Heidelberg"},{"key":"atypb58","doi-asserted-by":"publisher","DOI":"10.1016\/j.ipl.2005.08.008"},{"key":"atypb59","doi-asserted-by":"publisher","DOI":"10.1016\/0020-0190(92)90200-F"},{"key":"atypb60","doi-asserted-by":"publisher","DOI":"10.1007\/PL00009198"},{"key":"atypb61","first-page":"645","author":"Vassilevska Williams V.","year":"2010","journal-title":"Proceedings of the IEEE 51st Annual Symposium on Foundations of Computer Science (FOCS)"},{"key":"atypb62","doi-asserted-by":"publisher","DOI":"10.1137\/09076619X"},{"key":"atypb63","doi-asserted-by":"publisher","DOI":"10.1145\/321105.321107"},{"key":"atypb64","first-page":"47","author":"Williams R. R.","year":"2014","journal-title":"Germany"},{"key":"atypb65","doi-asserted-by":"crossref","unstructured":"R. Williams,\n                      New algorithms and lower bounds for circuits with linear threshold gates\n                      , in Proceedings of the 2014 Annual ACM Symposium on Theory of Computing (STOC), 2014, pp. 194-202.","DOI":"10.1145\/2591796.2591858"},{"key":"atypb66","doi-asserted-by":"publisher","DOI":"10.1145\/2559903"},{"key":"atypb67","first-page":"619","author":"A.","year":"1990","journal-title":"Proceedings of the IEEE 31st Annual Symposium on Foundations of Computer Science (FOCS)"},{"key":"atypb68","first-page":"1094","author":"Yu H.","year":"2015","journal-title":"Heidelberg"},{"key":"atypb69","doi-asserted-by":"publisher","DOI":"10.1145\/567112.567114"},{"key":"atypb70","doi-asserted-by":"crossref","unstructured":"U. Zwick,\n                      A slightly improved sub-cubic algorithm for the all pairs shortest paths problem with real edge lengths\n                      , in Algorithms and Computation. ISAAC 2004, Lecture Notes in Comput. Sci. 3341, Springer, Berlin, Heidelberg, 2004, pp. 921-932.","DOI":"10.1007\/978-3-540-30551-4_78"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/15M1024524","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:45:28Z","timestamp":1787337928000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/15M1024524"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,1]]},"references-count":70,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2018,1]]}},"alternative-id":["10.1137\/15M1024524"],"URL":"https:\/\/doi.org\/10.1137\/15m1024524","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,1]]}}}