Large Language Model
Numerical Error Analysis of Large Language Models
Budzinskiy, Stanislav, Fang, Wenyi, Zeng, Longbin, Petersen, Philipp
Large language models based on transformer architectures have become integral to state-of-the-art natural language processing applications. However, their training remains computationally expensive and exhibits instabilities, some of which are expected to be caused by finite-precision computations. We provide a theoretical analysis of the impact of round-off errors within the forward pass of a transformer architecture which yields fundamental bounds for these effects. In addition, we conduct a series of numerical experiments which demonstrate the practical relevance of our bounds. Our results yield concrete guidelines for choosing hyperparameters that mitigate round-off errors, leading to more robust and stable inference.
Combinatorial Optimization via LLM-driven Iterated Fine-tuning
Awasthi, Pranjal, Gollapudi, Sreenivas, Kumar, Ravi, Munagala, Kamesh
We present a novel way to integrate flexible, context-dependent constraints into combinatorial optimization by leveraging Large Language Models (LLMs) alongside traditional algorithms. Although LLMs excel at interpreting nuanced, locally specified requirements, they struggle with enforcing global combinatorial feasibility. To bridge this gap, we propose an iterated fine-tuning framework where algorithmic feedback progressively refines the LLM's output distribution. Interpreting this as simulated annealing, we introduce a formal model based on a "coarse learnability" assumption, providing sample complexity bounds for convergence. Empirical evaluations on scheduling, graph connectivity, and clustering tasks demonstrate that our framework balances the flexibility of locally expressed constraints with rigorous global optimization more effectively compared to baseline sampling methods. Our results highlight a promising direction for hybrid AI-driven combinatorial reasoning.
Gemini Robotics uses Google's top language model to make robots more useful
Google DeepMind also announced that it is partnering with a number of robotics companies, like Agility Robotics and Boston Dynamics, on a second model they announced, the Gemini Robotics-ER model, a vision-language model focused on spatial reasoning to continue refining that model. "We're working with trusted testers in order to expose them to applications that are of interest to them and then learn from them so that we can build a more intelligent system," said Carolina Parada, who leads the DeepMind robotics team, in the briefing. Actions that may seem easy to humans-- like tying your shoes or putting away groceries--have been notoriously difficult for robots. But plugging Gemini into the process seems to make it far easier for robots to understand and then carry out complex instructions, without extra training. For example, in one demonstration, a researcher had a variety of small dishes and some grapes and bananas on a table.
DeepMind's latest AI model can help robots fold origami and close Ziploc bags
Since its debut at the end of last year, Gemini 2.0 has gone on to power a handful of Google products, including a new AI Mode chatbot. Now Google DeepMind is using that same technology for something altogether more interesting. On Wednesday, the AI lab announced two new Gemini-based models it says will "lay the foundation for a new generation of helpful robots." The first, Gemini Robotics, was designed by Deepmind to facilitate direct control of robots. According to the company, AI systems for robots need to excel at three qualities: generality, interactivity and dexterity.
Google's Gemini Robotics AI Model Reaches Into the Physical World
A revealing limitation of today's best AI is that, for now, it remains squarely trapped inside the chat window. Google DeepMind signaled a plan to change that today--presumably minus the homicidal part--by announcing a new version of its AI model Gemini that fuses language, vision, and physical action together to power a range of more capable, adaptive, and potentially useful robots. In a series of demonstration videos, the company showed several robots equipped with the new model, called Gemini Robotics, manipulating items in response to spoken commands: Robot arms fold paper, hand over vegetables, gently put a pair of glasses into a case, and complete other tasks. The robots rely on the new model to connect items that are visible with possible actions in order to do what they're told. The model is trained in a way that allows behavior to be generalized across very different hardware.
ChatGPT firm reveals AI model that is 'good at creative writing'
The chief executive of OpenAI, Sam Altman, said the unnamed model was the first time he had been "really struck" by the written output of one of the startup's products. In a post on the social media platform X, Altman wrote: "We trained a new model that is good at creative writing (not sure yet how/when it will get released). This is the first time i have been really struck by something written by AI." Make it fair, Sam," said Dan Conway, the organisation's chief executive. Altman posted an example of the model's output on X, after giving it the prompt: "Please write a metafictional literary short story about AI and grief." The story, narrated by an AI, begins with: "Before we go any further, I should admit this comes with instructions: be metafictional, be literary, be about AI and grief, and above all, be original.
Chinese Companies Rush to Put DeepSeek in Everything
What do a mobile shooting game, a nuclear power plant, and a local Chinese government office have in common? In the past two months, they have all tried incorporating DeepSeek's R1 artificial intelligence model into their businesses in an attempt to ride the wave of the homegrown tech company's viral rise. Ever since the Chinese AI startup became a global sensation, DeepSeek has dominated headlines in China--but the news has almost nothing to do with DeepSeek itself. Instead, companies across nearly every industry are racing to announce that they have found a way to include DeepSeek's open source models in their corporate strategy. Some have found genuine uses for the domestic, affordable AI model with cutting-edge capabilities, while others are merely doing it for the publicity boost or to virtue-signal their national pride.
From Idea to Implementation: Evaluating the Influence of Large Language Models in Software Development -- An Opinion Paper
Yadav, Sargam, Qureshi, Asifa Mehmood, Kaushik, Abhishek, Sharma, Shubham, Loughran, Roisin, Kazhuparambil, Subramaniam, Shaw, Andrew, Sabry, Mohammed, Lynch, Niamh St John, Singh, . Nikhil, O'Hara, Padraic, Jaiswal, Pranay, Chandru, Roshan, Lillis, David
The introduction of transformer architecture was a turning point in Natural Language Processing (NLP). Models based on the transformer architecture such as Bidirectional Encoder Representations from Transformers (BERT) and Generative Pre-Trained Transformer (GPT) have gained widespread popularity in various applications such as software development and education. The availability of Large Language Models (LLMs) such as ChatGPT and Bard to the general public has showcased the tremendous potential of these models and encouraged their integration into various domains such as software development for tasks such as code generation, debugging, and documentation generation. In this study, opinions from 11 experts regarding their experience with LLMs for software development have been gathered and analysed to draw insights that can guide successful and responsible integration. The overall opinion of the experts is positive, with the experts identifying advantages such as increase in productivity and reduced coding time. Potential concerns and challenges such as risk of over-dependence and ethical considerations have also been highlighted.
Priority-Aware Preemptive Scheduling for Mixed-Priority Workloads in MoE Inference
Siavashi, Mohammad, Dindarloo, Faezeh Keshmiri, Kostic, Dejan, Chiesa, Marco
Large Language Models have revolutionized natural language processing, yet serving them efficiently in data centers remains challenging due to mixed workloads comprising latency-sensitive (LS) and best-effort (BE) jobs. Existing inference systems employ iteration-level first-come-first-served scheduling, causing head-of-line blocking when BE jobs delay LS jobs. We introduce QLLM, a novel inference system designed for Mixture of Experts (MoE) models, featuring a fine-grained, priority-aware preemptive scheduler. QLLM enables expert-level preemption, deferring BE job execution while minimizing LS time-to-first-token (TTFT). Our approach removes iteration-level scheduling constraints, enabling the scheduler to preempt jobs at any layer based on priority. Evaluations on an Nvidia A100 GPU show that QLLM significantly improves performance. It reduces LS TTFT by an average of $65.5\times$ and meets the SLO at up to $7$ requests/sec, whereas the baseline fails to do so under the tested workload. Additionally, it cuts LS turnaround time by up to $12.8\times$ without impacting throughput. QLLM is modular, extensible, and seamlessly integrates with Hugging Face MoE models.
Cost-Optimal Grouped-Query Attention for Long-Context LLMs
Chen, Yingfa, Wu, Yutong, Han, Xu, Liu, Zhiyuan, Sun, Maosong
Building effective and efficient Transformer-based large language models (LLMs) has recently become a research focus, requiring maximizing model language capabilities and minimizing training and deployment costs. Existing efforts have primarily described complex relationships among model performance, parameter size, and data size, as well as searched for the optimal compute allocation to train LLMs. However, they overlook the impacts of context length and attention head configuration (the number of query and key-value heads in grouped-query attention) on training and inference. In this paper, we systematically compare models with different parameter sizes, context lengths, and attention head configurations in terms of model performance, computational cost, and memory cost. Then, we extend the existing scaling methods, which are based solely on parameter size and training compute, to guide the construction of cost-optimal LLMs during both training and inference. Our quantitative scaling studies show that, when processing sufficiently long sequences, a larger model with fewer attention heads can achieve a lower loss while incurring lower computational and memory costs. Our findings provide valuable insights for developing practical LLMs, especially in long-context processing scenarios. We will publicly release our code and data.