EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

PRLBridge: A Legality-Aware Interface between Compilers and LLMs for Secure DNN Obfuscation

Yang Li, Minghui Li, Liming Fang

ACM Transactions on Software Engineering and Methodology · 30.11.2026 · 35 (11) · 1-54

DOI: 10.1145/3817605 ↗

Kurz gefasst

Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 03.11.2026. Verfasst von Yang Li und 2 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 35 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: National Natural Science Foundation of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Deep learning compilers such as TVM generate highly optimized binaries, but these transformations also expose structural cues exploitable by reverse-engineering attacks. Existing defenses are difficult to control and offer limited support for balancing security and performance. Motivated by the symbolic reasoning ability of Large Language Models (LLMs), we ask whether LLMs can assist compiler-level obfuscation. However, because schedule obfuscation and kernel-family classification involve intertwined compiler semantics, legality constraints, and experience transfer across kernels, directly exposing raw programs to LLMs often leads to unreliable reasoning, legality violations, and poor generalization across kernels. We therefore design a language-model-friendly Program Representation Language (PRL) that links compiler-side information with LLMs and recasts kernel classification and obfuscation-experience inheritance as a constrained generation task. Our framework, PRLBridge, introduces two abstractions: a kernel-family intermediate that canonically captures legality and structural information, and PRL, a compact grammar-constrained language through which LLMs express candidate transformations. The compiler incrementally verifies generated outputs and deterministically replays legal sentences into schedules. Experiments across four models and ten LLMs show that PRL-based generation consistently improves defense effectiveness, maintains over 97% legality and 100% reproducibility, and substantially reduces compilation cost through verified and reusable schedules.

Förderung

  • National Natural Science Foundation of China

Zitieren

APA

Li, Y., Li, M., & Fang, L. (2026). PRLBridge: A Legality-Aware Interface between Compilers and LLMs for Secure DNN Obfuscation. ACM Transactions on Software Engineering and Methodology, 35(11), 1-54. https://doi.org/10.1145/3817605

Vancouver

Li Y, Li M, Fang L. PRLBridge: A Legality-Aware Interface between Compilers and LLMs for Secure DNN Obfuscation. ACM Transactions on Software Engineering and Methodology. 2026;35(11):1-54. doi:10.1145/3817605

BibTeX
@article{Li2026,
  author = {Li, Yang and Li, Minghui and Fang, Liming},
  title = {PRLBridge: A Legality-Aware Interface between Compilers and LLMs for Secure DNN Obfuscation},
  journal = {ACM Transactions on Software Engineering and Methodology},
  year = {2026},
  volume = {35},
  number = {11},
  pages = {1--54},
  doi = {10.1145/3817605}
}
Kostenlos starten →