paper-with-me

홈 › Papers

Towards Model-Size Agnostic, Compute-Free, Memorization-based Inference of Deep Learning

2023-07-14 · Davide Giacomini, Maeesha Binte Hashem, Jeremiah Suarez, Swarup Bhunia, Amit Ranjan Trivedi

The rapid advancement of deep neural networks has significantly improved various tasks, such as image and speech recognition. However, as the complexity of these models increases, so does the computational cost and the number of parameters, making it difficult to deploy them on resource-constrained devices. This paper proposes a novel memorization-based inference (MBI) that is compute free and only requires lookups. Specifically, our work capitalizes on the inference mechanism of the recurrent attention model (RAM), where only a small window of input domain (glimpse) is processed in a one time step, and the outputs from multiple glimpses are combined through a hidden vector to determine the overall classification output of the problem. By leveraging the low-dimensionality of glimpse, our inference procedure stores key value pairs comprising of glimpse location, patch vector, etc. in a table. The computations are obviated during inference by utilizing the table to read out key-value pairs and performing compute-free inference by memorization. By exploiting Bayesian optimization and clustering, the necessary lookups are reduced, and accuracy is improved. We also present in-memory computing circuits to quickly look up the matching key vector to an input query. Compared to competitive compute-in-memory (CIM) approaches, MBI improves energy efficiency by almost 2.7 times than multilayer perceptions (MLP)-CIM and by almost 83 times than ResNet20-CIM for MNIST character recognition.

📄 PDF Abstract BibTeX arXiv:2307.07631

Code (0)

등록된 구현이 없습니다.

Tasks

Bayesian OptimizationMemorizationspeech-recognitionSpeech Recognition

Similar Papers 제목 키워드 기반

How much do language models memorize?

2025-05-30 · John X. Morris, Chawin Sitawarin, Chuan Guo, Narine Kokhlikyan 외

We propose a new method for estimating how much a model ``knows'' about a datapoint and use it to measure the capacity of modern language models. Prior studies of language model memorization have struggled to disentangle…

Language ModelingLanguage ModellingMemorization

The Unreasonable Ineffectiveness of Nucleus Sampling on Mitigating Text Memorization

2024-08-29 · Luka Borec, Philipp Sadler, David Schlangen

This work analyses the text memorization behavior of large language models (LLMs) when subjected to nucleus sampling. Stochastic decoding methods like nucleus sampling are typically applied to overcome issues such as mon…

DiagnosticMemorizationText Generation

Weight Decay Regimes in Grokking Transformers: Cheap Online Diagnostics

2026-05-19 · Lucky Verma arxiv

Transformers trained on modular arithmetic exhibit sharp transitions between memorization, generalization, and collapse. We show that weight decay acts as a scalar empirical control parameter for these regimes, and intro…

Towards Memorization-Free Diffusion Models

2024-04-01 · CVPR 2024 1 · Chen Chen, Daochang Liu, Chang Xu

Pretrained diffusion models and their outputs are widely accessible due to their exceptional capacity for synthesizing high-quality images and their open-source nature. The users, however, may face litigation risks owing…

DenoisingMemorization

CAPTAIN: Semantic Feature Injection for Memorization Mitigation in Text-to-Image Diffusion Models

2025-12-11 · Tong Zhang, Carlos Hinojosa, Bernard Ghanem arxiv

Diffusion models can unintentionally reproduce training examples, raising privacy and copyright concerns as these systems are increasingly deployed at scale. Existing inference-time mitigation methods typically manipulat…