- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 4
Read review
Summary
The paper describes an automated pipeline aimed at the utilization of off-the-shelf LLMs to produce optimized DL models which can be deployed on specialized edge hardware (MCUs). It describes a novel method to include physical, real world, measurements in the feedback loop of an agent tasked with the optimization of DL models in terms of deployability, model accuracy, power consumption, and thermal radiation.
In the proposed method, an LLM agent produces a software artifact, including a compressed DL model, and get two feedbacks :
- a binary feedback on the deployability of the produced artifact on the specialized hardware and,
- a vector of real values associated with measurements made on the physical target.
The application of this method is described in two application settings: elk detection in video streaming and real-time phoneme transcription.
Strengths and weaknesses
The paper clearly states the objectives and the use cases are also well described. The motivation to use LLMs to complete the challenging task of tuning DL models to specialized hardware is well grounded. The different parameters used to put the agent arena in place, DL models used as starting points, and used LLM are adequately described, making it possible to replicate the results as long as the specialized hardware is available. The described work is a PoC to improve applicability of LLM usage to problems involving physical constraints.
The analysis of failure conditions are interesting.
The results are relatively convincing even though there hasn't been enough iterations to ensure statistical significance of the obtained measures. This is confirmed by the authors in their checklist and justified by a lack of resources. This limits the generality of the approach to other use cases but pave the way to more advanced studies.
An expriment combining the different performance criteria would have been an interesting challenge for the presented method.
One of my concerns is about the lack of analysis of the produced software artifacts. It seems the research team included experts in embedded software but the obtained software artifacts aren't analysed or described, even though it seems to be of better quality than human produced artifacts. It could have been of great interest to the embedded software community to get insight from the resulting software.
Questions
In Fig. 3 and 4, how was it possible to measure FER and mAP50-95 on failed attempts ?
Limitations
Yes
Paper formatting concerns
There is a duplicated sentence in lines 222-225.
There are far too many things in Fig.5. And those things are of different types (photo, graphs, spectrogram).
We thank the reviewer for the positive assessment and for recognizing the motivation, practical value, and reproducibility of our hardware in the loop framework. We appreciate your thoughtful suggestions. We address each point below.
We thank the reviewer for raising this point. We agree that understanding how the agents optimize firmware is valuable to the embedded systems community. We conducted an additional analysis of the generated artifacts and will add a dedicated subsection in the revision.
Our analysis shows that the agent does not invent fundamentally new optimization techniques. Instead, its advantage is that it solidly discovers, combines, and applies embedded optimization practices through iterative hardware feedback. In summary:
For model compression, the agents mainly improve the search process rather than inventing new compression methods. They first created a small model whose weight footprint, activation memory, processor mapping, supported operators, and ping-pong buffers could be reasoned about explicitly. After establishing a deployable core, they conservatively increased depth, width, and training budget while preserving the known-good hardware layout. The larger LLMs with higher reasoning efforts made fewer arithmetic and constraint-management errors, and therefore required fewer HIL iterations to converge on architectures that maximized usable model capacity.
For power optimization, the generated firmware applies classic low power techniques, including:
The preferred optimizations differ by objective. For total energy, agents focus on reducing idle energy and shortening active time. For peak current, they instead spread computation over time and lower operating frequencies to reduce instantaneous current spikes.
Interestingly, GPT 5.4 was the only model that discovered overriding
printf()to remove verbose camera driver logging, reducing unnecessary serial communication.For thermal optimization, the agents reduce clock frequencies, optimize memory subsystem settings, and insert short scheduling gaps that lower peak temperature while still satisfying the runtime constraint. One particularly interesting optimization was that only Claude Opus 4.7 adjusted the PSRAM clock to cut dynamic power.
We agree that additional runs strengthen confidence in the results. We conducted two additional independent runs for Gemini 3.1 Pro on the most challenging task (YOLO on MAX78000), increasing the evaluation to 30 total iterations for both low and high reasoning efforts. Because every trajectory consists of 10 optimization rounds, and each round requires model training, compilation, flashing, and physical hardware measurement, it was not feasible to repeat the entire evaluation across all tasks during the rebuttal period. We will continue expanding the evaluation in the camera ready version.
The conclusion remains unchanged. Without hardware feedback, both Sco and Doc settings still achieved 0 successful deployments in all iterations, while Hardware-in-the-loop (HIL) consistently produced successful deployments (50-80%) with stable final mAP50-95 (Low: 10.43-14.20; High: 17.11-18.03).
To further strengthen the evaluation, we also performed additional statistical analysis. We treat each (model, task) pair as one paired observation, avoiding pseudoreplication from treating individual iterations as independent samples. Since our hypothesis of interest is specifically whether HIL improves over Sco/Doc (not an exploratory three-way comparison), we run two planned Wilcoxon signed-rank tests (HIL vs. Sco, HIL vs. Doc) with Holm correction. We additionally report bootstrap 95% confidence intervals and a mixed-effects logistic regression (GEE, binomial, clustered by model, controlling for task) controlling for task differences and repeated measurements.
Across all tasks (N = 48 paired evaluations):
HIL is significantly higher than both Sco (p < 0.0001) and Doc (p = 0.0004, Holm-corrected). The GEE model confirms this after controlling for task and within-model correlation (HIL vs. Sco: OR ≈ 4.7, p < 0.0001; HIL vs. Doc: p < 0.0001).
We apologize for the unclear presentation. The plotted mAP50-95 and FER values for "Failed" attempts are host side evaluations, not measurements collected from the MCU. The deployment itself failed because the generated model violated hardware constraints such as memory or operator support, even though its software level accuracy could still be evaluated.
We included these points to visualize the agent's search trajectory. High accuracy failed points show that the agent found a promising model, but it was not yet deployable on the target hardware. We will revise both figure captions and the main text to make this clear.
We thank the reviewer for pointing out the presentation issues. We have fixed them.