{
 "uuid": "af587701-4e02-4fe3-9b38-e0679dc3a104",
 "handle": "uniba/113119",
 "type": "Publication",
 "name": "Neural-guided superoptimization in ethereum",
 "url": "/entities/publication/af587701-4e02-4fe3-9b38-e0679dc3a104/",
 "lastModified": "2026-03-17T13:44:29.414+00:00",
 "metadata": {
  "cris.virtual.author-orcid": [
   {
    "value": null
   },
   {
    "value": null
   },
   {
    "value": null
   },
   {
    "value": null
   },
   {
    "value": null
   },
   {
    "value": "0000-0001-9229-1148"
   },
   {
    "value": null
   }
  ],
  "cris.virtual.mainversiondoi": [
   {
    "value": "10.1016/j.infsof.2025.107800"
   }
  ],
  "cris.virtualsource.author-orcid": [
   {
    "value": "fb9a2282-c80a-485d-a07d-91bca3b597ea"
   },
   {
    "value": "c4648d0e-3c69-4b18-9c82-f5c32369179b"
   },
   {
    "value": "e5bf3e67-9a2d-4e2a-981b-c72654cc8cd6"
   },
   {
    "value": "5697ec12-1179-486e-974a-0424c17b07d1"
   },
   {
    "value": "a1d18af0-f3b2-4d81-af87-d74afb897c58"
   },
   {
    "value": "600e3c96-e0b1-4d20-b416-a375997faa76"
   },
   {
    "value": "1ea2bc6c-0195-4ef1-8ba2-4c9befe2856a"
   }
  ],
  "cris.virtualsource.mainversiondoi": [
   {
    "value": "8c3dc7de-6914-4544-9d4e-5099eef9a4a2"
   }
  ],
  "dc.contributor.author": [
   {
    "value": "Aguiar, Matheus Araújo",
    "authority": "fb9a2282-c80a-485d-a07d-91bca3b597ea"
   },
   {
    "value": "Albert, Elvira",
    "authority": "c4648d0e-3c69-4b18-9c82-f5c32369179b"
   },
   {
    "value": "Genaim, Samir",
    "authority": "e5bf3e67-9a2d-4e2a-981b-c72654cc8cd6"
   },
   {
    "value": "Gordillo, Pablo",
    "authority": "5697ec12-1179-486e-974a-0424c17b07d1"
   },
   {
    "value": "Hernández-Cerezo, Alejandro",
    "authority": "a1d18af0-f3b2-4d81-af87-d74afb897c58"
   },
   {
    "value": "Kirchner, Daniel",
    "authority": "600e3c96-e0b1-4d20-b416-a375997faa76"
   },
   {
    "value": "Rubio, Albert",
    "authority": "1ea2bc6c-0195-4ef1-8ba2-4c9befe2856a"
   }
  ],
  "dc.date.accessioned": [
   {
    "value": "2026-03-17T13:44:28Z"
   }
  ],
  "dc.date.available": [
   {
    "value": "2026-03-17T13:44:28Z"
   }
  ],
  "dc.date.issued": [
   {
    "value": "2026"
   }
  ],
  "dc.description.abstract": [
   {
    "value": "Context: Superoptimization is a synthesis technique that, given a loop-free sequence of instructions, searches\nfor an equivalent sequence that is optimal wrt. an objective function. Superoptimization of Ethereum smart\ncontracts aims at minimizing the size of their bytecode and the gas consumption of executing the contract’s\nfunctions. The search for the optimal solution poses huge computational demands – as the search space to find\nthe optimal sequence is exponential on the given size-bound – being the main challenge for superoptimization\ntoday to scale up to real, industrial software. Even if the underlying problem for finding the optimal solution is\ndecidable, practical tools often prioritize efficiency over completeness. This means they might be implemented\nto find a sub-optimal solution or even time out.\nObjective: This work aims at leveraging superoptimization to a real setting: Ethereum blockchain. This paper\nproposes a neural-guided superoptimization (NGS) approach which incorporates deep neural networks using\n(supervised) learning into superoptimization to improve scalability by predicting: (1) if a sequence is already\noptimal and hence the search can be skipped; (2) the size-bound for the optimal solution in order to reduce\nthe search space.\nMethod: We have downloaded over 13,000 smart contracts deployed on the blockchain for training and testing\nthe machine learning models, and a disjoint set with 100 of the smart contracts with more transactions to prove\nour scalability gains and impact for the Ethereum community.\nResults: Incorporating DNNs resulted in a 16x overall speedup (12x for gas) with only 12% optimization loss\n(14% for gas), or a 3-4x speedup with no optimization loss. For the 100 analyzed contracts, this approach\nreduced the average compilation time to 3 min per contract and achieved monetary savings of $1.24M.\nConclusions: The integration of machine learning models mitigates several limitations of traditional superoptimization\nby drastically reducing execution times while maintaining most of the original optimization\ngains."
   }
  ],
  "dc.identifier.uri": [
   {
    "value": "https://fis.uni-bamberg.de/handle/uniba/113119"
   }
  ],
  "dc.identifier.urn": [
   {
    "value": "urn:nbn:de:bvb:473-irb-113119x"
   }
  ],
  "dc.language.iso": [
   {
    "value": "eng"
   }
  ],
  "dc.publisher": [
   {
    "value": "Otto-Friedrich-Universität"
   }
  ],
  "dc.publisher.place": [
   {
    "value": "Bamberg"
   }
  ],
  "dc.relation.authororgunit": [
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   },
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   },
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   },
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   },
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   },
   {
    "value": "Lehrstuhl für KI-Systementwicklung",
    "authority": "f098c435-7e9a-49f4-9faf-dd9518bd4372"
   },
   {
    "value": null,
    "authority": "#PLACEHOLDER_PARENT_METADATA_VALUE#"
   }
  ],
  "dc.subject": [
   {
    "value": "Smart contracts"
   },
   {
    "value": "Ethereum"
   },
   {
    "value": "Optimization"
   },
   {
    "value": "Machine learning"
   }
  ],
  "dc.title": [
   {
    "value": "Neural-guided superoptimization in ethereum"
   }
  ],
  "dc.type": [
   {
    "value": "article"
   }
  ],
  "dspace.entity.type": [
   {
    "value": "Publication"
   }
  ],
  "ubg.accessRights.copyright": [
   {
    "value": "true"
   }
  ],
  "ubg.accessRights.licence": [
   {
    "value": "CC BY-NC 4.0"
   }
  ],
  "ubg.date.published": [
   {
    "value": "2025"
   }
  ],
  "ubg.fulltexticon": [
   {
    "value": "true"
   }
  ],
  "ubg.generated.csl": [
   {
    "value": "<div class=\"csl-bib-body\">\n  <div class=\"csl-entry\">Aguiar, Matheus Araújo; Albert, Elvira; Genaim, Samir; u. a. (2026): Neural-guided superoptimization in ethereum, in: Bamberg: Otto-Friedrich-Universität, S. 1–15.</div>\n</div>"
   }
  ],
  "ubg.intern.org": [
   {
    "value": "Lehrstuhl für KI-Systementwicklung",
    "authority": "f098c435-7e9a-49f4-9faf-dd9518bd4372"
   }
  ],
  "ubg.intern.source": [
   {
    "value": "Information and Software Technology, Amsterdam [u.a.]: Elsevier Science, 2025, Jg. 186, Nr. October 2025, 107800, S. 1–15, ISSN: 0950-5849"
   }
  ],
  "ubg.intern.vonfeld": [
   {
    "value": "",
    "language": "de_DE"
   }
  ],
  "ubg.intern.vonfeldeditor": [
   {
    "value": "",
    "language": "de_DE"
   }
  ],
  "ubg.internatorientation": [
   {
    "value": "Ja"
   }
  ],
  "ubg.openaccess": [
   {
    "value": "Ja"
   }
  ],
  "ubg.pages.range": [
   {
    "value": "1-15"
   }
  ],
  "ubg.peerreview": [
   {
    "value": "Ja"
   }
  ],
  "ubg.submission.type": [
   {
    "value": "full-text"
   }
  ],
  "ubg.thesis.grantor": [
   {
    "value": "Uni"
   }
  ],
  "ubg.version.type": [
   {
    "value": "publishedVersion"
   }
  ],
  "ubg.version.versionof": [
   {
    "value": "uniba/110288",
    "authority": "8c3dc7de-6914-4544-9d4e-5099eef9a4a2"
   }
  ]
 },
 "relations": {},
 "files": [
  {
   "uuid": "4919d52d-268e-4447-8a36-110e6abdfbc5",
   "bundle": "ORIGINAL",
   "name": "fisba113119.pdf",
   "size": 3777645,
   "md5": "f18a5c5b64ebb403d077fce611c7edec",
   "mimetype": "application/pdf",
   "url": "/files/4919d52d-268e-4447-8a36-110e6abdfbc5/fisba113119.pdf",
   "description": null
  }
 ]
}