Search arXiv⌕ Search

arXiv subjects

Ork de Rooij

Publications and source records attributed to Ork de Rooij.

2 recordsLinked to original sources

FireAnt: Efficient on-device agentic phone control

Most work on autonomous phone control treats efficiency as a question of agent design alone: shrink or speed up the policy while leaving the environment it acts in - almost always a real, GUI-first application, driven through screenshots and a vision-language backbone - untouched. This default is not incidental: public benchmarks that control include the controlling of real apps don't offer workarounds when those apps only expose GUI as interfacing option. As a result, the strongest available agents for that interface are large vision-language models (LVMs). Attempts at increasing system efficiency start from LVMs as starting point, rather than as a property of the system as a whole. We argue efficiency is instead an end-to-end property of the environment and the agent together, and should be designed for jointly from the outset. We instantiate this view with an API-first framework for agentic phone control, called FireAnt: target applications are mocked as lightweight FastAPI servers rather than full GUI stacks, giving a cheap, scalable substrate for data generation and training; the agent plans and acts exclusively over these structured APIs, never over pixels; and a Portable Action Layer reconciles the interface differences between this mocked training-time environment and the real, on-device target environment, so the same policy deploys to either without retraining. Our harness is also flexible and enables different common agentic functionalities (like context management or safety). Training with the mock environments and the Portable Action Layer, the resulting policy Pareto-dominates the GUI-grounded and frontier general-purpose baselines in success rate versus efficiency on both MobileWorld and MobileGym++, and we show it enables efficient control of real phone applications under the memory and latency constraints of on-device deployment.

cs.AI↗

Efficient Reasoning on the Edge

Large language models (LLMs) with chain-of-thought reasoning achieve state-of-the-art performance across complex problem-solving tasks, but their verbose reasoning traces and large context requirements make them impractical for edge deployment. These challenges include high token generation costs, large KV-cache footprints, and inefficiencies when distilling reasoning capabilities into smaller models for mobile devices. Existing approaches often rely on distilling reasoning traces from larger models into smaller models, which are verbose and stylistically redundant, undesirable for on-device inference. In this work, we propose a lightweight approach to enable reasoning in small LLMs using LoRA adapters combined with supervised fine-tuning. We further introduce budget forcing via reinforcement learning on these adapters, significantly reducing response length with minimal accuracy loss. To address memory-bound decoding, we exploit parallel test-time scaling, improving accuracy at minor latency increase. Finally, we present a dynamic adapter-switching mechanism that activates reasoning only when needed and a KV-cache sharing strategy during prompt encoding, reducing time-to-first-token for on-device inference. Experiments on Qwen2.5-7B demonstrate that our method achieves efficient, accurate reasoning under strict resource constraints, making LLM reasoning practical for mobile scenarios. Videos demonstrating our solution running on mobile devices are available on our project page.

cs.LG↗