Slice-and-Pack: Tailoring Deep Models for Customized Requirements

Authors

  • Ruice Rao National Key Laboratory for Novel Software Technology, Nanjing University, China School of Artificial Intelligence, Nanjing University, China
  • Dingwei Li National Key Laboratory for Novel Software Technology, Nanjing University, China School of Artificial Intelligence, Nanjing University, China
  • Ming Li National Key Laboratory for Novel Software Technology, Nanjing University, China School of Artificial Intelligence, Nanjing University, China

DOI:

https://doi.org/10.1609/aaai.v39i19.34217

Abstract

The learnware paradigm aims to establish a learnware market such that users can build their own models by reusing appropriate existing models in the market without starting from scratch. It is often the case that a single model is insufficient to fully satisfy the user's requirement. Meanwhile, offering multiple models can lead to higher costs for users alongside an increase in hardware resource demands. To address this challenge, this paper proposes the ''Slice-and-Pack'' (S&P) framework to empower the market to provide users with only the required model fragments without having to offer entire abilities of all involved models. Our framework first slices a set of models into small fragments and subsequently packs selected fragments according to user's specific requirement. In the slicing stage, we extract units layer by layer and connect these units to create numerous fragments. In the packing stage, an encoder-decoder mechanism is employed to assemble these fragments. These processes are conducted within data-limited constraints due to privacy concerns. Extensive experiments validate the effectiveness of our framework.

Downloads

Published

2025-04-11

How to Cite

Rao, R., Li, D., & Li, M. (2025). Slice-and-Pack: Tailoring Deep Models for Customized Requirements. Proceedings of the AAAI Conference on Artificial Intelligence, 39(19), 20130–20138. https://doi.org/10.1609/aaai.v39i19.34217

Issue

Section

AAAI Technical Track on Machine Learning V