{"id":378,"date":"2019-08-22T07:24:05","date_gmt":"2019-08-22T07:24:05","guid":{"rendered":"https:\/\/metrics.blogg.gu.se\/?p=378"},"modified":"2019-08-22T07:24:05","modified_gmt":"2019-08-22T07:24:05","slug":"ai-ethics-a-programmers-perspective","status":"publish","type":"post","link":"https:\/\/metrics.blogg.gu.se\/?p=378","title":{"rendered":"AI Ethics &#8211; a programmer\u2019s perspective"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"724\" src=\"https:\/\/metrics.blogg.gu.se\/files\/2019\/08\/ethics-2991600_1920-1024x724.jpg\" alt=\"\" class=\"wp-image-379\" srcset=\"https:\/\/metrics.blogg.gu.se\/files\/2019\/08\/ethics-2991600_1920-1024x724.jpg 1024w, https:\/\/metrics.blogg.gu.se\/files\/2019\/08\/ethics-2991600_1920-300x212.jpg 300w, https:\/\/metrics.blogg.gu.se\/files\/2019\/08\/ethics-2991600_1920-768x543.jpg 768w, https:\/\/metrics.blogg.gu.se\/files\/2019\/08\/ethics-2991600_1920-1320x933.jpg 1320w, https:\/\/metrics.blogg.gu.se\/files\/2019\/08\/ethics-2991600_1920.jpg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>\n\nImage by&nbsp;<a href=\"https:\/\/pixabay.com\/users\/Tumisu-148124\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2991600\">Tumisu<\/a>&nbsp;from&nbsp;<a href=\"https:\/\/pixabay.com\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2991600\">Pixabay<\/a><\/p>\n\n\n\n<p>I\u2019ve been working with machine learning for a while and observed the discussion about AI and ethics. From the philosophical perspective the discussion is very much problem-oriented; the discussion is about \u201cpaper cuts\u201d from using AI. \n<\/p>\n\n\n\n<p>I\u2019ve recently looked at the article from SDTimes (<a href=\"http:\/\/sdtimes.org\">sdtimes.org<\/a>) about AI Ethics (<a href=\"https:\/\/sdtimes.com\/ai\/ai-ethics-early-but-formative-days\/\">https:\/\/sdtimes.com\/ai\/ai-ethics-early-but-formative-days\/<\/a>) and its early days. I\u2019ve also looked at the book behind this article: The big nine by Amy Webb (<a href=\"https:\/\/www.amazon.com\/Big-Nine-Thinking-Machines-Humanity\/dp\/1541773756\">https:\/\/www.amazon.com\/Big-Nine-Thinking-Machines-Humanity\/dp\/1541773756<\/a>). It seems that the discussion there misses an important point &#8211; that AI is based on machine learning algorithms, which are applied statistical methods.  <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>This applied nature of AI means that it is algorithms using data to make decisions. For me, as a programmer, this poses an important threat &#8211; how can I know what is ethical and what is not ethical if it is not in the data? What does ethics mean in terms of programming &#8211; how can I evaluate the ethics?\n<\/p>\n\n\n\n<p>\u2028I can break it down into a few programming challenges:\n<\/p>\n\n\n\n<ul><li>Requirements on ethics &#8211; how can requirements on ethics be expressed?  <\/li><\/ul>\n\n\n\n<ul><li>Measurements of ethics &#8211; how can we measure that something is ethical or not?  <\/li><\/ul>\n\n\n\n<ul><li>Implementation and traceability of ethics &#8211; where does ethics get implemented? Should I look for it in the code? Where?  <\/li><\/ul>\n\n\n\n<p>In the first part, the philosophers could help a great deal. They can point us to the direction of how to reason about ethics and what <strong>kind of data<\/strong> we should collect or use when training ML algorithms. \n<\/p>\n\n\n\n<p>In the second part, we as software engineer researchers, can help. Once we know what ethics can be, we can quantify it. We can even use statistics to approximate ethics for a given algorithm. However, I\u2019ve not seen any approach for that. \n<\/p>\n\n\n\n<p>Finally, if we know how to measure ethics, we can try to link that to code and try to approximate some sort of traceability of ethics in the program code &#8211; at least to start with. Later we can even trace the ethics requirements in the code, just as we profile functions for resources and trace safety requirements. \n<\/p>\n\n\n\n<p>Well, these are just some of my throughs on the topic. As I said in the title &#8211; they are from the perspective of a programmer and researcher applying ML. \n<\/p>\n\n\n\n<p>For further reading, I recommend to read a great piece of work in ACM Communications: AI judges and juries &#8211; Communications of the ACM, Vol. 61 Issue 12. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Image by&nbsp;Tumisu&nbsp;from&nbsp;Pixabay I\u2019ve been working with machine learning for a while and observed the discussion about AI and ethics. From the philosophical perspective the discussion is very much problem-oriented; the discussion is about \u201cpaper cuts\u201d from using AI. I\u2019ve recently looked at the article from SDTimes (sdtimes.org) about AI Ethics (https:\/\/sdtimes.com\/ai\/ai-ethics-early-but-formative-days\/) and its early days. &hellip; <a href=\"https:\/\/metrics.blogg.gu.se\/?p=378\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;AI Ethics &#8211; a programmer\u2019s perspective&#8221;<\/span><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts\/378"}],"collection":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=378"}],"version-history":[{"count":1,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":380,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions\/380"}],"wp:attachment":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}