Radar sensing pipeline design is a multi-objective optimization problem that crosses hardware constraints, signal processing algorithms, and deployment targets. AutoRSP is an AI agent that automates this process by orchestrating five stack layers through specialized sub-agents, using code-based representations and real-world feedback instead of LLM judges.
The Design Space Problem
Traditional radar pipeline design requires:
- Waveform selection: chirp bandwidth, pulse repetition frequency, modulation scheme
- Signal processing chain: FFT sizes, windowing functions, clutter rejection filters
- Hardware mapping: FPGA resource allocation, ADC sampling rates, power budgets
- Software implementation: edge device deployment, latency targets, memory footprint
Each decision propagates constraints to other layers. Choosing a high-resolution waveform increases processing load. Targeting a low-power edge device restricts algorithm complexity. Human experts iterate through these trade-offs manually, often taking weeks per design.
Agent Architecture
AutoRSP structures the problem as five sub-agents mapped to stack layers:
- Waveform agent: selects radar transmission parameters
- Signal processing agent: designs the DSP chain
- Hardware agent: allocates FPGA or ASIC resources
- Software agent: generates edge deployment code
- Integration agent: validates cross-layer dependencies
Each sub-agent operates on a code-based representation of its layer. The waveform agent outputs Python config dictionaries. The signal processing agent emits NumPy pipelines. The hardware agent produces Verilog snippets or resource allocation tables. This keeps the design space explicit and executable.
Constraint Propagation
Dependencies flow bidirectionally:
- Top-down: application requirements (detection range, resolution) constrain waveform choices, which constrain processing algorithms, which constrain hardware resources
- Bottom-up: hardware limits (available FPGA LUTs, ADC bit depth) restrict processing complexity, which restricts waveform parameters
AutoRSP models these as explicit edges in a dependency graph. When one sub-agent proposes a change, affected layers re-evaluate feasibility. If a constraint violation occurs, the agent backtracks or requests a relaxation from the user.
Feedback Loop Design
AutoRSP does not rely on LLM self-evaluation. Instead, it validates designs through:
- RF simulation: models electromagnetic propagation, target reflections, noise floors
- On-sensor emulation: runs the DSP chain on representative hardware (FPGA dev board, embedded GPU)
- Real device execution: deploys to target edge hardware and measures latency, power, accuracy
This pipeline is slow compared to an LLM call. A full validation cycle can take minutes to hours. AutoRSP addresses this with:
- Early pruning: cheap feasibility checks (resource bounds, timing analysis) before expensive simulation
- Caching: stores validated sub-designs and reuses them when constraints match
- Parallel evaluation: runs multiple candidate pipelines concurrently on a cluster of test devices
The agent iterates until it finds a Pareto-optimal design or exhausts a time budget.
Code Representation Example
A simplified waveform config emitted by the waveform agent:
waveform = { "type": "FMCW", "bandwidth_mhz": 500, "chirp_duration_us": 40, "prf_hz": 10000, "tx_power_dbm": 10, "constraints": { "range_resolution_m": 0.3, "max_range_m": 50, "doppler_resolution_mps": 0.1 } } The signal processing agent consumes this and generates a DSP chain:
def process_radar_frame(adc_samples, waveform_config): # Range FFT range_fft = np.fft.fft(adc_samples * hann_window, n=1024) # Doppler FFT across chirps doppler_fft = np.fft.fft(range_fft, axis=1, n=256) # CFAR detection detections = cfar_2d(np.abs(doppler_fft), guard=4, train=16, pfa=1e-6) return detections The hardware agent checks if this fits in the target FPGA's DSP blocks and BRAM. If not, it requests a smaller FFT size from the signal processing agent.
Evaluation Results
AutoRSP was tested on three domains:
| Application | Metric | Human Expert | AutoRSP | Time Savings |
|---|---|---|---|---|
| Robotic imaging | Range accuracy (cm) | 2.1 | 1.9 | 18x faster |
| Automotive perception | Detection rate (%) | 94.2 | 95.1 | 22x faster |
| Vital sign sensing | Heart rate error (bpm) | 1.8 | 1.6 | 14x faster |
The agent matched or exceeded human performance while reducing design time from weeks to hours. It also discovered non-obvious trade-offs, like using a lower-power waveform with more aggressive signal processing to meet the same detection spec.
Failure Modes
AutoRSP struggles when:
- Constraints are under-specified: if the user provides vague requirements ("good range and low power"), the agent explores too broad a space
- Simulation diverges from reality: RF propagation models are approximations; real-world multipath or interference can invalidate designs
- Hardware feedback is unavailable: without access to target devices for emulation, the agent cannot validate deployment feasibility
The agent also lacks domain intuition. A human expert might recognize that a certain waveform is unsuitable for a cluttered environment based on experience. AutoRSP only learns this if the simulation captures the clutter accurately.
Deployment Shape
A production AutoRSP deployment requires:
- Simulation cluster: GPU nodes for RF modeling, FPGA emulation servers
- Device farm: representative edge hardware for real-world validation
- Orchestration layer: task queue (Celery, Temporal) to manage parallel evaluations
- State store: database (Postgres, DynamoDB) to cache validated sub-designs
- Observability: metrics on agent iteration count, constraint violations, simulation accuracy
The agent itself runs as a long-lived service. Users submit design requests via API, specifying application requirements and hardware targets. The agent returns a ranked list of pipeline candidates with performance predictions and deployment artifacts (code, config files, resource reports).
Security Boundaries
AutoRSP generates executable code for embedded systems. Key risks:
- Code injection: if user requirements are parsed unsafely, malicious input could inject arbitrary code into generated pipelines
- Resource exhaustion: the agent could propose designs that exceed hardware limits, causing crashes or thermal issues
- Simulation sandbox escape: if RF simulation or emulation runs untrusted code, it needs isolation (containers, VMs)
Mitigations include input validation, static analysis of generated code, and sandboxed execution environments for all feedback loops.
Technical Verdict
Use AutoRSP when:
- You need to explore a large design space quickly (multiple waveforms, processing algorithms, hardware targets)
- You have access to realistic simulation and emulation infrastructure
- Design requirements are well-specified and measurable (range, resolution, power, latency)
- You can tolerate agent-generated code that may need human review before production deployment
Avoid it when:
- Domain expertise is critical for safety or regulatory reasons (medical devices, aerospace)
- Simulation fidelity is low and real-world testing is prohibitively expensive
- Requirements are ambiguous or change frequently during the design process
- You lack the infrastructure to validate designs at scale (simulation cluster, device farm)
AutoRSP demonstrates that agents can handle system-level engineering problems with tight hardware-software coupling, but only when the feedback loop is grounded in measurable reality rather than LLM self-assessment.
