{"id":804,"date":"2023-12-19T08:20:00","date_gmt":"2023-12-19T08:20:00","guid":{"rendered":"https:\/\/fde.cat\/index.php\/2023\/12\/19\/unveiling-salesforces-blueprint-for-sustainable-ai-where-responsibility-meets-innovation\/"},"modified":"2023-12-19T08:20:00","modified_gmt":"2023-12-19T08:20:00","slug":"unveiling-salesforces-blueprint-for-sustainable-ai-where-responsibility-meets-innovation","status":"publish","type":"post","link":"https:\/\/fde.cat\/index.php\/2023\/12\/19\/unveiling-salesforces-blueprint-for-sustainable-ai-where-responsibility-meets-innovation\/","title":{"rendered":"Unveiling Salesforce\u2019s Blueprint for Sustainable AI: Where Responsibility Meets Innovation"},"content":{"rendered":"<p>Salesforce is guided by its <a href=\"https:\/\/www.salesforce.com\/company\/careers\/culture\/?ref=blog.salesforceairesearch.com\">core values<\/a> of trust, customer success, innovation, equality, and sustainability. These values are reflected in its commitment to <a href=\"https:\/\/blog.salesforceairesearch.com\/generative-ai-5-guidelines-for-responsible-development\/\">responsibly develop<\/a> and deploy new technologies like generative AI on behalf of <a href=\"https:\/\/stakeholderimpactreport.salesforce.com\/#:~:text=Our%20Customer%20360%20and%201,future%20that%20works%20for%20everyone.\">stakeholders<\/a> \u2014 from shareholders to customers to the planet.<\/p>\n<p>The Large Language Models (LLMs) that power generative AI require <a href=\"https:\/\/www.windowscentral.com\/hardware\/computers-desktops\/chatgpt-may-need-30000-nvidia-gpus-should-pc-gamers-be-worried\">enormous compute resources<\/a> to function, resulting in negative environmental impacts like carbon emissions, water depletion, and resource extraction within the supply chain. As the world sets \u201cemissions and temperature records, which intensify extreme weather events and other <a href=\"https:\/\/wedocs.unep.org\/bitstream\/handle\/20.500.11822\/43924\/EGR2023_KMEN.pdf?sequence=10\">climate impacts<\/a> across the globe,\u201d the need to reduce planet warming emissions has never been more dire. At a time when every additional ton of carbon emitted matters, the development of AI technologies should not exceed <a href=\"https:\/\/www.stockholmresilience.org\/research\/planetary-boundaries.html\">planetary boundaries<\/a>.<\/p>\n<p>While the hypothetical long-term sustainability benefits of AI are significant, with the potential to reduce global emissions <a href=\"https:\/\/blog.google\/outreach-initiatives\/sustainability\/report-ai-sustainability-google-cop28\/\">5 to 10% by 2030<\/a>, Salesforce also remains focused on minimizing environmental impacts in the short term.<\/p>\n<p><em>Boris shares his view on sustainability and explains his sustainability role at Salesforce.<\/em><\/p>\n<p>Read on to learn about Salesforce\u2019s strategies for creating sustainable AI, developed as a collaboration between the AI Research, Sustainability, and Office of Ethical and Humane Use teams.<\/p>\n<h4 class=\"wp-block-heading\">Optimizing models<\/h4>\n<p>The energy needed to train a model depends on the number of its parameters and the size of the training data. For the last few years, the trend has been to significantly increase both factors, resulting in exponential growth (750x growth every 2 years) in energy requirements for transformers, the leading LLM architecture. In fact, this trend seems to be dwarfing <a href=\"https:\/\/www.intel.com\/content\/www\/us\/en\/newsroom\/resources\/moores-law.html\">Moore\u2019s Law<\/a>, suggesting that hardware efficiency improvements alone won\u2019t keep up with increased computational demand.<\/p>\n<p><em>The amount of compute needed to train various models as compared to Moore\u2019s Law. <\/em><a href=\"https:\/\/medium.com\/riselab\/ai-and-memory-wall-2cb4265cb0b8\"><em>Source: Amir Gholami<\/em><\/a><\/p>\n<p>Though there has been a trend toward large, general-purpose models, is it really necessary to write code with the same model that can create Shakespearean sonnets? Salesforce <a href=\"https:\/\/www.salesforceairesearch.com\/\">AI Research<\/a> remains focused on developing domain-specific models, customized to their intended applications.<\/p>\n<p>For example, the team\u2019s <a href=\"https:\/\/blog.salesforceairesearch.com\/codegen\/\">CodeGen<\/a> model, initially released in 2022, was one of the first LLMs to allow users to \u201ctranslate\u201d natural language, such as English, into programming languages, such as Python. The latest version \u2013 <a href=\"https:\/\/blog.salesforceairesearch.com\/codegen25\/\">CodeGen 2.5<\/a> \u2013 has been optimized for efficiency through <a href=\"https:\/\/blog.salesforceairesearch.com\/codegen25\/#:~:text=%E2%80%9Cmore%20than%20one%20epoch%E2%80%9D\">multi-epoch training<\/a> and <a href=\"https:\/\/arxiv.org\/abs\/2205.14135\">flash attention<\/a>. The result is a model that <a href=\"https:\/\/blog.salesforceairesearch.com\/codegen25\/#:~:text=82.71-,Table%201%3A,-HumanEval%20pass-rates\">performs as well as<\/a> larger models at <strong>less than half the size<\/strong>. Besides being more sustainable, the team learned that smaller models are more cost effective, easier to fine-tune, and operate faster, improving the user experience.<\/p>\n<h4 class=\"wp-block-heading\">Utilizing efficient hardware<\/h4>\n<p>Once the model has been optimized, it\u2019s important to choose efficient hardware to train and deploy AI. AI hardware manufacturers frequently unveil new versions with substantial efficiency enhancements. Google\u2019s AI hardware, the <a href=\"https:\/\/cloud.google.com\/tpu\">Tensor Processor Unit (TPU)<\/a>, has become more efficient with each new generation, and Salesforce AI Research has leveraged these advancements for sustainability. The team\u2019s more recent models are trained on TPU v4, while some older models were trained on TPU v3. Google estimates that the newer TPU v4 is <a href=\"https:\/\/cloud.google.com\/blog\/topics\/systems\/tpu-v4-enables-performance-energy-and-co2e-efficiency-gains\">2.7x more efficient<\/a> and the team\u2019s calculations have confirmed this claim, noting a <strong>2.8x efficiency increase<\/strong> (measured by averaging the model parameters per training energy consumed). Furthermore, our initial tests have found that the brand new \u201c<a href=\"https:\/\/cloud.google.com\/blog\/products\/ai-machine-learning\/introducing-cloud-tpu-v5p-and-ai-hypercomputer#:~:text=Cloud%20TPU%20v5p%20compute%20outperforms%20the%20previous%20generation%20TPU%20v4%20by%20as%20much%20as%202X\">TPU v5p outperforms the previous generation TPU v4 by as much as 2x<\/a>\u201d.<\/p>\n<p>These efficiency increases are expected to continue. For example, Nvidia <a href=\"https:\/\/www.nvidia.com\/en-gb\/data-center\/h200\/\">claims<\/a> that their forthcoming H200 GPUs will achieve 18x the performance of the A100 GPUs that are widely used today.<\/p>\n<p>Beyond the GPU\/TPU hardware specialized for AI, there is also progress in deploying AI on more traditional CPUs, found on consumer-grade computers. CodeGen 2.5 can be <a href=\"https:\/\/blog.salesforceairesearch.com\/codegen25\/#:~:text=for%20further%20gains.-,Local%20deployment,-.%20In%20the%20future\">locally deployed<\/a> today, leading to decreased energy use, increased speed, enhanced security, and personalization.<\/p>\n<h4 class=\"wp-block-heading\">Prioritizing low-carbon data centers<\/h4>\n<p>Data centers\u2019 emissions vary widely as they are powered by local electric grids. Depending on the grids\u2019 reliance on fossil fuels, their carbon intensity can vary dramatically region by region (see graphic below).<\/p>\n<p><em>The varying carbon intensity of the world\u2019s electric grids (source: <\/em><a href=\"https:\/\/app.electricitymaps.com\/map\"><em>electricitymaps.com<\/em><\/a><em>)<\/em><\/p>\n<p>With this in mind, it\u2019s important to be cognizant of what data centers are used to train and deploy AI. As a result of the AI Research team training its models in lower carbon data centers, Salesforce has <strong>reduced emissions by 68.8%1<\/strong><strong> , avoiding 105 tons of carbon dioxide equivalents (tCO<\/strong><strong><\/strong><strong>2<\/strong><strong>e)<\/strong> compared to the global average.<\/p>\n<h4 class=\"wp-block-heading\">Beyond AI model development: Sustainable AI techniques<\/h4>\n<p>The team\u2019s AI sustainability approach doesn\u2019t end with the development and deployment of models. As with all Salesforce products, they work to ensure that its products are <a href=\"https:\/\/www.salesforce.com\/news\/stories\/green-code-software\/\">designed with sustainability<\/a> at their core, from the architecture to the UX. For instance, when multiple AI models are available, we default to the most efficient and appropriate option for each use case.<\/p>\n<p>Additionally, prompt engineering techniques built into <a href=\"https:\/\/admin.salesforce.com\/blog\/2023\/introducing-prompt-builder-supercharge-every-workflow-with-trusted-ai-prompts\">Prompt Builder<\/a> optimize customer satisfaction, cost, and environmental sustainability, ensuring our AI systems deliver top results with minimal resource usage. By caching both prompts and outputs to store and reuse responses for common queries, the team significantly cuts down on repetitive computations, speeding up response times and energy consumption. The team also incorporates mechanisms like usage tracking and rate limits into its <a href=\"https:\/\/www.salesforce.com\/news\/press-releases\/2023\/09\/12\/salesforce-platform-news-dreamforce\/\">Einstein 1 Platform<\/a> built on <a href=\"https:\/\/www.salesforce.com\/products\/platform\/hyperforce\/\">Hyperforce<\/a>, promoting mindful, responsible, and secure use of our AI systems.<\/p>\n<h4 class=\"wp-block-heading\">Measuring impact<\/h4>\n<p>Incorporating these strategies into the AI Research team\u2019s development approach has resulted in significantly lower-carbon AI models. To understand these impacts, the team calculated the energy and carbon emissions of model pre-training, by the far the most impactful AI model lifecycle stage:<\/p>\n<p><strong>Salesforce AI Model Pre-Training Environmental Impacts<\/strong><\/p>\n<p>In aggregate, pre-training these models resulted in <strong>48 tCO<\/strong><strong><\/strong><strong>2<\/strong><strong>e<\/strong>: 11 times less than the emissions of <a href=\"https:\/\/arxiv.org\/pdf\/2104.10350.pdf\">GPT-3<\/a>. Beyond the training phase, the ongoing usage impact of our models has been disclosed in the <a href=\"https:\/\/huggingface.co\/spaces\/optimum\/llm-perf-leaderboard\">Hugging Face<\/a> and <a href=\"https:\/\/ml.energy\/leaderboard\/?__theme=light\">ML.Energy<\/a> leaderboards.<\/p>\n<p>The team believes that transparency is key to <a href=\"https:\/\/www.salesforceairesearch.com\/trusted-ai\">Trusted AI<\/a> and remains dedicated to sharing its environmental impacts and lessons learned, hoping to see other actors in the AI ecosystem follow suit. To follow along as we progress on this journey, check out AI Research <a href=\"https:\/\/www.salesforceairesearch.com\/\">updates<\/a> and explore the models on <a href=\"https:\/\/huggingface.co\/Salesforce\">Hugging Face<\/a> and <a href=\"https:\/\/github.com\/SalesforceAIResearch\">GitHub<\/a>.<\/p>\n<h4 class=\"wp-block-heading\">A holistic approach to sustainability<\/h4>\n<p>Salesforce\u2019s commitment to sustainability is not just about reducing impact; it\u2019s about leveraging AI to create tangible environmental benefits. Innovations in AI are enhancing <a href=\"https:\/\/www.salesforce.com\/products\/net-zero\/esg-reporting\/\">ESG reporting<\/a> within our <a href=\"https:\/\/www.salesforce.com\/news\/stories\/net-zero-cloud-ai-reporting-news\/\">Net Zero Cloud<\/a>, illustrating the growing intersection between technology and corporate sustainability. CodeGen, which powers <a href=\"https:\/\/developer.salesforce.com\/tools\/vscode\/en\/einstein\/einstein-overview\">Einstein for Developers<\/a> and <a href=\"https:\/\/engineering.salesforce.com\/einstein-for-flow-bringing-ai-innovation-to-the-next-generation-of-automation\/\">Einstein for Flow<\/a>, enhances code efficiency, with third-party research indicating a <a href=\"https:\/\/arxiv.org\/abs\/2302.07867\">2.5x improvement<\/a>. This enhanced efficiency extends to Salesforce\u2019s customers as well, with AI-powered tools enabling them to analyze and automatically reduce the carbon emissions of their Apex code.<\/p>\n<p>Additionally, environment is a <a href=\"https:\/\/www.salesforceairesearch.com\/research\/environment\">key focus area<\/a> for the AI Research team. They are pioneering <a href=\"https:\/\/www.ai4climatecoop.org\/\">AI for Global Climate Cooperation<\/a>, using AI to craft negotiation protocols and climate agreements that could shape future environmental policies. Also, its <a href=\"https:\/\/www.salesforceairesearch.com\/projects\/ProGen\">ProGen<\/a> AI language model, designed to generate new artificial proteins, is making strides in the development of compostable materials from carrot starches. Another notable project is <a href=\"https:\/\/sharkeye.org\/\">SharkEye<\/a>, which employs AI to detect great white sharks, contributing to a vital database for scientists, conservationists, and local communities.<\/p>\n<div class=\"wp-block-group is-layout-constrained wp-container-1 wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">Learn more<\/h3>\n<p>Check out this <a href=\"https:\/\/www.salesforce.com\/news\/stories\/generative-ai-guidelines\/\">blog<\/a> to dive deeper into how Salesforce responsibly develops AI.<\/p>\n<p>Stay connected \u2014 join our<a href=\"https:\/\/careers.mail.salesforce.com\/w2?cid=7017y00000CRDS7AAP\"> Talent Community<\/a>!<\/p>\n<p><a href=\"https:\/\/www.salesforce.com\/company\/careers\/teams\/tech-and-product\/?d=cta-tms-tp-2\">Check out our Technology and Product teams<\/a> to learn how you can get involved.<\/p>\n<\/div>\n<p>___________________________________<\/p>\n<p>1 Salesforce model pre-training weighted aggregate carbon factor is 136 gCO2e\/kWh. 68.8% reduction is compared to the 436 gCO2e\/kWh global average (<a href=\"https:\/\/ember-climate.org\/data-catalogue\/yearly-electricity-data\/\">source<\/a>). 105 tCO2e avoidance is compared to the global average.<br \/>2 Energy is calculated by multiplying Training Time, processor TDP (used for conservative assumption, provided by processor manufacturer), and data center PUE (provided by data center owner).<br \/>3 Carbon is calculated by multiplying energy by electric grid carbon intensity (provided by data center owner).<br \/>4 Carbon emissions due to electricity only. While embodied carbon data is not currently provided by manufacturers, we hope to expand the calculation scope in the future.<br \/>5 Through a combination of renewable energy procurement and high-quality carbon credits, all residual emissions are entirely offset by Salesforce and\/or our suppliers.<\/p>\n<p>The post <a href=\"https:\/\/engineering.salesforce.com\/unveiling-salesforces-blueprint-for-sustainable-ai-where-responsibility-meets-innovation\/\">Unveiling Salesforce\u2019s Blueprint for Sustainable AI: Where Responsibility Meets Innovation<\/a> appeared first on <a href=\"https:\/\/engineering.salesforce.com\/\">Salesforce Engineering Blog<\/a>.<\/p>\n<p><a href=\"https:\/\/engineering.salesforce.com\/unveiling-salesforces-blueprint-for-sustainable-ai-where-responsibility-meets-innovation\/\" target=\"_blank\" class=\"feedzy-rss-link-icon\" rel=\"noopener\">Read More<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Salesforce is guided by its core values of trust, customer success, innovation, equality, and sustainability. These values are reflected in its commitment to responsibly develop and deploy new technologies like generative AI on behalf of stakeholders \u2014 from shareholders to customers to the planet. The Large Language Models (LLMs) that power generative AI require enormous&hellip; <a class=\"more-link\" href=\"https:\/\/fde.cat\/index.php\/2023\/12\/19\/unveiling-salesforces-blueprint-for-sustainable-ai-where-responsibility-meets-innovation\/\">Continue reading <span class=\"screen-reader-text\">Unveiling Salesforce\u2019s Blueprint for Sustainable AI: Where Responsibility Meets Innovation<\/span><\/a><\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-804","post","type-post","status-publish","format-standard","hentry","category-technology","entry"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":785,"url":"https:\/\/fde.cat\/index.php\/2023\/11\/07\/einstein-for-flow-bringing-ai-innovation-to-the-next-generation-of-automation\/","url_meta":{"origin":804,"position":0},"title":"Einstein for Flow: Bringing AI Innovation to the Next Generation of Automation","date":"November 7, 2023","format":false,"excerpt":"By Vera Vetter, Zeyuan Chen, Ran Xu, and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional journeys that have shaped Salesforce Engineering leaders. Meet Vera Vetter, Product Management Director for Salesforce AI Research and a co-Product Manager for Einstein for Flow, a game-changing AI product that\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":870,"url":"https:\/\/fde.cat\/index.php\/2024\/05\/23\/hyperforce-behind-the-scenes-ushering-in-a-new-age-of-ai-driven-cloud-scalability\/","url_meta":{"origin":804,"position":1},"title":"Hyperforce Behind the Scenes: Ushering in a New Age of AI-Driven Cloud Scalability","date":"May 23, 2024","format":false,"excerpt":"In our latest edition of our \u201cEngineering Energizers\u201d Q&A series, we meet Paul Constantinides, Executive Vice President of Engineering. With an extensive history in the technology industry, and a 20-year career at Salesforce, Paul leads the Hyperforce Platform Services team and is responsible for developing Hyperforce, Salesforce\u2019s public cloud-native architecture\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":724,"url":"https:\/\/fde.cat\/index.php\/2023\/06\/12\/ai-data-crm-chief-engineering-officers-innovative-insights-for-a-competitive-edge\/","url_meta":{"origin":804,"position":2},"title":"AI + Data + CRM: Chief Engineering Officer\u2019s Innovative Insights for a Competitive Edge","date":"June 12, 2023","format":false,"excerpt":"Written by Srini Tallapragada and Dylan DeSimone In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. In this special edition, we meet Srini Tallapragada, President and Chief Engineering Officer for Salesforce. In his role, Srini leads the global engineering team to\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":878,"url":"https:\/\/fde.cat\/index.php\/2024\/06\/12\/maintaining-large-scale-ai-capacity-at-meta\/","url_meta":{"origin":804,"position":3},"title":"Maintaining large-scale AI capacity at Meta","date":"June 12, 2024","format":false,"excerpt":"Meta is currently operating many data centers with GPU training clusters across the world. Our data centers are the backbone of our operations, meticulously designed to support the scaling demands of compute and storage. A year ago, however, as the industry reached a critical inflection point due to the rise\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":866,"url":"https:\/\/fde.cat\/index.php\/2024\/05\/15\/revealing-einsteins-blueprint-for-creating-the-new-unified-ai-platform-from-siloed-legacy-stacks\/","url_meta":{"origin":804,"position":4},"title":"Revealing Einstein\u2019s Blueprint for Creating the New, Unified AI Platform from Siloed Legacy Stacks","date":"May 15, 2024","format":false,"excerpt":"In our insightful \u201cEngineering Energizers\u201d Q&A series, we delve into the inspiring journeys of engineering leaders who have achieved remarkable success in their specific domains. Today, we meet Indira Iyer, Senior Vice President of Salesforce Engineering, leading Salesforce Einstein development. Her team\u2019s mission is to build Salesforce\u2019s next-gen AI Platform,\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":789,"url":"https:\/\/fde.cat\/index.php\/2023\/10\/17\/how-the-einstein-team-operationalizes-ai-models-at-lightning-speed-and-massive-scale-2\/","url_meta":{"origin":804,"position":5},"title":"How the Einstein Team Operationalizes AI Models at Lightning Speed and Massive Scale","date":"October 17, 2023","format":false,"excerpt":"By Yuliya Feldman and Scott Nyberg In our \u201cEngineering Energizers\u201d Q&A series, we examine the professional life experiences that have shaped Salesforce Engineering leaders. Meet Yuliya Feldman, a Software Engineering Architect at Salesforce. Yuliya works on Salesforce Einstein\u2019s Machine Learning Services team, responsible for operationalizing AI models, which serve as\u2026","rel":"","context":"In &quot;Technology&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/comments?post=804"}],"version-history":[{"count":0,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/posts\/804\/revisions"}],"wp:attachment":[{"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/media?parent=804"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/categories?post=804"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fde.cat\/index.php\/wp-json\/wp\/v2\/tags?post=804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}