{ "id": "2408.16929", "version": "v1", "published": "2024-08-29T22:08:07.000Z", "updated": "2024-08-29T22:08:07.000Z", "title": "AI-driven Reverse Engineering of QML Models", "authors": [ "Archisman Ghosh", "Swaroop Ghosh" ], "comment": "7 pages, 4 figures", "categories": [ "quant-ph", "cs.ET", "cs.LG" ], "abstract": "Quantum machine learning (QML) is a rapidly emerging area of research, driven by the capabilities of Noisy Intermediate-Scale Quantum (NISQ) devices. With the progress in the research of QML models, there is a rise in third-party quantum cloud services to cater to the increasing demand for resources. New security concerns surface, specifically regarding the protection of intellectual property (IP) from untrustworthy service providers. One of the most pressing risks is the potential for reverse engineering (RE) by malicious actors who may steal proprietary quantum IPs such as trained parameters and QML architecture, modify them to remove additional watermarks or signatures and re-transpile them for other quantum hardware. Prior work presents a brute force approach to RE the QML parameters which takes exponential time overhead. In this paper, we introduce an autoencoder-based approach to extract the parameters from transpiled QML models deployed on untrusted third-party vendors. We experiment on multi-qubit classifiers and note that they can be reverse-engineered under restricted conditions with a mean error of order 10^-1. The amount of time taken to prepare the dataset and train the model to reverse engineer the QML circuit being of the order 10^3 seconds (which is 10^2x better than the previously reported value for 4-layered 4-qubit classifiers) makes the threat of RE highly potent, underscoring the need for continued development of effective defenses.", "revisions": [ { "version": "v1", "updated": "2024-08-29T22:08:07.000Z" } ], "analyses": { "keywords": [ "qml models", "ai-driven reverse engineering", "steal proprietary quantum ips", "third-party quantum cloud services", "remove additional watermarks" ], "note": { "typesetting": "TeX", "pages": 7, "language": "en", "license": "arXiv", "status": "editable" } } }