[Paper Review] Machine Learning Software Engineering in Practice: An Industrial Case Study
This industrial case study presents a machine learning approach to automatically detect and correct errors in retail transaction data at scale, using an agile, collaborative framework between SAP and Polytechnique Montreal. The study identifies key challenges in software engineering for machine learning and provides actionable guidelines for industry-academia collaboration in ML-driven software development.
SAP is the market leader in enterprise software offering an end-to-end suite of applications and services to enable their customers worldwide to operate their business. Especially, retail customers of SAP deal with millions of sales transactions for their day-to-day business. Transactions are created during retail sales at the point of sale (POS) terminals and then sent to some central servers for validations and other business operations. A considerable proportion of the retail transactions may have inconsistencies due to many technical and human errors. SAP provides an automated process for error detection but still requires a manual process by dedicated employees using workbench software for correction. However, manual corrections of these errors are time-consuming, labor-intensive, and may lead to further errors due to incorrect modifications. This is not only a performance overhead on the customers' business workflow but it also incurs high operational costs. Thus, automated detection and correction of transaction errors are very important regarding their potential business values and the improvement in the business workflow. In this paper, we present an industrial case study where we apply machine learning (ML) to automatically detect transaction errors and propose corrections. We identify and discuss the challenges that we faced during this collaborative research and development project, from three distinct perspectives: Software Engineering, Machine Learning, and industry-academia collaboration. We report on our experience and insights from the project with guidelines for the identified challenges. We believe that our findings and recommendations can help researchers and practitioners embarking into similar endeavors.
Motivation & Objective
- Address the high operational cost and inefficiency caused by manual correction of transaction errors in SAP’s enterprise retail systems.
- Reduce business workflow disruptions and error propagation from manual interventions in transaction validation processes.
- Develop an automated, scalable machine learning pipeline for real-time detection and correction of transaction inconsistencies.
- Identify and document cross-cutting challenges in ML-based software engineering within industry-academia collaborations.
- Provide practical guidelines for integrating machine learning into enterprise software development with a focus on maintainability, data privacy, and team collaboration.
Proposed method
- Applied supervised machine learning on historical retail transaction data to detect anomalies and inconsistencies.
- Designed an end-to-end ML pipeline including data ingestion, preprocessing, feature engineering, model training, and deployment for production use.
- Adopted an agile development methodology (e.g., SCRUM) to support iterative development and continuous integration in a collaborative environment.
- Implemented a correction recommendation system using trained models to suggest fixes for detected errors.
- Established secure data handling protocols to ensure privacy and compliance with enterprise standards.
- Facilitated regular cross-team syncs between academic researchers and industry engineers to align objectives and bridge knowledge gaps.
Experimental results
Research questions
- RQ1How can machine learning be effectively integrated into enterprise transaction processing systems to automate error detection and correction?
- RQ2What are the key challenges in developing ML-based software components when collaborating between industry and academia?
- RQ3How do differences in software engineering practices, ML workflows, and institutional cultures impact the development lifecycle?
- RQ4What technical and organizational strategies can improve collaboration and knowledge transfer in ML-driven industrial R&D projects?
- RQ5What best practices can be derived from real-world deployment of ML in mission-critical enterprise software?
Key findings
- The ML pipeline achieved significant reduction in manual error correction efforts, improving system throughput and reducing operational costs.
- Agile methodologies proved effective in managing the iterative and evolving nature of ML development in industrial settings.
- Key challenges emerged in data quality, model interpretability, and integration with legacy enterprise systems.
- Differences in professional practices and institutional cultures between academia and industry required deliberate alignment and communication strategies.
- Data privacy and security constraints significantly influenced data access, processing, and model training workflows.
- Regular knowledge transfer sessions and joint planning sessions were critical for bridging gaps in domain understanding and technical expectations.
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.