Abstract
As AI continues to advance, there is a growing demand for systems that go beyond language-based assistance and move toward intelligent agents capable of performing real-world actions. This evolution requires the transition from traditional Large Language Models (LLMs), which excel at generating textual responses, to Large Action Models (LAMs), designed for action generation and execution within dynamic environments. Enabled by agent systems, LAMs hold the potential to transform AI from passive language understanding to active task completion, marking a significant milestone in the progression toward artificial general intelligence.
In this paper, we present a comprehensive framework for developing LAMs, offering a systematic approach to their creation, from inception to deployment. We begin with an overview of LAMs, highlighting their unique characteristics and delineating their differences from LLMs. Using a Windows OS-based agent as a case study, we provide a detailed, step-by-step guide on the key stages of LAM development, including data collection, model training, environment integration, grounding, and evaluation. This generalizable workflow can serve as a blueprint for creating functional LAMs in various application domains. We conclude by identifying the current limitations of LAMs and discussing directions for future research and industrial deployment, emphasizing the challenges and opportunities that lie ahead in realizing the full potential of LAMs in real-world applications.
Introduction: The Execution Gap
While Large Language Models (LLMs) like GPT-4 are exceptional at generating text and reasoning, they are often "all talk and no action." When tasked with manipulating a real-world interface—such as formatting a complex Word document or navigating a specific software workflow—general-purpose models struggle. They frequently hallucinate non-existent buttons, fail to ground their plans in the current state of the screen, and suffer from high latency and costs that make them impractical for production-level automation.
This paper addresses the "execution gap": the difficulty of transitioning from high-level language understanding to precise, grounded, and reliable action execution in dynamic environments. By evolving a base model into a functional LAM, we can bridge the divide between textual output and environmental interaction.
Methodology: A Four-Phase Training Framework
The researchers propose a comprehensive pipeline to transform a base model (Mistral-7B) into a functional LAM. Their approach centers on two main pillars: a two-phase data collection strategy and a four-phase staged training process.
Data Collection and Grounding
Instead of relying on raw LLM generation, data collection is split into:
- Task-Plan Collection: Gathering high-level "how-to" steps from documentation (M365, wikiHow) and search logs.
- Task-Action Collection: A grounding phase where these plans are instantiated into concrete, executable trajectories (e.g., specific JSON-formatted clicks and keystrokes) using environment templates.
Staged Training Pipeline
The model evolves through four distinct levels of capability:
- Task-Plan Pretraining (SFT): Teaching the model to decompose requests into logical steps.
- Learning from Experts: Imitation learning using successful trajectories generated by frontier models like GPT-4o.
- Self-Boosting Exploration: Using a "ReAct" (Reason + Act) mechanism to discover successful paths for tasks that experts previously failed.
- Reward Model Refinement: Utilizing Offline Proximal Policy Optimization (PPO) to learn from both successes and failures, refining decision-making in complex scenarios.
Key Insights and Results
The study demonstrates that specialization trumps scale. A specialized 7B parameter model (LAM) can significantly outperform a general-purpose frontier model when the task requires deep integration with a specific environment.
Performance Metrics
The final LAM (LAM⁴) was evaluated against several baselines in a Windows OS environment:
- Task Success Rate (TSR): The LAM achieved an 81.2% success rate, notably higher than GPT-4o (67.2%) and O1-mini (64.6%).
- Efficiency: The LAM completed tasks in an average of 30.42 seconds, compared to 86.42 seconds for GPT-4o. The average step latency was reduced to 5.41 seconds, a significant improvement over the nearly 20 seconds required by visual-input frontier models.
- Cost: Inference costs were estimated at < $0.01 per task, a fraction of the cost of using frontier model APIs.
Conclusion and Future Directions
While the framework is domain-agnostic, current implementations are specialized for specific environments like Windows and Microsoft Word. Future work must address safety and reliability, as LAMs operate in real environments where errors can have permanent consequences. Additionally, improving adaptation to UI changes and extending the framework to diverse web environments or physical robotics remains a critical challenge for realizing the full potential of Large Action Models.
Summary updated