Photo of Lucas H. McCabe

Lucas H. McCabe

PhD Candidate, Department of Computer Science, The George Washington University

Data Science Fellow, Logistics Management Institute (LMI)

The primary thrust of my research involves statistical and algorithmic aspects of trustworthiness in machine learning systems. My current focus pertains to generative language models, including uncertainty quantification and interpretability. I am also interested in interdisciplinary applications of data and network science. Please see my research themes and works for more. I am fortunate to be advised by Professor H. Howie Huang.

Selected Publications All Works
  • 2026
    SENECA: Small-Sample Discrete Entropy Estimation via Self-Consistent Missing Mass
    L. H. McCabe, and H. H. Huang
    arXiv preprint arXiv:2605.00668
    Preprint HTML PDF
    Discrete entropy estimation is a classic information theory problem, wherein the average information content of a discrete random variable is estimated from samples alone. Naive approaches, such as the plugin method, fail to account for the probability mass associated with members of the random variable’s support that are unobserved in a given sample, known as the "missing mass." The resulting systemic underestimation is particularly problematic when data is time-consuming or costly to gather. We propose SENECA, an entropy estimation scheme based on a novel β€œself-consistent” missing mass calculation. Extensive numerical experiments indicate that our approach outperforms many state-of-the-art alternatives overall in the small-sample setting. We then apply SENECA to two practical use cases, namely biodiversity estimation and the detection of incorrect large language model responses, where our method is competitive with domain-specific approaches. Our work advances SENECA as an effective drop-in replacement for small-sample entropy estimation, with broad utility across several domains.
    Estimating Semantic Alphabet Size for LLM Uncertainty Quantification
    L. H. McCabe, R. Melamed, T. Hartvigsen, and H. H. Huang
    International Conference on Learning Representations (ICLR)
    HTML PDF Code
    Many black-box techniques for quantifying the uncertainty of large language models (LLMs) rely on repeated LLM sampling, which can be computationally expensive. Therefore, practical applicability demands reliable estimation from few samples. Semantic entropy (SE) is a popular sample-based uncertainty estimator with a discrete formulation attractive for the black-box setting. Recent extensions of SE exhibit improved LLM hallucination detection, but do so with less interpretable methods that admit additional hyperparameters. For this reason, we revisit the canonical discrete semantic entropy (DSE) estimator, finding that it underestimates the "true" semantic entropy, as expected from theory. We propose a modified semantic alphabet size estimator, and illustrate that using it to adjust DSE for sample coverage results in more accurate SE estimation in our setting of interest. Furthermore, we find that two semantic alphabet size estimators, including our proposed, flag incorrect LLM responses as well or better than many top-performing alternatives, with the added benefit of remaining highly interpretable.
  • 2025
    Demystifying optimized prompts in language models
    R. Melamed, L. H. McCabe, and H. H. Huang
    Conference on Empirical Methods in Natural Language Processing (EMNLP)
    HTML PDF Code
    Modern language models (LMs) are not robust to out-of-distribution inputs. Machine generated ("optimized") prompts can be used to modulate LM outputs and induce specific behaviors while appearing completely uninterpretable. In this work, we investigate the composition of optimized prompts, as well as the mechanisms by which LMs parse and build predictions from optimized prompts. We find that optimized prompts primarily consist of punctuation and noun tokens which are more rare in the training data. Internally, optimized prompts are clearly distinguishable from natural language counterparts based on sparse subsets of the model’s activations. Across various families of instruction-tuned models, optimized prompts follow a similar path in how their representations form through the network.
  • 2024
    Network analysis of U.S. non-fatal opioid-involved overdose journeys, 2018–2023
    L. H. McCabe, N. Masuda, S. Casillas, N. Danneman, A. Alic, and R. Law
    Applied Network Science
    HTML PDF
    We present a nation-wide network analysis of non-fatal opioid-involved overdose journeys in the United States. Leveraging a unique proprietary dataset of Emergency Medical Services incidents, we construct a journey-to-overdose geospatial network capturing nearly half a million opioid-involved overdose events spanning 2018-2023. We analyze the structure and sociological profile of the nodes, which are counties or their equivalents, characterize the distribution of overdose journey lengths, and investigate changes in the journey network between 2018 and 2023. Our findings include that authority and hub nodes identified by the HITS algorithm tend to be located in urban areas and involved in overdose journeys with particularly long geographical distances.
    Prompts have evil twins
    R. Melamed, L. H. McCabe, T. Wakhare, Y. Kim, H. H. Huang, and E. Boix-Adsera
    Conference on Empirical Methods in Natural Language Processing (EMNLP)
    HTML PDF Code
    We discover that many natural-language prompts can be replaced by corresponding prompts that are unintelligible to humans but that provably elicit similar behavior in language models. We call these prompts β€œevil twins” because they are obfuscated and uninterpretable (evil), but at the same time mimic the functionality of the original natural-language prompts (twins). Remarkably, evil twins transfer between models. We find these prompts by solving a maximum-likelihood problem which has applications of independent interest.