Energy Patterns for Web: An Exploratory Study
- URL: http://arxiv.org/abs/2401.06482v1
- Date: Fri, 12 Jan 2024 10:03:43 GMT
- Title: Energy Patterns for Web: An Exploratory Study
- Abstract summary: We focus on the Web domain--a main source of energy consumption.
To quantify the effect of Web energy patterns on energy consumption, we set up an automated pipeline.
- Score: 11.986390881263718
- License: http://creativecommons.org/licenses/by-nc-sa/4.0/
- Abstract: As the energy footprint generated by software is increasing at an alarming
rate, understanding how to develop energy-efficient applications has become a
necessity. Previous work has introduced catalogs of coding practices, also
known as energy patterns. These patterns are yet limited to Mobile or
third-party libraries. In this study, we focus on the Web domain--a main source
of energy consumption. First, we investigated whether and how Mobile energy
patterns could be ported to this domain and found that 20 patterns could be
ported. Then, we interviewed six expert web developers from different companies
to challenge the ported patterns. Most developers expressed concerns for
antipatterns, specifically with functional antipatterns, and were able to
formulate guidelines to locate these patterns in the source code. Finally, to
quantify the effect of Web energy patterns on energy consumption, we set up an
automated pipeline to evaluate two ported patterns: 'Dynamic Retry Delay' (DRD)
and 'Open Only When Necessary' (OOWN). With this, we found no evidence that the
DRD pattern consumes less energy than its antipattern, while the opposite is
true for OOWN. Data and Material: https://doi.org/10.5281/zenodo.8404487
Related papers
- How Do Prompt Variations Affect Energy Consumption in On-Device LLMs? [15.386321055792209]
Large language models (LLMs) are increasingly deployed on mobile devices, making energy efficiency a key deployment constraint.<n>This paper aims to understand how two prompt properties, cognitive load and phrasing pattern, shape the energy behavior of on-device LLM inference.
arXiv Detail & Related papers (2026-09-01T19:08:04Z) - Systematic Detection of Energy Regression and Corresponding Code Patterns in Java Projects [0.8620335948752809]
Green software engineering is emerging as a crucial response to information technology's rising energy impact.<n>We introduce EnergyTrackr, an approach designed to detect energy regressions across multiple commits.<n>We show the approach's ability to identify significant energy changes and highlight recurring anti-patterns.
arXiv Detail & Related papers (2026-04-21T11:54:43Z) - Performance Antipatterns: Angel or Devil for Power Consumption? [45.34301783539974]
This paper investigates whether widely studied performance antipatterns also negatively influence power usage.<n>We implement ten instantaneous antipatterns as isolated and evaluate them under controlled load conditions.<n>Results show that while all antipatterns degrade performance as expected, only a subset exhibit a statistically significant relationship between response time and increased power consumption.
arXiv Detail & Related papers (2026-02-12T15:37:21Z) - Towards Green AI: Decoding the Energy of LLM Inference in Software Development [46.879983975894135]
AI-assisted tools are increasingly integrated into software development, but their reliance on large language models (LLMs) introduces substantial computational and energy costs.<n>We conduct a phase-level analysis of LLM inference energy consumption, distinguishing between the (1) prefill, where the model processes the input and builds internal representations, and (2) decoding, where output tokens are generated using the stored state.
arXiv Detail & Related papers (2026-02-05T14:38:19Z) - NRGPT: An Energy-based Alternative for GPT [14.661803594288024]
Energy-based modeling is a different paradigm that views inference as a dynamical process operating on an energy landscape.<n>We propose a minimal modification of the GPT setting to unify it with the EBM framework.<n>We demonstrate that our model performs well for simple language (Shakespeare dataset), algebraic ListOPS tasks, and richer settings such as OpenWebText language modeling.
arXiv Detail & Related papers (2025-12-18T16:59:10Z) - Evaluating End-User Device Energy Models in Sustainability Reporting of Browser-Based Web Services [0.0]
Sustainability reporting in web-based services increasingly relies on simplified energy and carbon models.<n>This paper presents an empirical study evaluating how well such models reflect actual energy consumption.<n>Results show that the commonly applied constant-power approximation can diverge substantially from measured energy.
arXiv Detail & Related papers (2025-10-14T14:25:26Z) - WebCoT: Enhancing Web Agent Reasoning by Reconstructing Chain-of-Thought in Reflection, Branching, and Rollback [74.82886755416949]
We identify key reasoning skills essential for effective web agents.<n>We reconstruct the agent's reasoning algorithms into chain-of-thought rationales.<n>Our approach yields significant improvements across multiple benchmarks.
arXiv Detail & Related papers (2025-05-26T14:03:37Z) - Towards Sustainable Web Agents: A Plea for Transparency and Dedicated Metrics for Energy Consumption [4.614707355759162]
This study explores the energy and CO2 cost associated with web agents.
Results show how different philosophies in web agent creation can severely impact the associated expended energy.
Our work advocates a change in thinking when evaluating web agents, warranting dedicated metrics for energy consumption and sustainability.
arXiv Detail & Related papers (2025-02-25T06:58:40Z) - Energy Backdoor Attack to Deep Neural Networks [14.40890430352325]
Deep learning (DL) has increased computing complexity and energy use, prompting the adoption of application specific integrated circuits (ASICs) for energy-efficient edge and mobile deployment.
Recent studies have demonstrated the vulnerability of these accelerators to energy attacks.
In this paper, we design an innovative energy backdoor attack against deep neural networks (DNNs) operating on sparsity-based accelerators.
arXiv Detail & Related papers (2025-01-14T14:26:18Z) - Unveiling the Energy Vampires: A Methodology for Debugging Software Energy Consumption [5.602876058122268]
This paper presents an energy debug methodology for identifying and isolating energy consumption hotspots in software systems.
Our analysis reveals significant energy consumption differences between Alpine and Ubuntu distributions.
By isolating and benchmarking memcpy, we confirm it as the primary cause of the energy discrepancy.
arXiv Detail & Related papers (2024-12-13T11:49:19Z) - Fine-Tuning and Deploying Large Language Models Over Edges: Issues and Approaches [64.42735183056062]
Large language models (LLMs) have transitioned from specialized models to versatile foundation models.
LLMs exhibit impressive zero-shot ability, however, require fine-tuning on local datasets and significant resources for deployment.
arXiv Detail & Related papers (2024-08-20T09:42:17Z) - Multimodal Web Navigation with Instruction-Finetuned Foundation Models [99.14209521903854]
We study data-driven offline training for web agents with vision-language foundation models.
We propose an instruction-following multimodal agent, WebGUM, that observes both webpage screenshots and HTML pages.
We empirically demonstrate this recipe improves the agent's ability of grounded multimodal perception, HTML comprehension, and multi-step reasoning.
arXiv Detail & Related papers (2023-05-19T17:44:34Z) - Energy-guided Entropic Neural Optimal Transport [100.20553612296024]
Energy-based models (EBMs) are known in the Machine Learning community for decades.
We bridge the gap between EBMs and Entropy-regularized OT.
In practice, we validate its applicability in toy 2D and image domains.
arXiv Detail & Related papers (2023-04-12T18:20:58Z) - Design Patterns for AI-based Systems: A Multivocal Literature Review and
Pattern Repository [6.184279908456794]
This study provides an overview of design patterns for AI-based systems, both new and adapted ones.
New patterns for AI-based systems are emerging, but existing patterns have also been adapted to this new context.
Our results can be used by researchers as a foundation for follow-up studies and by practitioners to discover relevant patterns for informing the design of AI-based systems.
arXiv Detail & Related papers (2023-03-23T10:57:11Z) - Energy Transformer [64.22957136952725]
Our work combines aspects of three promising paradigms in machine learning, namely, attention mechanism, energy-based models, and associative memory.
We propose a novel architecture, called the Energy Transformer (or ET for short), that uses a sequence of attention layers that are purposely designed to minimize a specifically engineered energy function.
arXiv Detail & Related papers (2023-02-14T18:51:22Z) - Energy Consumption of Neural Networks on NVIDIA Edge Boards: an
Empirical Model [6.809944967863927]
Recently, there has been a trend of shifting the execution of deep learning inference tasks toward the edge of the network, closer to the user, to reduce latency and preserve data privacy.
In this work, we aim at profiling the energetic consumption of inference tasks for some modern edge nodes.
We have then distilled a simple, practical model that can provide an estimate of the energy consumption of a certain inference task on the considered boards.
arXiv Detail & Related papers (2022-10-04T14:12:59Z) - A Transistor Operations Model for Deep Learning Energy Consumption
Scaling [14.856688747814912]
Deep Learning (DL) has transformed the automation of a wide range of industries and finds increasing ubiquity in society.
The increasing complexity of DL models and its widespread adoption has led to the energy consumption doubling every 3-4 months.
Current FLOPs and MACs based methods only consider the linear operations.
We develop a bottom-level Transistor Operations (TOs) method to expose the role of activation functions and neural network structure in energy consumption scaling with DL model configuration.
arXiv Detail & Related papers (2022-05-30T12:42:33Z) - Learning Discrete Energy-based Models via Auxiliary-variable Local
Exploration [130.89746032163106]
We propose ALOE, a new algorithm for learning conditional and unconditional EBMs for discrete structured data.
We show that the energy function and sampler can be trained efficiently via a new variational form of power iteration.
We present an energy model guided fuzzer for software testing that achieves comparable performance to well engineered fuzzing engines like libfuzzer.
arXiv Detail & Related papers (2020-11-10T19:31:29Z) - REST: Robust and Efficient Neural Networks for Sleep Monitoring in the
Wild [62.36144064259933]
We propose REST, a new method that simultaneously tackles both issues via adversarial training and controlling the Lipschitz constant of the neural network.
We demonstrate that REST produces highly-robust and efficient models that substantially outperform the original full-sized models in the presence of noise.
By deploying these models to an Android application on a smartphone, we quantitatively observe that REST allows models to achieve up to 17x energy reduction and 9x faster inference.
arXiv Detail & Related papers (2020-01-29T17:23:16Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.