Roy Schwartz

Roy Schwartz

Hebrew University of Jerusalem
3 previous affiliations
68Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Roy Schwartz focuses on natural language processing, emphasizing model efficiency, the reliability of evaluation metrics, and the internal mechanics of deep learning architectures. His early work investigated dataset artifacts and the theoretical foundations of neural networks, leading to a sustained focus on Green AI and computational resource management. Recently, his research addresses the inner workings of large language models, exploring vocabulary representations and accelerated inference techniques.

Research Trajectory

His early research began in 2013 with Authorship Attribution of Micro-Messages, exploring how unique stylistic signatures can identify authors even in highly constrained, short-form texts like tweets.

By 2018, his focus expanded to the reliability and theoretical grounding of natural language models. Contributing to the research direction of Annotation Artifacts in Natural Language Benchmarks, he participated in identifying how crowd-worker protocols leave unintended statistical clues in datasets, a problem detailed in Annotation Artifacts in Natural Language Inference Data. This critical lens on evaluation extended to the development of SWAG: A Large-Scale Adversarial Dataset for Grounded Commonsense Inference, which utilized adversarial filtering to push the boundaries of machine reasoning about the physical world. Concurrently, he sought to bridge the gap between deep learning and classical NLP theory. In Bridging CNNs, RNNs, and Weighted Finite-State Machines, he introduced the SoPa model, integrating neural representation learning with weighted finite-state automata to learn soft surface patterns. This work aligns with his broader interest in the area of Discretizing Neural Activation Spaces into Finite State Automata.

Around 2020, a central theme of computational efficiency emerged, driven by the environmental and financial costs of scaling deep learning. He formalized this agenda in Green AI, advocating for efficiency as a primary evaluation metric alongside accuracy. Practical implementations of this philosophy included The Right Tool for the Job: Matching Model and Instance Complexities, which proposed an early-exit mechanism for neural network calculations on simpler instances to conserve inference budgets. His work also examined data efficiency and quality; with collaborators, he developed Dataset Cartography: Mapping and Diagnosing Datasets with Training Dynamics to better understand and filter training data based on how models learn from it over time.

Continuing the focus on efficiency, he contributed to the area of Linear Complexity Attention for Sequence Modeling and the broader direction of Speculative Decoding for Accelerated Autoregressive Inference. For instance, Random Feature Attention (2021) proposed a linear time and space approximation of the softmax function to scale transformers to longer sequences. He also critically examined the necessity of these mechanisms in How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformers (2022). This extensive body of work on resource-conscious modeling was synthesized in Efficient Methods for Natural Language Processing: A Survey.

Alongside efficiency, his research consistently interrogates model reliability and bias. In Fewer Errors, but More Stereotypes? The Effect of Model Size on Gender Bias (2022), his lab demonstrated that while larger models achieve higher overall accuracy, their remaining errors often rely more heavily on gender stereotypes. He later expanded on bias measurement in Beyond Performance: Quantifying and Mitigating Label Bias in LLMs (2024), conducting a large-scale investigation into models' undesirable preferences for specific predicted answers across hundreds of classification tasks.

In 2023, he explored multimodal robustness and adaptive inference. Breaking Common Sense: WHOOPS! A Vision-and-Language Benchmark of Synthetic and Compositional Images introduced a dataset of purposefully uncanny, commonsense-defying images to test visual reasoning. Returning to resource constraints, Finding the SWEET Spot: Analysis and Improvement of Adaptive Inference in Low Resource Settings optimized inference strategies for environments with limited computational budgets.

His most recent work delves into the internal mechanics and vocabulary representations of large language models. Attend First, Consolidate Later: On the Importance of Attention in Different LLM Layers (2024) revealed a two-phase processing strategy in LLMs, suggesting that later layers can often skip attention entirely without severe degradation. In 2025, he investigated how models bridge the gap between subword tokens and human language in From Tokens to Words: On the Inner Lexicon of LLMs, demonstrating that models internally stitch tokens into whole words in their middle layers. Building on this understanding, Vocab Diet: Reshaping the Vocabulary of LLMs with Vector Arithmetic proposed a compositional approach to vocabulary, using additive transformation vectors to reduce redundancy and expand coverage. Finally, contributing to the research direction of Speculative Decoding for Autoregressive Models, he introduced SpeLLM: Character-Level Multi-Head Decoding, which accelerates inference by replacing the standard token-level output layer with parallel character-level heads.

Current Directions

The most recent work in the evidence investigates the fundamental ways large language models process, represent, and generate text, with a continued emphasis on computational efficiency. A major current theme is the exploration of the "inner lexicon" of LLMs—understanding how models transition from processing arbitrary subword tokens to representing coherent, whole words in their intermediate layers. This theoretical understanding is being leveraged to reshape model vocabularies, using vector arithmetic to compress vocabulary size and improve out-of-vocabulary coverage without altering core weights.

Additionally, ongoing research addresses the bottlenecks of autoregressive generation. By developing novel decoding architectures, such as parallel character-level output heads, current efforts aim to significantly accelerate inference times while maintaining performance across reasoning and summarization tasks. Together, these directions seek to make state-of-the-art language models faster, more compact, and more aligned with human linguistic structures.

Profile updated

See something wrong? Report a mistake