[Paper Review] Teaching Software Engineering for AI-Enabled Systems
This paper presents a new graduate course that teaches software engineering principles for building robust, scalable, and ethically aware AI-enabled systems, targeting ML students with practical training in real-world concerns like model versioning, data pipeline engineering, and fairness. The course integrates hands-on assignments using a custom simulator and shares all materials openly under a Creative Commons license.
Software engineers have significant expertise to offer when building intelligent systems, drawing on decades of experience and methods for building systems that are scalable, responsive and robust, even when built on unreliable components. Systems with artificial-intelligence or machine-learning (ML) components raise new challenges and require careful engineering. We designed a new course to teach software-engineering skills to students with a background in ML. We specifically go beyond traditional ML courses that teach modeling techniques under artificial conditions and focus, in lecture and assignments, on realism with large and changing datasets, robust and evolvable infrastructure, and purposeful requirements engineering that considers ethics and fairness as well. We describe the course and our infrastructure and share experience and all material from teaching the course for the first time.
Motivation & Objective
- Address the gap in AI education that focuses narrowly on model accuracy while neglecting software engineering practices for real-world deployment.
- Equip ML-trained students with essential software engineering skills—such as versioning, continuous integration, and system architecture—for building reliable AI systems.
- Bridge the divide between data scientists, who focus on model performance, and software engineers, who prioritize scalability, maintainability, and risk management.
- Introduce practical, realistic system challenges such as data quality, model updates, and ethical considerations (e.g., fairness) beyond textbook ML scenarios.
- Provide a reusable, open-source curriculum and simulation infrastructure to support adoption by other educators in AI and software engineering.
Proposed method
- Designed a graduate-level course with a software-engineering perspective focused on AI system development, targeting ML students with limited systems experience.
- Developed a custom simulation environment (simulator) to model a movie recommendation system with realistic user behavior, data streams, and model updates.
- Integrated core software engineering practices: version control for models and data, CI/CD pipelines, A/B testing, and threat modeling for AI systems.
- Structured assignments around real-world scenarios: building a scalable recommendation pipeline, deploying models in production, evaluating fairness in credit scoring, and analyzing security risks.
- Used Hulten’s *Building Intelligent Systems* as a foundational textbook and supplemented with guest lectures and practical tooling.
- Released all course materials—including slides, assignments, and simulator code—under a Creative Commons license for reuse and adaptation.
Experimental results
Research questions
- RQ1How can software engineering principles be effectively taught to students with a machine learning background but limited systems experience?
- RQ2What are the key engineering challenges in deploying and maintaining AI components in production systems beyond model accuracy?
- RQ3How can realistic, scalable, and extensible simulation environments be designed to teach AI system engineering in an educational context?
- RQ4What role do ethical considerations—such as fairness and interpretability—play in system design, and how can they be integrated into software engineering workflows?
- RQ5What tools and practices are needed to support data versioning, model quality monitoring, and continuous deployment in AI systems?
Key findings
- The course successfully engaged 12 graduate students in applying software engineering practices to AI systems, with strong feedback on the relevance of topics like model versioning and fairness evaluation.
- The custom simulator, while functional, required significant engineering effort and was found to be under-scaled (160,000 users, 70 events/sec), limiting realistic performance and cost tradeoff discussions.
- Students struggled with gaps in foundational software engineering knowledge, suggesting a need for separate tracks for ML and software engineering students.
- Existing tools for fairness, explainability, and data versioning were deemed immature or hard to use, highlighting a need for better tooling in AI system engineering.
- The course demonstrated that integrating ethics and operational concerns (e.g., A/B testing, risk management) into AI education significantly broadens students’ system design thinking.
- All course materials, including the simulator and assignments, were released under a Creative Commons license, enabling reuse and adaptation by other educators.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.