Timebill Inference

Guarantee LLM inference completes within time budgets via response length prediction, execution time estimation, and adaptive KV cache eviction. Three-stage pipeline predicts response length, estimates end-to-end time with 1.22% accuracy, adjusts cache eviction ratio—enabling time-critical deployment in robotics and autonomous systems.

adu2021 c5207d1 1.1 KB Updated

File contents

Overview

TimeBill solves the problem of unpredictable LLM inference latency in time-critical systems.

Core Technique

Three-Stage Pipeline:

# Stage 1: Response Length Prediction
length_predictor = fine_grained_response_length_model()
predicted_length = length_predictor.predict(input)

# Stage 2: Execution Time Estimation
ete = execution_time_estimator()
worst_case_time = ete.estimate(predicted_length)

# Stage 3: Adaptive KV Cache Eviction
cache_eviction_ratio = calculate_optimal_eviction(worst_case_time, time_budget)

When to Use

Use when: Robotics, autonomous driving, time-critical inference.

References

  • Response length prediction
  • FLOPs-based execution time modeling
  • Adaptive KV cache management

adu2021/skillxiv/tree/main/skills/skillxiv-v0.0.2-claude-opus-4.6/timebill-inference commit c5207d10ef

Frequently asked questions

npx skillmds@latest add adu2021/timebill-inference