Binary Hypothesis Testing for Softmax Models and Leverage Score Models
Not on the map. Why?
Abstract (arXiv)
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(ε-2) where ε is a certain distance between the parameters of the models. Furthermore, we draw an 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 a 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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 104 of its 182 references that are in the map. First posted on arXiv 9 May 2024.
Builds on
104 of 182 references.
References · 104
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2017Graph Attention Networkscited by 8,854
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022Scalable Diffusion Models with Transformerscited by 5,931
38 more
- 2022Flow Matching for Generative Modelingcited by 5,426
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,550
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2018Self-Attentive Sequential Recommendationcited by 1,169
- 2024Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Predictioncited by 1,005
- 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 733
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
- 2023Fine-Tuning Language Models with Just Forward Passescited by 337
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 260
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2023Don't Make Your LLM an Evaluation Benchmark Cheatercited by 194
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2023Should ChatGPT be Biased? Challenges and Risks of Bias in Large Language Modelscited by 144
- 2020Learning Deep Kernels for Non-Parametric Two-Sample Testscited by 129
- 2022Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answeringcited by 126
- 2023A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasetscited by 123
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
- 2018Solving Linear Programs in the Current Matrix Multiplication Timecited by 100
- 2018The Measure and Mismeasure of Fairnesscited by 94
- 2023Document-Level Machine Translation with Large Language Modelscited by 90
- 2024Evaluating Retrieval Quality in Retrieval-Augmented Generationcited by 90
- 2023Exploring the Use of Large Language Models for Reference-Free Text Quality Evaluation: An Empirical Studycited by 85
- 2022Finding Skill Neurons in Pre-trained Transformer-based Language Modelscited by 65
- 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
- 2023Do LLMs Understand Social Knowledge? Evaluating the Sociability of Large Language Models with SocKET Benchmarkcited by 62
- 2023INSTRUCTEVAL: Towards Holistic Evaluation of Instruction-Tuned Large Language Modelscited by 62
- 2020An Improved Cutting Plane Method for Convex Optimization, Convex-Concave Games and its Applicationscited by 57
50 most cited of 104 All 104 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.