{"id":11349,"date":"2024-05-02T11:41:58","date_gmt":"2024-05-02T18:41:58","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/?post_type=example&#038;p=11349"},"modified":"2024-05-02T11:42:47","modified_gmt":"2024-05-02T18:42:47","slug":"alphacode-11d-map-system-input-attributes-to-system-outputs","status":"publish","type":"example","link":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/","title":{"rendered":"AlphaCode | 11D: Map system input attributes to system&nbsp;outputs"},"content":{"rendered":"<div class=\"toolkit-heading-with-image-block\">\n\t\n\n<h2 class=\"wp-block-heading\">AlphaCode | 11D: Map system input attributes to system outputs<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"10\" src=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2023\/05\/yellow-header-bar-1536x14-5-23-1024x10.png\" alt=\"yellow header bar\" class=\"wp-image-8817\" srcset=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2023\/05\/yellow-header-bar-1536x14-5-23-1024x10.png 1024w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2023\/05\/yellow-header-bar-1536x14-5-23-300x3.png 300w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2023\/05\/yellow-header-bar-1536x14-5-23-768x8.png 768w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2023\/05\/yellow-header-bar-1536x14-5-23-1536x16.png 1536w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2023\/05\/yellow-header-bar-1536x14-5-23-2048x21.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<\/div>\n\n\n\n\n\n<p>AlphaCode, a code generator by DeepMind makes clear why the system did what it did (<a href=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/guideline\/make-clear-why-the-system-did-what-it-did\/\">Guideline 11<\/a>) by highlighting parts of the problem description that the model attended to for generating selected tokens in the code solution (<a href=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/pattern\/g11-d-map-system-input-attributes-to-system-outputs\/\">Pattern 11D<\/a>).<\/p>\n\n\n\n<p>The techniques used in this example have the potential to foster appropriate reliance on AI, by reducing overreliance. Keep in mind that overreliance mitigations can backfire. Be sure to test such mitigations in context, with your AI system\u2019s actual users. Learn more about\u00a0<a href=\"https:\/\/aka.ms\/overreliance_review\">overreliance on AI\u00a0<\/a>and\u00a0<a href=\"https:\/\/aka.ms\/genAI_reliance\">appropriate reliance on generative AI<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"803\" src=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d-1024x803.png\" alt=\"AlphaCode attention visualization interface showing a coding problem description and generated solution. Selecting the token const in solution highlighted tokens in the problem based on model\u2019s attention to them. \" class=\"wp-image-11337\" srcset=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d-1024x803.png 1024w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d-300x235.png 300w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d-768x602.png 768w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d-1536x1205.png 1536w, https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d-2048x1606.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Image captured February 2024<\/em><\/figcaption><\/figure>\n","protected":false},"featured_media":11337,"menu_order":0,"template":"","meta":{"toolkit_pattern_number":"11D","ep_exclude_from_search":false,"footnotes":""},"application-type":[96,99,56,59],"goal":[114,126,123],"guideline-term":[13],"product-category":[28],"class_list":["post-11349","example","type-example","status-publish","has-post-thumbnail","hentry","application-type-gen-ai","application-type-llm","application-type-natural-language-processing-text","application-type-text-generation","goal-appropriate-reliance","goal-reliability","goal-transparency","guideline-term-make-clear-why-the-system-did-what-it-did","product-category-productivity"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AlphaCode | 11D: Map system input attributes to system outputs - Microsoft HAX Toolkit<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AlphaCode | 11D: Map system input attributes to system outputs - Microsoft HAX Toolkit\" \/>\n<meta property=\"og:description\" content=\"AlphaCode, a code generator by DeepMind makes clear why the system did what it did (Guideline 11) by highlighting parts of the problem description that the model attended to for generating selected tokens in the code solution (Pattern 11D). The techniques used in this example have the potential to foster appropriate reliance on AI, by [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft HAX Toolkit\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-02T18:42:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/prod\/2024\/05\/AlphaCode-G11-d-1024x803.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"803\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Shipi Dhanorkar\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/\",\"name\":\"AlphaCode | 11D: Map system input attributes to system outputs - Microsoft HAX Toolkit\",\"isPartOf\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d.png\",\"datePublished\":\"2024-05-02T18:41:58+00:00\",\"dateModified\":\"2024-05-02T18:42:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#primaryimage\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d.png\",\"contentUrl\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d.png\",\"width\":2846,\"height\":2232,\"caption\":\"AlphaCode attention visualization interface showing a coding problem description and generated solution. Selecting the token const in solution highlighted tokens in the problem based on model\u2019s attention to them.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"G11: Make clear why the system did what it did.\",\"item\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/guideline\/make-clear-why-the-system-did-what-it-did\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AlphaCode | 11D: Map system input attributes to system&nbsp;outputs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#website\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/\",\"name\":\"Microsoft HAX Toolkit\",\"description\":\"Collaborative tools to help you create more effective and responsible human-AI experiences\",\"publisher\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#organization\",\"name\":\"Microsoft Corporation\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2022\/07\/msft-logo.png\",\"contentUrl\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2022\/07\/msft-logo.png\",\"width\":1536,\"height\":1536,\"caption\":\"Microsoft Corporation\"},\"image\":{\"@id\":\"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AlphaCode | 11D: Map system input attributes to system outputs - Microsoft HAX Toolkit","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/","og_locale":"en_US","og_type":"article","og_title":"AlphaCode | 11D: Map system input attributes to system outputs - Microsoft HAX Toolkit","og_description":"AlphaCode, a code generator by DeepMind makes clear why the system did what it did (Guideline 11) by highlighting parts of the problem description that the model attended to for generating selected tokens in the code solution (Pattern 11D). The techniques used in this example have the potential to foster appropriate reliance on AI, by [&hellip;]","og_url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/","og_site_name":"Microsoft HAX Toolkit","article_modified_time":"2024-05-02T18:42:47+00:00","og_image":[{"width":1024,"height":803,"url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/prod\/2024\/05\/AlphaCode-G11-d-1024x803.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes","Written by":"Shipi Dhanorkar"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/","url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/","name":"AlphaCode | 11D: Map system input attributes to system outputs - Microsoft HAX Toolkit","isPartOf":{"@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#primaryimage"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#primaryimage"},"thumbnailUrl":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d.png","datePublished":"2024-05-02T18:41:58+00:00","dateModified":"2024-05-02T18:42:47+00:00","breadcrumb":{"@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#primaryimage","url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d.png","contentUrl":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2024\/05\/AlphaCode-G11-d.png","width":2846,"height":2232,"caption":"AlphaCode attention visualization interface showing a coding problem description and generated solution. Selecting the token const in solution highlighted tokens in the problem based on model\u2019s attention to them."},{"@type":"BreadcrumbList","@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/example\/alphacode-11d-map-system-input-attributes-to-system-outputs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/"},{"@type":"ListItem","position":2,"name":"G11: Make clear why the system did what it did.","item":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/guideline\/make-clear-why-the-system-did-what-it-did\/"},{"@type":"ListItem","position":3,"name":"AlphaCode | 11D: Map system input attributes to system&nbsp;outputs"}]},{"@type":"WebSite","@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#website","url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/","name":"Microsoft HAX Toolkit","description":"Collaborative tools to help you create more effective and responsible human-AI experiences","publisher":{"@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#organization","name":"Microsoft Corporation","url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#\/schema\/logo\/image\/","url":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2022\/07\/msft-logo.png","contentUrl":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/uploads\/2022\/07\/msft-logo.png","width":1536,"height":1536,"caption":"Microsoft Corporation"},"image":{"@id":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/example\/11349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/example"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/types\/example"}],"version-history":[{"count":1,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/example\/11349\/revisions"}],"predecessor-version":[{"id":11352,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/example\/11349\/revisions\/11352"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/media\/11337"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/media?parent=11349"}],"wp:term":[{"taxonomy":"application-type","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/application-type?post=11349"},{"taxonomy":"goal","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/goal?post=11349"},{"taxonomy":"guideline-term","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/guideline-term?post=11349"},{"taxonomy":"product-category","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/haxtoolkit\/wp-json\/wp\/v2\/product-category?post=11349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}