From Cloud to Edge: Rethinking Generative AI for Low-Resource Design Challenges

Sai Krishna Revanth Vuruma, Ashley Margetts, Jianhai Su, Faez Ahmed, Biplav SrivastavaarXiv 2024 · DOI

Introduction

Generative AI (GenAI) has fundamentally altered the landscape of engineering and creative design. However, a significant "geographic divide" persists: state-of-the-art models like GPT-4 and DALL-E are computationally expensive, requiring high-speed internet and massive cloud-based GPU clusters. This infrastructure is often unavailable in remote or low-resource regions, precisely where innovative, localized design solutions are most critical for survival and sustainability. This paper argues for a paradigm shift toward "Edge AI"—lightweight, offline generative models capable of running on local hardware to democratize design innovation.

The Challenge of Resource-Constrained Design

Remote regions face unique engineering constraints, including limited material availability, specific environmental conditions, and a lack of technical support. Current cloud-based models are typically trained on global datasets that may not account for these regional nuances. Furthermore, the dependency on a continuous internet connection renders these tools useless in many developing contexts. To address this, we propose a roadmap for transitioning GenAI from the cloud to the edge, utilizing "TinyML" techniques to make advanced design tools accessible on smartphones and low-power devices.

Technical Roadmap for Edge-Based GenAI

Moving GenAI to the edge requires a multi-faceted technical approach focused on efficiency and context-awareness:

  • Model Compression: Techniques such as Pruning (removing redundant weights), Quantization (reducing numerical precision from 32-bit to 8-bit), and Knowledge Distillation are essential to fit large models onto mobile hardware.
  • Edge Computing Architectures: By processing data locally, we eliminate latency and the need for high-bandwidth connectivity.
  • Multi-modal Integration: Utilizing Vision-Language Models (VLMs) like CoDi (Composable Diffusion) allows users to input visual data—such as a photo of a broken component—and receive tailored design suggestions.
  • Context-Aware Fine-tuning: Models must be fine-tuned on local data (e.g., regional soil types or specific mechanical standards) to ensure the generated designs are physically and culturally relevant.

Case Studies and Preliminary Results

To evaluate the potential of current multi-modal models in design tasks, we conducted qualitative tests using the CoDi model in two primary scenarios: infrastructure design and mechanical repair.

Infrastructure Design: Wooden Greenhouses

In the first scenario, the model was prompted to design a greenhouse made of wood. While the system successfully generated relevant architectural imagery, the accompanying text descriptions lacked the technical depth required for construction, highlighting a gap between conceptual visualization and engineering utility.

Generative design of a wooden greenhouse using multi-modal inputs.

Mechanical Repair: Water Pump Components

A critical application for Edge AI is "on-the-fly" repair. We tested a scenario where a user requires a replacement valve for a water pump. The model was able to parse the intent and generate potential replacement part designs. However, as seen in the results, the precision of the generated captions and the structural details of the parts are not yet sufficient for direct manufacturing.

Workflow for designing a replacement water pump valve using the CoDi model.

Discussion and Future Directions

While the potential for democratizing innovation is vast, several hurdles remain. Current models often suffer from "hallucinations," producing designs that are visually appealing but structurally unsound. Additionally, the "precision gap" means that while GenAI is excellent at conceptualization, it struggles with the technical rigors of the later stages of engineering.

Future research must focus on specialized AI chips, distributed edge computing (where multiple local devices share the load), and improving the robustness of models against "prompt sensitivity." By overcoming these barriers, we can move toward a future where isolated communities are no longer passive recipients of technology, but active creators of their own sustainable solutions.

Summary updated

Abstract

Generative Artificial Intelligence (AI) has shown tremendous prospects in all aspects of technology, including design. However, due to its heavy demand on resources, it is usually trained on large computing infrastructure and often made available as a cloud-based service. In this position paper, we consider the potential, challenges, and promising approaches for generative AI for design on the edge, i.e., in resource-constrained settings where memory, compute, energy (battery) and network connectivity may be limited. Adapting generative AI for such settings involves overcoming significant hurdles, primarily in how to streamline complex models to function efficiently in low-resource environments. This necessitates innovative approaches in model compression, efficient algorithmic design, and perhaps even leveraging edge computing. The objective is to harness the power of generative AI in creating bespoke solutions for design problems, such as medical interventions, farm equipment maintenance, and educational material design, tailored to the unique constraints and needs of remote areas. These efforts could democratize access to advanced technology and foster sustainable development, ensuring universal accessibility and environmental consideration of AI-driven design benefits.
BibTeX
@misc{vuruma2024from,
  author = {Sai Krishna Revanth Vuruma and Ashley Margetts and Jianhai Su and Faez Ahmed and Biplav Srivastava},
  title = {{From Cloud to Edge: Rethinking Generative AI for Low-Resource Design Challenges}},
  year = {2024},
  eprint = {2402.12702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.12702},
}
Figure