Search arXiv⌕ Search

arXiv subjects

Zeyneb Kaya

Publications and source records attributed to Zeyneb Kaya.

2 recordsLinked to original sources

Evaluating Open-Ended Decision-Making with LLM-as-Environment

We study how well large language models (LLMs) make long-term, open-ended decisions, from career choices to business strategy. We call these \textit{fuzzy decision problems}: sequential decisions whose outcomes depend on many aspects of the situation in complex ways that cannot be specified with hard-coded rules. Evaluating such decisions requires either having an LLM actually make real-world decisions and observing their outcomes over time, or simulating how its decisions would play out. Simulation is desirable for its low cost and latency, but existing environments for long-term decisions simulate outcomes with hard-coded rules, which limits their realism. Inspired by wargames, where human umpires judge how each decision plays out, we propose LLM umpires prompted by domain experts. This approach scales, because experts encode their knowledge once in a prompt instead of judging every decision, and it improves as LLMs do. We introduce LLM-as-Environment, a framework for building simulation environments that use LLM-predicted state changes, large and detailed state spaces, and open-ended action spaces. As a proof of concept, we use this framework to build FuzzyDecisionBench, which contains three environments: Career Planning, Startup Founding, and NFL Head Coach. We calibrate each environment on development data and validate it on held-out human and LLM ratings and historical data, providing initial evidence that LLM umpires can simulate fuzzy decisions. The strongest models close only $33.3$-$69.1\%$ of the utility gap to an approximate oracle upper bound, and models tend to converge on similar conventional strategies even when higher-scoring ones exist in the environment. More broadly, environments like these could help predict the longer-term effects of decisions and train models where real outcomes are delayed and counterfactuals are not observed.

cs.AI↗

Anchored Self-Play for Code Repair

Code repair is an important capability for language models (LMs): given a buggy program and unit tests, an LM must produce a fixed program that passes the tests. Because code repair data is limited, we aim to scale supervision by using an LM to generate bug--fix tasks. We propose __generator--fixer self-play__, in which a single model is trained with reinforcement learning to generate bugs and fix them. As the fixer improves, the generator adapts to produce more difficult bugs, yielding an automatic curriculum. To test whether this curriculum generalizes, we introduce BugSourceBench, a repair benchmark spanning realistic bug sources: bugs in human-written code, LM-generated code, and human-edited LM-generated code. On BugSourceBench, we find that self-play drifts toward difficult but unrealistic bugs, improving on synthetic bugs but degrading on human-authored ones. We propose Anchored Self-Play (ASP), which anchors self-play with a small reference set by adding a code-embedding similarity reward for generation and mixing reference bugs into fixer training. Across bug sources, ASP achieves the best fix rates, improving average fix rate over standard self-play by $+24\%$ relative / $+7.0$ pp absolute, with gains on bugs from both LMs and humans.

cs.SE↗