Latest Robots

Saturday, 2 July 2022

[New post] More on AI Carbon Footprint

Site logo image robertmcgrath posted: " When it works, machine learning is amazing.  Over my own career, ML has grown (literally) from tiny toys to gargantuan globe spanning monsters.  And it turns out, with enough data and enough compute time, ML can do astonishing stuff.  Like translate huma" Robert McGrath's Blog

More on AI Carbon Footprint

robertmcgrath

Jul 2

When it works, machine learning is amazing.  Over my own career, ML has grown (literally) from tiny toys to gargantuan globe spanning monsters.  And it turns out, with enough data and enough compute time, ML can do astonishing stuff.  Like translate human languages--which was considered theoretically impossible when I was a lad, but apparently is definitely possible.

There are many things to criticize about this technology.  It's hardly fail proof.  It's famously opaque.  It's infamously biased.  And it sucks enormous resources, to the point where only the richest corporations can actually do it.

Worse, training large ML models sucks huge amounts of power, potentially emitting significant amounts of Carbon.  This has led to the emergence of a small industry dedicated to measuring and moderating the power consumption and emissions of AI.

This isn't all that easy to do.  ML training is usually done with large clouds, which means that the actual resources are "virtual", and not necessarily under the control of or visible to the modellers. Power consumption depends on the actual system configuration, which may or may not be easy to measure or control. In addition, ML training is a complicated and long running process, so resource consumption varies as it runs, so the total resource consumption can depend on details of the actual computation. 

In addition, the actual Carbon emissions depends not only on the power consumption but also on the source of the electricity and other factors such as Carbon offsets.  These factors vary, so it matters exactly which cloud the process runs on.

Current research is tackling two targets; ways to measure and predict resource consumption and emissions, and ways to optimize ML learning.

On the second front, the first optimization may be abstinence:  don't do it unless you really need to.  Using low power chips and green data centers may mitigate impacts.  Other tweaks might include limiting computation to off peak times.

But you can't optimize what you can't measure.  And this stuff is pretty hard to measure [1].

This summer researchers at the Allen Institute and other institutions report on improved tools for measure "Carbon intensity" of cloud computations [2].  The basic idea is to incorporate location and time specific information, to better estimate the impact of cloud computation.

The researchers use historic information to identify times when impact will be relatively low, e.g., off peak hours when "extra" energy is available with little impact.  They suggest delaying computations to start at a low impact time.  And, for long running computations, "pause and restart" might be used to avoid high impact computations. (These strategies are quite familiar to old gray hairs, who used to have to run big jobs on campus time-shared mainframes. : - ) )

The "start later" strategy actually works well for small jobs, which finish within a low impact window.  Pause and restart are trickier, but should work. Both of these are trading wall clock completion time against Carbon emissions.  Real time processes in general, and deadline driven processes can't use these methods.  (E.g., we can't wait several days for today's weather forecast, can we?)

Overall, it is clear that cloud systems are going to need to provide not only general characteristics, but run time data on resource consumption and impacts. In particular, there will need to be predictive models for expected impacts, which is going to be hard, for sure.

But there is only so much optimization can do.  Using smaller ML models, or other methods entirely should be considered. 

""The first good practice is just to think before running an experiment," she says. "Be sure that you really need machine learning for your problem.""

(Anne-Laure Ligozat quoted in [3]).

When I was a lad, we could try ML, in fact, try a munch of variations of ML, just to see what happened.  Those days are gone. 


  1. Nesrine Bannour, Sahar Ghannay, Aurélie Névéol, and Anne-Laure Ligozat, Evaluating the carbon footprint of NLP methods: a survey and analysis of existing tools, in EMNLP, Workshop SustaiNLP. 2021: Punta Cana, Dominican Republic. https://hal.archives-ouvertes.fr/hal-03435068
  2. Jesse Dodge, Taylor Prewitt, Remi Tachet des Combes, Erika Odmark, Roy Schwartz, Emma Strubell, Alexandra Sasha Luccioni, Noah A. Smith, Nicole DeCario, and Will Buchanan, Measuring the Carbon Intensity of AI in Cloud Instances, in 2022 ACM Conference on Fairness, Accountability, and Transparency. 2022, Association for Computing Machinery: Seoul, Republic of Korea. p. 1877–1894. https://facctconference.org/static/pdfs_2022/facct22-145.pdf
  3. Matthew Hutson, Measuring AI's Carbon Footprint, in IEEE Spectrum - Artificial Intelligence, June 26, 2022. https://spectrum.ieee.org/ai-carbon-footprint
Comment
Like
Tip icon image You can also reply to this email to leave a comment.

Unsubscribe to no longer receive posts from Robert McGrath's Blog.
Change your email settings at manage subscriptions.

Trouble clicking? Copy and paste this URL into your browser:
https://robertmcgrath.wordpress.com/2022/07/02/more-on-ai-carbon-footprint/

Powered by WordPress.com
Download on the App Store Get it on Google Play
at July 02, 2022
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

[New post] Giants

...

  • [New post] Slotxo Internet based Picture slot machine game Fun-based activities That will Play
    Piddle Pops posted: "Discover these days more information on Slot machines performance Gear Financial businesses as well as...
  • [New post] Giants
    ...
  • [New post] Plutonium contamination in Ohio, USA
    Chri...
  • https://paxorex.blogspot.com
  • https://acciyo.blogspot.com
  • https://sunbrew.blogspot.com
  • https://readingvox.blogspot.com
  • https://neextdraft.blogspot.com
  • https://udimy.blogspot.com
  • https://arcieve.blogspot.com
  • https://diabetesmail.blogspot.com
  • https://quiltingmail.blogspot.com
  • https://downloadallyouwanttutorials.blogspot.com
  • https://increasingmarketingsystem.blogspot.com
  • https://skysportingnewsnationspinquirer.blogspot.com
  • https://politicnewsbusterinsiderpostreview.blogspot.com
  • https://javascripttrendlist.blogspot.com
  • https://teraqiitatail.blogspot.com
  • https://bigpalacenews.blogspot.com
  • https://executivetowernews.blogspot.com
  • https://magnificentplannews.blogspot.com
  • https://businessinboard.blogspot.com
  • https://patriotsscience.blogspot.com
  • https://allinonequantumleap.blogspot.com
  • https://foodandrecipefusion.blogspot.com
  • https://newsletterforeveryone.blogspot.com
  • https://snacksrobinhood.blogspot.com
  • https://dailynewslettersph.blogspot.com
  • https://rankedrama.blogspot.com
  • https://oschinanet.blogspot.com
  • https://nourich.blogspot.com
  • https://phnewsnet.blogspot.com
  • https://structuresusingc.blogspot.com
  • https://foodubers.blogspot.com
  • https://genuinequality.blogspot.com
  • https://techdigitalmedia.blogspot.com
  • https://entertainmenhubtbiz.blogspot.com
  • https://sportsbookwire.blogspot.com
  • https://societycast.blogspot.com
  • https://lifestylesportsreturn.blogspot.com
  • https://natureimpactfactor.blogspot.com
  • https://artnetworth.blogspot.com
  • https://entrepreneurexamples.blogspot.com
  • https://cryptomarketbase.blogspot.com
  • https://btsbiot.blogspot.com
  • https://sexybinikis.blogspot.com
  • https://foreignexchangecurrency.blogspot.com
  • https://classifiedexample.blogspot.com
  • https://bookboons.blogspot.com
  • https://writingdate.blogspot.com
  • https://wamios.blogspot.com
  • https://justmightdiy.blogspot.com
  • https://playfreeonlinegamesmore.blogspot.com
  • https://healthlinefitnessfirst.blogspot.com
  • https://snaptikvideodownloader.blogspot.com
  • https://pokemonunitepc.blogspot.com
  • https://neverthelesskdrama.blogspot.com
  • https://coolantioniq.blogspot.com
  • https://hackerploit.blogspot.com
  • https://ballbreakdown.blogspot.com
  • https://flixsterio.blogspot.com
  • https://fortnitebattleroyaletrack.blogspot.com
  • https://manilaplus.blogspot.com
  • https://davaoplus.blogspot.com
  • https://tutorialsfiles.blogspot.com
  • https://mondaymorningcookingclub.blogspot.com
  • https://gymnearmee.blogspot.com
  • https://windows26.blogspot.com
  • https://millionaireinvest.blogspot.com
  • https://latestkhmernews.blogspot.com
  • https://latestisraelnews.blogspot.com
  • https://latestaustralianews.blogspot.com
  • https://latestirannews.blogspot.com
  • https://latestjapannews.blogspot.com
  • https://latestsaudinews.blogspot.com
  • https://latestfreecourse.blogspot.com
  • https://ikeafurnitureaccessories.blogspot.com
  • https://makeupandbeautyproduct.blogspot.com
  • https://latestpets.blogspot.com
  • https://topecommerceniches.blogspot.com
  • https://latesttexasnews.blogspot.com
  • https://latestufcgame.blogspot.com
  • https://tipweightlossfast.blogspot.com
  • https://latestcancercure.blogspot.com
  • https://philsys.blogspot.com
  • https://phoramensoba.blogspot.com
  • https://latestcupcakes.blogspot.com
  • https://latestgivex.blogspot.com
  • https://latestlottoresult.blogspot.com
  • https://downloadarchived.blogspot.com
  • https://doesports.blogspot.com

Search This Blog

  • Home

About Me

latest robot
View my complete profile

Report Abuse

Blog Archive

  • October 2023 (1228)
  • September 2023 (1871)
  • August 2023 (1663)
  • July 2023 (1819)
  • June 2023 (1774)
  • May 2023 (1651)
  • April 2023 (1598)
  • March 2023 (1753)
  • February 2023 (1419)
  • January 2023 (1661)
  • December 2022 (1507)
  • November 2022 (1620)
  • October 2022 (1463)
  • September 2022 (1332)
  • August 2022 (1370)
  • July 2022 (1493)
  • June 2022 (1331)
  • May 2022 (1450)
  • April 2022 (1438)
  • March 2022 (1366)
  • February 2022 (958)
  • January 2022 (994)
  • December 2021 (1759)
  • November 2021 (3125)
  • October 2021 (3244)
  • September 2021 (3138)
  • August 2021 (3240)
  • July 2021 (1142)
Powered by Blogger.