| name | agentic-fast-slow-planning |
| description | Bridging large-model reasoning with real-time control through adaptive fast-slow planning. Integrates agentic AI systems with feedback control loops for time-critical applications. Use when: (1) Integrating LLM agents with control systems, (2) Designing real-time planning with reasoning models, (3) Building adaptive hyperparameter tuning systems, (4) Implementing agentic feedback control, (5) Developing hybrid AI-control systems for robotics and automation. |
Agentic Fast-Slow Planning: Bridging Reasoning and Control
Overview
This work presents a novel framework that bridges large language model reasoning with real-time control systems through an adaptive fast-slow planning architecture. The key innovation is integrating agentic AI systems within feedback control loops for time-critical applications.
Paper: arXiv:2604.01681 (April 2026)
Category: cs.RO, eess.SY, cs.AI
Core Problem: Reasoning vs. Real-Time Control
Challenge
- LLM agents: High reasoning capability, slow execution
- Real-time control: Fast response required, limited reasoning depth
- Gap: How to combine deep reasoning with time-critical control?
Traditional Approaches
- Separate systems: LLM for planning, controller for execution (no feedback)
- Offline planning: Pre-compute strategies, execute fixed plan (no adaptation)
- Rule-based control: Fast but limited reasoning (no deep understanding)
Key Innovation: Fast-Slow Planning Architecture
Dual-Loop System Design
class AgenticFastSlowPlanner:
def __init__(self):
self.slow_planner = SlowReasoningAgent()
self.fast_controller = FastControlLoop()
self.feedback_bridge = FeedbackBridge()
def run_control_loop(self, initial_state):
while not task_complete:
fast_action = self.fast_controller.compute(state)
state = execute(fast_action)
if self.should_invoke_slow_planner(state):
slow_guidance = self.slow_planner.reason(state, context)
self.fast_controller.adapt(slow_guidance)
Fast Loop: Real-Time Control
- Execution frequency: High (10-100 Hz typical)
- Mechanism: Classical feedback controller (PID, MPC, etc.)
- Capability: Fast response, stable execution
- Limitation: Limited reasoning depth
Slow Loop: Deep Reasoning
- Execution frequency: Low (0.1-1 Hz typical)
- Mechanism: LLM-based reasoning agent
- Capability: Strategic planning, context understanding
- Limitation: Slow execution
Feedback Bridge: Adaptive Integration
- Purpose: Connect fast and slow loops
- Mechanism: Adaptive hyperparameter tuning with feedback
- Key: Slow planner adapts fast controller parameters
Architecture Details
Layer 1: Fast Control Loop
class FastControlLoop:
def __init__(self, controller_type='PID'):
self.controller = self.initialize_controller(controller_type)
self.hyperparameters = self.default_hyperparameters()
self.performance_metrics = []
def compute_action(self, state, time_budget=0.01):
action = self.controller.compute(state, self.hyperparameters)
return action
def adapt(self, slow_guidance):
new_params = slow_guidance['hyperparameters']
self.hyperparameters.update(new_params)
Layer 2: Slow Reasoning Agent
class SlowReasoningAgent:
def __init__(self, llm_model):
self.llm = llm_model
self.context_memory = ContextMemory()
self.task_understanding = None
def reason(self, state, context, time_budget=1.0):
situation_analysis = self.analyze_situation(state, context)
strategy = self.plan_strategy(situation_analysis)
hyperparameters = self.translate_to_control_params(strategy)
return {
'strategy': strategy,
'hyperparameters': hyperparameters,
'confidence': self.estimate_confidence()
}
Layer 3: Adaptive Integration Bridge
class FeedbackBridge:
def __init__(self):
self.trigger_thresholds = self.define_thresholds()
self.adaptation_history = []
def should_invoke_slow_planner(self, state):
return self.check_trigger_conditions(state)
def integrate_feedback(self, slow_output, fast_controller):
param_adaptation = self.translate_strategy_to_params(slow_output['strategy'])
confidence_weight = slow_output['confidence']
fast_controller.update_params(param_adaptation, confidence_weight)
Adaptive Hyperparameter Tuning Mechanism
Key Innovation: Feedback-Driven Adaptation
def adaptive_hyperparameter_tuning(fast_controller, slow_reasoning, feedback):
performance = fast_controller.track_performance()
if slow_reasoning.should_adapt(performance):
adaptation_strategy = slow_reasoning.propose_adaptation(performance, feedback)
new_params = translate_strategy_to_params(adaptation_strategy)
fast_controller.update_hyperparameters(new_params, confidence)
Trigger Conditions for Slow Planner Invocation
- Performance threshold: When metrics fall below acceptable level
- Novelty detection: When situation differs from training context
- Risk prediction: When constraint violation becomes likely
- Periodic review: Regular strategic reassessment
Applications
1. Autonomous Vehicles
- Fast loop: Real-time path tracking, obstacle avoidance
- Slow loop: Strategic route planning, traffic reasoning
- Integration: Adaptive speed/tuning based on traffic context
2. Robotics Manipulation
- Fast loop: Motor control, force feedback
- Slow loop: Task understanding, strategy selection
- Integration: Adaptive grip strength, motion strategy
3. Drone Navigation
- Fast loop: Flight stabilization, obstacle avoidance
- Slow loop: Mission planning, environment reasoning
- Integration: Adaptive flight parameters based on weather
4. Industrial Automation
- Fast loop: Process control, quality monitoring
- Slow loop: Production strategy, fault reasoning
- Integration: Adaptive control parameters based on product type
Design Patterns
Pattern 1: Hierarchical Strategy Translation
strategy = "Navigate carefully in crowded area"
params = {
'speed_limit': 0.5,
'safety_margin': 1.5,
'replan_frequency': 2.0
}
Pattern 2: Confidence-Based Adaptation
if confidence > 0.8:
controller.apply_full_adaptation(new_params)
elif confidence > 0.5:
controller.apply_partial_adaptation(new_params, blend=0.3)
else:
controller.apply_minimal_adaptation(new_params, blend=0.1)
Pattern 3: Performance-Guided Triggering
def trigger_conditions(fast_performance, state):
if fast_performance < threshold:
return True
if novelty_score(state) > novelty_threshold:
return True
if predict_constraint_risk(state) > risk_threshold:
return True
if time_since_last_slow_planning > review_interval:
return True
return False
Implementation Considerations
Time Budget Management
- Fast loop: Must complete within control cycle (typically < 10 ms)
- Slow loop: Can use longer budget (typically 100 ms - 1 s)
- Integration: Overlap execution where possible
Resource Allocation
- Parallel execution: Fast loop runs continuously, slow loop interleaved
- Priority handling: Fast loop gets priority when deadlines tight
- Graceful degradation: Reduce slow loop frequency under load
Safety Guarantees
- Fallback mechanisms: Default to fast loop if slow planner fails
- Parameter bounds: Limit adaptation range to prevent instability
- Verification: Check parameter validity before applying
Comparison with Traditional Approaches
| Approach | Reasoning Depth | Response Time | Adaptation | Integration |
|---|
| Classical Control | Low | Fast | No | None |
| LLM Planning Only | High | Slow | No | None |
| Separate Systems | High | Mixed | No | Loose |
| Fast-Slow Planning | High | Fast | Yes | Tight |
Key Advantages
- Combines reasoning and speed: Deep understanding with real-time execution
- Adaptive integration: Slow planner continuously guides fast controller
- Feedback-driven: Performance metrics trigger strategic reassessment
- Safety-aware: Bounds and fallbacks ensure stability
- Resource-efficient: Parallel execution maximizes utilization
Research Contributions
- Novel fast-slow planning architecture for agentic control
- Adaptive hyperparameter tuning mechanism with feedback
- Integration layer design for bridging reasoning and control
- Trigger condition framework for strategic intervention
- Application studies in robotics and automation
Practical Guidelines
- Start with simple fast controllers (PID, basic MPC)
- Use LLM for strategy-level reasoning (not parameter tuning directly)
- Implement translation layer between strategy and parameters
- Set appropriate trigger thresholds to balance reasoning frequency
- Always maintain safety bounds on parameter adaptation
- Test thoroughly before deployment in time-critical systems
Key Takeaways
- Fast-slow architecture bridges the reasoning-control gap
- Feedback integration enables continuous adaptation
- Adaptive hyperparameter tuning translates reasoning to control
- Trigger conditions balance reasoning depth vs. execution speed
- Safety mechanisms ensure stability under adaptation
Reference