Improving the speed and energy-efficiency of AI agents
Mit.edu · View original source

In a significant advancement for artificial intelligence applications, researchers from MIT and Microsoft have unveiled a new system designed to enhance the efficiency and energy consumption of agentic workflows. These workflows utilize artificial intelligence-powered software systems to integrate multiple models and external tools, enabling them to perform complex tasks such as video analysis and question answering. However, the traditional design and deployment of these systems often lead to inefficiencies, resulting in unnecessary computational costs and energy expenditure. The newly developed system, named Murakkab, addresses these challenges by streamlining the creation and optimization of agentic workflows, allowing developers to focus on high-level goals rather than intricate technical details.
Understanding Agentic Workflows
Agentic workflows are composed of several autonomous AI agents that collaborate to complete multi-step tasks. These tasks may include data processing or code generation, and they often require the integration of various models and tools, such as databases or programming scripts. Traditionally, developers face the daunting task of hard-coding all technical specifications upfront. This includes selecting which AI agents, models, and tools to utilize, as well as determining the sequence of their execution and the hardware that will run the workflow.
The complexity of these workflows is compounded by the need to manage numerous black-box models and tools, each with unique configuration options. If a new AI model emerges that could enhance the application's performance, developers would typically have to start the configuration process from scratch. Gohar Chaudhry, a graduate student in electrical engineering and computer science and the lead author of the research paper, emphasizes that even experienced developers struggle to optimize workflows manually due to the vast number of potential configurations.
Murakkab aims to alleviate these burdens by allowing developers to articulate their application goals in simple terms. For example, a developer could describe a video Q&A application that involves extracting key frames, generating transcripts, and responding to user queries. The system then automatically identifies the most suitable models and tools to assemble into the workflow, determining which components can run sequentially and which can operate in parallel to enhance performance.
The Functionality of Murakkab
The innovative aspect of Murakkab is its ability to dynamically configure workflows based on user-defined constraints, such as prioritizing speed or accuracy. As the cloud provider executes the application, Murakkab adapts the workflow in real time, optimizing hardware allocations and deployment schedules to maximize efficiency. This capability not only streamlines the development process but also allows cloud providers to manage computational resources more effectively across multiple workloads, ensuring that user requirements are met without unnecessary resource allocation.
In tests involving various agentic workflows, including video Q&A and code generation, Murakkab demonstrated remarkable efficiency. It required only about 35 percent of the computational resources typically needed by other methods, consuming approximately 27 percent of the energy and incurring less than 25 percent of the associated costs. The system's dynamic nature also permits users to balance trade-offs effectively. For instance, it was able to reduce energy consumption for a workflow by more than tenfold while only slightly impacting accuracy.
Chaudhry notes that such optimization would be nearly impossible for a developer to achieve manually, underscoring the value of Murakkab's automated approach. The researchers are now looking to expand the system's capabilities to accommodate more complex workflows and larger computing clusters, with an eye toward optimizing new agentic applications.
Why it matters
The introduction of Murakkab represents a pivotal moment for creators and technologists working with AI. As agentic workflows become increasingly integral to cloud computing and AI applications, the ability to optimize these systems for energy efficiency and cost-effectiveness is paramount. The research highlights the pressing need for resource optimization in the face of growing energy concerns, particularly in cloud environments where computational resources can be over-allocated, leading to waste.
By simplifying the workflow design process and enabling real-time optimization, Murakkab not only enhances the performance of AI applications but also aligns with broader sustainability goals in technology. As cloud providers and developers adopt more efficient practices, the potential for reduced energy consumption and operational costs will benefit the entire ecosystem, from individual creators to large tech companies. The ongoing research and development in this area signal a commitment to advancing AI technology while being mindful of its environmental impact, setting a precedent for future innovations in the field.
Frequently asked questions
- What are agentic workflows?
- Agentic workflows are AI-powered systems that integrate multiple models and tools to perform complex tasks, such as data processing or code generation.
- How does Murakkab improve efficiency?
- Murakkab allows developers to describe their application goals in simple terms and automatically optimizes the workflow by selecting the best models, tools, and hardware configurations.
- What were the results of testing Murakkab?
- In tests, Murakkab used about 35% of the computational resources and 27% of the energy compared to traditional methods, while also reducing costs significantly.
Related stories
AI & art news in your inbox, daily
The day's top stories, summarized. Free, no spam, unsubscribe anytime.
