Abstract
AI engineering has emerged as a crucial discipline to democratize deep neural network (DNN) models among software developers with a diverse background. In particular, altering these DNN models in the deployment stage posits a tremendous challenge. In this research, we propose and develop a low-code solution, ModelPS (an acronym for "Model Photoshop"), to enable and empower collaborative DNN model editing and intelligent model serving. The ModelPS solution embodies two transformative features: 1) a user-friendly web interface for a developer team to share and edit DNN models pictorially, in a low-code fashion, and 2) a model genie engine in the backend to aid developers in customizing model editing configurations for given deployment requirements or constraints. Our case studies with a wide range of deep learning (DL) models show that the system can tremendously reduce both development and communication overheads with improved productivity.
1. Introduction
While pre-trained models have significantly lowered the barrier to entry for deep learning, the transition from a model to a production-ready product—often termed "AI Engineering"—remains a significant bottleneck. Industry data suggests that only approximately 11% of organizations can deliver a deep neural network (DNN) based product within a single week. This delay is largely attributed to fragmented workflows, high expertise requirements for transfer learning (TL), and friction in team collaboration.
Existing tools often address isolated segments of the pipeline, such as visualization or training, requiring developers to write extensive "glue code" to bridge the gaps. Furthermore, non-expert engineers often struggle with the complex hyperparameter tuning and architectural modifications required for effective transfer learning. ModelPS addresses these challenges by providing a unified, low-code platform for model editing and serving.
2. System Architecture
ModelPS is designed as a holistic, end-to-end platform that bridges the gap between model repositories and training platforms. Its architecture supports a collaborative environment where researchers, engineers, and DevOps professionals can interact with a shared workspace.
The system consists of three primary layers:
- Interactive Interface: A web-based frontend for visual model editing and validation.
- Backend: Houses the Model Repository, the Model Trainer (which includes a TL Algorithm Zoo and Feature Selector), and the Model Genie.
- Infrastructure Platforms: Integration with MLaaS and Training Platforms for scalable execution.
3. Interactive Model Editing and Validation
The core philosophy of ModelPS is the "Model Photoshop" analogy: treating DNNs as visual assets with layers that can be tweaked and adjusted graphically. The platform provides a "what you see is what you get" (WYSIWYG) interface where users can modify model architectures by interacting with a graph view.
Key features of the interface include:
- Visual Editor: Allows users to right-click layers to adjust configurations, swap components, or freeze parameters. Models are serialized as JSON "drafts," enabling version control and collaborative review.
- Validator: To prevent wasted resources, the Validator provides a "fast-fail" mechanism. It runs abbreviated training sessions on spare hardware to provide immediate estimates of accuracy and latency, allowing users to iterate quickly before committing to full-scale training.
4. Intelligent Backend: The Model Genie
To assist non-expert users, ModelPS includes the Model Genie, an intelligent engine that suggests optimal training configurations based on specific constraints (e.g., "maximum accuracy under 20ms latency"). The Genie utilizes a Searcher to retrieve successful configurations from historical data and an Exploiter that employs rule-based search and Hyperparameter Optimization (HPO) to discover new settings when historical data is insufficient.
5. Evaluation and Key Insights
The platform's effectiveness was validated through several case studies involving standard benchmarks like MNIST, CIFAR-10, and ImageNet, as well as custom tasks such as street view and text classification.
- Efficiency: Users successfully performed complex tasks—including model switching, feature selection, and hyperparameter tuning—entirely through the UI, drastically reducing development overhead.
- Constraint-Aware Optimization: The Model Genie demonstrated the ability to balance competing objectives, such as identifying configurations that meet strict hardware constraints on edge devices through techniques like Knowledge Distillation (KD).
- Collaboration: By acting as a "single source of truth," the platform streamlined communication between Data Engineers, Product Engineers, and DevOps, ensuring all team members were synchronized on model modifications and performance metrics.
6. Conclusion and Future Work
ModelPS represents a significant step toward democratizing DNN deployment through low-code, collaborative tools. Future research will focus on managing the "search space explosion" inherent in joint model and hyperparameter optimization, as well as implementing Reinforcement Learning (RL) for more efficient job scheduling across heterogeneous hardware environments.
Summary updated