SearcharxivSearch

arXiv subjects

Breck Baldwin

Publications and source records attributed to Breck Baldwin.

2 recordsLinked to original sources

Non-Determinism of "Deterministic" LLM Settings

LLM (large language model) practitioners commonly notice that outputs can vary for the same inputs under settings expected to be deterministic. Yet the questions of how pervasive this is, and with what impact on results, have not to our knowledge been systematically investigated. We investigate non-determinism in five LLMs configured to be deterministic when applied to eight common tasks in across 10 runs, in both zero-shot and few-shot settings. We see accuracy variations up to 15% across naturally occurring runs with a gap of best possible performance to worst possible performance up to 70%. In fact, none of the LLMs consistently delivers repeatable accuracy across all tasks, much less identical output strings. Sharing preliminary results with insiders has revealed that non-determinism perhaps essential to the efficient use of compute resources via co-mingled data in input buffers so this issue is not going away anytime soon. To better quantify our observations, we introduce metrics focused on quantifying determinism, TARr@N for the total agreement rate at N runs over raw output, and TARa@N for total agreement rate of parsed-out answers. Our code and data are publicly available at https://github.com/breckbaldwin/llm-stability.

cs.CL

Simulation-Driven COVID-19 Epidemiological Modeling with Social Media

Modern Bayesian approaches and workflows emphasize in how simulation is important in the context of model developing. Simulation can help researchers understand how the model behaves in a controlled setting and can be used to stress the model in different ways before it is exposed to any real data. This improved understanding could be beneficial in epidemiological models, specially when dealing with COVID-19. Unfortunately, few researchers perform any simulations. We present a simulation algorithm that implements a simple agent-based model for disease transmission that works with a standard compartment epidemiological model for COVID-19. Our algorithm can be applied in different parameterizations to reflect several plausible epidemic scenarios. Additionally, we also model how social media information in the form of daily symptom mentions can be incorporate into COVID-19 epidemiological models. We test our social media COVID-19 model with two experiments. The first using simulated data from our agent-based simulation algorithm and the second with real data using a machine learning tweet classifier to identify tweets that mention symptoms from noise. Our results shows how a COVID-19 model can be (1) used to incorporate social media data and (2) assessed and evaluated with simulated and real data.

stat.AP