mlsanityData to 14 Oct 2026

Exploring and Characterizing Large Language Models For Embedded System Development and Debugging

arXiv 2307.03817 ↗First posted 7 Jul 2023cs.SE cs.AIcited by 20

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have shown remarkable abilities to generate code, however their ability to develop software for embedded systems, which requires cross-domain knowledge of hardware and software has not been studied. In this paper we develop an extensible, open source hardware-in-the-loop framework to systematically evaluate leading LLMs (GPT-3.5, GPT-4, PaLM 2) to assess their capabilities and limitations for embedded system development. We observe through our study that even when these tools fail to produce working code, they consistently generate helpful reasoning about embedded design tasks. We leverage this finding to study how human programmers interact with these tools, and develop an human-AI based software engineering workflow for building embedded systems. Our evaluation platform for verifying LLM generated programs uses sensor actuator pairs for physical evaluation. We compare all three models with N=450 experiments and find surprisingly that GPT-4 especially shows an exceptional level of cross-domain understanding and reasoning, in some cases generating fully correct programs from a single prompt. In N=50 trials, GPT-4 produces functional I2C interfaces 66% of the time. GPT-4 also produces register-level drivers, code for LoRa communication, and context-specific power optimizations for an nRF52 program resulting in over 740x current reduction to 12.2uA. We also characterize the models' limitations to develop a generalizable human-AI workflow for using LLMs in embedded system development. We evaluate our workflow with 15 users including novice and expert programmers. We find that our workflow improves productivity for all users and increases the success rate for building a LoRa environmental sensor from 25% to 100%, including for users with zero hardware or C/C++ experience.

Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 37 of its 73 references that are in the map. First posted on arXiv 7 Jul 2023.

Builds on

37 of 73 references.

References · 37

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  8. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  9. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  10. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  11. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  12. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
25 more
  1. 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,471
  2. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  3. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
  4. 2023ImageBind: One Embedding Space To Bind Them Allcited by 1,175
  5. 2023PaLM 2 Technical Reportcited by 1,162
  6. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
  7. 2023Teaching Large Language Models to Self-Debugcited by 988
  8. 2023BloombergGPT: A Large Language Model for Financecited by 939
  9. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  10. 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
  11. 2023Language Models can Solve Computer Taskscited by 372
  12. 2022A Systematic Evaluation of Large Language Models of Codecited by 363
  13. 2023Self-collaboration Code Generation via ChatGPTcited by 258
  14. 2023A Comprehensive Capability Analysis of GPT-3 and GPT-3.5 Series Modelscited by 246
  15. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  16. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 126
  17. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 125
  18. 2023Large Language Models are Few-Shot Health Learnerscited by 118
  19. 2021Jigsaw: Large Language Models meet Program Synthesiscited by 103
  20. 2022Productivity Assessment of Neural Code Completioncited by 98
  21. 2023Improving Code Generation by Training with Natural Language Feedbackcited by 76
  22. 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
  23. 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
  24. 2021The Language Model Understood the Prompt was Ambiguous: Probing Syntactic Uncertainty Through Generationcited by 15
  25. 2022Embedded Systems Education in the 2020s: Challenges, Reflections, and Future Directionscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 11; 2026: 5.

20 papers.

Sort:

By area:

  1. 2023A Survey of Large Language Models in Medicine: Progress, Application, and Challengecited by 124
  2. 2025ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptionscited by 45
  3. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
  4. 2024SocialMind: LLM-based Proactive AR Social Assistive System with Human-like Perception for In-situ Live Interactionscited by 25
  5. 2025ProAgent: Harnessing On-Demand Sensory Contexts for Proactive LLM Agent Systems in the Wildcited by 10
  6. 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systemscited by 6
  7. 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
  8. 2026InCoder-32B-Thinking: Industrial Code World Model for Thinkingcited by 4
  9. 2025Consolidating TinyML Lifecycle with Large Language Models: Reality, Illusion, or Opportunity?cited by 3
  10. 2025Securing LLM-Generated Embedded Firmware through AI Agent-Driven Validation and Patchingcited by 3
  11. 2025ProtocolLLM: RTL Benchmark for SystemVerilog Generation of Communication Protocolscited by 1
  12. 2025Advances in Large Language Models for Medicinecited by 1
8 more
  1. 2023VoCopilot: Voice-Activated Tracking of Everyday Interactionscited by 0
  2. 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
  3. 2025AutoBridge: Automating Smart Device Integration with Centralized Platformcited by 0
  4. 2025Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL Testingcited by 0
  5. 2026Artificial Intelligence as a Catalyst for Innovation in Software Engineeringcited by 0
  6. 2026Embedded Arena: Iterative Optimization via Hardware Feedbackcited by 0
  7. 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Testcited by 0
  8. 2026Developing a Roadmap to an AI-first Organization: A Case Study in Embedded Software Developmentcited by 0