2022 IEEE International Symposium on Circuits and Systems (ISCAS) · 2022 · 27 citations · 17 references
ComputingComputer EngineeringComputer ScienceArtificial IntelligenceMachine LearningNatural Language ProcessingDeep LearningEmbedded Reconfigurable SystemsFine-grained Reconfigurable ArchitecturesOptimization For Machine LearningPerformance OptimizationPerformance TuningActivationAdaptabilityFine-tuningLanguage Processing ModelsOn-device Machine LearningPerformance Metric AnalysisResource-constrained DevicesStatic Models
Resource-constrained devices are increasingly the deployment targets of machine learning applications. Static models, however, do not always suffice for dynamic environments. On-device training of models allows for quick adaptability to new scenarios. With the increasing size of deep neural networks, as noted with the likes of BERT and other natural language processing models, comes increased resource requirements, namely memory, computation, energy, and time. Furthermore, training is far more resource intensive than inference. Resource-constrained on-device learning is thus doubly difficult, especially with large BERT-like models. By reducing the memory usage of fine-tuning, pre-trained BERT models can become efficient enough to fine-tune on resource-constrained devices. We propose Freeze And ReconFigure (FAR), a memory-efficient training regime for BERT-like models that reduces the memory usage of activation maps during fine-tuning by avoiding unnecessary parameter updates. FAR reduces fine-tuning time on the DistilBERT model and CoLA dataset by 30 %, and time spent on memory operations by 47%. More broadly, reductions in metric performance on the GLUE and SQuAD datasets are around 1% on average.
17
DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · 2023 · 76.3K citations · Full text
Transformers: State-of-the-Art Natural Language Processing
Thomas Wolf, Lysandre Debut, Victor Sanh et al. · 2020 · 8K citations · Full text