Tensor program tuning is a non-convex objective optimization problem, to which search-based approaches have proven to be effective. At the core of the search-based approaches lies the design of the cost model. Though deep learning-based cost models perform significantly better than other methods, they still fall short and suffer from the following problems. First, their feature extraction heavily relies on expert-level domain knowledge in hardware architectures. Even so, the extracted features are often unsatisfactory and require separate considerations for CPUs and GPUs. Second, a cost model trained on one hardware platform usually performs poorly on another, a problem we call cross-hardware unavailability.
In order to address these problems, we propose TLP and MTLTLP. TLP is a deep learning-based cost model that facilitates tensor program tuning. Instead of extracting features from the tensor program itself, TLP extracts features from the schedule primitives. We treat schedule primitives as tensor languages. TLP is thus a Tensor Language Processing task. In this way, the task of predicting the tensor program latency through the cost model is transformed into a natural language processing (NLP) regression task. MTL-TLP combines Multi-Task Learning and TLP to cope with the cross-hardware unavailability problem.
We incorporate these techniques into the Ansor framework and conduct detailed experiments. Results show that TLP can speed up the average search time by 9.1X and 3.0X on CPU and GPU workloads, respectively, compared to the state-of-the-art implementation. MTL-TLP can achieve a speed-up of 4.7X and 2.9X on CPU and GPU workloads, respectively, using only 7% of the target hardware data.
A Linear Programming Enhanced Genetic Algorithm for Hyperparameter Tuning in Machine Learning
Brij Disa Centre for Data Science and Artificial Intelligence(布里吉·迪萨数据科学与人工智能中心);Indian Institute of Management Ahmedabad(印度管理学院艾哈迈达巴德分校);Department of Statistics and Data Science(统计与数据科学系);Indian Institute of Technology Kanpur(印度理工学院坎普尔分校)
LiFT: Local Search via Linear Programming for Overfitting-Controlled Transformers
Department of Management Sciences, Indian Institute of Technology Kanpur(印度理工学院坎普尔分校管理科学系);Department of Civil Engineering, Indian Institute of Technology Kanpur(印度理工学院坎普尔分校土木工程系);Operations and Decision Sciences, Indian Institute of Management Ahmedabad(印度管理学院艾哈迈达巴德分校运营与决策科学系);Brij Disa Centre for Data Science and AI, Indian Institute of Management Ahmedabad(印度管理学院艾哈迈达巴德分校Brij Disa数据科学与人工智能中心)
Evaluating How Fine-tuning on Bimodal Data Effects Code Generation
尽管用于代码生成的语言模型越来越受欢迎,但在双模编码论坛上进行的训练如何影响模型的代码生成性能和可靠性仍然是未知的。因此,我们收集了超过220万个StackOverflow问题的数据集,并提供了用于微调的答案。这些微调模型在HumanEval上的平均$pass@k$改善为54.64%和85.35%(Chen等人,2021)和大部分基本程序问题(Austin et al.,2021年)的任务。该机制进一步减少了生成的具有语法和运行时错误的程序的数量。然而,我们发现,在较高的温度下,有显着降低模型的能力,尽管较高的$pass@k$分数,生成可运行的程序,强调需要更好的方法,将这些数据,减轻这些副作用。代码可以在https://github.com/gabeorlanski/bimodalcode-generation上找到
Value Function Based Difference-of-Convex Algorithm for Bilevel Hyperparameter Selection Problems
University of Waterloo(滑铁卢大学);University of Victoria(维多利亚大学);Southern University of Science and Technology(南方科技大学);National Center for Applied Mathematics Shenzhen(深圳国家应用数学中心)
Tuning the Tuner: Introducing Hyperparameter Optimization for Auto-Tuning
LIACS, Leiden University Netherlands eScience Center Leiden \& Amsterdam, the Netherlands ORCID: 0000-0003-2295-8263;LIACS, Leiden University Leiden, the Netherlands ORCID: 0000-0002-2947-9444;LIACS, Leiden University Netherlands eScience Center Leiden \& Amsterdam, the Netherlands ORCID: 0000-0002-7508-3272
Fine-tuning deep CNN models on specific MS COCO categories
German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Eötvös Loránd University(罗兰大学)
深度卷积神经网络(CNN)的微调通常是期望的。本文概述了我们公开提供的py-faster-rcnn-ft软件库,可用于在Microsoft Common Objects in Context(MS COCO)数据集的自定义子集上微调VGG_CNN_M_1024模型。例如,我们改进了程序,使用户不必手动在数据集中寻找合适的图像文件,然后可以在演示程序中使用。我们的实现随机选择包含至少一个对象的类别上的模型进行微调的图像。