arXiv AI By Song Xu

Idempotency Is Not Recovery: A Fault-Injection Study of Language-Model Agent Tool Actions

Read the original on arXiv AI →

The study investigates how language‑model agents handle interrupted tool calls, showing that assuming success can hide failures while retrying can cause duplicate actions. Using a controlled runtime with authorization, a ledger, and reconciliation, the authors injected ten fault classes and ran 7,513 trials on Windows and Linux. The full configuration prevented all repeated effects and orphaned actions, whereas simpler baselines produced many duplicates and failures, highlighting the trade‑offs between duplicate suppression and recovery.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Aug 26

Feedback That Backfires: Why Small Language Model Agents Repeat the Call They Just Watched Fail

The study investigates why small language model agents tend to repeat a tool call that just failed. By recording the failed call and its error message in the transcript, the authors measure a negative corrective gain—agents are more likely to repeat the failed action, with a drop of about 1.03 nats per token. The problem is traced to the harness design rather than the model’s understanding of errors, and the authors show that replacing the verbatim call with a runtime-generated description of the failure can reduce this backfiring effect by 76%.

By Esmail Gumaan