Black-box model classification under the discriminative factorization
Hayden Helm, Merrick Ohata, Carey Priebe
NeurIPS 2026
TL;DR. We propose and study the discriminative factorization -- a decomposition of the query / model-pair contribution to the quality of low-dimensional representations of models -- for black-box model classification.
Abstract. Access to modern generative systems is often restricted to querying an API (the ``black-box" setting) and many properties of the system are unknown to the user at inference time. While recent work has shown that low-dimensional representations of models based on the relationship between their embedded responses to a set of queries are useful for inferring model-level properties, the quality of these representations is highly sensitive to the query set. We introduce the discriminative factorization to distinguish between high- and low-quality query sets in the context of black-box model-level classification. Under this framework, the probability of chance-level classification decays exponentially in the query budget. On three auditing tasks, estimated factorization parameters predict the empirical performance decay rate. We conclude by showing that query sets selected using the estimated discriminative field reproduce the empirical ordering of oracle query sets.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary
- Introduces discriminative factorization framework:
- formally decomposes query-model interaction into independent (signal) directions
- provides bounds for classification risk for a given query budget, including the minimum number of queries needed to perform better-than-random
- connect their analysis to the "discriminative rank," which is related to the SVD of a query-model matrix
- Measures dissimilarity between models for a query set using a negative-type metric on the output distributions of the two models and
- leads to a pairwise distance matrix for a collection of models
- Comprehensive experiments on a synthetic and three real-world tasks, all using: temperature-zero generation, energy distance, and random forest classification
- Recommendation: This is a borderline submission with the reviewers initially leaning towards rejection. After resolving questions during the rebuttal period, all reviewers have updated their score to 4 (weak accept). I recommend this paper be accepted.
Strengths
- "Models are defined by their response distribution (not necessarily their model weights or architecture), which is a nice way to view black-box interactions" -- Reviewer Vhi3
- "The discriminative factorization method is straightforward to implement and validate. (Although the code is not yet available, it should not be hard to write, thanks to the authors' writing clarity.)" -- Reviewer KojF
- "The main query-budget bound is intuitive and interpretable." -- Reviewer ye1m
Weaknesses
- "The paper lacks a study on the choice of , i.e., the measure between response distributions. This is a missing piece" -- Reviewer Vhi3
- "When the embeddings of the LLM outputs from the query sets were used to compute the distance matrix for MDS, the paper did not discuss why the text embedding model 'nomic-embed-text-v1.5' was chosen." -- Reviewer KojF
- "The SVD-based estimation story appears overstated for rank greater than one ..." -- Reviewer ye1m
Questions
- "How do we compute since we only have an empirical estimates of ?" -- Reviewer Vhi3
- "The authors should explain why other temperature values were not explored" -- Reviewer KojF
- "How robust are the results to different embeddings and classifiers?" -- Reviewer ye1m
Final justification
Scores before rebuttal: [3, 4, 3] After rebuttal: [4, 4, 4]
The rebuttal period was successful and led to meaningful conversation + outcome.
I read the paper, and while it's not as mathematically crisp as it should be, the core idea is interesting and relevant in an LLM world.
Read meta-review
Meta-review
Summary
- Introduces discriminative factorization framework:
- formally decomposes query-model interaction into independent (signal) directions
- provides bounds for classification risk for a given query budget, including the minimum number of queries needed to perform better-than-random
- connect their analysis to the "discriminative rank," which is related to the SVD of a query-model matrix
- Measures dissimilarity between models for a query set using a negative-type metric on the output distributions of the two models and
- leads to a pairwise distance matrix for a collection of models
- Comprehensive experiments on a synthetic and three real-world tasks, all using: temperature-zero generation, energy distance, and random forest classification
- Recommendation: This is a borderline submission with the reviewers initially leaning towards rejection. After resolving questions during the rebuttal period, all reviewers have updated their score to 4 (weak accept). I recommend this paper be accepted.
Strengths
- "Models are defined by their response distribution (not necessarily their model weights or architecture), which is a nice way to view black-box interactions" -- Reviewer Vhi3
- "The discriminative factorization method is straightforward to implement and validate. (Although the code is not yet available, it should not be hard to write, thanks to the authors' writing clarity.)" -- Reviewer KojF
- "The main query-budget bound is intuitive and interpretable." -- Reviewer ye1m
Weaknesses
- "The paper lacks a study on the choice of , i.e., the measure between response distributions. This is a missing piece" -- Reviewer Vhi3
- "When the embeddings of the LLM outputs from the query sets were used to compute the distance matrix for MDS, the paper did not discuss why the text embedding model 'nomic-embed-text-v1.5' was chosen." -- Reviewer KojF
- "The SVD-based estimation story appears overstated for rank greater than one ..." -- Reviewer ye1m
Questions
- "How do we compute since we only have an empirical estimates of ?" -- Reviewer Vhi3
- "The authors should explain why other temperature values were not explored" -- Reviewer KojF
- "How robust are the results to different embeddings and classifiers?" -- Reviewer ye1m
Final justification
Scores before rebuttal: [3, 4, 3] After rebuttal: [4, 4, 4]
The rebuttal period was successful and led to meaningful conversation + outcome.
I read the paper, and while it's not as mathematically crisp as it should be, the core idea is interesting and relevant in an LLM world.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work studies black-box classification of generative models using only API queries. It builds on prior work that embeds models into Euclidean space by comparing their responses to shared query sets, and argues that query-set quality is central: some queries expose class-relevant differences between models, while others are mostly orthogonal. The proposed discriminative factorization decomposes query-model distances into query-dependent weights and model-pair-dependent sensitivities, yielding bounds in which the probability of failing to beat chance decay.
Strengths and weaknesses
Below I am going to outline the strengths and weaknesses of the proposed work,
Strengths
- The paper addresses a timely and practically important black-box auditing problem. Many modern generative systems expose only API-level access, so inferring model properties from shared queries is a highly relevant setting for auditing, compliance, and model comparison. The paper’s three real-data tasks -- e.g. fine-tuning-data detection, system-prompt auditing, and RAG compliance are well chosen because they correspond to realistic ways in which deployed systems can differ while remaining opaque to the user
- The discriminative factorization gives a clean theoretical language for query quality. The decomposition into query-dependent weights and model-pair sensitivities formalizes the intuitive distinction between signal and orthogonal queries. This is useful because previous black-box model-representation work often treats query sets as interchangeable, whereas this paper explicitly connects query coverage to classification risk.
- The main query-budget bound is intuitive and interpretable. Theorems 1 and 2 show that failure probability is controlled by a term of the form plus a learning term , making the dependence on query budget explicit. The resulting corollary gives a simple formula for the number of queries needed once , , and the learning term are known
Weaknesses
- The SVD-based estimation story appears overstated for rank greater than one. The paper states that the SVD of the query-model matrix recovers the relevant structure and that left singular-vector loadings are proportional to , but SVD generally recovers only a subspace, not the original nonnegative factorization or its coordinate-wise zero sets. This is mostly harmless in the reported real tasks because all three recover , but it is a serious concern for the claimed multi-directional framework and for query selection when .
- The better-than-chance theorem seems to require stronger label-preservation assumptions. Assumption 2 only requires that some models are distinguishable from at least one cross-class model under the factorization, but this does not by itself imply that the embedded class-conditional distributions differ enough for better-than-chance classification. The proof appears to assert that distinguishability from at least one cross-class model makes the restricted Bayes risk below 0.5, which is not generally valid without additional assumptions connecting the representation geometry to the labels.
- The zero-set model is mathematically clean but practically brittle. The main rate is governed by the probability of drawing exactly zero-signal queries, but the paper’s own experiments show that most queries have nonzero estimated loadings and that even "orthogonal" queries often enable better-than-chance classification. A more realistic theory based on signal magnitude or accumulated signal, rather than exact zero sets, would better explain practical query quality.
- The query-selection method is not clearly discriminative with respect to labels. The query-model matrix is built from pairwise model distances, but the estimation procedure as described does not use class labels; therefore, it may recover dominant nuisance variation rather than class-relevant variation. This concern is especially important in realistic auditing settings where models vary along many axes unrelated to the target property.
Questions
My questions for the authors are as follows,
- What exact additional assumptions are needed for Theorem 1? Assumption 2 requires some cross-class distinguishability, but it is not obvious that this alone guarantees better-than-chance classification in the induced representation. Can the authors strengthen the condition or provide a counterexample analysis showing why the current assumption is sufficient?
- How should the SVD estimator be interpreted when ? Since SVD recovers a subspace rather than a uniquely aligned factorization, how are the individual zero sets identified up to rotations or sign changes? This is important because the multi-directional query-budget bound depends on direction-wise zero-set probabilities.
- How does the method avoid selecting nuisance variation? The query-model matrix is built from pairwise model distances, but the estimation procedure does not appear to use class labels directly. In realistic audits, dominant model variation may be unrelated to the target property, so it would be helpful to clarify when unsupervised spectral structure aligns with the discriminative label direction.
- Can the framework be extended beyond binary balanced tasks? The authors state that multi-class classification with non-uniform priors is possible, but the current theory and experiments are binary. A theorem or at least an empirical multi-class audit would help establish the generality of the framework.
- How robust are the results to different embeddings and classifiers? All experiments use sentence embeddings, energy distance, classical MDS, and random forest classification. It would be useful to know whether the same query-quality ordering holds with other embedding models, distance metrics, classifier families, MDS dimensions, and response-generation temperatures.
Limitations
I feel there are rather large limitations of the method which are not overly discussed. For example,
- The zero-set theory is idealized. The main rate depends on the probability that a sampled query has exactly zero signal along a discriminative direction, but the authors themselves note that most real queries have nonzero estimated loadings. A more realistic theory would use accumulated signal strength rather than exact zero/nonzero membership, which the paper leaves to future work.
- The SVD-based estimation claim may be too strong, especially for rank . The paper says the SVD of the query-model matrix recovers the relevant structure and that left singular-vector loadings are proportional to query weights.
- The treatment of discriminative directions is too simple. The bound treats directions as independent and equally necessary, but real tasks may have correlated or unequal directions. This issue appears in the RAG experiment: the task is designed with finance and HR domains, yet the estimated rank is , suggesting that semantically distinct domains can collapse into one discriminative direction.
- The learning term is opaque. The theorems separate query coverage from a learning term , but the latter is left abstract and depends heavily on the representation-space classifier and class-conditional geometry.
Final justification
The authors provided a lengthy response in the rebuttal, even a bit after the deadline. Having read the response, the authors addressed several of my queries and I will therefore raise my score from 3 to 4.
Formatting concerns
No concerns.
4 comments
Rebuttal of Authors (1 of 2)
NB: We missed the original rebuttal deadline (which allowed 10k characters) and so have split our rebuttal into two Official Comments (which allow 5k each). Apologies for the email spam.
Thank you for taking the time to meaningfully engage with our paper. We appreciate you noting that the problem that we address is timely and that our contribution (the discriminative factorization) provides a good theoretical language for query selection and query-complexity bounds. We also appreciate a generally positive review (3s across the board!). We address your weaknesses, questions, and limitations below:
The better-than-chance theorem seems to require stronger label-preservation assumptions... What exact additional assumptions are needed for Theorem 1?
You are correct -- the better-than-chance theorem requires a stronger label-preservation assumption. In particular, it requires that the class-conditional distributions of the embedded models differ: under the embedding function . Given this assumption, the proof of Theorem 1 is relatively unchanged from the current version: for balanced classes, is equivalent to (via ), which directly restores the step in App. A.2 that asserted the restricted Bayes risk is below . The rest of the argument goes through as written.
The SVD-based estimation story appears overstated for rank greater than one... How should the SVD estimator be interpreted when r>1?
The SVD recovers the column space. So for the individual directions (and hence their zero sets) are identifiable only up to an orthogonal rotation. Importantly, the quantities the estimation and inference pipelines use are rotation-invariant: the estimated rank (spectral-gap criterion), the estimated subspace itself (consistent by Wedin's theorem [39]), and the per-query signal scores given by the row norms of the query loadings across the top- directions. Similarly, the proofs of Theorems 1 & 2 are organized around the accumulated-load event (App. A.1) and never use the identity of individual directions. Query selection and the resulting prediction therefore do not require resolving the rotation.
When the individual directions are themselves of interest, they can be recovered under additional structure on the loadings -- for example, sparsity-seeking rotations of the top- singular vectors identify the basis when each query loads on few directions. In our experiments , where the direction is identified up to sign. We will make the distinction between rotation-invariant outputs and direction-level interpretation more explicit in Section 3.2.
The zero-set model is mathematically clean but practically brittle...
Yes, the zero-set model is practically brittle -- as noted in the limitations and seen when looking at the query loadings for each of the tasks. If appropriate, we can add the corresponding theoretical results under a less brittle framing:
Define the -load set and . The proof of Theorem 2 (App. A.1) runs through the accumulated-load event ; the relaxation replaces with . Two changes: (a) -- the same geometric decay; (b) queries in still contribute at most accumulated signal, degrading the bound by an additive term.
The submitted statements under the zero-set model are recovered verbatim at , so no result is weakened and no empirical section changes. Importantly, as you pointed out, the estimators already live in the -world -- so the predictions that match observed error decay in the paper are already -versions.
The query-selection method is not clearly discriminative with respect to labels... How does the method avoid selecting nuisance variation?
Great question. This is partly due to the idealized zero-set formulation and partly due to error when labeling queries. With that said, we do want to note that the unsupervised spectral step recovers signal sets that agree with ground "truth" significantly above chance across 5 dissimilarities and 4 embedders (tables in our responses to Reviewers Vhi3 and KojF).
Rebuttal by Authors (2 of 2)
Can the framework be extended beyond binary balanced tasks?
As noted in the limitations, it is possible to extend the framework -- or at least the concept of "orthogonality" -- to other tasks, including regression, multi-class classification, and unbalanced classification. For multi-class classification, the most direct route is a one-vs-rest reduction: apply the binary bound to each class-vs-rest problem and union-bound, replacing with in the coverage term. Unbalanced classes leave the coverage term unchanged and enter through the class priors in the learning term (with measured against the majority-class baseline rather than ). For regression, the analogue of a direction's zero set is the set of queries whose response variation carries no information about the continuous target, with accumulated signal playing the role of class separation. A full treatment of these settings is future work.
How robust are the results?
We ran three new robustness studies to assess result sensitivity. For distance metrics (five ) see the table in our response to Reviewer Vhi3. For embedding models (four embedders) see the table in our response to Reviewer KojF. For classifier families, we repeated the classification experiment with four classifiers on identical per-trial embeddings (50 reps). Cell format: mean accuracy at .
| Classifier | LoRA | Sys.Prompt | RAG |
|---|---|---|---|
| Rand. Forest | .70/.80/.88 | .61/.75/.96 | .83/.99/1.0 |
| 1-NN | .77/.76/.90 | .63/.69/.85 | .86/.99/1.0 |
| Linear SVM | .67/.83/.89 | .63/.81/1.0 | .81/.99/1.0 |
| RBF SVM | .70/.83/.91 | .65/.76/.92 | .84/1.0/1.0 |
All four classifiers exhibit the same monotone accuracy-vs- growth on every task, with curves within a few points of each other at matched .
On MDS dimension: the theory requires only for zero stress (App. A.1), and the two settings used across tasks ( and ) behave identically.
On temperature: see our response to Reviewer KojF's temperature question -- the estimation procedure is technically unchanged but sampling noise could meaningfully affect estimation quality by entering the finite-sample perturbation term. This is a relatively expensive experiment to run since you need a lot of replicates per query per model.
The treatment of discriminative directions is too simple...
The collapse occurs because both domains share a dominant "restricted-access" direction on which finance and HR signal queries both load (-- across the four embedders we studied), with the finance-vs-HR contrast appearing in the next direction (--). The spectral-gap criterion therefore selects . The collapse is benign for the query-budget prediction: the from matches the observed error decay, since queries from both domains load on the shared direction.
The finer two-domain structure remains present in the top-2 directions and is recoverable under additional structure on the loadings, per our response to your SVD question above. For example, on the dominant (shared) direction the finance and HR loading distributions are statistically indistinguishable: two-sample Kolmogorov--Smirnov statistic of -- with -- across the four embedders. On direction 2 they differ with TV at least -- (KS statistic; in every case) -- so a single threshold on the direction-2 loading separates the two domains with accuracy --, without labels.
The learning term is opaque...
The learning term is opaque by design. We tried to keep the statement as general as possible and, given classical "No Free Lunch" theorems in statistical pattern recognition, it is not possible to provide rates in general.
With that said, we can better characterize the rate if we are willing to make assumptions on the form of the class-conditional distributions. For example, if both are -dimensional Gaussians and with a shared covariance then the Bayes rule is linear with , where is the Mahalanobis separation, and the plug-in LDA/nearest-mean classifier satisfies with constants depending on (classical plug-in discriminant expansions). Other sub-Gaussian relaxations give high-probability versions. We will add this to the discussion as an example of characterizing the rate in .
Thank you again for taking the time to review our paper -- please let us know if you have any remaining questions for us!
Read your rebuttal
Thanks for providing a detailed rebuttal. I have raised my score from 3 to 4.
Thank you for responding to our rebuttal. Please let us know if there are any other remaining questions / issues that we can clarify.
Otherwise, thank you again for your time and for helping us improve our paper!
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a distance matrix factorization method using multidimensional scaling with the goal of detecting specific properties of a black-box generative large language model, for example, whether certain domain knowledge was used for pre-training or post-training of the model. The paper first constructs three different query sets with varying levels of the topic-of-interest data, and then obtains the deterministic output of the queries in each set from the large language model using greedy decoding (zero temperature). After converting the output from the black-box LLM into embeddings and computing the average pairwise model-to-model distance, multidimensional scaling is used to validate whether the query sets' outputs can distinguish if an LLM has used the same topic data during training. Theoretical formulation and proof are used to show a risk-bound analysis and demonstrate the method's effectiveness. The paper conducts extensive experiments using both synthetic and real datasets. Three different data detection tasks are performed: on LoRA fine-tuning, system prompts, and RAG. The results show that the factorization method exhibits consistent discriminative power in text data detection tasks.
Strengths and weaknesses
Strengths
-
The paper is well-written, easy to read, and understand, except for the section on the theoretical formulation of discriminative factorization.
-
The experimental setups contain enough detail for others to reproduce the results.
-
The experiments were conducted with multiple repetitions, and various experimental results were reported and explained.
-
The discriminative factorization method is straightforward to implement and validate. (Although the code is not yet available, it should not be hard to write, thanks to the authors' writing clarity.)
Weaknesses
-
Discriminative matrix factorization has been studied since long before the emergence of generative models and continues to be studied today. The term itself may be overloaded. The paper should cite existing literature and briefly explain exactly what it means within the scope of the work.
-
The mathematical inequality proofs are rich in detail, but they are not very well-articulated or connected. For example, these parts rely on assumptions regarding the given query set and model, such as Assumption 1 and Assumption 2 in Section 3.1, “Theoretical Results.” Assumption 2 states: “the set of models distinguishable from at least one cross-class model under the discriminative factorization has positive measure”. This is a strong assumption to make, and it should be re-examined in the experimental results section.
-
In Section 4.2.2, when a binary classification task is performed to show the ordering of estimated Signal (positives in typical ML terms), Uniform (a mixture of positives and negatives), and Orthogonal (negatives in typical ML terms), classification error alone is not enough to show the complete picture. The authors should also plot their ROC or Precision-Recall curves.
Questions
-
The title uses the term “generative model,” which is very broad and is currently used loosely to refer to large language models (LLMs). I assume the paper intends to refer to generative large language models (LLMs). However, the authors did not mention LLMs or explicitly state whether the method applies only to text generative models (as opposed to image, video, or multimodal generative models). I hope the authors can clarify the research objectives more clearly.
-
Please provide a more detailed explanation of why “ is of negative type” (Page 2, Line 78) and why “ is of negative type” when there is a square root (which is non-negative).
-
The raw text embedding model used to convert the black-box LLM outputs into embeddings should be mentioned earlier in the paper. Currently, the raw text embedding model, “nomic-embed-text-v1.5,” is only mentioned in Appendix Section B.1.4.
-
In Figure 2, subfigure (d) shows that the yellow line (n=50) has a lower failure probability than the green line (n=100) when the number of labeled models is small. Please clarify if this is not due to a data logging error.
-
The hyperparameters and configurations used in MDS and the random forest classifier should be briefly mentioned.
-
At the beginning of Section 4, the paper mentions that “temperature-zero generation” (deterministic greedy softmax decoding) is used in all experiments. However, not all black-box model APIs expose temperature settings. If “temperature-zero generation” is not a common practice in the SOTA literature, the authors should explain why other temperature values were not explored, or demonstrate that the method is insensitive to the choice of temperature (in the reviewer's opinion, this is hard to predict without experiments, and the authors should at least evaluate temperature 1.0 since it is the default setting in most scenarios).
Limitations
-
When the embeddings of the LLM outputs from the query sets were used to compute the distance matrix for MDS, the paper did not discuss why the text embedding model “nomic-embed-text-v1.5” was chosen. Is it a well-recognized standard to use this model, or do state-of-the-art (SOTA) papers use it? The authors did not rule out the possibility that the text embedding model “nomic-embed-text-v1.5” already contains “Politics & Government” and “Finance & HR” or similar data. If the text embedding model is biased, the resulting text embeddings of the constructed query sets used in the experiments will also be biased. Therefore, the paper should employ at least one additional generic text embedding model to validate the invariance of the method.
-
The paper could better demonstrate the usefulness of the discriminative classifier by using the estimated hyperparameters of the factorization model. These hyperparameters can be learned from an open-source LLM and applied to another open-source LLM to check the transferability and robustness of the method. Furthermore, it can be used to check if a closed-source model contains proprietary data in its training data.
-
Given that the paper already uses open-source LLMs (Qwen2.5-1.5B-Instruct and ministral-8b) for its study and experimentation, this means the internal states, including the intermediate layers and final logits of vocabulary tokens, are readily available. They can be extracted to better check certain assumptions and provide the method with stronger empirical support (without the interference of the raw text embedding model "nomic-embed-text-v1.5"). Some of the findings should then be transferred to black-box models as well.
Formatting concerns
N/A
2 comments
Rebuttal of Authors (1 of 2)
NB: We missed the original rebuttal deadline (which allowed 10k characters) and so have split our rebuttal into two Official Comments (which allow 5k each). Apologies for the email spam.
Thank you for taking the time to provide a detailed review of our paper. We appreciate you noting that the paper is clearly written and easy to follow. We address your weaknesses, questions, and limitations below:
Discriminative matrix factorization has been studied ... the paper should cite existing literature and briefly explain exactly what it means within the scope of the work.
We will add an additional related work paragraph that both defines the term within our scope (Definition 1: a query-indexed low-rank factorization of a family of response dissimilarities) and contextualizes the factorization in the broader lineage of decompositions: classical function-space expansions (Fourier and Taylor expansions, Mercer/eigenfunction expansions of kernels) and matrix and tensor factorizations (PCA/SVD, nonnegative matrix factorization, and three-way MDS such as INDSCAL, which decomposes stacks of dissimilarity matrices indexed by subjects).
We do note that the factorization in the context of generic black box functions with random outputs appears to be novel -- though we would defer to you if you think that claim is too strong.
Assumption 2 states: "the set of models distinguishable from at least one cross-class model under the discriminative factorization has positive measure". This is a strong assumption to make, and it should be re-examined in the experimental results section.
While we agree that the assumption sounds strong, in practice most off-the-shelf embedding functions for well-studied modalities will preserve enough information about the response for this to be true. We examine this indirectly in the experimental section by showing that better-than-chance classification is possible across all three real data settings. We will add a note in the experiment section noting this indirect examination.
...classification error alone is not enough to show the complete picture. The authors should also plot their ROC or Precision-Recall curves.
In our case we study classification under balanced classes -- so accuracy is an appropriate summary. We are happy to add ROC / PR curves to the appendix if you would find them useful.
The title uses the term "generative model," which is very broad... I hope the authors can clarify the research objectives more clearly.
The framework we present is general to any collection of black box functions where there exists an appropriate distance on their output spaces. We apply the factorization / its potential utility using LLMs because of their current relevance -- but the theoretical results and the methods will apply the same to image, video, audio, multi-modal, etc. models. We will emphasize this generality better.
Please provide a more detailed explanation of why "[d_P] is of negative type" (Page 2, Line 78) and why "[d_Q] is of negative type" when there is a square root (which is non-negative).
is a squared Euclidean distance between embedded responses, hence of negative type. Nonnegative combinations of negative-type dissimilarities are of negative type, so is of negative type. By Schoenberg's theorem, this is exactly the condition under which the square root embeds isometrically into Hilbert space -- which is what classical MDS needs to achieve zero stress at finite dimension (App. A.1).
The raw text embedding model... should be mentioned earlier in the paper.
Agreed -- we will introduce it at the start of Section 4 rather than in App. B.1.4.
In Figure 2, subfigure (d) ...
Thank you for catching this. The submitted panel (d) conditioned on a single model-panel draw per . We have rerun the experiment resampling the panel on every repetition (5000 reps), after which failure probability is strictly decreasing in for all . We will replace Figure 2(d) in the revision.
The hyperparameters ...
These are in App. B.1.5/B.2.5/B.3.6 (classical MDS with or ; random forest with scikit-learn defaults; 200–500 stratified train/test repetitions), though we plan to surface them in the main text in Section 4.
...the authors should explain why other temperature values were not explored...
Temperature 0 was chosen to isolate the factorization structure from decoding stochasticity, matching the deterministic setting of the theory (which is built on the true response distributions). The theoretical framework already includes non-deterministic decoders.
Empirically and computationally, when temperature $ >0 $, must be estimated from repeated draws per query, and the sampling introduces finite-sample noise. We will make this explicit in Section 3.2 of the revision.
Rebuttal of Authors (2 of 2)
When the embeddings of the LLM outputs...
We chose nomic-embed-text-v1.5 because it is a highly performant open-source embedding model (millions of downloads per month), favoring reproducibility over closed API embedders. We will state this in Section 4.
To verify the choice is not load-bearing, we re-ran the full estimation pipeline on all three real tasks with three additional embedding models spanning different families, sizes, and training corpora: all-MiniLM-L6-v2 (384d, 22M params), bge-large-en-v1.5 (1024d, 335M params), and OpenAI text-embedding-3-small (closed API).
Cell format: / / balanced accuracy / ARI vs. ground truth.
| Embedder | LoRA | Sys.Prompt | RAG |
|---|---|---|---|
| nomic-embed-text-v1.5 | 1/.48/.71/.17 | 1/.41/.71/.17 | 1/.69/.70/.15 |
| all-MiniLM-L6-v2 | 1/.53/.69/.14 | 1/.56/.46/.00 | 1/.73/.64/.07 |
| bge-large-en-v1.5 | 1/.58/.66/.09 | 1/.34/.65/.08 | 1/.67/.69/.14 |
| text-embedding-3-small | 1/.48/.72/.18 | 1/.50/.58/.02 | 1/.67/.66/.09 |
The estimated discriminative rank is identical across embedders for every task ( throughout, as in the submission), varies within a modest band per task (LoRA .48–.58, Sys.Prompt .34–.56, RAG .67–.73), and the estimated partition agrees with ground truth significantly above chance in 10/12 cells (ARI permutation test, permutations). The two exceptions are both on Sys.Prompt (all-MiniLM , text-embedding-3-small ) -- consistent with that task's weak per-query signal (Section 4.2.2). We plan to add a figure and discussion describing these results to the main text.
These hyperparameters can be learned from an open-source LLM and applied to another open-source LLM to check the transferability...
One of the benefits of operating in the black-box setting is that both open-source and closed models can be included in a collection of models. As such, you do not need to "transfer" the learned hyperparameters to a new setting -- you can just include the model of interest directly in your analysis. This type of model-level prediction is what motivated this paper -- and is discussed in more general in [16].
...the internal states, including the intermediate layers and final logits... can be extracted to better check certain assumptions...
Agreed -- when white-box access is available there are additional analyses that can be done to validate the black-box findings. In our case, the "signal" we are trying to predict is already known by construction, so we do not need to investigate the weights, residual streams, etc. We plan to add a comment on the potential advantages of a white-box approach -- when available -- in the discussion / limitations.
Thank you, again, for taking the time to review and engage with our paper -- please let us know if you have any additional questions / comments!
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Models can be represented in Euclidean space based on embeddings of their {query, response} pairs. As such, the authors introduce the discriminative factorization framework to quantify how aligned queries are to the inference tasks a model was trained/fine-tuned for. The contributions include:
- The discriminative factorization framework itself, i.e., decomposing query-model interactions into independent directions
- Analysis and interpretation of the SVD of the query-model matrix
- Query construction via spectral inverse
The work includes some theoretical guarantees. The authors then empirically apply their framework to four concrete tasks:
- a synthetic problem,
- detecting sensitive fine-tuning data,
- identifying persuasion bias via system prompts,
- finding RAG systems with access to restricted documents.
The authors conclude with a discussion on limitations of their work and future directions.
Strengths and weaknesses
Strengths
- Models are defined by their response distribution (not necessarily their model weights or architecture), which is a nice way to view black-box interactions
- The authors provide explicit examples early on (Sections 2.1 and 2.2) to make the problem concrete for readers
- Synthetic experiments start by using zero-temperature generation (simpler case) to remove stochasticity
- Ratio of singular values for the estimate are compelling
Weaknesses
- The discriminative factorization is an interpretation of the SVD for a distance matrix based indexed by query-model pairs. This is useful but not novel.
- The paper lacks a study on the choice of , i.e., the measure between response distributions. This is a missing piece
Questions
Questions
- [line 075] How do you choose the embedding function ? For example, is trivial and useless (but valid)?
- [line 077] How do we compute since we only have an empirical estimate of ?
- [line 133] How do we know a factorization of rank exists? How do we compute it?
- It would be useful to estimate and its spectral decomposition where . How much variance in the output can this framework handle before it loses confidence that the responses are generated from the same model? An experiment or theory to back this up would be helpful.
Typos/suggestions
- [line 068] Nit: Sets and used before being defined.
- [line 134] Suggestion: use for matrices and for vectors
- [line 187] Suggestion: More of the paper could focus on this subsection since we have to rely on estimates for black-box models. This is where the rubber hits the road.
Limitations
yes
Final justification
I'm increasing my rating from 3 --> 4 after the rebuttal phase. The authors addressed my primary concerns well, including:
- studying concrete similarity functions
- explaining the choice of embedding function used in the paper (near-SOTA, popular on HuggingFace)
- a useful discussion about how much variance in response output their approach can handle via Wedin's theorem
Formatting concerns
None
4 comments
Rebuttal of Authors (1 of 2)
NB: We missed the original rebuttal deadline (which allowed 10k characters) and so have split our rebuttal into two Official Comments (which allow 5k each). Apologies for the email spam.
Thank you for your time and thoughtful review. We appreciate you highlighting the response distribution view of black-box models, the concrete early examples, and the compelling singular-value ratios as strengths. We address your weaknesses and questions below:
The discriminative factorization is an interpretation of the SVD for a distance matrix based indexed by query-model pairs. This is useful but not novel.
We agree that the discriminative factorization can be interpreted as the SVD of a (model pair, query) response matrix, though we are not aware of any existing work that contributes a similar decomposition in this setting. With that said, we will better position our contribution in the context of other uses for this type of factorization in other settings (see our response to Reviewer KojF).
The paper lacks a study on the choice of the measure between response distributions. This is a missing piece
We agree this was missing. We re-ran the full estimation pipeline on all three real tasks with five response-space dissimilarities. Writing and for the embedded responses of two models to query :
- Energy distance (used in the paper): the squared energy distance between the response distributions and , which at temperature 0 (point-mass response distributions) is equivalent to the squared Euclidean distance
- Euclidean:
- Cosine:
- L1:
- RBF-MMD: , i.e. the squared MMD between the two point-mass response distributions under an RBF kernel, with set by the median heuristic over pairwise squared distances.
All other experimental settings are as in the paper. Cell format: estimated rank / / balanced accuracy / ARI of the estimated signal/orthogonal partition vs. ground truth.
| LoRA | Sys.Prompt | RAG | |
|---|---|---|---|
| Sq. Euclidean | 1/.48/.71/.17 | 1/.41/.71/.17 | 1/.69/.70/.15 |
| Euclidean | 1/.36/.75/.25 | 1/.17/.67/.11 | 1/.49/.68/.12 |
| Cosine | 1/.48/.71/.17 | 1/.41/.71/.17 | 1/.69/.70/.15 |
| L1 | 1/.36/.75/.24 | 1/.17/.67/.11 | 1/.49/.67/.11 |
| RBF-MMD | 1/.39/.76/.26 | 1/.28/.76/.26 | 1/.37/.62/.05 |
The estimated discriminative rank is identical across all five choices of dissimilarity for every task. Balanced accuracy varies by at most 0.09 and every estimated partition agrees with ground truth significantly above chance (ARI permutation test, permutations: all ). This study will be added to the appendix.
Rebuttal of Authors (2 of 2)
[line 075] How do you choose the embedding function [g]? For example, is [a constant g] trivial and useless (but valid)?
We chose the embedding function used in the paper because it is a near-SOTA embedding function that is open source (it has ~1m monthly downloads on HuggingFace). With that said, we have also added a sensitivity analysis for the embedding function in our response to Reviewer KojF. Importantly, our conclusions are robust to embedding function.
Theoretically, your degenerate example is exactly a case our Assumption 2 excludes.
[line 077] How do we compute [d_P] since we only have an empirical estimate of [P_f(q)]?
At temperature 0 (all experiments), is a point mass and is computed exactly from the single observed response — no estimation error at this step. For temperature , (energy distance) admits an unbiased U-statistic estimator from repeated draws, and the estimation noise whose variance decays with the number of draws per query enters the pipeline.
[line 133] How do we know a factorization of rank [r] exists? How do we compute it?
As mentioned in the paper, a rank factorization always exists. As for other known existences, when = squared Euclidean at temperature 0 the factorization exists by construction: is a sum of nonnegative rank-one terms, so a nonnegative factorization with always exists.
For other distances we do not guarantee that a rank factorization exists -- though our study above demonstrates empirical robustness to the choice of / potential model misspecification in practice.
It would be useful to estimate [E] and its spectral decomposition... How much variance in the output can this framework handle before it loses confidence that the responses are generated from the same model?
This is a good question with a quantitative answer. Section 3.2 already invokes Wedin's theorem [39] for subspace consistency. We can also use it to make an explicit finite-sample statement. Writing (noise from the finite model panel and, at temperature , response sampling), Wedin's theorem gives .
The estimated subspace and the GMM-based are stable exactly while the noise stays below the discriminative spectral gap, and the framework "loses confidence" when approaches .
[line 187] Suggestion: More of the paper could focus on this subsection since we have to rely on estimates for black-box models. This is where the rubber hits the road.
We agree and will expand Section 3.2 in the revision with comments on (i) the effect of non-deterministic decoding and (ii) an explicit recovery procedure.
Thank you again for taking the time to review our paper -- please let us know if you have any remaining questions for us!
Thank you for the thorough response. I appreciated the clarification and increased my score from 3 --> 4.
Thank you for responding to our rebuttal. Please let us know if there are any other remaining questions / issues that we can clarify.
Otherwise, thank you again for your time!
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal summary
Thank you for taking the time to summarize the initial reviews. As the Author-Reviewer discussion period wraps up, we wanted to take the time to provide an overview of our rebuttal. We first point to where we address the weaknesses and questions you surfaced:
In our response to Reviewer Vhi3 we provided a table of results for 5 additional choices of $ d_{Q} $. The empirical results are stable across this choice. We will add this result to the appendix.
In our response to KojF we provided a table of results for 3 additional modern embedding functions. The empirical results are stable across this choice. We plan to add this sensitivity analysis to the main text.
In our response to ye1m we provided details on how to interpret and deploy the SVD-based estimation for rank greater than one. We plan to include these details in the main text.
In our response to Vhi3 we clarified how we compute $ d_{Q}(f,f') $ in our experiments and how to compute it in settings where non-deterministic decoding is used.
In our response to KojF we explained why other temperature values are not explored. This is namely due to cost considerations when estimating a distance defined on distributions with realizations in a very large space. Vhi3 asked a related question -- "How much variance in the output can this framework handle before it loses confidence that the responses are generated from the same model?" -- that we answered analytically. We plan to include a discussion on the effect of noise introduced by non-deterministic decoding in Section 3.2.
In our response to ye1m we included a table of results for 3 additional classifiers. In our response to KojF we included a table of results for 3 additional modern embedding functions. Our empirical results are stable across all choices. We will include these results in either the main text or appendix.
We now want to highlight some other points the reviewers brought up that we thought were important to address:
While a general learning rate is not possible, we do think it is important to give the readers an explicit example when the learning rate can be described. In our response to ye1m we provide the learning rate when the class-conditional distributions are both Gaussians.
We acknowledge that the zero-set model presented in the paper is brittle. Indeed, our estimation procedure ignores this assumption. In our response to ye1m we provided the $ \epsilon $ framing that is both more realistic and practical. If appropriate we plan to replace the existing framework with the $ \epsilon $ framing. The bulk of the theoretical and empirical results are not meaningfully effected.
Thanks, again, to the reviewers for providing detailed feedback on our paper. We believe we have adequately addressed their weaknesses / questions and that this work is a meaningful theoretical & empirical contribution to black-box model / function analysis.