DIMWIT: Directly Invoking Models Without Intensive Tuning

Saarth Deshpande, Neeraja J. Yadwadkar, Venkat ArunarXiv 2026 · arXiv

TL;DR

DIMWIT proposes a radical shift in system resource management: instead of developing complex, task-specific policies, just ask a pretrained model what to do. By directly invoking language models with system state and goals, the authors achieve performance competitive with specialized heuristics across autoscaling, memory sizing, and video encoding—often using models as small as 421M parameters.

What Problem Does This Paper Address?

Managing system resources—like deciding how many replicas of a microservice to run or how much DRAM to allocate—traditionally requires a "policy." This might be a hand-tuned heuristic, a complex optimization algorithm, or a model trained via reinforcement learning. The problem is that these policies are hard to build, require deep domain expertise, and often break when workloads shift.

The authors of DIMWIT (Directly Invoking Models Without Intensive Tuning) challenge the assumption that we need a general policy at all. They argue that while designing a strategy for every possible scenario is hard, making a single decision for the current scenario is often quite simple. They ask: can we skip the policy development phase and just let a pretrained model act as the "human in the loop"?

Methods

The core idea is direct invocation. Instead of using an LLM to generate code for a policy, DIMWIT uses the model as the controller itself. At each decision interval, the system describes its current state (e.g., "CPU is at 80%, latency is 250ms, target is 300ms") and available actions (e.g., "add 1 replica, remove 1, or stay same") in a prompt.

The authors evaluated three types of models:

  1. Claude Opus 5.5: A massive, general-purpose frontier LLM.
  2. Jev: A proprietary "decision model" designed for system tasks.
  3. Laya: A lightweight, 421M-parameter open-weight decision model.

They integrated these models into three distinct systems:

  • Horizontal Autoscaling: Replacing Kubernetes' default scaling logic (Figure 1).
  • Dynamic DRAM Sizing: Managing memory allocation in tiered systems (DRAM + CXL).
  • Video Compression: Tuning x264 encoder parameters segment-by-segment.
Figure 1. Architecture common to the DIMWIT autoscalers. At each tick, the autoscaler reads per-service utilization via the Ku- bernetes Metrics API and patches the service’s HPA object with the desired replica count R, causing HPA to adjust the service’s Deployment.

Datasets

The approach was tested on several industry-standard benchmarks:

  • Microservices: TeaStore, Online Boutique, and Social Network, driven by workloads derived from Alibaba production traces.
  • DRAM Sizing: Eight diverse workloads including Liblinear (ML), GapBS (graph processing), and Silo (databases).
  • Video: High-quality source clips from the Xiph.org collection (Big Buck Bunny, Elephants Dream, Sintel).

Key Insights and Ideas

  • Decisions are easier than Strategies: It is much simpler to look at a dashboard and say "we need more memory now" than it is to write an algorithm that knows exactly when to add memory for every possible future workload.
  • Intelligence vs. Cleverness: Many resource management problems don't actually require "clever" algorithms; they require "common sense." Pretrained models bring this baseline reasoning to the table for free.
  • Small Models Punch Up: Surprisingly, the tiny 421M-parameter Laya model often performed as well as or better than the massive Claude Opus. This suggests that for many system tasks, "frontier" levels of reasoning aren't necessary.
  • Natural Language Tweaking: Instead of rewriting a controller's code, developers can steer DIMWIT by adding instructions like "err on the side of lower memory usage" to the prompt.

Key Results

DIMWIT proved that "zero-shot" resource management is not just possible, but practical:

  • Autoscaling: On microservice benchmarks, small models like Jev and Laya met latency targets while using replica counts within 10% of specialized, hand-tuned autoscalers.
  • DRAM Sizing: Laya reduced DRAM usage by up to 27.5% compared to static provisioning while maintaining at least 95% of baseline performance.
  • Video Encoding: Laya achieved encoding speeds up to 4.3x faster than Claude Opus 5.5. It maintained video quality (VMAF) nearly identical to standard presets while significantly reducing the human effort required to find optimal settings.
Figure 3. Per-endpoint median p95 latency when horizontally scal- ing replicas using HPA, Erlang, Agar, Claude Opus 5.5 (low and high reasoning effort), Laya, and Jev on CloudLab. Jev-Single sends a separate request per service every 15 s, while Jev-Batched sends one batched request for all services every 15 s. The hori- zontal dashed line marks the 300 ms SLO. For each application, the boundary boxes show average running replicas, except for Jev-Single on Social Network and TeaStore and Laya on TeaStore, where they show requested replicas; excess pods remain Pending due to cluster capacity limits.

Limitations and Future Work

The primary hurdle is inference overhead. While decision models are fast (0.1–0.2s), they still add latency compared to a simple "if-then" rule. This makes DIMWIT best suited for "coarse-grained" decisions (seconds to minutes) rather than microsecond-scale packet switching.

The authors also note that model outputs can be stochastic (unpredictable). They suggest that future systems could use formal "model checking" to wrap the LLM's decisions in a safety layer, ensuring that even if the model makes a weird suggestion, it can't crash the system. Finally, they point toward "composing" models—using small models for simple tasks and escalating to frontier LLMs only when deep reasoning is required.

Summary updated

Abstract

Resource managers typically encode what to do in a task-specific policy---a heuristic, an optimization procedure, or a model trained for the task---that must be developed before use and may need revision as the workload or system changes. We propose bypassing policy development and instead asking pretrained models to make resource-management decisions directly, given the current system state, desired outcome, and available choices. We evaluate this approach on microservice autoscaling, DRAM sizing, and video encoding, using a frontier LLM and two small decision models. On two microservice applications, a small decision model meets latency targets while using within 10% of the replicas allocated by policy-based autoscalers and within 13% of the frontier LLM. In DRAM sizing, a small decision model reduces DRAM usage by up to 27.5% relative to static provisioning while maintaining at least 95% of baseline performance. In video encoding, it completes encodes up to 4.3$\times$ faster than the frontier LLM, with an imperceptible 1.1-point decrease in Video Multi-Method Assessment Fusion (VMAF), a metric of perceptual video quality. Making individual resource-management decisions may be considerably simpler than developing a general strategy for making them.
BibTeX
@misc{deshpande2026dimwit,
  author = {Saarth Deshpande and Neeraja J. Yadwadkar and Venkat Arun},
  title = {{DIMWIT: Directly Invoking Models Without Intensive Tuning}},
  year = {2026},
  eprint = {2611.01463},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.01463},
}
Figure