Manuscript Offprint

arXiv:2611.06179

Chiron: Cache Management Empowered by LLM Intelligence for AI Workloads

Bohan Zhang, Renshu Ge, Tianze Wang, Chen Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

AI clusters keep data in remote object stores and rely on local caches to stop GPUs from waiting for data. A cache performs well only when its prefetching and eviction policies match the access pattern, yet these patterns differ across AI workloads and change between phases of one workflow. Existing methods either need code changes, which compromises user transparency, or use low-end heuristics, which cannot follow such changes. Large language models (LLMs) can infer access behavior without user hints, but direct LLM control of cache actions suffers from long reasoning delay, high token cost, and poor decision quality. We present Chiron, a cache system based on advisory switching control. An LLM asynchronously diagnoses the access pattern and recommends a policy. A deterministic harness gates this advice, executes expert-designed policies locally, and returns cache feedback for review. We implement Chiron atop JuiceFS and evaluate it on nine AI workloads. It reduces job completion time by 14.3–41.2% over the best baseline on popular AI workloads.

1 INTRODUCTION

AI clusters run diverse workloads, from data preprocessing to model training and evaluation (He et al., 2016; Hu et al., 2022; Ruiz et al., 2023; Li et al., 2021). As datasets and models grow, these clusters keep data in remote object stores such as Amazon S3 (Amazon Web Services, 2026) and serve it through a local cache layer such as Alluxio or JuiceFS (Alluxio, 2026a; JuiceFS, 2026). Remote accesses can stall input pipelines and leave GPUs waiting for data (Mohan et al., 2021; Murray et al., 2021; Kuchnik et al., 2022), while local capacity is limited. Prefetching and eviction policies therefore crucially affect the cache hit ratio (CHR) and job completion time (JCT).

AI workloads make these policies hard to set. Sequential, random, and skewed accesses are all common, each prefers different policies, and one workflow may pass through all three as it moves between phases (Section 2.2). An AI cache thus needs both adaptivity, matching its policy to the current pattern, and transparency, doing so without user hints (Section 2.3). Existing methods do not provide both (Section 3.1). Code-intrusive adaptations such as Quiver (Kumar & Sivathanu, 2020) and NoPFS (Dryden et al., 2021) exploit workload knowledge through customized interfaces, which compromises transparency. Low-end adaptations such as ARC (Megiddo & Modha, 2003), LeCaR (Vietri et al., 2018), and SFP (Wang et al., 2021) need no hints, but they follow variations within one pattern rather than transitions between patterns, which compromises efficacy.

Providing both requires inferring the upper-level computation logic from low-level accesses, a task that fits large language models (LLMs), which already assist networking (Wu et al., 2024) and database (Zhou et al., 2024) management. Directly controlling the cache with an LLM, however, is impractical. We build a prototype in which an LLM lists the blocks to prefetch or evict after every read, and it reveals three challenges (Section 3.2):

  • Long reasoning delay. Qwen3.8 Flash takes 41 s at P50 even with thinking off, while a storage client can issue hundreds of reads per second.
  • High token cost. 128 reads consume over 10 M tokens, so a workflow of about 60k reads would need about 5 billion.
  • Poor decision quality. The model chooses among up to 1,963 candidate blocks and may hallucinate; the best prefetching accuracy across models is 48.2% lower than that of SFP.

We present Chiron, a fast, cheap, and effective cache system for AI workloads based on advisory switching control. As in supervisory switching control (Morse, 1996; Liberzon, 2003), the LLM recognizes the operating regime and selects among expert-designed policies instead of acting on individual blocks. Since an LLM may hallucinate, it only advises: a deterministic harness decides whether to adopt its advice and returns cache feedback (Section 4). This design addresses the three challenges as follows:

  • Asynchronous diagnosis. Inference stays off the read path: reads continue under the active policy while the LLM reasons in the background. This suffices because access patterns persist across many reads.

  • Pattern-level advice. The LLM returns a short pattern label with a confidence score rather than block lists, and it runs only for routine checks or when cache feedback requests a review. One diagnosis then serves many reads, which keeps token cost low.

  • Harnessed execution. Choosing among three patterns replaces choosing among thousands of blocks. Deterministic executors pick objects locally, a confidence gate defers uncertain advice, and feedback-triggered review revises outdated diagnoses, which contains hallucination.

We implement Chiron atop JuiceFS with about 4,000 LoC of Go and 400 LoC of Python, and evaluate it on nine AI workloads with data on remote storage (Section 6). On three multi-phase workflows, Chiron achieves the highest CHR and reduces JCT by 14.3–41.2% over the best baseline. Ablations confirm that structured statistics, confidence gating, and feedback reflection are each necessary. In a simulation with a 1 TB dataset, Chiron also has the highest CHR and lowest JCT at every tested cache size.

References (88)