← Search

Edward Raff

35 accepted papers

2026

Intermediate N-Gramming: Deterministic and Fast N-Grams for Large N and Large Datasets

AAAI 2026technical

The number of n-gram features grows exponentially in n, making it computationally demanding to compute the most frequent n-grams even for n as small as 3. Motivated by our production machine learning system built on n-gram features, we ask: is it possible to accurately, deterministically, and quick

Cited by 0SourcePDFScholar
2025

Can LLMs Obfuscate Code? A Systematic Analysis of Large Language Models into Assembly Code Obfuscation

AAAI 2025technical

Malware authors often employ code obfuscations to make their malware harder to detect. Existing tools for generating obfuscated code often require access to the original source code (e.g., C++ or Java), and adding new obfuscations is a non-trivial, labor-intensive process. In this study, we ask the…

2025

Do LLMs Adhere to Label Definitions? Examining Their Receptivity to External Label Definitions

EMNLP 2025

Do LLMs genuinely incorporate external definitions, or do they primarily rely on their parametric knowledge? To address these questions, we conduct controlled experiments across multiple explanation benchmark datasets (general and domain-specific) and label definition conditions, including expert-cu

Cited by 0SourcePDFScholar
2025

Stop Walking in Circles! Bailing Out Early in Projected Gradient Descent

CVPR 2025poster

Projected Gradient Descent (PGD) under the L_infinity ball has become one of the defacto methods used in adversarial robustness evaluation for computer vision (CV) due to its reliability and efficacy, making a strong and easy-to-implement iterative baseline. However, PGD is computationally demanding…

Cited by 0SourcePDFScholar
2025

What Do Machine Learning Researchers Mean by “Reproducible”?

AAAI 2025technical

The concern that Artificial Intelligence (AI) and Machine Learning (ML) are entering a "reproducibility crisis" has spurred significant research in the past few years. Yet with each paper, it is often unclear what someone means by "reproducibility". Our work attempts to clarify the scope of "reprodu…

Cited by 0SourcePDFScholar
2024

A Walsh Hadamard Derived Linear Vector Symbolic Architecture

NeurIPS 2024poster

Vector Symbolic Architectures (VSAs) are one approach to developing Neuro-symbolic AI, where two vectors in $\mathbb{R}^d$ are 'bound' together to produce a new vector in the same space. VSAs support the commutativity and associativity of this binding operation, along with an inverse operation, allo…

2024

Assemblage: Automatic Binary Dataset Construction for Machine Learning

NeurIPS 2024poster

Binary code is pervasive, and binary analysis is a key task in reverse engineering, malware classification, and vulnerability discovery. Unfortunately, while there exist large corpuses of malicious binaries, obtaining high-quality corpuses of benign binaries for modern systems has proven challenging…

2024

Holographic Global Convolutional Networks for Long-Range Prediction Tasks in Malware Detection

AISTATS 2024poster

Malware detection is an interesting and valuable domain to work in because it has significant real-world impact and unique machine-learning challenges. We investigate existing long-range techniques and benchmarks and find that they’re not very suitable in this problem area. In this paper, we introdu…

2024

Is Function Similarity Over-Engineered? Building a Benchmark

NeurIPS 2024poster

Binary analysis is a core component of many critical security tasks, including reverse engineering, malware analysis, and vulnerability detection. Manual analysis is often time-consuming, but identifying commonly-used or previously-seen functions can reduce the time it takes to understand a new file…

2024

Stabilizing Linear Passive-Aggressive Online Learning with Weighted Reservoir Sampling

NeurIPS 2024poster

Online learning methods, like the seminal Passive-Aggressive (PA) classifier, are still highly effective for high-dimensional streaming data, out-of-core processing, and other throughput-sensitive applications. Many such algorithms rely on fast adaptation to individual errors as a key to their conve…

2023

BLOOM+1: Adding Language Support to BLOOM for Zero-Shot Prompting

ACL 2023long

The BLOOM model is a large publicly available multilingual language model, but its pretraining was limited to 46 languages. To extend the benefits of BLOOM to other languages without incurring prohibitively large costs, it is desirable to adapt BLOOM to new languages not seen during pretraining. In…

2023

Crosslingual Generalization through Multitask Finetuning

ACL 2023long

Multitask prompted finetuning (MTF) has been shown to help large language models generalize to new tasks in a zero-shot setting, but so far explorations of MTF have focused on English data and models. We apply MTF to the pretrained multilingual BLOOM and mT5 model families to produce finetuned varia…

2023

Emergent and Predictable Memorization in Large Language Models

NeurIPS 2023poster

Memorization, or the tendency of large language models (LLMs) to output entire sequences from their training data verbatim, is a key concern for deploying language models. In particular, it is vital to minimize a model's memorization of sensitive datapoints such as those containing personal identifi…

2023

LEACE: Perfect linear concept erasure in closed form

NeurIPS 2023poster

Concept erasure aims to remove specified features from a representation. It can improve fairness (e.g. preventing a classifier from using gender or race) and interpretability (e.g. removing a concept to observe changes in model behavior). We introduce LEAst-squares Concept Erasure (LEACE), a closed-…

2023

Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling

ICML 2023oral

How do large language models (LLMs) develop and evolve over the course of training? How do these patterns change as models scale? To answer these questions, we introduce *Pythia*, a suite of 16 LLMs all trained on public data seen in the exact same order and ranging in size from 70M to 12B parameter…

2023

Recasting Self-Attention with Holographic Reduced Representations

ICML 2023poster

In recent years, self-attention has become the dominant paradigm for sequence modeling in a variety of domains. However, in domains with very long sequence lengths the $\mathcal{O}(T^2)$ memory and $\mathcal{O}(T^2 H)$ compute costs can make using transformers infeasible. Motivated by problems in ma…

2023

Scaling Up Differentially Private LASSO Regularized Logistic Regression via Faster Frank-Wolfe Iterations

NeurIPS 2023poster

To the best of our knowledge, there are no methods today for training differentially private regression models on sparse input data. To remedy this, we adapt the Frank-Wolfe algorithm for $L_1$ penalized linear regression to be aware of sparse inputs and to use them effectively. In doing so, we redu…

Cited by 7SourcePDFScholar
2022

A General Framework for Auditing Differentially Private Machine Learning

NeurIPS 2022accept

We present a framework to statistically audit the privacy guarantee conferred by a differentially private machine learner in practice. While previous works have taken steps toward evaluating privacy loss through poisoning attacks or membership inference, they have been tailored to specific models or…

Cited by 41SourcePDFScholar
2022

Bridging the Gap: Using Deep Acoustic Representations to Learn Grounded Language from Percepts and Raw Speech

AAAI 2022technical

Learning to understand grounded language, which connects natural language to percepts, is a critical research area. Prior work in grounded language acquisition has focused primarily on textual inputs. In this work, we demonstrate the feasibility of performing grounded language acquisition on paired…

2022

Deploying Convolutional Networks on Untrusted Platforms Using 2D Holographic Reduced Representations

ICML 2022spotlight

Due to the computational cost of running inference for a neural network, the need to deploy the inferential steps on a third party’s compute environment or hardware is common. If the third party is not fully trusted, it is desirable to obfuscate the nature of the inputs and outputs, so that the thir…

2022

Out of Distribution Data Detection Using Dropout Bayesian Neural Networks

AAAI 2022technical

We explore the utility of information contained within a dropout based Bayesian neural network (BNN) for the task of detecting out of distribution (OOD) data. We first show how previous attempts to leverage the randomized embeddings induced by the intermediate layers of a dropout BNN can fail due to…

Cited by 35SourcePDFScholar
2022

VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidance

ECCV 2022poster

"Image generation and manipulation requires technical expertise to use, inhibiting adoption. Current methods rely heavily on training to a specific domain (e.g., only faces), manual work or algorithm tuning to latent vector discovery, and manual effort in mask selection to alter only a part of an im…

2021

A Spoken Language Dataset of Descriptions for Speech-Based Grounded Language Learning

NeurIPS 2021poster

Grounded language acquisition is a major area of research combining aspects of natural language processing, computer vision, and signal processing, compounded by domain issues requiring sample efficiency and other deployment constraints. In this work, we present a multimodal dataset of RGB+depth ob…

Cited by 24SourceScholar
2021

Bringing UMAP Closer to the Speed of Light with GPU Acceleration

AAAI 2021technical

The Uniform Manifold Approximation and Projection (UMAP) algorithm has become widely popular for its ease of use, quality of results, and support for exploratory, unsupervised, supervised, and semi-supervised learning. While many algorithms can be ported to a GPU in a simple and direct fashion, such…

2021

Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detection

AAAI 2021technical

Recent works within machine learning have been tackling inputs of ever increasing size, with cyber security presenting sequence classification problems of particularly extreme lengths. In the case of Windows executable malware detection, an input executable could be >=100 MB, which would translate t…

2021

Intelligent Sight and Sound: A Chronic Cancer Facial Pain Dataset

NeurIPS 2021poster

Cancer patients experience high rates of chronic pain throughout the treatment process. Assessing pain for this patient population is a vital component of psychological and functional well-being, as it can cause a rapid deterioration of quality of life. Existing work in facial pain detection often h…

Cited by 3SourceScholar
2021

Learning with Holographic Reduced Representations

NeurIPS 2021spotlight

Holographic Reduced Representations (HRR) are a method for performing symbolic AI on top of real-valued vectors by associating each vector with an abstract concept, and providing mathematical operations to manipulate vectors as if they were classic symbolic objects. This method has seen little use o…

2020

Robust Design of Deep Neural Networks Against Adversarial Attacks Based on Lyapunov Theory

CVPR 2020poster

Deep neural networks (DNNs) are vulnerable to subtle adversarial perturbations applied to the input. These adversarial perturbations, though imperceptible, can easily mislead the DNN. In this work, we take a control theoretic approach to the problem of robustness in DNNs. We treat each individual la…

Cited by 29PDFScholar