Abstract
This paper introduces Deep Neural Trees (DNTs), a hybrid architecture designed to clone the functionality of complex black-box hardware systems. By integrating regression trees for hierarchical partitioning with neural networks for function approximation, and utilizing active learning, DNTs achieve high-fidelity replication with significantly improved query efficiency compared to traditional methods.
Introduction
In cybersecurity and machine learning, model stealing typically targets software-based neural networks. However, real-world "black boxes" often manifest as complex hardware systems like digital chips, analog circuits, or mechanical controllers. These systems pose three major challenges: hierarchical operation modes, extreme data scarcity in specific modes, and the need for accurate extrapolation beyond training ranges.
The authors propose the Deep Neural Tree (DNT) to address these challenges. The DNT acts as an adversary model that interacts with a victim system to clone its behavior using only input-output observations, effectively turning a black box into an interpretable "gray box."
Methodology
The DNT architecture leverages three distinct components to replicate complex system logic:
- Regression Trees: These act as the top-level logic, learning to partition the high-dimensional input space into discrete tasks or "modes." This separates the system's control logic from its mathematical functions.
- Neural Networks with NALUs: At each leaf of the tree sits a small neural network incorporating Neural Arithmetic Logic Units (NALUs). These specialized layers are designed to learn mathematical functions (like addition or multiplication) that generalize even outside the seen numerical range.
- Active Learning: Utilizing a Depth-First-Search (DFS) algorithm, the system identifies unmapped areas of the input space. It focuses its query budget on difficult tasks while early-stopping training for functions already mastered with high accuracy.
The model was evaluated using a simulated 18-pin multi-purpose digital chip featuring five distinct operation modes (e.g., Amplify, Average, and Lookup Tables). The chip's logic resulted in a highly skewed dataset where 75% of random inputs produced no output, providing a rigorous test for the DNT's sample efficiency.
Key Results and Insights
The DNT demonstrated superior efficiency and accuracy in cloning the victim hardware:
- 10x Speedup: The active learning component improved training speed by over an order of magnitude compared to standard batch training.
- Sample Efficiency: The system successfully reduced the query load by early-stopping training on approximately 40% of its internal networks once accuracy thresholds were met.
- Explainability: Because the top level is a tree, the cloned model is inherently interpretable. A human can trace the logic to understand which input pins trigger specific functional modes.
Conclusion and Future Work
While currently limited to memoryless systems, the DNT architecture represents a significant step forward in cloning complex hardware functionality. Future work aims to incorporate temporal dependencies using LSTM or convolutional layers to handle systems with internal states and explore hyperbolic neural networks for better hierarchical scaling in larger systems.
Summary updated