mlsanityData to 14 Oct 2026

When the Code Autopilot Breaks: Why LLMs Falter in Embedded Machine Learning

arXiv 2509.10946 ↗First posted 13 Sep 2025cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) are increasingly used to automate software generation in embedded machine learning workflows, yet their outputs often fail silently or behave unpredictably. This article presents an empirical investigation of failure modes in LLM-powered ML pipelines, based on an autopilot framework that orchestrates data preprocessing, model conversion, and on-device inference code generation. We show how prompt format, model behavior, and structural assumptions influence both success rates and failure characteristics, often in ways that standard validation pipelines fail to detect. Our analysis reveals a diverse set of error-prone behaviors, including format-induced misinterpretations and runtime-disruptive code that compiles but breaks downstream. We derive a taxonomy of failure categories and analyze errors across multiple LLMs, highlighting common root causes and systemic fragilities. Though grounded in specific devices, our study reveals broader challenges in LLM-based code generation. We conclude by discussing directions for improving reliability and traceability in LLM-powered embedded ML systems.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 22 references that are in the map. First posted on arXiv 13 Sep 2025.

Builds on

11 of 22 references.

References · 11

  1. 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
  2. 2023Large Language Models for Software Engineering: Survey and Open Problemscited by 181
  3. 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 90
  4. 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 76
  5. 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 60
  6. 2024LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluationcited by 49
  7. 2022Edge Impulse: An MLOps Platform for Tiny Machine Learningcited by 24
  8. 2024MORepair: Teaching LLMs to Repair Code via Multi-Objective Fine-tuningcited by 13
  9. 2024VeCoGen: Automating Generation of Formally Verified C Code with Large Language Modelscited by 10
  10. 2025Consolidating TinyML Lifecycle with Large Language Models: Reality, Illusion, or Opportunity?cited by 3
  11. 2025Prompt Orchestration Markup Languagecited by 1

Built on by

Not cited yet.