arXiv:2609.35487cs.CRSep 2026

Manuscript Offprint

arXiv:2609.35487

Beyond Scalar Probes: Exploiting Vector-Valued Outputs in ReLU Networks For Signature Extraction

Gorka Abad, Claude Carlet, Ermes Franch, Stjepan Picek, Vincent Rijmen

Gorka Abad 1^{1}, Claude Carlet 1,4^{1,4}, Ermes Franch 1^{1}, Stjepan Picek 1,2,3^{1,2,3}, and Vincent Rijmen 1,5^{1,5}

1^{1} University of Bergen, Bergen, Norway

{ermes.franch,gorka.abad}@uib.no

2^{2} University of Zagreb, Zagreb, Croatia

3^{3} Radboud University, Nijmegen, The Netherlands

stjepan.picek@ru.nl

4^{4} Université Paris 8, Saint-Denis, France

Claude.Carlet@univ-paris8.fr

5^{5} KU Leuven, Leuven, Belgium

vincent.rijmen@esat.kuleuven.be

Abstract. We revisit cryptanalytic extraction of ReLU networks from a geometric and algebraic perspective. Rather than restricting attention to a single output component, we study the full vector-valued behavior across adjacent linear regions. This leads to a rank-one characterization of Jacobian differences that recovers the usual row-signature information while also revealing complementary column-side information. Our experiments show how this additional structure can be used in extraction and improves numerical estimation under different numerical-precision regimes (float64, float32 and float16). We extend the analysis beyond the high-precision and output-rounding settings commonly considered in the literature towards the low-precision settings encountered in many practical settings. Code is available online 6^{6}.

Keywords: cryptanalytic model extraction; ReLU networks; Jacobian discontinuities; parameter identifiability; row signatures; column signatures

1 Introduction

Machine learning (ML) and, in particular, deep learning (DL) can represent valuable intellectual property. Their development may require considerable computational resources, large and carefully collected datasets, and substantial engineering effort. This makes the confidentiality of their trained parameters an important aspect of machine-learning security. Model extraction attacks [14][14] are a direct threat to this confidentiality. These attacks aim to imitate as faithfully as possible a target model, exploiting black-box access to the same. In this

6^{6} https://anonymous.4open.science/r/relu-signature-leakage-BE51/README.md framework, the attacker can query the target model on chosen inputs and observe the outputs without knowing any other information about internal states or parameters.

Initial approaches aimed at task-accuracy extraction using queries to the original model to train a surrogate that will imitate the original model on a similar task or on a similar data distribution [14]. A stronger objective is fidelity extraction, where the goal is to recover a model implementing the same function as the target (i.e., for any input, the output of the stolen model will be exactly the same as the original). Cryptanalytic attacks [6] may go further and aim at parameter extraction, recovering the underlying parameters up to transformations that leave the realized function unchanged. These approaches leverage the piecewise linear structure of some neural networks [12, 9, 6].

Following previous work [6], in this work we consider the setting where the attacker can choose queries and have access to the raw, vector-valued output of the network. Previous works analyze the transition through the boundaries of linear cells to recover the weights and the biases of the model. We instead consider the complete affine maps associated with two adjacent linear cells. If two cells differ only in the activation of one neuron, their Jacobians satisfy:

Δ=J1−J2=cr⊺,\Delta=J_{1}-J_{2}=c r^{\intercal},

hence Δ\Delta has rank 1. The rows of this matrix encode the same neuron information used in [6] and follow-up works, while the columns add information lost when observing only a single output component.

Since all nonzero rows of Δ\Delta are scaled copies of the same direction, they provide redundant observations of the neuron signature. Rather than treating these observations independently, we exploit the known rank-one structure of Δ\Delta. Given the noisy observation S=Δ+ES = \Delta + E, where EE represents the error introduced by finite precision arithmetic, its dominant singular component is the best rank-one approximation of SS in Frobenius norm. We use the dominant right singular vector of SS as an estimate of the common signature direction, combining the information carried by all output components.

We also investigate two refinements intended to improve numerical precision, at the cost of additional queries. The first maximizes the interval used to estimate the Jacobian in each direction, similarly to [13], while the second adjusts an initial estimate of the neuron weights by probing along approximate tangent directions in adjacent linear cells. These refinements can improve estimation when the cell-membership test is reliable, but may degrade accuracy at lower precision when the test accepts intervals crossing cell boundaries.

A side advantage of using the full raw output vector instead of a single component is that, when neuron transitions occur in the last hidden layer, the matrix Δ\Delta exposes column signatures of the final weight matrix, giving a leakage channel complementary to the usual forward extraction of row signatures. These leaks do not directly strengthen end-to-end extraction attacks. Its value is mainly structural, clarifying what information the full vector response contains that scalar-output methods discard. Our contributions can be summarized as:

  1. We show that a simple transition, in which exactly one ReLU neuron changes activation, induces a rank-one Jacobian difference Δ=cr⊤\Delta = cr^\top (Eq. (11)). Its right factor recovers the row-side information exploited by previous extraction attacks, while its left factor exposes complementary column-side information. We characterize when these column signatures correspond to W(ℓ)\mathbf{W}^{(\ell)} and discuss the limitations of recovering biases and signs from the column side alone.

  2. We use the rank-one redundancy of Δ\Delta to construct an SVD-based row-signature estimator that combines all output components. Since each oracle query already returns the complete raw-output vector, this additional information can be exploited without increasing the number of oracle queries.

  3. We evaluate the resulting estimator against a Carlini-style single-output baseline under float64, float32, and float16 arithmetic. Our experiments show improved parameter recovery under finite precision, particularly in the float32 regime, and identify the cell-membership test as the main limitation of the adaptive refinements.

References (24)