论文题目:Machine learning: Trends, perspectives, and prospects
论文来源:Machine learning: Trends, perspectives, and prospects_2015_Science
翻译人:BDML@CQUT实验室
机器学习解决了如何制造出能通过练习自动改进的计算机的问题。它是当今时代位于计算机科学和统计学的交汇处发展最快的技术领域之一,也是人工智能和数据科学的核心。
机器学习的最新进展既受到新学习算法和理论的发展的推动,也受到在线数据和低成本计算的不断发展的推动。在科学,技术和商业领域中可以发现很多采用了数据密集型机器学习方法,从而导致在医疗,制造,教育,财务建模,警务和市场营销等众多领域采取了更多基于证据的决策。
Machine learning is a discipline focused on two interrelated questions: How can one construct computer systems that auto-matically improve through experience? and What are the fundamental statistical-computational-information-theoretic laws that govern all learning systems, including computers, humans, and organizations? The study of machine learning is important both for addressing these fundamental scientific and engineering questions and for the highly practical computer software it has produced and fielded across many applications.
Machine learning has progressed dramatically over the past two decades, from laboratory curiosity to a practical technology in widespread commercial use. Within artificial intelligence (AI), machine learning has emerged as the method of choice for developing practical software for computer vision, speech recognition, natural language processing, robot control, and other applications. Many developers of AI systems now recognize that, for many applications, it can be far easier to train a system by showing it examples of desired input-output behavior than to program it manually by anticipating the desired response for all possible inputs. The effect of machine learning has also been felt broadly across computer science and across a range of industries concerned with data-intensive issues, such as consumer services, the diagnosis of faults in complex systems, and the control of logistics chains. There has been a similarly broad range of effects across empirical sciences, from biology to cosmology to social science, as machine-learning methods have been developed to analyze highthroughput experimental data in novel ways. See Fig. 1 for a depiction of some recent areas of application of machine learning.
Fig.1 Applications of machine learning. Machine learning is having a substantial effect on many areas of technology and science; examples of recent applied success stories include robotics and autonomous vehicle control (top left), speech processing and natural language processing (top right), neuroscience research (middle), and applications in computer vision (bottom). [The middle panel is adapted from (29). The images in the bottom panel are from the ImageNet database; object recognition annotation is by R. Girshick.]
A learning problem can be defined as the problem of improving some measure of performance when executing some task, through some type of training experience. For example, in learning to detect credit-card fraud, the task is to assign a label of “fraud” or“not fraud” to any given credit-card transaction. The performance metric to be improved might be the accuracy of this fraud classifier, and the training experience might consist of a collection of historical credit-card transactions, each labeled in retrospect as fraudulent or not. Alternatively, one might define a different performance metric that assigns a higher penalty when “fraud” is labeled “not fraud” than when “not fraud” is incorrectly labeled “fraud.” One might also define a different type of training experience—for example, by including unlabeled credit-card transactions along with labeled examples.
A diverse array of machine-learning algorithms has been developed to cover the wide variety of data and problem types exhibited across different machine-learning problems (1, 2). Conceptually, machine-learning algorithms can be viewed as searching through a large space of candidate programs, guided by training experience, to find a program that optimizes the performance metric. Machine-learning algorithms vary greatly, in part by the way in which they represent candidate programs (e.g., decision trees, mathematical functions, and general programming languages) and in part by the way in which they search through this space of programs (e.g., optimization algorithms with well-understood convergence guarantees and evolutionary search methods that evaluate successive generations of randomly mutated programs). Here, we focus on approaches that have been particularly successful to date.
Many algorithms focus on function approximation problems, where the task is embodied in a function (e.g., given an input transaction, output a “fraud” or “not fraud” label), and the learning problem is to improve the accuracy of that function, with experience consisting of a sample of known input-output pairs of the function. In some cases, the function is represented explicitly as a parameterized functional form; in other cases, the function is implicit and obtained via a search process, a factorization, an optimization procedure, or a simulation-based procedure. Even when implicit, the function generally depends on parameters or other tunable degrees of freedom, and training corresponds to finding values for these parameters that optimize the performance metric.
Whatever the learning algorithm, a key scientific and practical goal is to theoretically characterize the capabilities of specific learning algorithms and the inherent difficulty of any given learning problem: How accurately can the algorithm learn from a particular type and volume of training data? How robust is the algorithm to errors in its modeling assumptions or to errors in the training data? Given a learning problem with a given volume of training data, is it possible to design a successful algorithm or is this learning problem fundamentally intractable? Such theoretical characterizations of machine-learning algorithms and problems typically make use of the familiar frameworks of statistical decision theory and computational complexity theory.In fact, attempts to characterize machine-learning algorithms theoretically have led to blends of statistical and computational theory in which the goal is to simultaneously characterize the sample complexity (how much data are required to learn accurately) and the computational complexity (how much computation is required) and to specify how these depend on features of the learning algorithm such as the representation it uses for what it learns (3–6). A specific form of computational analysis that has proved particularly useful in recent years has been that of optimization theory, with upper and lower bounds on rates of convergence of optimization procedures merging well with the formulation of machine-learning problems as the optimization of a performance metric (7, 8).
As a field of study, machine learning sits at the crossroads of computer science, statistics and a variety of other disciplines concerned with automatic improvement over time, and inference and decision-making under uncertainty. Related disciplines include the psychological study of human learning, the study of evolution, adaptive control theory, the study of educational practices, neuroscience, organizational behavior, and economics. Although the past decade has seen increased crosstalk with these other fields, we are just beginning to tap the potential synergies and the diversity of formalisms and experimental methods used across these multiple fields for studying systems that improve with experience.
机器学习是一门专注于两个相互关联的问题的学科:
机器学习的研究对于解决这些基础科学和工程问题,以及对于已经产生并应用于许多应用程序的高度实用的计算机软件都非常重要。
在过去的二十年里,从实验室的好奇心到广泛用于商业用途的实用技术,机器学习已取得了令人瞩目的进步。在人工智能(AI)中,机器学习已成为开发用于计算机视觉,语音识别,自然语言处理,机器人控制和其他应用的实用软件的一种选择方法。现在,许多AI系统开发人员都认识到,对于许多应用程序而言,通过显示所需的输入输出行为示例来训练系统比手动编程来预测所有可能输入的预期响应要容易得多。
在计算机科学以及涉及数据密集型问题的一系列行业中,也广泛地感受到了机器学习的效果,例如消费者服务,复杂系统中的故障诊断以及物流链控制。随着机器学习方法被开发出来,以新颖的方式分析高通量实验数据,从生物学到宇宙学再到社会科学,在经验科学领域也出现了类似的广泛影响。图1描述了机器学习的一些最新应用领域。
图1:机器学习的应用。机器学习对技术和科学的许多领域都产生了重大影响。 最近应用的成功案例包括机器人技术和自动驾驶汽车控制(左上),语音处理和自然语言处理(右上),神经科学研究(中)以及在计算机视觉中的应用(下)。 [中间面板改编自(29)。底部面板中的图像来自ImageNet数据库。对象识别注释由R. Girshick提供。]
学习问题可以被定义为在执行某些任务时,通过某种类型的训练经验来提高某种性能的度量的问题。例如,在学习检测信用卡欺诈时,任务是给任何给定的信用卡交易贴上“欺诈”或“非欺诈”的标签。需要改进的性能指标可能是该欺诈分类器的准确性,而培训经验可能包括历史信用卡交易的集合,每个交易在回顾时都被标记为欺诈或非欺诈。或者,可以定义不同的绩效指标,当“欺诈”被标记为“非欺诈”时,比“非欺诈”被错误地标记为“欺诈”时,给予更高的惩罚。人们还可以定义一种不同类型的训练经验——例如,在有标签的例子中加入无标签的信用卡交易。
已经开发出的一系列机器学习算法,涉及各种数据和问题类型,涵盖跨越不同的机器学习问题(1、2)。从概念上讲,机器学习算法可以看作是在训练经验的指导下搜索大量候选程序,以找到优化性能指标的程序。机器学习算法则有很大不同,部分原因在于它们表示候选程序(例如决策树,数学函数和通用编程语言)的方式,部分原因在于它们在程序的此空间中进行搜索的方式(例如,具有易于理解的收敛性保证的优化算法和评估连续几代随机变异程序的进化搜索方法)。 在这里,我们将重点放在迄今为止非常成功的方法上。
许多算法专注于函数逼近问题,其中任务体现在函数中(例如,给定输入事务,输出带有“欺诈”或“非欺诈”标签),学习问题是要改进该功能的精度,经验包括该功能的已知输入输出对的样本。在某些情况下,该功能以参数化功能形式明确表示。在其他情况下,该函数是隐式的,可以通过搜索过程,分解,优化过程或基于仿真的过程获得。即使是隐式的,该功能通常也取决于参数或其他可调整的自由度,并且训练对应于为这些参数找到优化性能指标的值。
无论采用哪种学习算法,一个重要的科学实用目标是从理论上表征特定学习算法的功能以及任何给定学习问题的固有难度:
这种机器学习算法和问题的理论特征通常利用成熟的统计决策理论和计算复杂性理论框架。
实际上,从理论上描述机器学习算法的尝试已导致统计和计算理论的融合,其目标是同时表征样本复杂度(准确学习需要多少数据)和计算复杂度(需要多少计算),并指定这些内容如何取决于学习算法的功能,例如它用于学习的表示形式(3-6)。最近几年证明特别有用的一种计算分析形式是优化理论,优化过程的收敛速度的上限和下限与机器学习问题的表述很好地融合在一起,作为一种性能指标(7,8)。
作为一个研究领域,机器学习处于计算机科学、统计学和其他各种学科的交叉路口,这些学科随着时间的推移而自动改进,以及不确定性下的推理和决策。相关学科包括人类学习的心理学研究、进化研究、自适应控制理论、教育实践研究、神经科学、组织行为学和经济学。尽管在过去的十年中,我们已经看到了与这些其他领域的交流增加,但我们只是刚刚开始挖掘潜在的协同效应,以及在这些多个领域中使用的形式主义和实验方法的多样性来研究随经验而改进的系统。
The past decade has seen rapid growth in the ability of networked and mobile computing systems to gather and transport vast amounts of data, a phenomenon often referred to as “Big Data.” The scientists and engineers who collect such data have often turned to machine learning for solutions to the problem of obtaining useful insights, predictions, and decisions from such data sets. Indeed, the sheer size of the data makes it essential to develop scalable procedures that blend computational and statistical considerations, but the issue is more than the mere size of modern data sets; it is the granular,personalized nature of much of these data. Mobile devices and embedded computing permit large amounts of data to be gathered about individual humans, and machine-learning algorithms can learn from these data to customize their services to the needs and circumstances of each individual. Moreover, these personalized services can be connected, so that an overall service emerges that takes advantage of the wealth and diversity of data from many individuals while still customizing to the needs and circumstances of each. Instances of this trend toward capturing and mining large quantities of data to improve services and productivity can be found across many fields of commerce, science, and government. Historical medical records are used to discover which patients will respond best to which treatments; historical traffic data are used to improve traffic control and reduce congestion; historical crime data are used to help allocate local police to specific locations at specific times; and large experimental data sets are captured and curated to accelerate progress in biology, astronomy, neuroscience, and other data intensive empirical sciences. We appear to be at the beginning of a decades-long trend toward increasingly data-intensive,evidence-based decision making across many aspects of science, commerce,and government.
With the increasing prominence of large-scale data in all areas of human endeavor has come awave of new demands on the underlying machine learning algorithms. For example, huge data sets require computationally tractable algorithms, highly personal data raise the need for algorithms that minimize privacy effects, and the availability of huge quantities of unlabeled data raises the challenge of designing learning algorithms to take advantage of it. The next sections survey some of the effects of these demands on recent work in machine-learning algorithms, theory, and practice.
在过去的十年中,网络和移动计算系统收集和传输大量数据的能力迅速增长,这种现象通常被称为“大数据”。收集此类数据的科学家和工程师经常转向机器学习,以解决从此类数据集获得有用的见解,预测和决策的问题。
确实,庞大的数据量使得开发可扩展的过程成为必不可少的过程,这些过程融合了计算和统计方面的考虑,但是问题不仅仅在于现代数据集的大小。这是许多数据的细化,个性化性质。移动设备和嵌入式计算允许在单个人中收集大量数据,并且机器学习算法可以从这些数据中学习,以根据每个人的需求和情况定制其服务。
此外,可以将这些个性化服务连接起来,从而形成一个整体服务,该服务利用了来自许多人丰富和多样的的数据,同时仍可以根据每个人的需求和情况进行定制。在商业,科学和政府的许多领域中都可以找到这种趋势,即捕获和挖掘大量数据以改善服务和生产率的趋势。
在科学、商业和政府的许多方面,我们似乎正处于一个长达数十年的数据密集、基于证据的决策趋势的开端。
随着大规模数据在人类工作的各个领域中日益突出,对底层机器学习算法提出了一波新的要求。例如,
接下来的部分调查了这些需求对机器学习算法、理论和实践方面最近工作的一些影响。
The most widely used machine-learning methods are supervised learning methods. Supervised learning systems, including spam classifiers of e-mail, face recognizers over images, and medical diagnosis systems for patients, all exemplify the function approximation problem discussed earlier, where the training data take the form of a collection of (x, y) pairs and the goal is to produce a prediction y* in response to a query x*. The inputs x may be classical vectors or they may be more complex objects such as documents, images, DNA sequences, or graphs. Similarly, many different kinds of output y have been studied. Much progress has been made by focusing on the simple binary classification problem in which y takes on one of two values (for example, “spam” or “not spam”), but there has also been abundant research on problems such as multiclass classification (where y takes on one of K labels), multilabel classification (where y is labeled simultaneously by several of the K labels), ranking problems (where y provides a partial order on some set), and general structured prediction problems (where y is a combinatorial object such as a graph, whose components may be required to satisfy some set of constraints). An example of the latter problem is part-of-speech tagging, where the goal is to simultaneously label every word in an input sentence x as being a noun, verb, or some other part of speech. Supervised learning also includes cases in which y has realvalued components or a mixture of discrete and real-valued components.
Supervised learning systems generally form their predictions via a learned mapping f(x), which produces an output y for each input x (or a probability distribution over y given x). Many different forms of mapping f exist, including decision trees, decision forests, logistic regression, support vector machines, neural networks, kernel machines, and Bayesian classifiers. A variety of learning algorithms has been proposed to estimate these different types of mappings, and there are also generic procedures such as boosting and multiple kernel learning that combine the outputs of multiple learning algorithms. Procedures for learning f from data often make use of ideas from optimization theory or numerical analysis, with the specific form of machinelearning problems (e.g., that the objective function or function to be integrated is often the sum over a large number of terms) driving innovations. This diversity of learning architectures and algorithms reflects the diverse needs of applications, with different architectures capturing different kinds of mathematical structures, offering different levels of amenability to post-hoc visualization and explanation, and providing varying trade-offs between computational complexity, the amount of data, and performance.
One high-impact area of progress in supervised learning in recent years involves deep networks, which are multilayer networks of threshold units, each of which computes some simple parameterized function of its inputs(9, 10). Deep learning systems make use of gradient-based optimization algorithms to adjust parameters throughout such a multilayered network based on errors at its output. Exploiting modern parallel computing architectures, such as graphics processing units originally developed for video gaming, it has been possible to build deep learning systems that contain billions of parameters and that can be trained on the very large collections of images, videos, and speech samples available on the Internet. Such large-scale deep learning systems have had a major effect in recent years in computer vision (11) and speech recognition (12), where they have yielded major improvements in performance over previous approaches (see Fig. 2). Deep network methods are being actively pursued in a variety of additional applications from natural language translation to collaborative filtering.
Fig. 2. Automatic generation of text captions for images with deep networks. A convolutional neural network is trained to interpret images, and its output is then used by a recurrent neural network trained to generate a text caption (top). The sequence at the bottom shows the word-by-word focus of the network on different parts of input image while it generates the caption word-by-word. [Adapted with permission from (30)]
The internal layers of deep networks can be viewed as providing learned representations of the input data. While much of the practical success in deep learning has come from supervised learning methods for discovering such representations, efforts have also been made to develop deep learning algorithms that discover useful representations of the input without the need for labeled training data (13). The general problem is referred to as unsupervised learning, a second paradigm in machine-learning research (2).
Broadly, unsupervised learning generally involves the analysis of unlabeled data under assumptions about structural properties of the data (e.g., algebraic, combinatorial, or probabilistic). For example, one can assume that data lie on a low-dimensional manifold and aim to identify that manifold explicitly from data. Dimension reduction methods—including principal components analysis, manifold learning, factor analysis, random projections, and autoencoders (1, 2)—make different specific assumptions regarding the underlying manifold (e.g., that it is a linear subspace, a smooth nonlinear manifold, or a collection of submanifolds). Another example of dimension reduction is the topic modeling framework depicted in Fig. 3. A criterion function is defined that embodies these assumptions—often making use of general statistical principles such as maximum likelihood, the method of moments, or Bayesian integration—and optimization or sampling algorithms are developed to optimize the criterion. As another example, clustering is the problem of finding a partition of the observed data (and a rule for predicting future data) in the absence of explicit labels indicating a desired partition. A wide range of clustering procedures has been developed, all based on specific assumptions regarding the nature of a “cluster.” In both clustering and dimension reduction, the concern with computational complexity is paramount, given that the goal is to exploit the particularly large data sets that are available if one dispenses with supervised labels.
Fig. 3. Topic models. Topic modeling is a methodology for analyzing documents, where a document is viewed as a collection of words, and the words in the document are viewed as being generated by an underlying set of topics (denoted by the colors in the figure). Topics are probability distributions across words (leftmost column), and each document is characterized by a probability distribution across topics (histogram). These distributions are inferred based on the analysis of a collection of documents and can be viewed to classify, index, and summarize the content of documents. [From (31).Copyright 2012, Association for Computing Machinery, Inc. Reprinted with permission]
A third major machine-learning paradigm is reinforcement learning (14, 15). Here, the information available in the training data is intermediate between supervised and unsupervised learning. Instead of training examples that indicate the correct output for a given input, the training data in reinforcement learning are assumed to provide only an indication as to whether an action is correct or not; if an action is incorrect, there remains the problem of finding the correct action. More generally, in the setting of sequences of inputs, it is assumed that reward signals refer to the entire sequence; the assignment of credit or blame to individual actions in the sequence is not directly provided. Indeed, although simplified versions of reinforcement learning known as bandit problems are studied, where it is assumed that rewards are provided after each action, reinforcement learning problems typically involve a general control-theoretic setting in which the learning task is to learn a control strategy (a “policy”) for an agent acting in an unknown dynamical environment, where that learned strategy is trained to chose actions for any given state, with the objective of maximizing its expected reward over time. The ties to research in control theory and operations research have increased over the years, with formulations such as Markov decision processes and partially observed Markov decision processes providing points of contact (15, 16). Reinforcement-learning algorithms generally make use of ideas that are familiar from the control-theory literature, such as policy iteration, value iteration, rollouts, and variance reduction, with innovations arising to address the specific needs of machine learning (e.g., largescale problems, few assumptions about the unknown dynamical environment, and the use of supervised learning architectures to represent policies). It is also worth noting the strong ties between reinforcement learning and many decades of work on learning in psychology and neuroscience, one notable example being the use of reinforcement learning algorithms to predict the response of dopaminergic neurons in monkeys learning to associate a stimulus light with subsequent sugar reward (17).
Although these three learning paradigms help to organize ideas, much current research involves blends across these categories. For example, semisupervised learning makes use of unlabeled data to augment labeled data in a supervised learning context, and discriminative training blends architectures developed for unsupervised learning with optimization formulations that make use of labels. Model selection is the broad activity of using training data not only to fit a model but also to select from a family of models, and the fact that training data do not directly indicate which model to use leads to the use of algorithms developed for bandit problems and to Bayesian optimization procedures. Active learning arises when the learner is allowed to choose data points and query the trainer to request targeted information, such as the label of an otherwise unlabeled example. Causal modeling is the effort to go beyond simply discovering predictive relations among variables, to distinguish which variables causally influence others (e.g., a high white-blood-cell count can predict the existence of an infection, but it is the infection that causes the high white-cell count). Many issues influence the design of learning algorithms across all of these paradigms, including whether data are available in batches or arrive sequentially over time, how data have been sampled, requirements that learned models be interpretable by users, and robustness issues that arise when data do not fit prior modeling assumptions.
最广泛使用的机器学习方法是监督学习方法(1)。有监督的学习系统,包括电子邮件的垃圾邮件分类器,图像上的面部识别器以及患者的医疗诊断系统,都例示了前面讨论的函数逼近问题,其中训练数据采用(x,y)集合对,目标是根据查询x *生成预测y *。
输入x可以是经典向量,也可以是更复杂的对象,例如文档,图像,DNA序列或图形。类似地,已经研究了许多不同种类的输出y。通过关注简单的二元分类问题已经取得了很大进展,其中y代表两个值之一(例如,“垃圾邮件”或“非垃圾邮件”),但是对于诸如多类的问题也进行了大量的研究。分类(其中y代表K个标签之一),多标签分类(其中y被多个K标签同时标记),排名问题(其中y在某些集合上提供偏序)和一般的结构化预测问题(其中y是组合对象(例如图),其组件可能需要满足某些约束集。
后一个问题的一个示例是词性标记,其中的目的是同时将输入句子x中的每个单词标记为名词,动词或语音的其他部分。监督学习还包括y具有实值成分或离散成分和实值成分混合的情况。
监督学习系统通常通过学习映射f(x)形成预测,该映射为每个输入x生成输出y(或给定x的y上的概率分布)。存在许多不同形式的映射f,包括决策树,决策林,逻辑回归,支持向量机,神经网络,内核机和贝叶斯分类器(1)。已经提出了各种各样的学习算法来估计这些不同类型的映射,并且还存在将多个学习算法的输出相结合的通用过程,例如增强和多核学习。
从数据中学习f的过程经常利用优化理论或数值分析的思想,以及机器学习问题的特定形式(例如,目标函数或要集成的函数往往是大量项的总和)推动创新。学习架构和算法的多样性反映了应用程序的不同需求,不同的架构捕获了不同类型的数学结构,为事后的可视化和解释提供了不同的适应性,并在计算复杂度,数据量和性能提供了不同的权衡。
近年来监督学习的一个重要进展涉及深度网络,这是一种多层阈值单元网络,每个阈值单元计算其输入的一些简单参数化函数(9,10)。
深度学习系统利用基于梯度的优化算法,根据输出误差在多层网络中调整参数。利用现代并行计算体系结构,如最初为视频游戏开发的图形处理单元,可以构建包含数十亿参数的深度学习系统,这些系统可以对互联网上大量的图像、视频和语音样本进行训练。
这样的大规模深度学习系统近年来在计算机视觉(11)和语音识别(12)中产生了重大影响,与以前的方法相比,它们在性能方面产生了重大改进(见图2)。从自然语言翻译到协同过滤,深层网络方法正在各种附加应用中得到积极应用。
图2. 自动生成具有深层网络图像的文本标题。卷积神经网络经过训练以解释图像,然后其输出被训练为生成文本标题的循环神经网络使用(顶部)。底部的序列显示了网络在输入图像的不同部分上的逐词焦点,同时它逐词生成了字幕。[经过(30)的许可改编]
可以将深度网络的内部层视为提供学习的输入数据表示形式。虽然深度学习的很多实际成功来自于发现此类表示的监督学习方法,但人们仍在努力开发深度学习算法,这些算法可发现输入的有用表示而无需标记训练数据(13)。一般这种问题被称为无监督学习,这是机器学习研究中的第二个范式(2)。
广义地讲,无监督学习通常涉及在有关数据的结构特性(例如代数,组合或概率)的假设下对未标记数据进行分析。例如,可以假设数据位于低维流形上,并旨在从数据中明确标识该流形。降维方法–包括主成分分析,流形学习,因子分析,随机投影和自动编码器(1,2)-对基础流形做出了不同的特定假设(例如,它是线性子空间,平滑非线性流形,或子流形的集合)。
降维的另一个示例是图3中描述的主题建模框架。定义了一个标准函数来体现这些假设(通常利用一般的统计原理,例如最大似然,矩方法或贝叶斯积分)以及优化或开发了采样算法以优化标准。
作为另一示例,聚类是在缺少指示期望分区的显式标签的情况下找到观测数据的分区(以及用于预测未来数据的规则)的问题。根据有关“集群”性质的特定假设,已经开发了各种各样的集群程序。在聚类和降维方面,考虑到目标是要利用特别大的数据集(如果人们放弃了监督标签的话),那么对计算复杂性的关注是至关重要的。
图3.主题模型。主题建模是一种用于分析文档的方法,其中文档被视为单词的集合,文档中的单词被视为由基础主题集(由图中的颜色表示)生成。 主题是单词之间的概率分布(最左列),每个文档的特征是主题之间的概率分布(直方图)。 这些分布是根据对文档集合的分析得出的,可以查看这些分布以对文档的内容进行分类,索引和汇总。
机器学习的第三个主要范例是强化学习(14、15)。在这里,训练数据中可用的信息介于有监督学习和无监督学习之间。在强化学习中,我们假设训练数据只提供一个动作是否正确的指示,而不是给出一个给定输入的正确输出。如果某个操作不正确,仍然存在寻找正确操作的问题。
更一般地,在输入序列的设置中,假设奖励信号指的是整个序列。没有直接提供序列中对单个操作的信用或责任分配。的确,尽管研究了强化学习的简化形式——强盗问题,但假定在每次行动后都会获得奖励,强化学习问题通常涉及一般的控制理论环境,学习任务是学习控制策略在未知的动态环境中行动的行动者的行动(一种“策略”),在该行动中,受过训练的战略被训练为在任何给定状态选择行为,目的是在一段时间内最大化其预期报酬。
多年来,控制理论研究与运筹学研究之间的联系日益紧密,诸如马尔可夫决策过程和部分观察到的马尔可夫决策过程等公式提供了联系点(15、16)。强化学习算法通常利用控制理论文献中熟悉的思想,例如策略迭代,值迭代,推出和减小方差,并出现了一些创新来满足机器学习的特定需求(例如大规模问题,对未知动态环境的一些假设,以及使用监督学习体系来表示策略)。
值得注意的是,强化学习与心理学和神经科学领域的许多研究工作之间有着密切的联系,一个值得注意的例子是在猴子学习遇到刺激光反应与后续糖奖励时使用强化学习算法来预测多巴胺神经元的反应(17)。
尽管这三种学习范式有助于组织思想,但当前许多研究涉及这些类别的融合。例如,半监督学习在监督学习的上下文中利用未标记的数据来增强标记的数据,而判别式训练将针对无监督学习而开发的架构与利用标签的优化公式相结合。
模型选择是一项广泛的活动,不仅使用训练数据来拟合模型,而且还可以从一系列模型中进行选择,并且训练数据不能直接指示要使用哪种模型,这一事实导致了使用针对强盗问题和贝叶斯优化程序。当允许学习者选择数据点并向训练者查询以获得目标信息(例如另一个未标记示例的标签)时,就会出现主动学习。
因果模型不仅仅是发现变量之间的预测关系,而是要努力区分哪些变量会对其他变量造成因果影响(例如,高白细胞计数可以预测感染的存在,但正是感染导致了高白细胞计数)。许多问题都会影响所有这些范式中学习算法的设计,包括数据是成批提供还是随时间顺序到达,数据是如何采样的,要求学习的模型可由用户解释的要求以及在数据不符合先前的建模假设时出现的鲁棒性问题。
The field of machine learning is sufficiently young that it is still rapidly expanding, often by inventing new formalizations of machine-learning problems driven by practical applications. (An example is the development of recommendation systems, as described in Fig. 4.) One major trend driving this expansion is a growing concern with the environment in which a machine-learning algorithm operates. The word “environment” here refers in part to the computing architecture; whereas a classical machine-learning system involved a single program running on a single machine, it is now common for machine-learning systems to be deployed in architectures that include many thousands or ten of thousands of processors, such that communication constraints and issues of parallelism and distributed processing take center stage. Indeed, as depicted in Fig. 5, machine-learning systems are increasingly taking the form of complex collections of software that run on large-scale parallel and distributed computing platforms and provide a range of algorithms and services to data analysts.
Fig.4. Recommendation systems. A recommendation system is a machine-learning system that is based on data that indicate links between a set of a users (e.g., people) and a set of items (e.g., products). A link between a user and a product means that the user has indicated an interest in the product in some fashion (perhaps by purchasing that item in the past).The machine-learning problem is to suggest other items to a given user that he or she may also be interested in, based on the data across all users.
Fig.5. Data analytics stack. Scalable machine-learning systems are layered architectures that are built on parallel and distributed computing platforms. The architecture depicted here—an opensource data analysis stack developed in the Algorithms, Machines and People (AMP) Laboratory at the University of California, Berkeley—includes layers that interface to underlying operating systems; layers that provide distributed storage, data management, and processing; and layers that provide core machine-learning competencies such as streaming, subsampling, pipelines, graph processing, and model serving.
The word “environment” also refers to the source of the data, which ranges from a set of people who may have privacy or ownership concerns, to the analyst or decision-maker who may have certain requirements on a machine-learning system (for example, that its output be visualizable), and to the social, legal, or political framework surrounding the deployment of a system. The environment also may include other machine learning systems or other agents, and the overall collection of systems may be cooperative or adversarial. Broadly speaking, environments provide various resources to a learning algorithm and place constraints on those resources. Increasingly, machine-learning researchers are formalizing these relationships, aiming to design algorithms that are provably effective in various environments and explicitly allow users to express and control trade-offs among resources.
As an example of resource constraints, let us suppose that the data are provided by a set of individuals who wish to retain a degree of privacy. Privacy can be formalized via the notion of “differential privacy,” which defines a probabilistic channel between the data and the outside world such that an observer of the output of the channel cannot infer reliably whether particular individuals have supplied data or not (18). Classical applications of differential privacy have involved insuring that queries (e.g., “what is the maximum balance across a set of accounts?”) to a privatized database return an answer that is close to that returned on the nonprivate data. Recent research has brought differential privacy into contact with machine learning, where queries involve predictions or other inferential assertions (e.g., “given the data I’ve seen so far, what is the probability that a new transaction is fraudulent?”) (19, 20). Placing the overall design of a privacy-enhancing machine-learning system within a decision-theoretic framework provides users with a tuning knob whereby they can choose a desired level of privacy that takes into account the kinds of questions that will be asked of the data and their own personal utility for the answers. For example, a person may be willing to reveal most of their genome in the context of research on a disease that runs in their family but may ask for more stringent protection if information about their genome is being used to set insurance rates.
Communication is another resource that needs to be managed within the overall context of a distributed learning system. For example, data may be distributed across distinct physical locations because their size does not allow them to be aggregated at a single site or because of administrative boundaries. In such a setting, we may wish to impose a bit-rate communication constraint on the machine-learning algorithm. Solving the design problem under such a constraint will generally show how the performance of the learning system degrades under decrease in communication bandwidth, but it can also reveal how the performance improves as the number of distributed sites (e.g., machines or processors) increases, trading off these quantities against the amount of data (21, 22). Much as in classical information theory, this line of research aims at fundamental lower bounds on achievable performance and specific algorithms that achieve those lower bounds.
A major goal of this general line of research is to bring the kinds of statistical resources studied in machine learning (e.g., number of data points, dimension of a parameter, and complexity of a hypothesis class) into contact with the classical computational resources of time and space. Such a bridge is present in the “probably approximately correct” (PAC) learning framework, which studies the effect of adding a polynomial-time computation constraint on this relationship among error rates, training data size, and other parameters of the learning algorithm (3). Recent advances in this line of research include various lower bounds that establish fundamental gaps in performance achievable in certain machine-learning problems (e.g., sparse regression and sparse principal components analysis) via polynomial-time and exponential-time algorithms (23). The core of the problem, however, involves time-data tradeoffs that are far from the polynomial/exponential boundary. The large data sets that are increasingly the norm require algorithms whose time and space requirements are linear or sublinear in the problem size (number of data points or number of dimensions). Recent research focuses on methods such as subsampling, random projections, and algorithm weakening to achieve scalability while retaining statistical control (24, 25). The ultimate goal is to be able to supply time and space budgets to machine-learning systems in addition to accuracy requirements, with the system finding an operating point that allows such requirements to be realized.
机器学习领域还很年轻,以至于它仍在迅速扩张,这通常是通过发现由实际应用驱动的机器学习问题的新形式来实现的。(一个示例是推荐系统的开发,如图4所示。)推动这种扩展的一个主要趋势是人们对机器学习算法运行的环境的关注日益增长。
这里的“环境”一词是指计算架构。传统的机器学习系统只涉及在单个机器上运行的单个程序,而如今,机器学习系统通常部署在包含成千上万个处理器的体系结构中,从而实现通信约束和并行性以及成为中心焦点的分布式处理问题。
确实,如图5所示,机器学习系统越来越多地采用复杂软件集合的形式,这些软件在大规模并行和分布式计算平台上运行,并为数据分析人员提供一系列算法和服务。
图4所示。推荐系统。推荐系统是一种机器学习系统,它基于表明一组用户(如人)和一组项目(如产品)之间联系的数据。用户和产品之间的链接意味着用户以某种方式(可能是通过过去购买该产品)表示了对该产品的兴趣。机器学习的问题是根据所有用户的数据,向给定的用户推荐他或她可能还感兴趣的其他项目。
图5所示。数据分析堆栈。可扩展的机器学习系统是建立在并行和分布式计算平台上的分层架构。这里描述的架构——一个由加州大学伯克利分校的算法、机器和人(AMP)实验室开发的开源数据分析栈——包括与底层操作系统接口的层;提供分布式存储、数据管理和处理的层;以及提供核心机器学习能力的层,如流、子采样、管道、图形处理和模型服务。
“环境”一词也指数据的来源,其范围从可能具有隐私或所有权问题的人员到对机器学习系统可能有特定要求的分析师或决策者(例如,其输出是可视化的),以及围绕系统部署的社会,法律或政治框架。该环境还可以包括其他机器学习系统或其他代理,并且系统的总体集合可以是协作的或对抗的。
从广义上讲,环境为学习算法提供了各种资源,并对这些资源施加了约束。越来越多的机器学习研究人员正在规范这些关系,旨在设计可在各种环境中证明有效的算法,并明确允许用户表达和控制资源之间的折衷。
作为资源限制的示例,让我们假设数据是由一组希望保留一定程度隐私的个人提供的。隐私可以通过“差异性隐私”的概念来形式化,“差异性隐私”定义了数据与外部世界之间的概率通道,因此通道输出的观察者无法可靠地推断出特定个人是否提供了数据(18)。
差异隐私的经典应用涉及确保对私有化数据库的查询(例如“一组帐户中的最大余额是多少?”)返回的答案与对非私有数据返回的答案相近。最近的研究已将差异性隐私与机器学习联系起来,其中查询涉及预测或其他推断性断言(例如,“鉴于我到目前为止所看到的数据,新交易有欺诈性的可能性是多少?”)(19, 20)。
将增强隐私机器学习系统的总体设计放在决策理论框架内,为用户提供了一个调节旋钮,使他们可以选择所需的隐私级别,其中要考虑将要询问的数据和信息的种类。他们自己的实用程序来寻找答案。例如,一个人可能愿意在有关其家庭中所患疾病的研究中揭示其大部分基因组,但如果有关其基因组的信息被用于设定保险费率,则可能要求更严格的保护。
通信是另一个需要在分布式学习系统的整体环境中进行管理的资源。 例如,数据可能会分布在不同的物理位置,因为它们的大小不允许它们在单个站点上聚合,或者由于管理边界的限制。
在这种情况下,我们可能希望对机器学习算法施加一个比特率通信约束。在这种约束下解决设计问题通常会显示出学习系统的性能如何在通信带宽降低的情况下下降,但也可以揭示性能随着分布式站点(例如机器或处理器)数量的增加而提高,将这些数量与数据量进行权衡(21,22)。与经典的编队理论非常相似,该研究领域的主要目标是实现性能的基本下限以及实现这些下限的特定算法。
这条研究路线的主要目标是将机器学习中研究的统计资源的种类(例如,数据点的数量,参数的维数,假设类的复杂性)与时间和空间的经典计算资源联系起来。这样的桥梁存在于“probably approximately correct”(PAC)学习框架中,该框架研究在误差率,训练数据大小和学习算法的其他参数之间的关系上添加多项式时间计算约束的影响(3)。
该研究领域的最新进展包括各种下界,这些下界通过多项式时间和指数时间算法在某些机器学习问题(例如,稀疏回归和稀疏主成分分析)中可实现的性能上建立了根本性的差距(23)。然而,问题的核心在于时间数据的权衡要远离多项式/指数边界。越来越多的大型数据集需要算法,这些算法的时间和空间要求在问题大小(数据点数或维数)方面是线性或次线性的。
最近的研究集中在子采样,随机投影和弱化算法以在保持统计控制的同时实现定标能力的方法上(24,25)。最终目标是,除了准确性要求外,还能够为机器学习系统提供时间和空间预算,并且系统会找到一个可以实现此类要求的工作点。
Despite its practical and commercial successes, machine learning remains a young field with many underexplored research opportunities. Some of these opportunities can be seen by contrasting current machine-learning approaches to the types of learning we observe in naturally occurring systems such as humans and other animals, organizations, economies, and biological evolution. For example, whereas most machinelearning algorithms are targeted to learn one specific function or data model from one single data source, humans clearly learn many different skills and types of knowledge, from years of diverse training experience, supervised and unsupervised, in a simple-to-more-difficult sequence (e.g., learning to crawl, then walk, then run). This has led some researchers to begin exploring the question of how to construct computer lifelong or never-ending learners that operate nonstop for years, learning thousands of interrelated skills or functions within an overall architecture that allows the system to improve its ability to learn one skill based on having learned another (26–28). Another aspect of the analogy to natural learning systems suggests the idea of team-based, mixed-initiative learning. For example, whereas current machinelearning systems typically operate in isolation to analyze the given data, people often work in teams to collect and analyze data (e.g., biologists have worked as teams to collect and analyze genomic data, bringing together diverse experiments and perspectives to make progress on this difficult problem). New machine-learning methods capable of working collaboratively with humans to jointly analyze complex data sets might bring together the abilities of machines to tease out subtle statistical regularities from massive data sets with the abilities of humans to draw on diverse background knowledge to generate plausible explanations and suggest new hypotheses. Many theoretical results in machine learning apply to all learning systems, whether they are computer algorithms, animals, organizations, or natural evolution. As the field progresses, we may see machine-learning theory and algorithms increasingly providing models for understanding learning in neural systems, organizations, and biological evolution and see machine learning benefit from ongoing studies of these other types of learning systems.
As with any powerful technology, machine learning raises questions about which of its potential uses society should encourage and discourage. The push in recent years to collect new kinds of personal data, motivated by its economic value, leads to obvious privacy issues, as mentioned above. The increasing value of data also raises a second ethical issue: Who will have access to, and ownership of, online data, and who will reap its benefits? Currently, much data are collected by corporations for specific uses leading to improved profits, with little or no motive for data sharing. However, the potential benefits that society could realize, even from existing online data, would be considerable if those data were to be made available for public good.
To illustrate, consider one simple example of how society could benefit from data that is already online today by using this data to decrease the risk of global pandemic spread from infectious diseases. By combining location data from online sources (e.g., location data from cell phones, from credit-card transactions at retail outlets, and from security cameras in public places and private buildings) with online medical data (e.g., emergency room admissions), it would be feasible today to implement a simple system to telephone individuals immediately if a person they were in close contact with yesterday was just admitted to the emergency room with an infectious disease, alerting them to the symptoms they should watch for and precautions they should take. Here, there is clearly a tension and trade-off between personal privacy and public health, and society at large needs to make the decision on how to make this trade-off. The larger point of this example, however, is that, although the data are already online, we do not currently have the laws, customs, culture, or mechanisms to enable society to benefit from them, if it wishes to do so. In fact, much of these data are privately held and owned, even though they are data about each of us. Considerations such as these suggest that machine learning is likely to be one of the most transformative technologies of the 21st century. Although it is impossible to predict the future, it appears essential that society begin now to consider how to maximize its benefits.
尽管机器学习在实践和商业上取得了成功,但它仍然是一个年轻的领域,有许多未充分探索的研究机会。通过对比当前的机器学习方法和我们在自然发生的系统(如人类和其他动物、组织、经济和生物进化)中观察到的学习类型,我们可以看到其中的一些机会。
例如,虽然大多数机器学习算法的目标是从一个单一的数据源中学习一种特定的功能或数据模型,但人类显然可以从多年的各种培训经验中,通过有监督的和无监督的学习,从简单到更加困难的序列中学习许多不同的技能和知识类型,(例如,学习爬行,行走,然后奔跑)。这导致一些研究人员开始探索以下问题:如何构建多年不间断运行的终身学习者或永无止境的学习者,在整个体系结构中学习数千种相互关联的技能或功能,以使系统提高其学习一项技能的能力的同时学习了另一个技能(26-28)。
类比自然学习系统的另一个方面提出了基于团队的混合主动学习的思想。例如,尽管当前的机器学习系统通常是独立运行以分析给定的数据,但是人们通常会以团队的形式收集和分析数据(例如,生物学家作为团队来收集和分析基因组数据,将各种实验和观点汇集在一起,在这个难题上取得进展)。能够与人类合作以共同分析复杂数据集,这种新的机器学习方法可能将机器从大量数据集中挑逗出细微统计规律的能力与人类利用各种背景知识来产生合理解释和提出新的假设相结合。
机器学习的许多理论结果适用于所有的学习系统,无论是计算机算法、动物、组织还是自然进化。随着该领域的发展,我们可能会看到机器学习理论和算法越来越多地为理解神经系统、组织和生物进化中的学习提供模型,并看到机器学习从正在进行的这些其他类型的学习系统的研究中受益。
与任何强大的技术一样,机器学习提出了这样一个问题:社会应该鼓励和抑制哪些潜在用途。近年来,由于受其经济价值的驱使,人们开始大力收集新型个人数据,这导致了明显的隐私问题,如上所述。数据不断增长的价值还引发了第二个伦理问题:==谁将能够访问和拥有在线数据,谁将从中获益?==目前,企业收集的大量数据都是用于提高利润的特定用途,很少或根本没有共享数据的动机。然而,如果将这些数据用于公共利益,那么即使从现有的在线数据中,社会也可以实现的潜在利益将是可观的。
为了说明这一点,请考虑一个简单的例子,说明社会如何能够从今天已经在线的数据中受益,利用这些数据来减少传染病在全球大流行传播的风险。
通过将来自在线资源的位置数据(例如,来自手机的位置数据,来自零售店的信用卡交易以及来自公共场所和私人建筑物中的安全摄像机)与在线医疗数据(例如,急诊室挂号)相结合,将可以今天可行的是,如果一个昨天与他密切联系的人刚刚被送进传染病的急诊室就诊,可以提醒他们注意的症状和应采取的预防措施,以便立即给个人打电话。
在这方面,个人隐私和公共健康之间显然存在着一种紧张和权衡,整个社会需要就如何权衡做出决定。然而,这个例子更重要的一点是,虽然数据已经在网上,但我们目前还没有法律、习俗、文化或机制使社会能够从中受益,如果它愿意这样做的话。事实上,这些数据中的大部分都是私人拥有的,即使它们是关于我们每个人的数据。
诸如此类的考虑表明,机器学习可能会成为21世纪最具变革性的技术之一。虽然预测未来是不可能的,但社会现在开始考虑如何使其利益最大化似乎是必要的。