Adaptive Execution for Volatile Data and Inference Pipelines

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 141 papers54 conceptsfrozen 2026-10-04

Traditional computing systems are built on the assumption of predictability. When you ask a database for a result or an AI for a prediction, the system typically generates a "flight plan"—a static sequence of operations—based on estimated costs. However, in the "wild west" of wide-area networks (WANs) and mobile edge computing, these estimates are almost always wrong. Congestion, signal drops, and server jitter turn static plans into bottlenecks.

A long-standing research direction, spanning from 1990s database systems to modern Large Language Models (LLMs), suggests a different approach: Adaptive Execution. Instead of following a rigid plan, these systems treat execution as a series of real-time decisions, reordering tasks or switching models on-the-fly to maintain responsiveness.

The Failure of Static Optimization

In a controlled environment, a query optimizer can accurately predict that a join will take 50ms. But as Fatma Ozcan and colleagues noted in Dynamic Query Optimization in Multidatabases, wide-area networks make these pre-calculated costs unreliable. If a remote data source stalls due to network congestion, a static plan will simply wait, leaving the CPU idle and the user frustrated.

This gap between "compile-time" logic and "runtime" reality is the fundamental problem. Kyuseok Shim, Timos Sellis, and Yannis E. Ioannidis addressed this early on with Parametric Query Optimization, which pre-calculates multiple plans for different possible runtime conditions. But even this can't account for the sheer volatility of the modern internet.

Query Scrambling: Learning to Pivot

The breakthrough intuition for handling this volatility is Query Scrambling. Introduced by laurent amsaleg, Michael J. Franklin, and others in Improving Responsiveness for Wide-Area Data Access, scrambling allows a system to bypass blocked data streams.

If the system is waiting for Data Source A, it doesn't just sit idle. It "scrambles" the plan, rescheduling other operations or creating new ones that can be performed using available local or remote data. As Alon Y. Levy and the Tukwila team argued in Adaptive Query Processing for Internet Applications, this requires an event-driven engine that can respond to network timeouts in sub-second intervals, effectively re-optimizing the query while it is still running.

From SQL to AI: Model Selection and Speculative Inference

Today, this same intuition is being applied to "Compound AI" pipelines. Mobile devices often face a choice: run a small, fast model locally or a large, accurate model in the cloud.

Samuel S. Ogden and Tian Guo demonstrated in ModiPick that because mobile network latency is so unpredictable, a static choice is always suboptimal. Their framework dynamically picks the best cloud-hosted model based on real-time network conditions to satisfy Service Level Agreements (SLAs).

This evolution has led to even more sophisticated "guess-and-verify" mechanisms:

  • Speculative Decoding: In DSD, Fengze Yu and colleagues split LLM inference between edge and cloud. The edge device "guesses" the next few tokens; the cloud server then verifies them. This masks network latency by overlapping computation with communication.
  • Modeless Inference: Systems like EdgeSight by ChonLam Lao and Jiaqi Gao go a step further, using lossy network protocols and dual-model hierarchies to ensure that even if packets are lost, the system delivers a result within the latency budget.

Why It Works: The Value of Partial Progress

The core reason adaptive execution works is that it prioritizes throughput over perfection.

In the database world, this meant delivering Partial Answers while waiting for the rest of the data. In the AI world, it means using "uncertainty-aware" models like U-HLM, where an on-device model only checks in with the cloud if it isn't confident in its own prediction.

By shifting the determination of execution sequences from compile-time to runtime, these systems transform network volatility from a fatal error into a manageable scheduling constraint. Whether it is Ling Liu routing queries around bottlenecks in DIOM or Banruo Liu using Bayesian optimization to plan AI pipelines in Circinus, the goal remains the same: keep the data moving, no matter how unstable the path.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_adaptive_execution_for_volatile_data_and_5f7dc9e8,
  title = {Adaptive Execution for Volatile Data and Inference Pipelines},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-execution-for-volatile-data-and-inference-pipelines/rdr_5f7dc9e875264d4cb2159e68b3812305},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_adaptive_execution_for_volatile_data_and_5f7dc9e8_v1,
  title = {Adaptive Execution for Volatile Data and Inference Pipelines},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/adaptive-execution-for-volatile-data-and-inference-pipelines/rdr_5f7dc9e875264d4cb2159e68b3812305/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}