Agentic Job Scheduling for Scientific Distributed Computing via Active Knowledge Extraction

Shengyu Feng, Yiming Yang, Joseph Boudreau, Tasnuva Chowdhury, Fatih Furkan Akman, Adolfy Hoisie, Raees Ahmad Khan, Ozgur Ozan Kilic, Scott Klasky, Tatiana Korchuganova, Paul Nilsson, Verena Ingrid Martinez Outschoorn, David Keetae Park, Norbert Podhorszki, Yihui Ren, Fred Suter, Sairam Sri Vatsavai, Kuan-Chieh Hsu, sankha baran dutta, Kenny Lo, Tadashi Maeno, Alexei KlimentovAI4Science @ NeurIPS 2026

TL;DR

When optimizing complex systems, telling an AI agent how well it did with a single number—like a throughput score—is like grading a chef's dish without telling them it was too salty. AKEA (Active Knowledge-Extraction Agent) teaches an LLM agent to write its own Python diagnostic scripts to read messy system logs, figure out why a job scheduler is bottlenecking, and use those insights to evolve better schedulers. The result? Scheduling policies that generalize far better to massive, unseen distributed computing clusters.

What Problem Does This Paper Address?

Large language model (LLM) agents are increasingly used as iterative optimizers: they propose a solution (like a piece of code), test it, see the score, and try to improve it. The catch is that most of these agents rely solely on scalar feedback—a single number summarizing performance. That tells the agent whether a change helped, but gives zero insight into why.

In real-world scientific computing, the "why" is buried in rich execution traces. Consider High Energy Physics (HEP) infrastructures like the Worldwide Large Hadron Collider (LHC) Computing Grid. Thousands of interdependent jobs are dispatched across geographically distributed, heterogeneous sites. A job might need to transfer data from another site, wait in a queue for a free CPU core, stage data locally, and finally execute.

Figure 1: Overview of the distributed computing environment. A job may trigger a remote data transfer from another site (Step 1), wait in the site queue for a free compute slot (Step 2), stage input data from local storage to slots (Step 3), and execute on allocated slots (Step 4).

If a scheduling policy performs poorly, the execution logs hold the answer: maybe it's overloading a specific site's network link, ignoring data locality, or leaving CPUs idle. However, you can't just paste logs of 20,000 jobs into an LLM's context window—they are far too long and noisy. And because different policies fail for different reasons, a static, one-size-fits-all log summary won't catch every bottleneck.

Methods

The authors formulate distributed job scheduling as program synthesis: an LLM agent writes a scheduling policy as executable Python code, runs it in a simulator, and iteratively refines it to maximize system throughput (measured in GFLOPs per second, or GF/s).

To move beyond scalar rewards, they introduce AKEA, which jointly evolves two things:

  1. Scheduling Policies: Using an evolutionary search strategy (similar to FunSearch), AKEA maintains a population of candidate schedulers, selecting parents from the top $k=8$ performers using an Upper Confidence Bound (UCB) strategy to balance exploiting good policies with exploring new ones.
  2. A Knowledge-Extraction Skill Library: Instead of reading raw logs, AKEA prompts the LLM to write Python analysis programs that extract compact, textual diagnostics from execution traces (e.g., identifying network hotspots or queueing delays).
Figure 2: Overview of AKEA. Executing a candidate scheduler produces a throughput score and detailed system logs. AKEA generates Python analysis programs to extract compact knowledge about system behavior from these logs and stores them as reusable knowledge-extraction skills. The extracted knowledge guides subsequent scheduler generation, while skills that contribute to improved schedulers are preferentially reused in future iterations.

Each successful analysis script is saved as a reusable "skill." In future iterations, AKEA selects up to $k_{\text{skill}}=8$ existing skills using a separate UCB score. If a skill helps generate a scheduler that beats its baseline, its utility score goes up (+1); otherwise, it goes down (-1). In this way, AKEA learns what to look for in the logs at the same time it learns how to schedule.

Datasets

Because no standard benchmark existed for this specific agentic setup, the authors built a discrete-event simulator inspired by the ATLAS distributed computing infrastructure. They evaluate all methods across three environment scales:

  • Small: 20 sites, 60 files, 1,200 tasks (~4.5K jobs)
  • Middle: 45 sites, 135 files, 2,700 tasks (~10.1K jobs)
  • Large: 100 sites, 300 files, 6,000 tasks (~22.5K jobs)

Crucially, all learned and agentic schedulers (using Qwen3-Coder-480B-A35B with a budget of 50 generations) are developed exclusively on the Small environment, then tested on Middle and Large to measure cross-scale generalization.

Key Insights and Ideas

  • Asking why beats just knowing how much: On the small training environment, scalar-only agents like FunSearch slightly edge out AKEA. But when scaled up to Middle and Large environments, AKEA pulls ahead, showing that understanding system bottlenecks leads to policies that generalize.
  • Adaptive diagnostics beat fixed summaries: An ablation study shows that giving the agent a predefined, static summary of log statistics (Fixed Summary) performs much worse on larger scales than letting AKEA write its own custom analysis scripts.
  • Skill reuse adds a modest boost: Retaining and scoring analysis scripts across iterations provides a consistent, albeit smaller, performance bump over regenerating analyses from scratch every time.

Key Results

AKEA outperforms classical heuristics (Least Load, Minimum Completion Time, PanDA-inspired data-locality, and DIANA), a reinforcement learning scheduler (DECIMA), and scalar-feedback LLM agents (AIDE and FunSearch) on both the Middle and Large environments.

Figure 3: Scheduling throughput (GF/s) across three environment scales. Higher values indicate better performance. Green, blue, and red bars represent heuristic, neural, and agentic schedulers, respectively.

In the ablation study (measured in GF/s across Small / Middle / Large):

  • AKEA: 11.38 / 9.82 / 9.58
  • w/o Skill Reuse: 11.24 / 9.68 / 9.48
  • Fixed Summary: 11.30 / 8.02 / 8.03
  • w/o Knowledge Extraction: 11.24 / 8.01 / 8.82

Qualitatively, the authors trace a representative optimization run where AKEA's policies evolve from a simple data-locality heuristic (11.236 GF/s) to a sophisticated scheduler (11.376 GF/s) that tracks live per-link transfer rates, simulates job queues, and penalizes congested sites—each step directly preceded by a newly minted analysis skill diagnosing that exact bottleneck.

Limitations and Future Work

The authors note that their evaluation relies on a simulated distributed computing environment rather than a live production grid, and that all LLM experiments were run with a single model (Qwen3-Coder-480B-A35B) and a 50-generation budget. Looking ahead, they suggest that the core principle—jointly learning a decision policy and how to actively extract knowledge from rich environmental feedback—could extend well beyond HEP job scheduling to other complex scientific computing and optimization domains.

Summary updated

BibTeX
@inproceedings{feng2026agentic,
  author = {Shengyu Feng and Yiming Yang and Joseph Boudreau and Tasnuva Chowdhury and Fatih Furkan Akman and Adolfy Hoisie and Raees Ahmad Khan and Ozgur Ozan Kilic and Scott Klasky and Tatiana Korchuganova and Paul Nilsson and Verena Ingrid Martinez Outschoorn and David Keetae Park and Norbert Podhorszki and Yihui Ren and Fred Suter and Sairam Sri Vatsavai and Kuan-Chieh Hsu and sankha baran dutta and Kenny Lo and Tadashi Maeno and Alexei Klimentov},
  title = {{Agentic Job Scheduling for Scientific Distributed Computing via Active Knowledge Extraction}},
  booktitle = {AI4Science @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=tbMLKtmeTY},
}
Figure