{"id":292964,"date":"2016-09-14T15:28:56","date_gmt":"2016-09-14T22:28:56","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-project&#038;p=292964"},"modified":"2020-03-13T17:42:45","modified_gmt":"2020-03-14T00:42:45","slug":"project-parade","status":"publish","type":"msr-project","link":"https:\/\/www.microsoft.com\/en-us\/research\/project\/project-parade\/","title":{"rendered":"Project Parade"},"content":{"rendered":"<p><iframe loading=\"lazy\" title=\"Efficient Parallelization Using Rank Convergence in Dynamic Programming Algorithms\" src=\"https:\/\/player.vimeo.com\/video\/184001139?dnt=1&app_id=122963\" width=\"500\" height=\"281\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture; clipboard-write\"><\/iframe><\/p>\n<p>Project Parade\u00a0is a novel approach to parallelizing a large class of seemingly sequential applications wherein dependencies are, at runtime, treated as symbolic values. The efficiency of parallelization, then, depends on the efficiency of the symbolic computation, an active area of research in static analysis, verification, and partial evaluation. This is exciting as advances in these fields can translate to novel parallel algorithms for sequential computation.<\/p>\n<ul>\n<li><a class=\"msr-external-link glyph-append glyph-append-open-in-new-tab glyph-append-xsmall\" href=\"http:\/\/cacm.acm.org\/magazines\/2016\/10\/207775-efficient-parallelization-using-rank-convergence-in-dynamic-programming-algorithms\/abstract\" target=\"_blank\" rel=\"noopener noreferrer\">Read the CACM Research Highlights article ><span class=\"sr-only\"> (opens in new tab)<\/span><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Project Parade\u00a0is a novel approach to parallelizing a large class of seemingly sequential applications wherein dependencies are, at runtime, treated as symbolic values.<\/p>\n","protected":false},"featured_media":300773,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","footnotes":""},"research-area":[13563,13560],"msr-locale":[268875],"msr-impact-theme":[],"msr-pillar":[],"class_list":["post-292964","msr-project","type-msr-project","status-publish","has-post-thumbnail","hentry","msr-research-area-data-platform-analytics","msr-research-area-programming-languages-software-engineering","msr-locale-en_us","msr-archive-status-active"],"msr_project_start":"2014-10-17","related-publications":[163237,166117,166118,167640,168641,168643,168797],"related-downloads":[],"related-videos":[],"related-groups":[144812],"related-events":[],"related-opportunities":[],"related-posts":[],"related-articles":[],"tab-content":[{"id":0,"name":"Symbolic Execution","content":"Here's an example of how it works. Imagine an algorithm that has three components, F, G, and H. F takes some data as input and generates a result. That result is used by G, possibly along with some other data, to compute\u00a0<em>its\u00a0<\/em>result. Then H uses G's result (and again, possibly some other data) to compute the final result.\r\n\r\n<img class=\"alignnone size-medium wp-image-299936\" src=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/09\/Sequential-300x183.png\" alt=\"sequential\" width=\"300\" height=\"183\" \/>\r\n\r\nBecause of these dependencies, G cannot start executing until F has finished. Likewise, H cannot start executing until G has finished. How can we possibly execute this algorithm in parallel? We do that by starting G (and H) at the same time as F. F executes using the real input data, but G and H are given a\u00a0<em>symbolic<\/em> input, x. They are then executed in a symbolic manner which generates a summary:\u00a0<em>g(x)<\/em> for G and\u00a0<em>h(x)<\/em> for H. A summary is itself a function that, given a concrete input, generates a concrete (i.e., <em>not<\/em> symbolic) output.\u00a0So\u00a0once F has computed its output, that is used by\u00a0<em>g(x)<\/em> to compute the output that is then used as input by\u00a0<em>h(x)<\/em>.\r\n\r\n<img class=\"alignnone size-medium wp-image-299939\" src=\"https:\/\/www.microsoft.com\/en-us\/research\/wp-content\/uploads\/2016\/09\/Parallel-300x193.png\" alt=\"parallel\" width=\"300\" height=\"193\" \/>\r\n\r\nThe final, concrete, result is the same as that computed by the sequential algorithm. In order for this to be efficient, it must be possible to do two things:\r\n<ol>\r\n \t<li>The summary of a component must be \"small\": i.e., it must be concise enough so that it can be communicated easily in a parallel implementation to the process that will execute it on concrete input.<\/li>\r\n \t<li>The execution of a summary must be efficient (which is related to its size): if it takes as long to execute the summary as it does to execute the original component, then the parallel implementation will be no faster than the sequential algorithm.<\/li>\r\n<\/ol>"}],"slides":[],"related-researchers":[{"type":"user_nicename","display_name":"Madan Musuvathi","user_id":32766,"people_section":"Group 1","alias":"madanm"}],"msr_research_lab":[199565],"msr_impact_theme":[],"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/292964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-project"}],"version-history":[{"count":8,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/292964\/revisions"}],"predecessor-version":[{"id":643137,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-project\/292964\/revisions\/643137"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/300773"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=292964"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=292964"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=292964"},{"taxonomy":"msr-impact-theme","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-impact-theme?post=292964"},{"taxonomy":"msr-pillar","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-pillar?post=292964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}