MeRino: Entropy-Driven Design for Generative Language Models on IoT Devices

Youpeng Zhao, Ming Lin, Huadong Tang, Qiang Wu, Jun Wang

Abstract

Generative Large Language Models (LLMs) are typically too resource-intensive for Internet-of-Things (IoT) applications. We present MeRino, a "zero-cost" design framework that utilizes information entropy to architect high-performance generative models specifically for resource-constrained edge devices. By maximizing "effective entropy" while penalizing excessive depth-to-width ratios, MeRino identifies optimal sub-100M parameter architectures in minutes on a standard CPU. Our models achieve accuracy comparable to models five times their size while running nearly 5x faster on hardware such as the NVIDIA Jetson Nano.

Introduction

While the industry has shifted toward "Small" Language Models (SLMs) in the 1B–3B parameter range, these remain prohibitive for true IoT or low-end mobile hardware. A 125M parameter model can consume over 1.2GB of RAM for simple queries, far exceeding the typical 10% memory overhead allowed for background mobile processes. Furthermore, traditional Neural Architecture Search (NAS) is computationally expensive, requiring thousands of GPU hours and massive datasets. MeRino addresses these challenges by enabling the rapid design of high-performance, sub-100M parameter models without requiring GPUs during the search phase.

Methodology: The Maximum Entropy Principle

MeRino is built on the premise that a model's expressiveness is mathematically linked to its information entropy. The framework employs several key components:

Entropy as a Performance Proxy

Instead of the costly process of training candidate models, MeRino calculates the "subspace entropy" of weight matrices. Empirical analysis demonstrates that entropy serves as a superior proxy for final model performance compared to other zero-cost metrics like Neural Tangent Kernel (NTK) or DSS-Score.

Correlation between various zero-cost proxies and model performance.

Effective Entropy and Constraints

To prevent the search from favoring overly deep, untrainable architectures, MeRino introduces an "effective entropy" constraint. This penalty for high depth-to-width ratios ensures balanced, trainable designs. The search space utilizes an adaptive block-wise approach with parameter sharing to minimize the memory footprint on disk and flash storage.

By utilizing a pre-computed entropy lookup table, the architecture search is reduced to a purely analytical mathematical programming problem. An Evolutionary Algorithm (EA) can solve this on a standard CPU in approximately three minutes (0.05 hours), significantly faster than state-of-the-art training-free NAS methods.

Experimental Results

Models were pre-trained from scratch on The Pile for 600k steps and evaluated across 14 downstream NLP tasks, including language modeling (WikiText-2, PTB) and zero-shot reasoning (HellaSwag, ARC, OpenbookQA). MeRino models (52M to 64M parameters) demonstrate significant efficiency gains:

  • Performance vs. Scale: MeRino-64M achieved accuracy comparable to the OPT-350M model while being 5.5x smaller and 4.9x faster on an NVIDIA Jetson Nano.
  • Efficiency: MeRino-52M matched the performance of Pythia-70M while running 2.0x faster.
  • Quantization: The architectures are quantization-friendly, maintaining performance at INT8 and seeing only a ~1% drop at INT4.
Comparison of Average Zero-shot Accuracy vs. Latency on NVIDIA Jetson Nano.

Discussion and Limitations

MeRino enables hardware-aware design, allowing developers to re-run the search for specific IoT devices to find optimal fits for unique latency and memory limits. However, direct comparisons with recent 1B-regime mobile models were limited by weight availability at the time of study. Future work will explore whether entropy-driven constraints scale effectively to the 7B+ parameter regime, where training dynamics and gradient flow may differ.

Summary updated

BibTeX
@inproceedings{zhao2025merino,
  author = {Youpeng Zhao and Ming Lin and Huadong Tang and Qiang Wu and Jun Wang},
  title = {{MeRino: Entropy-Driven Design for Generative Language Models on IoT Devices}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i21.34445},
}
Figure