arXiv Science⌕ Search

arXiv subjects

Arnau Padres Masdemont

Publications and source records attributed to Arnau Padres Masdemont.

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↗

Memory-Efficient Looped Transformer: Decoupling Compute from Memory in Looped Language Models

Recurrent LLM architectures have emerged as a promising approach for improving reasoning, as they enable multi-step computation in the embedding space without generating intermediate tokens. Models such as Ouro perform reasoning by iteratively updating internal representations while retaining a standard Key-Value (KV) cache across iterations, causing memory consumption to grow linearly with reasoning depth. Consequently, increasing the number of reasoning iterations can lead to prohibitive memory usage, limiting the practical scalability of such architectures. In this work, we propose Memory-Efficient Looped Transformer (MELT), a novel architecture that decouples reasoning depth from memory consumption. Instead of using a standard KV cache per layer and loop, MELT maintains a single KV cache per layer that is shared across reasoning loops. This cache is updated over time via a learnable gating mechanism. To enable stable and efficient training under this architecture, we propose to train MELT using chunk-wise training in a two phase procedure: interpolated transition, followed by attention-aligned distillation, both from the LoopLM starting model to MELT. Empirically, we show that MELT models fine-tuned from pretrained Ouro parameters outperform standard LLMs of comparable size, while maintaining a memory footprint comparable to those models and dramatically smaller than Ouro's. Overall, MELT achieves constant-memory iterative reasoning without sacrificing LoopLM performance, using only a lightweight post-training procedure.

cs.CL↗