Skip to main content
QUICK REVIEW

[Paper Review] Identifying Weights and Architectures of Unknown ReLU Networks

David Rolnick, Konrad P. Körding|arXiv (Cornell University)|Sep 25, 2019
Adversarial Robustness in Machine LearningComputer Science13 references5 citations
TL;DR

This paper demonstrates that the architecture, weights, and biases of deep ReLU networks can be reconstructed from query outputs alone, leveraging the piecewise linear structure of ReLU activations and the geometric bending of decision boundaries across layers. The key contribution is a method to identify network components up to isomorphism, revealing that significant parts of deep networks are identifiable from input-output behavior.

ABSTRACT

The output of a neural network depends on its parameters in a highly nonlinear way, and it is widely assumed that a network's parameters cannot be identified from its outputs. Here, we show that in many cases it is possible to reconstruct the architecture, weights, and biases of a deep ReLU network given the ability to query the network. ReLU networks are piecewise linear and the boundaries between pieces correspond to inputs for which one of the ReLUs switches between inactive and active states. Thus, first-layer ReLUs can be identified (up to sign and scaling) based on the orientation of their associated hyperplanes. Later-layer ReLU boundaries bend when they cross earlier-layer boundaries and the extent of bending reveals the weights between them. Our algorithm uses this to identify the units in the network and weights connecting them (up to isomorphism). The fact that considerable parts of deep networks can be identified from their outputs has implications for security, neuroscience, and our understanding of neural networks.

Motivation & Objective

  • To investigate whether the internal structure of deep ReLU networks can be recovered from their input-output behavior.
  • To address the long-standing assumption that network parameters are unidentifiable from outputs due to nonlinear dependencies.
  • To develop a method that reconstructs network architecture and weights using only query access to the network.
  • To explore the implications of this identifiability for security, interpretability, and neuroscience.

Proposed method

  • Exploits the piecewise linear nature of ReLU networks, where each ReLU unit defines a hyperplane that partitions the input space.
  • Identifies first-layer ReLU units by analyzing the orientation of hyperplanes formed by input-output transitions at ReLU boundaries.
  • Uses the bending of later-layer decision boundaries when crossing earlier-layer boundaries to infer the weights connecting those layers.
  • Applies geometric and linear algebra techniques to reconstruct the network structure up to isomorphism, including weights and biases.
  • Employs query-based sampling to collect input-output pairs and detect boundary transitions that reveal ReLU activation states.
  • Combines boundary detection with hierarchical inference to iteratively identify units and connections across layers.

Experimental results

Research questions

  • RQ1Can the architecture and weights of a deep ReLU network be reconstructed from its input-output responses alone?
  • RQ2To what extent can the internal structure of a ReLU network be identified without access to its parameters or gradients?
  • RQ3How do the geometric properties of decision boundaries reveal information about the network's depth and weight matrices?
  • RQ4What role does the bending of higher-layer boundaries play in inferring lower-layer weights?
  • RQ5Is the reconstruction process unique up to isomorphism, and what symmetries exist in the identified structure?

Key findings

  • The internal architecture of deep ReLU networks, including the connectivity and weights between layers, can be reconstructed from query responses alone.
  • First-layer ReLU units are identifiable up to sign and scaling based on the orientation of their decision hyperplanes.
  • The bending of later-layer decision boundaries at earlier-layer boundaries encodes information about the weights connecting those layers.
  • The method reconstructs the network structure up to isomorphism, meaning the identified architecture is functionally equivalent to the original.
  • The reconstruction process reveals that a significant portion of deep network structure is identifiable from behavior, challenging assumptions of parameter irreversibility.
  • The findings suggest that deep networks are more interpretable and reverse-engineerable than previously believed, with implications for model security and interpretability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.