{"id":112318,"date":"2023-11-27T20:35:25","date_gmt":"2023-11-27T19:35:25","guid":{"rendered":"https:\/\/www.bbs.unibo.it\/?post_type=ricerca&#038;p=112318"},"modified":"2024-11-26T16:30:38","modified_gmt":"2024-11-26T15:30:38","slug":"sunny-as2-a-step-forward-in-the-selection-of-algorithms","status":"publish","type":"ricerca","link":"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/","title":{"rendered":"Sunny-as2: a step forward in the selection of algorithms"},"content":{"rendered":"<p><span data-contrast=\"none\">Algorithm Selection (AS) is a central problem in computer science, particularly relevant in contexts such as combinatorial optimization and <\/span><i><span data-contrast=\"none\">NP-hard<\/span><\/i><span data-contrast=\"none\"> problem solving. The &#8220;SUNNY-AS2: Enhancing SUNNY for Algorithm Selection&#8221; case study by Tong Liu (Meituan, Beijing, China), Roberto Amadini and Maurizio Gabbrielli (Department of Computer Science &#8211; Science and Engineering, University of Bologna, Italy), Jacopo Mauro (Department of Mathematics and Computer Science, University of Southern Denmark, Denmark) illustrates a significant improvement of SUNNY, an approach based on <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\">-NN (k-nearest neighbors) for algorithm selection.<\/span><!--more--><\/p>\n<p><span data-contrast=\"none\">Algorithm selection is a necessity that arises when one can count on a portfolio of algorithms and wants to select the most suitable one to solve a specific instance of a problem. An algorithm selection problem is defined by a triple (<\/span><i><span data-contrast=\"none\">I, A, m<\/span><\/i><span data-contrast=\"none\">) where <\/span><i><span data-contrast=\"none\">I<\/span><\/i><span data-contrast=\"none\"> is a set of instances, <\/span><i><span data-contrast=\"none\">A<\/span><\/i><span data-contrast=\"none\"> is a set of algorithms, and <\/span><i><span data-contrast=\"none\">m :I \u00d7 A \u2192 R<\/span><\/i><span data-contrast=\"none\"> is a performance evaluation metric. To select the best algorithm to solve an unknown instance x, SUNNY uses the <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\">-NN to select from the training set of <\/span><i><span data-contrast=\"none\">I<\/span><\/i><span data-contrast=\"none\"> the subset <\/span><i><span data-contrast=\"none\">I<\/span><\/i><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\"> (called neighborhood) of the <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\"> instances closest to the feature vector <\/span><i><span data-contrast=\"none\">F(x)<\/span><\/i><span data-contrast=\"none\"> according to the Euclidean distance. Based on the performance of the algorithms of A on the instances of <\/span><i><span data-contrast=\"none\">I<\/span><\/i><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\">, SUNNY selects a subset of A to execute. The original version of SUNNY has, however, shown some limitations, especially when applied to scenarios other than Constraint Programming (CP) for which it was originally developed.<\/span><\/p>\n<p><span data-contrast=\"none\">Sunny-as2 introduces three key improvements over the original version:<\/span><\/p>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Helvetica Neue\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551500&quot;:921626,&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">Wrapper-based feature selection<\/span><\/b><span data-contrast=\"none\">: unlike its predecessor, sunny-as2 uses wrapper-based feature selection, which allows for a more precise definition of features relevant to the problem.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:276}\">\u00a0<\/span><\/li>\n<\/ol>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Helvetica Neue\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551500&quot;:921626,&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><b><span data-contrast=\"none\">Configuration of neighborhood size: <\/span><\/b><span data-contrast=\"none\">sunny-as2 allows configuration of <\/span><i><span data-contrast=\"none\">I<\/span><\/i><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\"> size thus improving generalization to different scenarios.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:276}\">\u00a0<\/span><\/li>\n<\/ol>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Helvetica Neue\" data-listid=\"1\" data-list-defn-props=\"{&quot;335551500&quot;:921626,&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><b><span data-contrast=\"none\">Greedy approach to speed up the training phase: <\/span><\/b><span data-contrast=\"none\">Introducing a greedy algorithm for algorithm selection reduces the time needed for the training phase, making the system more efficient.<\/span><\/li>\n<\/ol>\n<p><span data-contrast=\"none\">The user can choose from three different variants:<\/span><\/p>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Helvetica Neue\" data-listid=\"2\" data-list-defn-props=\"{&quot;335551500&quot;:921626,&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"1\"><b><span data-contrast=\"none\">sunny-as2-k<\/span><\/b><span data-contrast=\"none\">: all features are used and only the configuration of <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\"> is performed.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:276}\">\u00a0<\/span><\/li>\n<\/ol>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Helvetica Neue\" data-listid=\"2\" data-list-defn-props=\"{&quot;335551500&quot;:921626,&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"1\"><b><span data-contrast=\"none\">sunny-as2-f<\/span><\/b><span data-contrast=\"none\">: the value of <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\"> is fixed and only feature selection is performed.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:276}\">\u00a0<\/span><\/li>\n<\/ol>\n<ol>\n<li data-leveltext=\"%1.\" data-font=\"Helvetica Neue\" data-listid=\"2\" data-list-defn-props=\"{&quot;335551500&quot;:921626,&quot;335552541&quot;:0,&quot;335559684&quot;:-1,&quot;335559685&quot;:720,&quot;335559991&quot;:360,&quot;469769242&quot;:[65533,0],&quot;469777803&quot;:&quot;left&quot;,&quot;469777804&quot;:&quot;%1.&quot;,&quot;469777815&quot;:&quot;multilevel&quot;}\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"1\"><b><span data-contrast=\"none\">sunny-as2-fk<\/span><\/b><span data-contrast=\"none\">: the value of <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\"> and features are configured together.<\/span><\/li>\n<\/ol>\n<p><span data-contrast=\"none\">The authors of the case study then conducted a series of experiments to evaluate the performance of sunny-as2, and the results show greater efficiency than other state-of-the-art algorithm selection methods. In particular, it was observed that <\/span><i><span data-contrast=\"none\">k<\/span><\/i><span data-contrast=\"none\">-value configuration and feature selection can have a significant impact on system performances.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">In conclusion, sunny-as2 represents a significant step forward in the field of algorithm selection because it offers a more versatile and efficient solution compared to traditional methods. With its ability to adapt to different scenarios and flexible configurations, this system demonstrates how the integration of machine learning and combinatorial optimization can lead to surprisingly effective results. The experiments conducted by the case study authors confirm not only the effectiveness of sunny-as2, but also its potential in shaping the future of algorithm selection. In a world increasingly dependent on optimized computing solutions, the importance of tools such as sunny-as2 cannot be underestimated.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:6,&quot;335551620&quot;:6,&quot;335559740&quot;:276}\">\u00a0<\/span><\/p>\n","protected":false},"author":27,"template":"","ricerca-tipologia":[260],"ricerca-area":[476],"ricerca-tag":[508,255],"ricerca-autore":[604,603],"class_list":["post-112318","ricerca","type-ricerca","status-publish","hentry","ricerca-tipologia-knowledge-en","ricerca-area-computer-science-en","ricerca-tag-data-analytics-en","ricerca-tag-digital-transformation-en","ricerca-autore-maurizio-gabbrielli-2","ricerca-autore-roberto-amadini-2"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Sunny-as2: a step forward in the selection of algorithms | BBS<\/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.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sunny-as2: a step forward in the selection of algorithms | BBS\" \/>\n<meta property=\"og:description\" content=\"Algorithm Selection (AS) is a central problem in computer science, particularly relevant in contexts such as combinatorial optimization and NP-hard problem solving. The &#8220;SUNNY-AS2: Enhancing SUNNY for Algorithm Selection&#8221; case study by Tong Liu (Meituan, Beijing, China), Roberto Amadini and Maurizio Gabbrielli (Department of Computer Science &#8211; Science and Engineering, University of Bologna, Italy), Jacopo [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/\" \/>\n<meta property=\"og:site_name\" content=\"BBS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BolognaBusinessSchool\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T15:30:38+00:00\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/\",\"url\":\"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/\",\"name\":\"Sunny-as2: a step forward in the selection of algorithms | BBS\",\"isPartOf\":{\"@id\":\"https:\/\/www.bbs.unibo.it\/en\/#website\"},\"datePublished\":\"2023-11-27T19:35:25+00:00\",\"dateModified\":\"2024-11-26T15:30:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.bbs.unibo.it\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ricerca\",\"item\":\"https:\/\/www.bbs.unibo.it\/en\/research\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Sunny-as2: a step forward in the selection of algorithms\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.bbs.unibo.it\/en\/#website\",\"url\":\"https:\/\/www.bbs.unibo.it\/en\/\",\"name\":\"BBS\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.bbs.unibo.it\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sunny-as2: a step forward in the selection of algorithms | BBS","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.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/","og_locale":"en_US","og_type":"article","og_title":"Sunny-as2: a step forward in the selection of algorithms | BBS","og_description":"Algorithm Selection (AS) is a central problem in computer science, particularly relevant in contexts such as combinatorial optimization and NP-hard problem solving. The &#8220;SUNNY-AS2: Enhancing SUNNY for Algorithm Selection&#8221; case study by Tong Liu (Meituan, Beijing, China), Roberto Amadini and Maurizio Gabbrielli (Department of Computer Science &#8211; Science and Engineering, University of Bologna, Italy), Jacopo [&hellip;]","og_url":"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/","og_site_name":"BBS","article_publisher":"https:\/\/www.facebook.com\/BolognaBusinessSchool\/","article_modified_time":"2024-11-26T15:30:38+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/","url":"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/","name":"Sunny-as2: a step forward in the selection of algorithms | BBS","isPartOf":{"@id":"https:\/\/www.bbs.unibo.it\/en\/#website"},"datePublished":"2023-11-27T19:35:25+00:00","dateModified":"2024-11-26T15:30:38+00:00","breadcrumb":{"@id":"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bbs.unibo.it\/en\/research\/sunny-as2-a-step-forward-in-the-selection-of-algorithms\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bbs.unibo.it\/en\/"},{"@type":"ListItem","position":2,"name":"Ricerca","item":"https:\/\/www.bbs.unibo.it\/en\/research\/"},{"@type":"ListItem","position":3,"name":"Sunny-as2: a step forward in the selection of algorithms"}]},{"@type":"WebSite","@id":"https:\/\/www.bbs.unibo.it\/en\/#website","url":"https:\/\/www.bbs.unibo.it\/en\/","name":"BBS","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bbs.unibo.it\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca\/112318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca"}],"about":[{"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/types\/ricerca"}],"author":[{"embeddable":true,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/users\/27"}],"version-history":[{"count":1,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca\/112318\/revisions"}],"predecessor-version":[{"id":112319,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca\/112318\/revisions\/112319"}],"wp:attachment":[{"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/media?parent=112318"}],"wp:term":[{"taxonomy":"ricerca-tipologia","embeddable":true,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca-tipologia?post=112318"},{"taxonomy":"ricerca-area","embeddable":true,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca-area?post=112318"},{"taxonomy":"ricerca-tag","embeddable":true,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca-tag?post=112318"},{"taxonomy":"ricerca-autore","embeddable":true,"href":"https:\/\/www.bbs.unibo.it\/en\/wp-json\/wp\/v2\/ricerca-autore?post=112318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}