Ideas Made to Matter

Artificial Intelligence

Improving AI efficiency with optimization

Optimized models that are both resource-efficient and high-performing could run on phones and laptops rather than in the cloud, helping to democratize AI.

Beth Stackpole
3 minute read

AI performance is surging even as models are being deployed on increasingly complex tasks like language recognition, code generation, mathematical reasoning, and visual understanding.

Yet the trade-off for high-functioning artificial intelligence is a heavy reliance on data center resources — including compute, memory, and energy — which drives up costs and may derail the anticipated return on investment.

Today’s leading large language models contain hundreds, billions, or even trillions of parameters, and even after models have been trained, running them requires enormous amounts of memory, computing power, and energy.

These extensive resource demands put cost pressure on data center operations, said Rahul Mazumder, a professor of operations research and statistics at the MIT Sloan School of Management. Resource demands can also bump up against device limitations, making it difficult to broaden adoption and use of AI models.

“Because of their high footprint, it might be difficult to deploy models on, say, phones or laptops, which have low resources. This can create issues in terms of democratizing AI,” Mazumder said during his presentation, “Improving AI Efficiency With Optimization,” at the MIT Business Analytics & AI Summit in October.

Finding the right balance between a model’s size and accuracy

Mazumder leads a team of researchers at the MIT Operations Research Center in exploring how large-scale mathematical optimization techniques — which find their use in supply chain, logistics, energy grid operations, and machine learning — can be used to balance model utility, data, computational workloads, hardware usage, and other parameters to extract high value from AI models while still being resource-efficient.

The reasoning behind the research is simple, he said. General-purpose AI models are good at many tasks but typically demand significant resources.

In contrast, it’s possible that high-performance models that are narrowly focused — on detecting defects on a factory floor or ranking products in search queries for a particular retailer, for example — might still be high-performing while relying on fewer resources.

A model running on a phone faces different resource limitations than one running on a factory sensor or in a data center, Mazumder said. Optimization helps determine the right balance between a model’s size, computational demands, and performance for each case.

Digital imagery juxtaposed with business leader and employees

Leading Technical Professionals and Teams

In person at MIT Sloan

Optimization applied to model compression

Mazumder’s team develops large-scale optimization algorithms for AI model compression, the process of shrinking AI models so they use fewer resources. Say the mandate is to compress the model so it sacrifices 1% of accuracy compared with the original, uncompressed model. There will be disagreement as to what percentage of the model to compress to achieve that goal, he said.

Optimization helps teams decide what to remove and how much utility to retain within a given computing budget, Mazumder said, and provides everyone with a common language for weighing those trade-offs.

“The model optimization takes into account task-specific data, whether you care about industrial analytics or ranking a product,” as well as any compute-aware hardware constraints, he explained.

To that end, Mazumder and his team developed ADMM-Q, a procedure for quantizing LLMs, which he presented at the Conference on Language Modeling in October.

During his talk, Mazumder showed that an 8-billion-parameter AI model that was compressed with ADMM-Q answered a question noticeably faster than the uncompressed original. Compression can make serving a model one-and-a-half-times faster, he said, and has implications for both energy and GPU savings.

What sets ADMM-Q apart, he said, is accuracy: The research team found that models compressed with ADMM-Q retained more of the original model’s performance than those compressed with standard methods, especially when the model was made much smaller.

Ultimately, Mazumder said, his goal is to see whether it’s possible to design high-performing AI models while ensuring that they are resource-efficient. If it is, more-capable models could run directly on phones and laptops rather than in the cloud, which would help democratize AI access.

Improving AI efficiency with optimization


Rahul Mazumder is a professor of operations research and statistics at the MIT Sloan School of Management. His research interests are in AI, statistical machine learning, large-scale optimization, and their interplay. He is interested in modern applications in the AI industry, biomedical sciences, and energy sector, among others.

For more info Tracy Mayor Senior Associate Director, Editorial (617) 253-0065