Goto

Collaborating Authors

 consumption


A Multi-Criteria Decision Support Framework for Agricultural Fuel Demand Forecasting: Comparative Analysis of Machine Learning Approaches with Domain-Specific Feature Engineering

arXiv.org Artificial Intelligence

This study presents a comprehensive multi-criteria decision support framework for agricultural fuel demand prediction using machine learning algorithms. The research utilizes real operational data from Tarnet A.S., comprising 21,187 daily transaction records collected from agricultural cooperatives in Antalya, Türkiye, spanning from 2019 to 2021. A novel Agricultural Fuel Demand Feature Taxonomy (AFDFT) is proposed, organizing 844 features into five hierarchical categories: temporal, agricultural activity, operational, environmental, and economic factors. Eight machine learning algorithms were systematically evaluated using a multi-criteria approach that considers accuracy, statistical significance, effect size, and performance stability. The XGBoost algorithm emerged as the optimal solution, achieving 78.01% classification accuracy with statistically significant superiority (Friedman test chi(7)= 23.15, P<0.01) and small to large effect sizes (Cohen's d ranging from 0.42 to 12.84). The framework demonstrates practical applicability for decision support in agricultural fuel management, providing actionable insights for resource optimization in the agricultural sector.


Pre-Execution Robot Energy Prediction in Milling via a Jacobian-Aware Current-First Cascade

arXiv.org Artificial Intelligence

Even for the same milling task, robot energy consumption (EC) can vary across configurations, making pre-execution prediction important for energy-aware trajectory planning. However, time-varying cutting loads and their configuration-dependent transmission to the joints make accurate prediction challenging. This paper presents a Jacobian-aware, current-first cascade for pre-execution robot power and energy prediction in milling. The framework combines a rigid-body dynamics-based current estimate, cutting-induced current (CIC) prediction using machining parameters and the transposed Jacobian, residual-current compensation, and power estimation. A simulation-kinematics and real-electrical (SK-RE) dataset pairs simulated joint kinematics with measured joint currents and robot power, enabling prediction from planned inputs without measured force or electrical signals during inference. The model was trained and tested using physical robotic milling trials covering different machining features and cutting conditions. On the two unseen machining features, the power root mean squared error (RMSE) averaged 0.781 W, 52.8% lower than that of the best-performing standalone data-driven baseline. The mean per-trial energy errors were 0.88% and 1.45%. These results demonstrate the potential of pre-execution energy evaluation of robotic milling trajectories.


AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs

arXiv.org Artificial Intelligence

Kernel optimization is essential for efficient large language model (LLM) training and inference on Ascend NPUs. Existing Ascend kernel benchmarks primarily focus on kernel generation, with less emphasis on the ability of agents to optimize existing implementations under input configurations drawn from real workloads. To address this requirement, we introduce AscendGYM, a benchmark whose initial suite comprises 48 kernels across three difficulty levels. Each kernel is paired with test cases whose data types and tensor shapes are collected from real-world training and inference tasks. Consequently, performance improvements on AscendGYM map directly to the corresponding workloads. In terms of usability, two evaluation modes are supported in AscendGYM: model evaluation and model-harness evaluation. The kernel optimization capabilities of both trained models and custom agents are allowed to be measured. It provides a complete execution environment that closely reproduces how Ascend kernels are invoked in practical pipelines. For model evaluation, it additionally includes a built-in harness equipped with search orchestration and experience accumulation. Finally, we propose a new metric, the Speedup-Token Score (STS), which quantifies performance gains relative to token cost. By jointly considering speedup and cost, STS enables the assessment of practical kernel optimization capability of a model or harness under an acceptable budget. AscendGYM is available at https://github.com/SLAI-AITP/AscendGYM.


Agentic Coding in the Wild: Characterizing GitHub Copilot Traces at Production Scale

arXiv.org Artificial Intelligence

AI coding agents (e.g., GitHub Copilot, Claude Code, Codex) interleave multi-step LLM inference with tool execution, creating a workload different from chatbots. We present the first production-scale characterization of coding agents using sampled GitHub Copilot traces from June-July 2026, comprising 7.4M users, 819M conversations, 5.7B LLM calls, and 946T tokens. Our analysis reveals distinctive workload properties with unique systems implications: e.g., sparse user-initiated turns unfold into autonomous agent loops with nearly 1:1 coupling between LLM calls and tool execution; parallel LLM calls are rare but exist in turns that trigger subagents; KV cache hit rates average 90% within a turn, but fall to 52% across turn boundaries and to 6% after model switches; workflows and user behaviors exhibit diverse, long-tailed resource footprints. We further distinguish short agentic turnaround times from minutes-long user idle periods between turns, and develop a lightweight idle-time predictor that captures 87-89% of total idle time. We demonstrate two use cases: (1) a harness-side LLM API keep-alive policy that preserves provider-side context KV cache, reducing token costs by 14.9% on turn boundaries; and (2) a serving-side KV cache residency policy that uses predicted idle time to guide DRAM offloading, reducing time to first token (TTFT) by 3-33% compared with LRU during a one-week evaluation with GitHub Copilot traces.


The Real Cost of Context: Predicting Compute Time and Energy Consumption in LLM Prefill and Decode Phases

arXiv.org Artificial Intelligence

The integration of Large Language Models (LLMs) into agentic architectures has substantially increased token consumption, raising concerns about their energy footprint. Yet, estimating the energy consumption of proprietary API-based models remains challenging, and existing approaches focus primarily on generated output tokens while overlooking the impact of the large input contexts characteristic of agentic workflows. To address this gap, we systematically profile compute time and energy consumption across a wide range of prefill (input) and decode (output) token lengths. Using generalized linear models, we show that decode compute time and energy scale linearly with output length, whereas prefill compute time and energy exhibit both linear and quadratic scaling with input length. These findings demonstrate that input context becomes a relevant factor for large-context workloads. Furthermore, we show that compute time serves as a reliable proxy for energy consumption when direct energy measurements are unavailable. Our mapping framework enables precise energy estimation and supports more sustainable deployment decisions for agentic AI.


Lagrangian or Lyapunov? Multi-Agent Reinforcement Learning under Coupled Finite-Horizon Constraints

arXiv.org Artificial Intelligence

Radio resource management in dense networks is subject to budgets that must hold on every realized trajectory, carried by different agent groups: an energy budget at each base station (BS) and a handover budget at each user, coupled through the association decisions that consume both. Constrained multi-agent reinforcement learning (MARL) handles such budgets using Lagrangian multipliers updated across episodes or Lyapunov virtual queues updated per slot, but their relative behavior under coupled two-sided constraints remains unclear. We formulate this problem and introduce a windowed proportional-fairness objective that captures the temporal distribution of service beyond the classical horizon-average formulation. We characterize the distinct budget-regulation timescales of the two mechanisms through complementary theoretical bounds and identify queue-price buildup as a key mechanism governing finite-horizon budget pacing. Using a common heterogeneous MARL architecture, we compare three utility surrogates and both constraint-handling mechanisms. The results show that utility design primarily determines throughput and fairness, whereas constraint-price dynamics govern training efficiency and budget pacing. Under the default setting, the queue-based PF policy reaches near-final performance after a single training episode, but its unscaled penalty can lead to delayed pacing under tight budgets. Guided by the analysis, we show that queue-price calibration reduces the empirical drift constant by an order of magnitude and substantially narrows the performance gap to Lagrangian methods, which adapt constraint prices across episodes at higher training cost. These findings provide practical design guidelines for constrained MARL.


Kaveh Madani

TIME - Tech

Follow this author to personalize your feed and get instant alerts. Follow Go to your personalized feed WHY FOLLOW? Smart Alerts: Get notified about major news as it happens. Mandel is a senior editor at TIME. This year, the U.N. issued its landmark Global Water Bankruptcy report, authored by Kaveh Madani, who is known for coining the concept of "water bankruptcy."


Trellis: Bringing Compiler-Guided Repair into Agentic Code Generation

arXiv.org Artificial Intelligence

Alexander Du 1 Jianjun Ou 1 Danyang Zhuo 1 Matthew Lentz 1 ABSTRACT Coding agents regularly generate programs that do not compile and require substantial tokens to repair. Yet most repairs are small and local to the edit that caused them. We present Trellis, a system that integrates incremental compiler feedback into code generation to improve code correctness while controlling repair costs. Trellis uses rollback-based search for targeted repair and asynchronous checking and checkpointing for efficient execution. We adapt Clang and tscto Trellis's checker interface and integrate Trellis transparently into OpenCode. On C/C++ and TypeScript software engineering tasks, Trellis improves compilation rate by up to 13% and test pass rate by up to 11% with comparable token consumption to baseline OpenCode. 1 INTRODUCTION Coding agents, such as Codex (OpenAI, 2026), Claude Code (Anthropic, 2026), OpenCode (OpenCode, 2026), and OpenHands (Wang et al., 2025b), are rapidly changing how developers write, test, and review software. With access to compilers, tests, and other tools, agents can check and revise generated code over successive interaction turns (Chen et al., 2024; Yang et al., 2024; Wang et al., 2025b). Tool access, however, does not ensure prompt error detection Figure1.Agent-directed compiler-error repair requires additionalor efficient repair. Unchecked errors can affect subsequentturns to request checks and revise code. Trellis overlaps com-generation or remain unresolved when an agent considerspilation with generation and initiates localized repair within ageneration turn.a Repeated 2025) demonstrates the promise of checking and repairing cycles of reasoning, checking, and revision consume timecode during standalone LLM code generation. Our goal is to improve models, compiler-error repair accounts for as much as 27% the correctness of generated code with comparable token of token use and elapsed time across attempts involvingconsumption. Trellis intercepts file-writing tool calls and repair. Prior work on constrained semantic decoding (Poesia et al., 2022; Mundler et al., 2025; Li et al., 2025a; Nagy streams the generated code to a compiler, overlapping checking with generation (Figure 1).


MSI Pro Max Edge AI review: This powerful AI mini PC will cost you

PCWorld

The Dell Laptop Buying Guide UK: Which Dell Laptop Should You Buy? When you purchase through links in our articles, we may earn a small commission. The MSI Pro Max Edge AI+ stands out with its minimalist 4L aluminum chassis and proprietary Frozr AI Pro cooling system. The MSI Pro Max Edge AI+ is a powerful compact workstation for local AI and large-scale media projects. The integrated power supply keeps the setup tidy. In the benchmark test carried out, the cooling system operated without thermal throttling. Weaknesses include the soldered-in RAM and the lack of OCuLink. The high price is an even greater drawback.


Translators as Invisible Teachers of AI: Copyright, Translation Memory, and the Political Economy of Linguistic Data

arXiv.org Artificial Intelligence

This paper examines how the labour of translators has been transformed into foundational data capital for the age of artificial intelligence (AI). Translation memories (TM) and parallel corpora preserve a one-to-one correspondence between source and target text and therefore constitute extraordinarily valuable supervised training data for machine translation. The development of statistical machine translation (SMT), neural machine translation (NMT), the Transformer architecture, and multilingual large language models (LLMs) cannot be disentangled from the accumulation of such translation data. And yet, translators' renditions have been bought as deliverables under contract, segmented as technical objects, and processed as "information analysis" data under copyright law -- losing their moral, creative, and economic attribution to the translators who produced them. The paper develops two concepts to capture this process. The first is appropriation without consumption: a mode of use in which works are not read, viewed, or listened to, but only mined for statistical features -- a use that is legitimated under Article 30-4 of the Japanese Copyright Act. The second is the invisible teacherisation of translators: the process by which translators, through the construction of translation memories, post-editing, and quality assessment, have functioned as teachers of AI without recognition as such. Drawing on the data supply chain that runs from translators through language service providers (LSPs) and platforms to model developers, on a comparative reading of Japanese, European, and United States legal frameworks, on the distinction between open and proprietary AI models, and on the premium status that human-generated data has acquired in the era of model collapse, the paper asks what translators are actually afraid of, and points toward concrete directions for redistributive design.