📥 Content Hub
← назад
patents ⚡ Google Patents en 2026-09-08 1 min

Method and system for program sampling using neural network

Патент · US B2

US-12731026-B2
приоритет 2022-06-06 подача 2022-10-28 публикация 2026-09-08 выдача 2026-09-08 семья 88976799
patents-ai
Alibaba (China) Co., Ltd.

This application describes methods, systems, and apparatus, for neural network-based program sampling (NPS). An example device may obtain an assembly code of a program and an execution trace of the program, and divide the assembly code into a plurality of execution intervals. The device may construct a plurality of code graphs respectively corresponding to the plurality of execution intervals, and for each of the plurality of code graphs: generate a plurality of graph snapshots based on the code graph and the execution trace of the program; embed, by using a Graph Neural Network, the plurality of graph snapshots into a plurality of vectors; and aggregate the plurality of vectors into an execution embedding. The device may cluster the plurality of execution embeddings into a plurality of clusters and select representative execution intervals of the program based on the plurality of clusters for execution.

Читать оригинал ↗

Сделать контент из этого материала