PreAct: Computer-Using Agents that Get Faster on Repeated Tasks

21d ago · Global · primary source: export.arxiv.org

A new system called PreAct allows computer-using agents to accelerate repeated tasks by compiling successful runs into small state-machine programs, according to a paper posted to arXiv. The approach replays those programs directly, bypassing the need for per-step language-model calls. The first time an agent succeeds at a task, PreAct compiles the run into a program of states that check the screen and transitions that act. On later runs it replays that program 8.5-13x faster, with no per-step language-model calls [1]. Replay is not blind: at each step PreAct verifies that the screen matches what the program expects before acting, and hands control back to the agent the moment something is off [1]. A freshly compiled program enters the store only if, re-run from a clean state, an independent evaluator confirms it solved the task. This store-time check catches programs that replay to their last step yet leave the task undone [1]. Across a mobile, a desktop, and a web benchmark, the check separated repeated runs that improve from ones that degrade as faulty programs accumulate, worth 1.75-2.6 tasks per benchmark, the same direction on all three [1]. A fallback that explores afresh when no program fits brings PreAct level with a strong record-and-replay baseline [1]. The paper also reports what did not matter: prompt wording, runtime guardrails, and whether a language model or a plain embedding retriever selects which program to reuse [1]. The work appears on arXiv, a preprint repository that has collaborated with Hugging Face to embed interactive machine-learning demos directly alongside papers, allowing readers to try models without writing code [8][9]. PreAct’s focus on making agents more efficient on repeated tasks intersects with broader discussions in AI alignment, a subfield of AI safety concerned with steering systems toward intended goals [3]. Alignment researchers study challenges such as instilling complex values, developing honest AI, and preventing emergent behaviors like power-seeking [3]. The ethics of artificial intelligence also covers algorithmic fairness, accountability, and transparency, particularly where systems automate human decision-making [5].

applicationresearch-paperbenchmark

Background sources we checked (10)
  • en.wikipedia.org ↗ The Federal Bureau of Investigation (FBI) is the domestic intelligence and security service of the United States and its principal federal law enforcement agency. An agency of the United States Department of Justice, the FBI is a member of the U.S. Intelligence Community and repo…
  • en.wikipedia.org ↗ In the field of artificial intelligence (AI), alignment aims to steer AI systems toward a person's or group's intended goals, preferences, or ethical principles. An AI system is considered aligned if it advances the intended objectives. A misaligned AI system pursues unintended o…
  • en.wikipedia.org ↗ Attention deficit hyperactivity disorder (ADHD) is a neurodevelopmental disorder characterised by symptoms of inattention, hyperactivity, impulsivity, and emotional dysregulation that are excessive and pervasive, impairing in multiple contexts, and developmentally inappropriate. …
  • en.wikipedia.org ↗ The ethics of artificial intelligence covers a broad range of topics within AI that are considered to have particular ethical stakes. This includes algorithmic biases, fairness, accountability, transparency, privacy, and regulation, particularly where systems influence or automat…
  • en.wikipedia.org ↗ George Lopez is an American television sitcom that ran on the American Broadcasting Company (ABC) from March 27, 2002, to May 8, 2007, broadcasting a total of 120 episodes over six seasons.…
  • en.wikipedia.org ↗ Orange Is the New Black is an American comedy-drama series created by Jenji Kohan that airs on Netflix. It is based on Piper Kerman's memoir, Orange Is the New Black: My Year in a Women's Prison, which chronicles her experiences in a women's prison. The series' protagonist is Pip…
  • huggingface.co ↗ Hugging Face Machine Learning Demos on arXiv Back to Articles ... # Hugging Face Machine Learning Demos on arXiv Published November 17, 2022 Update on GitHub Upvote 1 - - - - - Abubakar Abid abidlabs Follow …
  • info.arxiv.org ↗ ## Hugging Face Spaces ... Hugging Face code repositories, About Hugging Face ... Collaborators: Abubakar Abid, Omar Sanseviero, Ahsen Khaliq, and the Hugging Face team ... Hugging Face Spaces includes links to demos created by the community or the authors themselves. By going to…
  • huggingface.co ↗ Demos on Hugging Face Spaces allow a wide audience to try out state-of-the-art machine learning research without writing any code. Hugging Face and ArXiv have collaborated to embed these demos directly along side papers on ArXiv! ... Thanks to this integration, users can now find…
  • en.wikipedia.org ↗ Hangzhou DeepSeek Artificial Intelligence Basic Technology Research Co., Ltd., doing business as DeepSeek, is a Chinese artificial intelligence (AI) company that develops large language models (LLMs). Based in Hangzhou, Zhejiang, DeepSeek is owned and funded by High-Flyer, a Chin…

Sources

Spot something wrong? Report an issue