NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

John Xavier Morris

Cornell University · Cornell Tech
3 previous affiliations
15Machine learning papers tracked by Lacuna
Is this you?

Research Overview

John Xavier Morris focuses on natural language processing, adversarial robustness, and the privacy implications of language models and text embeddings. His early research established foundational frameworks for evaluating and generating textual adversarial attacks. More recently, his work investigates embedding inversion, prompt extraction, and the fundamental memorization capacity of large language models.

Research Trajectory

The early trajectory of his research centered on the vulnerabilities of natural language processing systems to adversarial inputs. In 2020, he developed TextAttack: A Framework for Adversarial Attacks, Data Augmentation, and Adversarial Training in NLP, a comprehensive software package that became a standard tool in the area of The Fragility of Language Models to Adversarial Perturbations. This framework also contributed significantly to the broader direction of Functional Decomposition of Natural Language Adversarial Attacks by standardizing how attacks are constructed and evaluated. Collaborating on related evaluations, he participated in Reevaluating Adversarial Examples in Natural Language, which demonstrated that enforcing strict linguistic constraints—such as those studied in the research direction of Semantic Constraints for Natural Language Perturbations—drastically reduces the success rate of state-of-the-art attacks, as many previously successful perturbations relied on generating ungrammatical text. He further formalized this space by introducing Searching for a Search Method: Benchmarking Search Algorithms for Generating NLP Adversarial Examples, providing a rigorous benchmark that revealed simpler search algorithms often outperform more complex methods when constraints are held constant.

Moving into the era of large language models, his focus expanded to interpretability and the privacy of latent representations. In 2023, he introduced iPrompt in Explaining Data Patterns in Natural Language with Language Models. This method inverted the standard generation process by using language models to analyze data examples and produce human-readable natural language explanations of the underlying patterns, advancing the research direction of Interpretable Discrete Prompt Optimization. Simultaneously, he began investigating the privacy leaks inherent in dense text representations. In Text Embeddings Reveal (Almost) As Much As Text, he framed embedding inversion as a controlled generation problem, demonstrating that a multi-step iterative method could exactly recover a vast majority of text inputs directly from their embeddings.

This inversion research naturally extended to the probability distributions and outputs of the language models themselves. In 2024, he introduced vec2text in Language Model Inversion, showing that next-token probability distributions can be inverted to reconstruct hidden system prompts and user inputs with high accuracy. He subsequently developed output2prompt in Extracting Prompts by Inverting LLM Outputs, a black-box method that reverse-engineers hidden prompts using only standard text outputs. Because it requires no access to internal logits, this work highlighted new vulnerabilities in deployed systems and advanced the broader area of Adversarial Robustness and Knowledge Erasure in Aligned Language Models.

His work on embedding privacy culminated in 2025 with Universal Zero-shot Embedding Inversion, which introduced ZSinvert. This method reconstructs original text from vector representations without requiring a custom model for every specific encoder, proving that text embeddings are highly vulnerable to inversion attacks even when protected by noise. With collaborators, he further explored the structural properties of these latent spaces in Harnessing the Universal Geometry of Embeddings.

Alongside privacy and inversion, he made substantial contributions to the architecture and training of embedding models. He designed Nomic Embed: Training a Reproducible Long Context Text Embedder, which addressed challenges in long-context processing and contributed to the direction of Hard Negative Mining for Dense Text Retrieval. He also introduced Contextual Document Embeddings, challenging the standard paradigm of encoding documents in isolation by incorporating the broader corpus context into neural text retrieval.

Shifting toward data attribution and model training dynamics, he developed SELECT in Approximating Language Model Training Data from Weights. This gradient-based method identifies useful training data from a large corpus using only public model weights, bridging data privacy and open-weight model security. Most recently, he published How much can language models memorize? in 2026, providing a theoretical and empirical quantification of the storage limit of GPT-style transformers. By using information theory to disentangle rote memorization from general pattern learning, this research demonstrated that models store approximately 3.6 bits of information per parameter, offering new insights into the fundamental limits of privacy attacks and model generalization.

Current Directions

The most recent work in the evidence addresses the fundamental theoretical limits of large language models, particularly concerning their capacity for memorization and the privacy of their training data. Current research investigates how to quantify the exact information storage limits of transformer architectures, using information theory to separate rote memorization from generalizable pattern learning. Additionally, ongoing efforts focus on data attribution and reconstruction, exploring gradient-based methods to approximate and recover the training data of open-weight models. Together, these directions aim to establish a more rigorous understanding of what language models learn, what they expose, and how their internal representations can be both utilized for retrieval and protected against inversion.

Profile updated

See something wrong? Report a mistake