Search arXiv⌕ Search

arXiv subjects

Evaline Ju

Publications and source records attributed to Evaline Ju.

2 recordsLinked to original sources

Measuring Session State Recovery for Crashed LLM Agents

When an LLM agent's session crashes, resuming it requires restoring part of its state, but which state, and how completely it must be preserved, has not been systematically measured. We inject crashes into agents on two tool-calling benchmarks, TauBench and AppWorld, under a self-hosted inference configuration verified to be deterministic, and resume each crashed agent with and without a conversation snapshot. Crashes occur at LLM call boundaries, and tool results that reach the platform are persisted and delivered on resume. Under these conditions, restoring a conversation snapshot that includes tool results recovers losslessly at every crash depth, reproducing each uninterrupted run's outcome, token count, and sequence of LLM calls. Without it, recovery passes 78% of TauBench and 95% of AppWorld runs and costs 22--25% more tokens when it succeeds, with the cost growing the later in the task the crash occurs. Most of that cost is re-work, as the resumed agent repeats what its predecessor had already done. Its failures stem from information that existed only in the lost dialogue rather than from a world the crashed agent had modified, and resetting the world does not help. On tasks that fail even without a crash, a history-free restart sometimes succeeds, by abandoning the failing trajectory. A VM snapshot also recovers faithfully, but its correctness advantage at the crash boundary depends on when tool results are persisted rather than on the snapshot mechanism. What it preserves beyond the conversation is work never recorded in a tool result, which a conversation snapshot must usually re-execute. Whether conversation-level recovery suffices is therefore a property of the workload, in particular of whether its work state lives outside the agent.

cs.AI↗

Function Composition in Trustworthy Machine Learning: Implementation Choices, Insights, and Questions

Ensuring trustworthiness in machine learning (ML) models is a multi-dimensional task. In addition to the traditional notion of predictive performance, other notions such as privacy, fairness, robustness to distribution shift, adversarial robustness, interpretability, explainability, and uncertainty quantification are important considerations to evaluate and improve (if deficient). However, these sub-disciplines or 'pillars' of trustworthiness have largely developed independently, which has limited us from understanding their interactions in real-world ML pipelines. In this paper, focusing specifically on compositions of functions arising from the different pillars, we aim to reduce this gap, develop new insights for trustworthy ML, and answer questions such as the following. Does the composition of multiple fairness interventions result in a fairer model compared to a single intervention? How do bias mitigation algorithms for fairness affect local post-hoc explanations? Does a defense algorithm for untargeted adversarial attacks continue to be effective when composed with a privacy transformation? Toward this end, we report initial empirical results and new insights from 9 different compositions of functions (or pipelines) on 7 real-world datasets along two trustworthy dimensions - fairness and explainability. We also report progress, and implementation choices, on an extensible composer tool to encourage the combination of functionalities from multiple pillars. To-date, the tool supports bias mitigation algorithms for fairness and post-hoc explainability methods. We hope this line of work encourages the thoughtful consideration of multiple pillars when attempting to formulate and resolve a trustworthiness problem.

cs.LG↗