paper-with-me

Papers

Binary Hypothesis Testing for Softmax Models and Leverage Score Models

2024-05-09 · Yeqi Gao, Yuzhou Gu, Zhao Song

Softmax distributions are widely used in machine learning, including Large Language Models (LLMs) where the attention unit uses softmax distributions. We abstract the attention unit as the softmax model, where given a vector input, the model produces an output drawn from the softmax distribution (which depends on the vector input). We consider the fundamental problem of binary hypothesis testing in the setting of softmax models. That is, given an unknown softmax model, which is known to be one of the two given softmax models, how many queries are needed to determine which one is the truth? We show that the sample complexity is asymptotically $O(\epsilon^{-2})$ where $\epsilon$ is a certain distance between the parameters of the models. Furthermore, we draw analogy between the softmax model and the leverage score model, an important tool for algorithm design in linear algebra and graph theory. The leverage score model, on a high level, is a model which, given vector input, produces an output drawn from a distribution dependent on the input. We obtain similar results for the binary hypothesis testing problem for leverage score models.

📄 PDF Abstract BibTeX arXiv:2405.06003

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

The Sample Complexity of Distributed Simple Binary Hypothesis Testing under Information Constraints

2025-06-16 · Hadi Kazemi, Ankit Pensia, Varun Jog

This paper resolves two open problems from a recent paper, arXiv:2403.16981, concerning the sample complexity of distributed simple binary hypothesis testing under information constraints. The first open problem asks whe…

Communication-constrained hypothesis testing: Optimality, robustness, and reverse data processing inequalities

2022-06-06 · Ankit Pensia, Varun Jog, Po-Ling Loh

We study hypothesis testing under communication constraints, where each sample is quantized before being revealed to a statistician. Without communication constraints, it is well known that the sample complexity of simpl…

Selective Probabilistic Classifier Based on Hypothesis Testing

2021-05-09 · Saeed Bakhshi Germi, Esa Rahtu, Heikki Huttunen

In this paper, we propose a simple yet effective method to deal with the violation of the Closed-World Assumption for a classifier. Previous works tend to apply a threshold either on the classification scores or the loss…

The Sample Complexity of Simple Binary Hypothesis Testing

2024-03-25 · Ankit Pensia, Varun Jog, Po-Ling Loh

The sample complexity of simple binary hypothesis testing is the smallest number of i.i.d.\ samples required to distinguish between two distributions $p$ and $q$ in either: (i) the prior-free setting, with type-I error a…

Large Deviation Analysis of Score-based Hypothesis Testing

2024-01-27 · Enmao Diao, Taposh Banerjee, Vahid Tarokh

Score-based statistical models play an important role in modern machine learning, statistics, and signal processing. For hypothesis testing, a score-based hypothesis test is proposed in \cite{wu2022score}. We analyze the…