Functional Matching of Logic Subgraphs: Beyond Structural Isomorphism
Ziyang Zheng, Kezhi Li, Zhengyuan Shi, Qiang Xu
摘要
Subgraph matching in logic circuits is foundational for numerous Electronic Design Automation (EDA) applications, including datapath optimization, arithmetic verification, and hardware trojan detection. However, existing techniques rely primarily on structural graph isomorphism and thus fail to identify function-related subgraphs when synthesis transformations substantially alter circuit topology. To overcome this critical limitation, we introduce the concept of functional subgraph matching, a novel approach that identifies whether a given logic function is implicitly present within a larger circuit, irrespective of structural variations induced by synthesis or technology mapping. Specifically, we propose a two-stage multi-modal framework: (1) learning robust functional embeddings across AIG and post-mapping netlists for functional subgraph detection, and (2) identifying fuzzy boundaries using a graph segmentation approach. Evaluations on standard benchmarks (ITC99, OpenABCD, ForgeEDA) demonstrate significant performance improvements over existing structural methods, with average accuracy in functional subgraph detection and a dice score of in fuzzy boundary identification. The source code and implementation details can be found at https://github.com/zyzheng17/Functional_Subgraph_Matching-Neurips25.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Less is More: Hop-Wise Graph Attention for Scalable and Generalizable Learning on Circuits 引用了 Functionality matters in netlist representation learning
- Less is More: Hop-Wise Graph Attention for Scalable and Generalizable Learning on Circuits 引用了 Gamora: Graph Learning based Symbolic Reasoning for Large-Scale Boolean Networks
- DeepGate4: Efficient and Effective Representation Learning for Circuit Design at Scale 引用了 Less is More: Hop-Wise Graph Attention for Scalable and Generalizable Learning on Circuits
- DeepGate4: Efficient and Effective Representation Learning for Circuit Design at Scale 引用了 Gamora: Graph Learning based Symbolic Reasoning for Large-Scale Boolean Networks
它引用的 Paper4
- Functionality matters in netlist representation learningZiyi Wang, Chen Bai, Zhuolun He, Guangliang Zhang 等DAC 2022 · 45 次引用
- Gamora: Graph Learning based Symbolic Reasoning for Large-Scale Boolean NetworksNan Wu, Yingjie Li, Cong Hao, Steve Dai 等DAC 2023 · 35 次引用
- Less is More: Hop-Wise Graph Attention for Scalable and Generalizable Learning on CircuitsChenhui Deng, Zichao Yue, Cunxi Yu, Gokce Sarar 等DAC 2024 · 22 次引用
- DeepGate4: Efficient and Effective Representation Learning for Circuit Design at ScaleZiyang Zheng, Shan Huang, Jianyuan Zhong, Zhengyuan Shi 等ICLR 2025
相关 Paper
- H3Match: A Hybrid Heterogeneous Hypergraph Matching Method for Subcircuit IdentificationBohao Li, Qingsong Peng, Changhong Wang, Tianming Ni 等DAC 2025 · 1 次引用
- OptMatch: An Efficient and Generic Neural Network-Assisted Subgraph Matching ApproachWenzhe Hou, Xiang Zhao, Bo TangICDE 2025 · 1 次引用
- Universal Symmetry Constraint Extraction for Analog and Mixed-Signal Circuits with Graph Neural NetworksHao Chen, Keren Zhu, Mingjie Liu, Xiyuan Tang 等DAC 2021 · 36 次引用
- GNN4IP: Graph Neural Network for Hardware Intellectual Property Piracy DetectionRozhin Yasaei, Shih-Yuan Yu, Emad Kasaeyan Naeini, Mohammad Abdullah Al FaruqueDAC 2021 · 43 次引用
- Circuit Representation Learning with Masked Gate Modeling and Verilog-AIG AlignmentHaoyuan Wu, Haisheng Zheng, Yuan Pu, Bei YuICLR 2025
