prompt,prompt_tokens,compression_time,compressed_tokens,compression_ratio,compressed_text,gpt_o1_saving,compression_ratio_normalized "Incremental class learning involves sequentially learning classes in bursts of examples from the same class. This violates the assumptions that underlie methods for training standard deep neural networks, and will cause them to suffer from catastrophic forgetting. Arguably, the best method for incremental class learning is iCaRL, but it requires storing training examples for each class, making it challenging to scale. Here, we propose FearNet for incremental class learning. FearNet is a generative model that does not store previous examples, making it memory efficient. FearNet uses a brain-inspired dual-memory system in which new memories are consolidated from a network for recent memories inspired by the mammalian hippocampal complex to a network for long-term storage inspired by medial prefrontal cortex. Memory consolidation is inspired by mechanisms that occur during sleep. FearNet also uses a module inspired by the basolateral amygdala for determining which memory system to use for recall. FearNet achieves state-of-the-art performance at incremental class learning on image (CIFAR-100, CUB-200) and audio classification (AudioSet) benchmarks. In incremental classification, an agent must sequentially learn to classify training examples, without necessarily having the ability to re-study previously seen examples. While deep neural networks (DNNs) have revolutionized machine perception BID26 , off-the-shelf DNNs cannot incrementally learn classes due to catastrophic forgetting. Catastrophic forgetting is a phenomenon in which a DNN completely fails to learn new data without forgetting much of its previously learned knowledge BID29 . While methods have been developed to try and mitigate catastrophic forgetting, as shown in BID23 , these methods are not sufficient and perform poorly on larger datasets. In this paper, we propose FearNet, a brain-inspired system for incrementally learning categories that significantly outperforms previous methods.The standard way for dealing with catastrophic forgetting in DNNs is to avoid it altogether by mixing new training examples with old ones and completely re-training the model offline. For large datasets, this may require weeks of time, and it is not a scalable solution. An ideal incremental learning system would be able to assimilate new information without the need to store the entire training dataset. A major application for incremental learning includes real-time operation on-board embedded platforms that have limited computing power, storage, and memory, e.g., smart toys, smartphone applications, and robots. For example, a toy robot may need to learn to recognize objects within its local environment and of interest to its owner. Using cloud computing to overcome these resource limitations may pose privacy risks and may not be scalable to a large number of embedded devices. A better solution is on-device incremental learning, which requires the model to use less storage and computational power.In this paper, we propose an incremental learning framework called FearNet (see Fig. 1 ). FearNet has three brain-inspired sub-systems: 1) a recent memory system for quick recall, 2) a memory system for long-term storage, and 3) a sub-system that determines which memory system to use for a particular example. FearNet mitigates catastrophic forgetting by consolidating recent memories into long-term storage using pseudorehearsal BID34 . Pseudorehearsal allows the network to revisit previous memories during incremental training without the need to store previous training examples, which is more memory efficient.Figure 1: FearNet consists of three braininspired modules based on 1) mPFC (longterm storage), 2) HC (recent storage), and 3) BLA for determining whether to use mPFC or HC for recall.Problem Formulation: Here, incremental class learning consists of T study-sessions. At time t, the learner receives a batch of data B t , which contains N t labeled training samples, i.e., B t = {(x j , y j )} Nt j=1 , where x j ∈ R d is the input feature vector to be classified and y j is its corresponding label. The number of training samples N t may vary between sessions, and the data inside a study-session is not assumed to be independent and identically distributed (iid). During a study session, the learner only has access to its current batch, but it may use its own memory to store information from prior study sessions. We refer to the first session as the model's ""base-knowledge,"" which contains exemplars from M ≥ 1 classes. The batches learned in all subsequent sessions contain only one class, i.e., all y j will be identical within those sessions.Novel Contributions: Our contributions include:1. FearNet's architecture includes three neural networks: one inspired by the hippocampal complex (HC) for recent memories, one inspired by the medial prefrontal cortex (mPFC) for long-term storage, and one inspired by the basolateral amygdala (BLA) that determines whether to use HC or mPFC for recall.2. Motivated by memory replay during sleep, FearNet employs a generative autoencoder for pseudorehearsal, which mitigates catastrophic forgetting by generating previously learned examples that are replayed alongside novel information during consolidation. This process does not involve storing previous training data.3. FearNet achieves state-of-the-art results on large image and audio datasets with a relatively small memory footprint, demonstrating how dual-memory models can be scaled. FearNet's mPFC is trained to both discriminate examples and also generate new examples. While the main use of mPFC's generative abilities is to enable psuedorehearsal, this ability may also help make the model more robust to catastrophic forgetting. BID18 observed that unsupervised networks are more robust (but not immune) to catastrophic forgetting because there are no target outputs to be forgotten. Since the pseudoexample generator is learned as a unsupervised reconstruction task, this could explain why FearNet is slow to forget old information. Table 5 : Memory requirements to train CIFAR-100 and the amount of memory that would be required if these models were trained up to 1,000 classes. Table 5 shows the memory requirements for each model in Sec. 6.1 for learning CIFAR-100 and a hypothetical extrapolation for learning 1,000 classes. This chart accounts for a fixed model capacity and storage of any data or class statistics. FearNet's memory footprint is comparatively small because it only stores class statistics rather than some or all of the raw training data, which makes it better suited for deployment.An open question is how to deal with storage and updating of class statistics if classes are seen in more than one study sessions. One possibility is to use a running update for the class means and covariances, but it may be better to favor the data from the most recent study session due to learning in the autoencoder.FearNet assumed that the output of the mPFC encoder was normally distributed for each class, which may not be the case. It would be interesting to consider modeling the classes with a more complex model, e.g., a Gaussian Mixture Model. BID34 showed that pseudorehearsal worked reasonably well with randomly generated vectors because they were associated with the weights of a given class. Replaying these vectors strengthened their corresponding weights, which could be what is happening with the pseudo-examples generated by FearNet's decoder. The largest impact on model size is the stored covariance matrix Σ c for each class. We tested a variant of FearNet that used a diagonal Σ c instead of a full covariance matrix. TAB5 shows that performance degrades, but FearNet still works.FearNet can be adapted to other paradigms, such as unsupervised learning and regression. For unsupervised learning, FearNet's mPFC already does a form of it implicitly. For regression, this would require changing mPFC's loss function and may require grouping input feature vectors into similar collections. FearNet could also be adapted to perform the supervised data permutation experiment performed by BID20 and BID24 . This would likely require storing statistics from previous permutations and classes. FearNet would sleep between learning different permutations; however, if the number of classes was high, recent recall may suffer. In this paper, we proposed a brain-inspired framework capable of incrementally learning data with different modalities and object classes. FearNet outperforms existing methods for incremental class learning on large image and audio classification benchmarks, demonstrating that FearNet is capable of recalling and consolidating recently learned information while also retaining old information. In addition, we showed that FearNet is more memory efficient, making it ideal for platforms where size, weight, and power requirements are limited. Future work will include 1) integrating BLA directly into the model (versus training it independently); 2) replacing HC with a semi-parametric model; 3) learning the feature embedding from raw inputs; and 4) replacing the pseduorehearsal mechanism with a generative model that does not require the storage of class statistics, which would be more memory efficient.A SUPPLEMENTAL MATERIAL A.1 MODEL HYPERPARAMETERS TAB1 shows the training parameters for the FearNet model for each dataset. We also experimented with various dropout rates, weight decay, and various activation functions; however, weight decay did not work well with FearNet's mPFC. TAB1 : FearNet Training Parameters TAB2 shows the training parameters for the iCaRL framework used in this paper. We adapted the code from the author's GitHub page for our own experiments. The ResNet-18 convolutional neural network was replaced with a fully-connected neural network. We experimented with various regularization strategies to increase the initial base-knowledge accuracy with weight decay working the best. The values that are given as a range of values are the hyperparameter search spaces. TAB9 shows the training parameters for GeppNet and GeppNet+STM. Parameters not listed here are the default parameters defined by BID17 . The values that are given as a range of values are the hyperparameter search spaces. A.3 BLA VARIANTS Our BLA model is a classifier that determines whether a prediction should be made using HC (recent memory) or mPFC (remote memory). An alternative approach would be to use an outlier detection algorithm that determines whether the data being processed by a sub-network is an outlier for that sub-network and should therefore be processed by the other sub-network. To explore this alternative BLA formulation, we experimented with three outlier detection algorithms: 1) one-class support vector machine (SVM) BID36 , 2) determining if the data fits into a Gaussian distribution using a minimum covariance determinant estimation (i.e., elliptical envelope) (Rousseeuw BID35 , and 3) the isolation forest BID27 . All three of these methods set a rejection criterion for if the test sample exists in HC; whereas the binary MLP reports a probability on how likely the test sample resides in HC. TAB5 : Performance of different BLA variants.",2233,1.973,1345,1.6602230483271376,"Incremental class learning involves sequentially classes bursts examples This violates the assumptions underlie methods training standard deep neural networks will cause suffer catastrophic forgetting incremental class learning iCaRL storing training examples making challenging scale Here, propose FearNet for incremental class learning FearNet a generative model does store previous examples making memory FearNet uses a brain-inspired dual-memory system in new memories consolidated from a network for recent memories inspired the mammalian hippocampal complex to a network inspired Memory consolidation inspired mechanisms sleep FearNet also uses a module inspired the basolateral amygdala for determining which memory system recall FearNet achieves state performance at incremental class learning on image (CIFAR-100 CUB-200 audio classificationAudioSet benchmarks In incremental classification an agent sequentially learn training examples without necessarily restudy previously seen While deep neural networks machine perception BID26 , off incrementally classes due catastrophic forgetting Catastrophic forgetting a DNN completely new data without forgetting much BID29 . While methods try mitigate catastrophic forgetting as shown BID23 , sufficient and perform larger datasets In this paper FearNet a brain-inspired system incrementally learning categories significantlyThe standard way dealing catastrophic forgetting DNNs avoid it mixing new training examples completely re offline For large datasets weeks time a scalable solution An ideal incremental learning system would assimilate store A major application incremental learning includes real operation on-board embedded platforms have limited storage smart toys smartphone applications robots For example a toy robot need learn recognize within of interest Using cloud computing overcome these resource limitations pose privacy risks scalable embedded devices A better solution on-device incremental learning requires the model use less storageIn called FearNet Fig 1 ). FearNet three brain-inspired sub 1) a recent memory system for quick recall determines a particular example FearNet mitigates catastrophic forgetting consolidating recent memories using pseudorehearsal BID34 . Pseudorehearsal allows the network revisit previous memories during incremental training without store previous training examples more memoryFigure FearNet consists three braininspired modules based 1) mPFClongterm storage HC (recent storage for determining recallProblem Formulation Here incremental class learning consists T study-sessions At time t, the learner receives a batch data B t N t labeled training samples {(x j Nt j=1 is the input feature vector to classified its corresponding label The number training samples N t may vary sessions the data inside a study-session assumed independent and identically (iid During a study session the learner only has access its current batch, use We refer the first session the model's ""base-knowledge contains exemplars M ≥ 1 classes The batches learned in all subsequent sessions contain only one class all y j will identical within those sessionsNovel Contributions Our contributions FearNet's architecture includes three neural networks inspired the hippocampal complex (HC for recent memories that determines whether to use HC recall.2. Motivated memory replay during employs pseudorehearsal, catastrophic forgetting previously learned examples alongside novel information during consolidation This process does storing previous training data.3. FearNet achieves state results large image and demonstrating dual-memory models scaled FearNet's mPFC trained both discriminate examples also generate new examples While the main use mPFC's generative abilities enable psuedorehearsal, this ability help make the model robust catastrophic forgetting BID18 observed unsupervised networks robust (but immune catastrophic forgetting because there no target outputs forgotten Since the pseudoexample generator learned as a unsupervised reconstruction task this could explain FearNet slow forget old information Table 5 : Memory requirements to train CIFAR-100 the amount would if these models trained up to 1,000 classes Table 5 shows the memory requirements each model Sec 6.1 for learning CIFAR-100 a hypothetical extrapolation 1,000 classes This chart accounts a fixed model capacity storage any data or class statistics FearNet's memory footprint comparatively because class statistics rather some or the raw training data better deploymentAn open question deal storage updating if classes seen more than one study sessions One possibility a running update the class means and covariances favor the data the most recent study session due learning inFearNet assumed the output the mPFC encoder normally for It would interesting consider modeling the classes with BID34 showed pseudorehearsal worked reasonably randomly generated vectors because associated the weights a given class Replaying these vectors strengthened their corresponding weights could what the pseudoexamples generated FearNet's decoder The largest impact model size the stored covariance matrix �� c for each class We tested a variant FearNet used a diagonal �� c instead TAB5 shows performance degrades, FearNet still worksFearNet can adapted regression For unsupervised learning FearNet's mPFC already does a form it implicitly For regression this would changing mPFC's loss function may grouping input feature vectors similar collections FearNet could also adapted perform the supervised data permutation experiment performed BID20 . This would likely require storing statistics previous permutations classes FearNet would sleep between learning different permutations; however the number classes high recent recall may suffer In this paper proposed a brain-inspired framework capable incrementally learning data with different modalities object classes FearNet outperforms existing methods incremental class learning on large image and audio classification benchmarks demonstrating FearNet recalling recently learned information while old information In addition showed FearNet more memory making ideal platforms size, weight limited Future work 1 integrating BLA directly the modelversus training independently replacing HC learning the feature embedding from raw inputs replacing the pseduorehearsal mechanism does the storage class statistics memoryA SUPPLEMENTAL MATERIAL A.1 MODEL HYPERPARAMETERS TAB1 shows the FearNet model for each dataset We also experimented various dropout rates weight decay various activation functions; weight decay did FearNet's mPFC TAB1 : FearNet Training Parameters TAB2 shows the iCaRL framework used We adapted our own experiments The ResNet-18 convolutional neural network replaced We experimented various regularization strategies increase the initial base-knowledge accuracy with weight decay working the best The values given a range the hyperparameter search spaces TAB9 shows the training parameters GeppNet GeppNet+STM Parameters not listed defined BID17 . The values given a range the hyperparameter search spaces A.3 BLA VARIANTS Our BLA model a classifier determines a prediction should HC (recent memory mPFCremote memory An alternative approach an outlier detection determines being processed a subnetwork for should processed To explore this alternative BLA formulation experimented three outlier detection 1) one-class support vector machineSVM) BID36 , determining if fits a minimum covariance determinant estimationRousseeuw BID35 and 3 the isolation forest BID27 All three these methods set a rejection criterion if the test sample exists HC; whereas the binary MLP reports on how resides TAB5 : Performance different BLA variants",0.01,0.3862694902585724 "Multi-view learning can provide self-supervision when different views are available of the same data. Distributional hypothesis provides another form of useful self-supervision from adjacent sentences which are plentiful in large unlabelled corpora. Motivated by the asymmetry in the two hemispheres of the human brain as well as the observation that different learning architectures tend to emphasise different aspects of sentence meaning, we present two multi-view frameworks for learning sentence representations in an unsupervised fashion. One framework uses a generative objective and the other a discriminative one. In both frameworks, the final representation is an ensemble of two views, in which, one view encodes the input sentence with a Recurrent Neural Network (RNN), and the other view encodes it with a simple linear model. We show that, after learning, the vectors produced by our multi-view frameworks provide improved representations over their single-view learnt counterparts, and the combination of different views gives representational improvement over each view and demonstrates solid transferability on standard downstream tasks. Multi-view learning methods provide the ability to extract information from different views of the data and enable self-supervised learning of useful features for future prediction when annotated data is not available BID16 . Minimising the disagreement among multiple views helps the model to learn rich feature representations of the data and, also after learning, the ensemble of the feature vectors from multiple views can provide an even stronger generalisation ability.Distributional hypothesis BID22 noted that words that occur in similar contexts tend to have similar meaning BID51 , and distributional similarity BID19 consolidated this idea by stating that the meaning of a word can be determined by the company it has. The hypothesis has been widely used in machine learning community to learn vector representations of human languages. Models built upon distributional similarity don't explicitly require humanannotated training data; the supervision comes from the semantic continuity of the language data.Large quantities of annotated data are usually hard and costly to obtain, thus it is important to study unsupervised and self-supervised learning. Our goal is to propose learning algorithms built upon the ideas of multi-view learning and distributional hypothesis to learn from unlabelled data. We draw inspiration from the lateralisation and asymmetry in information processing of the two hemispheres of the human brain where, for most adults, sequential processing dominates the left hemisphere, and the right hemisphere has a focus on parallel processing BID9 , but both hemispheres have been shown to have roles in literal and non-literal language comprehension BID15 BID14 .Our proposed multi-view frameworks aim to leverage the functionality of both RNN-based models, which have been widely applied in sentiment analysis tasks BID57 , and the linear/loglinear models, which have excelled at capturing attributional similarities of words and sentences BID5 BID24 BID51 for learning sentence representations. Previous work on unsupervised sentence representation learning based on distributional hypothesis can be roughly categorised into two types:Generative objective: These models generally follow the encoder-decoder structure. The encoder learns to produce a vector representation for the current input, and the decoder learns to generate sentences in the adjacent context given the produced vector BID24 BID20 BID50 . The idea is straightforward, yet its scalability for very large corpora is hindered by the slow decoding process that dominates training time, and also the decoder in each model is discarded after learning as the quality of generated sequences is not the main concern, which is a waste of parameters and learning effort.Our first multi-view framework has a generative objective and uses an RNN as the encoder and an invertible linear projection as the decoder. The training time is drastically reduced as the decoder is simple, and the decoder is also utilised after learning. A regularisation is applied on the linear decoder to enforce invertibility, so that after learning, the inverse of the decoder can be applied as a linear encoder in addition to the RNN encoder.Discriminative Objective: In these models, a classifier is learnt on top of the encoders to distinguish adjacent sentences from those that are not BID31 BID26 BID40 BID33 ; these models make a prediction using a predefined differentiable similarity function on the representations of the input sentence pairs or triplets.Our second multi-view framework has a discriminative objective and uses an RNN encoder and a linear encoder; it learns to maximise agreement among adjacent sentences. Compared to earlier work on multi-view learning BID16 BID17 BID52 that takes data from various sources or splits data into disjoint populations, our framework processes the exact same data in two distinctive ways. The two distinctive information processing views tend to encode different aspects of an input sentence; forcing agreement/alignment between these views encourages each view to be a better representation, and is beneficial to the future use of the learnt representations.Our contribution is threefold:• Two multi-view frameworks for learning sentence representations are proposed, in which one framework uses a generative objective and the other one adopts a discriminative objective. Two encoding functions , an RNN and a linear model, are learnt in both frameworks.• The results show that in both frameworks, aligning representations from two views gives improved performance of each individual view on all evaluation tasks compared to their single-view trained counterparts, and furthermore ensures that the ensemble of two views provides even better results than each improved view alone.• Models trained under our proposed frameworks achieve good performance on the unsupervised tasks, and overall outperform existing unsupervised learning models, and armed with various pooling functions, they also show solid results on supervised tasks, which are either comparable to or better than those of the best unsupervised transfer model. It is shown BID24 that the consistency between supervised and unsupervised evaluation tasks is much lower than that within either supervised or unsupervised evaluation tasks alone and that a model that performs well on supervised evaluation tasks may fail on unsupervised tasks. It is subsequently showed BID13 BID48 ) that, with large-scale labelled training corpora, the resulting representations of the sentences from the trained model excel in both supervised and unsupervised tasks, while the labelling process is costly. Our model is able to achieve good results on both groups of tasks without labelled information. In both frameworks, RNN encoder and linear encoder perform well on all tasks, and generative objective and discriminative objective give similar performance. We proposed multi-view sentence representation learning frameworks with generative and discriminative objectives; each framework combines an RNN-based encoder and an average-on-wordvectors linear encoder and can be efficiently trained within a few hours on a large unlabelled corpus. The experiments were conducted on three large unlabelled corpora, and meaningful comparisons were made to demonstrate the generalisation ability and transferability of our learning frameworks and consolidate our claim. The produced sentence representations outperform existing unsupervised transfer methods on unsupervised evaluation tasks, and match the performance of the best unsupervised model on supervised evaluation tasks.Our experimental results support the finding BID24 ) that linear/log-linear models (g in our frameworks) tend to work better on the unsupervised tasks, while RNN-based models (f in our frameworks) generally perform better on the supervised tasks. As presented in our experiments, multi-view learning helps align f and g to produce better individual representations than when they are learned separately. In addition, the ensemble of both views leveraged the advantages of both, and provides rich semantic information of the input sentence. Future work should explore the impact of having various encoding architectures and learning under the multi-view framework.Our multi-view learning frameworks were inspired by the asymmetric information processing in the two hemispheres of the human brain, in which the left hemisphere is thought to emphasise sequential processing and the right one more parallel processing BID9 . Our experimental results raise an intriguing hypothesis about how these two types of information processing may complementarily help learning.",1560,0.693,879,1.7747440273037542,"Multi-view learning can provide self-supervision when different views of Distributional hypothesis provides another form useful self-supervision from adjacent sentences which plentiful large unlabelled corpora Motivated the asymmetry as the observation different learning architectures tend emphasise sentence meaning present two multi-view frameworks sentence representations One framework uses a generative objective and In both frameworks the final representation an ensemble two views in, encodes the input sentence with We show, learning, the vectors produced our multi-view frameworks provide improved representations over their single-view learnt counterparts the combination different views gives representational improvement and demonstrates solid transferability on standard downstream tasks Multi-view learning methods provide extract different views enable useful features for future prediction when annotated data available BID16 . Minimising the disagreement multiple views helps the model learn rich feature representations, also after the ensemble the feature vectors from provide an even stronger generalisation abilityDistributional hypothesis BID22 noted words that occur similar similar meaning BID51 distributional similarity consolidated stating the company it has. The hypothesis has widely used machine learning community learn vector representations human languages Models built upon distributional similarity do explicitly require humanannotated training data; the supervision comes the semantic continuity the language dataLarge quantities usually hard and costly thus study Our goal propose learning algorithms built multi-view learning distributional hypothesis to learn unlabelled data We draw the lateralisation information processing of where, most adults sequential processing dominates has a focus parallel processing BID9 , but roles .Our proposed multi-view frameworks aim leverage the functionality sentiment analysis tasks BID57 the linear/loglinear models excelled capturing attributional similarities words for learning sentence representations Previous work unsupervised sentence representation learning based distributional hypothesis can roughlyGenerative objective: These models generally follow The encoder learns produce a vector representation sentences the adjacent context given the produced vector BID24 BID20 BID50 The idea straightforward yet its scalability for very large corpora hindered the slow decoding process dominates training time also in each model discarded learning as the quality generated sequences the main concern a waste parameters learning effortOur first multi-view framework a generative objective uses an RNN an invertible linear projection The training time drastically the decoder simple also utilised after learning A regularisation applied on the linear decoder enforce invertibility after learning in additionDiscriminative Objective In these models learnt on top distinguish adjacent sentences BID31 BID26 BID40 BID33 ; these models make a prediction using a predefined differentiable similarity function on the representations or tripletsOur second multi-view framework uses; learns maximise agreement Compared earlier work multi learning BID16 BID17 BID52 that takes data various sources or splits data disjoint populations our framework processes two distinctive ways The two distinctive information processing views tend encode an input sentence; forcing agreement/alignment encourages, is beneficial the future use the learnt representationsOur contribution threefold:• Two multi-view frameworks sentence representations in uses a generative objective Two encoding functions , an RNN learnt both frameworks.• The results in aligning representations from two views gives of each individual view on all evaluation tasks compared their single-view trained counterparts furthermore ensures the ensemble provides each improved view Models trained under our proposed frameworks achieve overall armed various pooling functions solid results either comparable It shown BID24 that the consistency supervised and unsupervised evaluation tasks much within alone and a model performs fail It subsequently showed BID13 BID48 ), large-scale labelled training corpora the resulting representations the sentences from the trained model excel the labelling process costly Our model able achieve good results both groups tasks labelled information In both frameworks RNN encoder linear encoder perform well all tasks generative objective and give We proposed multi-view sentence representation learning frameworks with generative and discriminative objectives; each framework combines averageonwordvectors linear can efficiently within a large unlabelled corpus The experiments three large unlabelled corpora and meaningful comparisons demonstrate the generalisation ability and transferability our learning frameworks consolidate our claim. The produced sentence representations outperform existing unsupervised transfer methods on matchOur experimental results BID24 ) that linear/log-linear models (g in our frameworks tend work generally As presented our experiments multi-view learning helps align f and produce better individual representations than when they learned In addition the ensemble both views leveraged the advantages both, provides rich semantic information of the input sentence Future work explore having various encoding architectures learning under the multi-view frameworkOur multi learning frameworks were inspired the asymmetric information processing in thought emphasise sequential processing one more parallel BID9 . Our experimental results raise an intriguing hypothesis these two types information processing complementarily help learning",0.01,0.678058882987794 "We show how discrete objects can be learnt in an unsupervised fashion from pixels, and how to perform reinforcement learning using this object representation. More precisely, we construct a differentiable mapping from an image to a discrete tabular list of objects, where each object consists of a differentiable position, feature vector, and scalar presence value that allows the representation to be learnt using an attention mechanism. Applying this mapping to Atari games, together with an interaction net-style architecture for calculating quantities from objects, we construct agents that can play Atari games using objects learnt in an unsupervised fashion. During training, many natural objects emerge, such as the ball and paddles in Pong, and the submarine and fish in Seaquest. This gives the first reinforcement learning agent for Atari with an interpretable object representation, and opens the avenue for agents that can conduct object-based exploration and generalization. Humans are able to parse the world as a collection of objects, that are discrete, persistent, and can be interacted with. Humans can use this representation for planning, reasoning, and exploration. When playing a game such as Montezuma's Revenge in Atari, a human can identify the different objects, such as an avatar that moves in a 2-D plane, a rolling skull, and a key. Even if they do not know initially what to do, they can explore the state space using the prior knowledge that objects persist, move around contiguously, and can interact with other objects in local proximity.This explicit representation of objects and prior knowledge is missing from artificial reinforcement learning agents, such as DQN BID11 ). Although architectures such as DQN attain superhuman performance on many games, in particular those whose reward signal is dense (see e.g., BID1 ), its performance on games with sparse rewards, or greater planning complexity, is often below that of humans. Perhaps explicit object knowledge is one missing ingredient, which would allow for more powerful exploration than existing epsilon-greedy methods (that simply execute a random walk in action space).In this paper we set forth a method to learn objects from pixels in an unsupervised manner. By an object representation, we mean a ""tabular"" representation, where there is a list of objects, and each object has a position and a set of features (represented by a vector).Learning such a representation from input pixels is a non-trivial challenge. The space of possible inputs is a connected manifold, but the space of object representations is disconnected; for example, there is no continuous transformation from 4 objects to 5. We address this challenge by introducing an object presence value between 0 and 1, which is a continuous relaxation of whether an object is present or not.We give a method of tracking the same object across multiple frames (object persistence), and give an architecture that can perform calculations using the object representation. We test this model in the Atari domain, and show that it is possible to do reinforcement learning on a learnt object representation. Objects such as the ball and paddles in Pong, and the submarine and fish in Seaquest, emerge naturally without supervision. We give results and insights into how best to calculate global values from a collection of objects using an ""interaction net"" style architecture, where calculations are invariant to object order.",654,0.332,381,1.7165354330708662,"We show discrete objects learnt from pixels perform this object representation More precisely construct a differentiable mapping an image a discrete tabular list consists a differentiable position feature vector scalar presence value that allows the representation learnt using an attention mechanism Applying this mapping Atari games together an interaction net-style architecture calculating quantities from objects construct agents play objects learnt During training many natural objects emerge the ball paddles in Pong the submarine and fish Seaquest This gives the first reinforcement learning agent Atari with an interpretable object representation opens the avenue agents conduct object-based exploration generalization Humans able parse as objects that discrete persistent can interacted Humans can use this representation planning reasoning exploration When playing such Montezuma's Revenge in Atari a human identify the different objects such an avatar that moves a rolling skull a key Even do know initially explore the state space using the prior knowledge objects persist move contiguously can interact local proximityThis explicit representation prior knowledge missing artificial reinforcement learning agents DQN BID11 ). Although architectures DQN attain superhuman performance on many games in particular those whose reward signal densesee BID1 its performance games sparse rewards, or greater planning complexity below humans Perhaps explicit object knowledge one missing ingredient, which would more powerful exploration than existing epsilon-greedy methods (that simply execute a random walk action space).In set forth learn objects pixels By an object representation a ""tabular"" representation there featuresrepresented a vector).Learning from input pixels The space of possible inputs a connected manifold but object representations disconnected; no continuous transformation 4 objects We address this challenge introducing an object presence value between a continuous relaxation whetherWe give a method tracking across multiple framesobject persistence give an architecture perform calculations We test this model the Atari domain show do reinforcement learning a learnt object representation Objects such the ball paddles in Pong the submarine and fish Seaquest emerge naturally without supervision We give results best calculate global values from a collection objects using an ""interaction net"" style architecture calculations invariant object order",0.0,0.5297484990335661 "Most recent gains in visual recognition have originated from the inclusion of attention mechanisms in deep convolutional networks (DCNs). Because these networks are optimized for object recognition, they learn where to attend using only a weak form of supervision derived from image class labels. Here, we demonstrate the benefit of using stronger supervisory signals by teaching DCNs to attend to image regions that humans deem important for object recognition. We first describe a large-scale online experiment (ClickMe) used to supplement ImageNet with nearly half a million human-derived ""top-down"" attention maps. Using human psychophysics, we confirm that the identified top-down features from ClickMe are more diagnostic than ""bottom-up"" saliency features for rapid image categorization. As a proof of concept, we extend a state-of-the-art attention network and demonstrate that adding ClickMe supervision significantly improves its accuracy and yields visual features that are more interpretable and more similar to those used by human observers. Attention has become the subject of intensive research within the deep learning community. While biology is sometimes mentioned as a source of inspiration BID34 BID23 BID2 You et al., 2016; BID3 BID41 BID1 , the attentional mechanisms that have been considered remain limited in comparison to the rich and diverse array of processes used by the human visual system (see BID15 , for a review). In addition, whereas human attention is controlled by varying task demands, attention networks used in computer vision are solely optimized for object recognition. This means that, unlike infants who can rely on a myriad of visual cues and supervision to learn to focus their attention BID15 , DCNs must solve this challenging problem with weak supervisory signals derived from statistical associations between image pixels and class labels. Here, we investigate how explicit human supervision -teaching DCNs what and where to attend -affects their performance and interpretability. We have described the ClickMe dataset, which is aimed at supplementing ImageNet with nearly a half-million human-derived attention maps. The approach was validated with human psychophysics, which indicated the sufficiency of ClickMe features for rapid visual categorization. When participants viewed images that were masked to reveal commonly selected ClickMe map locations, they reached ceiling recognition accuracy when only 6% of image pixels were visible. By comparison, participants viewing images masked according to bottom-up saliency map locations did not reach ceiling performance until the full image was visible. These results indicate that ClickMe.ai may also provide novel insights into human vision with a measure of feature diagnosticity that goes beyond classic bottom-up saliency measures. While a detailed analysis of the ClickMe features falls outside the scope of the present study, we expect a more systematic analysis of this data, including the timecourse of feature selection BID4 BID11 , will aid our understanding of the different attention mechanisms responsible for the selection of diagnostic image features.We also extended the squeeze-and-excitation (SE) module which constituted the building block of the winning architecture in the ILSVRC17 challenge. We trained an SE-ResNet-50 on a reduced amount of data (∼ 300K samples) and found that the architecture overfits compared to a standard ResNet-50. We described a novel global-and-local attention (GALA) module and found that the proposed GALA-ResNet-50, however, significantly increases accuracy in this regime and cuts down top-5 error by ∼ 25% over both . In addition, we described an approach to co-train GALA using ClickMe supervision and cue the network to attend to image regions that are diagnostic to humans for object recognition. The routine casts ClickMe map prediction as an auxiliary task that can be combined with a primary visual categorization task. We found a trade-off between learning visual representations that are more similar to those used by human observers vs. learning visual representations that are more optimal for ILSVRC. The proper trade-off resulted in a model with better classification accuracy and more interpretable visual representations (both qualitatively and according to quantitative experiments on the ClickMe dataset and Microsoft COCO images).While recent advancements in DCNs have led to models that perform on par with human observers in basic visual recognition tasks, there is also growing evidence of qualitative differences in the visual strategies that they employ BID30 BID38 BID8 BID22 . It is not known whether these discrepancies arise because of differences in mechanisms for visual inference or fundamentally different training routines. However , our success in encouraging DCNs to learn more human-like representations with ClickMe map supervision suggests that improved training regimens can help close this gap. In particular , DCNs lack explicit mechanisms for perceptual grouping and figure-ground segmentation which are known to play a key role in the development of our visual system BID18 BID27 ) by simplifying the process of discarding background clutter. In the absence of figure-ground mechanisms, DCNs are compelled to associate foreground objects and their context as single perceptual units. This leads to DCN representations that are significantly more distributed compared to those used by humans BID22 . We hope that this work will help catalyze interest in the development of novel training paradigms that leverage combinations of visual cues (depth, motion, etc) for figure-ground segregation in order to substitute for the human supervision used here for co-training GALA.",1060,0.582,633,1.6745655608214849,"Most recent gains visual recognition originated attention mechanisms Because these networks optimized object recognition learn where attend using only a weak form supervision derived image class labels Here demonstrate stronger supervisory signals by teaching DCNs attend image regions humans deem object recognition We first describeClickMe used supplement ImageNet Using human psychophysics confirm the identified top-down features from ClickMe more diagnostic for rapid image categorization As a proof extend state attention network demonstrate adding ClickMe supervision significantly its accuracy yields visual features interpretable similar Attention has become intensive research within While biology sometimes mentioned BID34 BID23 You et; , the attentional mechanisms have considered remain limited comparison the rich and diverse array processes used , In addition whereas human attention controlled varying task demands attention networks used solely optimized This means unlike infants rely a myriad supervision focus BID15 , DCNs must solve this challenging problem weak supervisory signals derived statistical associations image pixels class labels Here investigate how explicit human supervision -teaching DCNs what and attend interpretability We described the ClickMe dataset aimed ImageNet nearly a half-million human-derived attention maps The approach validated human psychophysics indicated the sufficiency ClickMe features rapid visual categorization When participants viewed masked commonly selected ClickMe map locations reached ceiling recognition accuracy when only 6% image pixels By comparison participants viewing images masked according bottom-up saliency map locations did reach ceiling performance until visible These results ClickMe.ai may also novel insights human vision with a measure feature diagnosticity goes classic bottom-up saliency measures While a detailed analysis the ClickMe features falls outside expect the timecourse feature selection BID4 BID11 , aid the different attention mechanisms responsible diagnostic image featuresWe extended the squeeze-and-excitation (SE) module which constituted the winning architecture the ILSVRC17 challenge We trained an SEResNet-50 on a reduced amount� 300K samples found the architecture overfits compared We described a novel global-and-local attention (GALA) module and found-ResNet-50, however significantly accuracy this regime cuts top-5 error ∼ 25 both . In addition described co-train GALA using ClickMe supervision cue the network attend image regions diagnostic to humans for object recognition The routine casts ClickMe map prediction an auxiliary task combined a primary visual categorization task We found learning visual representations that similar human observers learning visual representations that optimal ILSVRC The proper trade-off resulted a model better classification accuracy more interpretable visual representationsboth qualitatively according quantitative experiments on the ClickMe dataset and Microsoft COCO images).While recent advancements DCNs models perform on par human observers qualitative differences the visual strategies they BID30 BID38 BID8 BID22 . It these discrepancies arise mechanisms visual inference fundamentally different training routines However , our success encouraging DCNs learn more human-like representations with ClickMe map supervision suggests improved training regimens close In particular , DCNs lack explicit mechanisms perceptual grouping and figure-ground segmentation which known BID18 BID27 ) by discarding background clutter In figure-ground mechanisms DCNs compelled associate foreground objects their context as single perceptual units This leads DCN representations significantly distributed compared those used humans BID22 . We hope this work interest leverage combinations visual cuesdepth motion figure-ground segregation substitute the human supervision used here co-training GALA",0.01,0.42281295197479973 "In recent years, deep neural networks have demonstrated outstanding performancein many machine learning tasks. However, researchers have discovered that thesestate-of-the-art models are vulnerable to adversarial examples: legitimate examples added by small perturbations which are unnoticeable to human eyes. Adversarial training, which augments the training data with adversarial examples duringthe training process, is a well known defense to improve the robustness of themodel against adversarial attacks. However, this robustness is only effective tothe same attack method used for adversarial training. Madry et al. (2017) suggest that effectiveness of iterative multi-step adversarial attacks and particularlythat projected gradient descent (PGD) may be considered the universal first order adversary and applying the adversarial training with PGD implies resistanceagainst many other first order attacks. However, the computational cost of theadversarial training with PGD and other multi-step adversarial examples is muchhigher than that of the adversarial training with other simpler attack techniques. In this paper, we show how strong adversarial examples can be generated only ata cost similar to that of two runs of the fast gradient sign method (FGSM), allowing defense against adversarial attacks with a robustness level comparable to thatof the adversarial training with multi-step adversarial examples. We empiricallydemonstrate the effectiveness of the proposed two-step defense approach againstdifferent attack methods and its improvements over existing defense strategies. Despite the fact that deep neural networks demonstrate outstanding performance for many machine learning tasks, researchers have found that they are susceptible to attacks by adversarial examples BID18 ; BID2 ). Adversarial examples which are generated by adding crafted perturbations to legitimate input samples are indistinguishable to human eyes. For classification tasks, these perturbations may cause the legitimate samples to be misclassified by the model at the inference time. While there exists no widely agreed conclusion, several studies attempted to explain the underlying causes of the susceptibility of deep neural networks toward adversarial examples. The vulnerability is ascribed to the linearity of the model BID2 ), low flexibility BID1 ), or the flatness/curvedness of the decision boundaries BID10 ), but a more general cause is still under research. The recent literature considered two types of threat models: black-box and white-box attacks. In black-box attacks, the attacker is assumed to have no access to the architecture and parameters of the model, whereas in white-box attacks, the attacker has complete access to such information. Several white-box attack methods were proposed BID2 , BID12 , BID17 , BID0 , BID9 ). In response, several defenses have been proposed to mitigate the effect of adversarial attacks. These defenses were developed along three main directions: (1) expanding the training data to make the classifier more robustly learn the underlying function, e.g., by adversarial training which augments the training data set with adversarial examples generated by certain attack methods BID18 , BID2 , BID5 ); (2) modifying the training procedure to reduce the gradients of the model w.r.t. the input such that the classifier becomes more robust to input perturbations, e.g., via input gradient regularization BID15 , or defensive distillation BID14 ; and (3) using external models as network add-ons when classifying unseen examples (feature squeezing BID19 , MagNet BID8 , and Defense-GAN) BID16 ).Adversarial training, a simple but effective method to improve the robustness of a deep neural network against white-box adversarial attacks, uses the same white-box attack mechanism to generate adversarial examples for augmenting the training data set. However, if the attacker applies a different attack strategy, adversarial training does not work well due to gradient masking BID13 . BID7 have suggested the effectiveness of iterative multi-step adversarial attacks. In particular, it was suggested that projected gradient descent (PGD) PGD may be considered the strongest first-order attack so that the adversarial training with PGD can boost the resistance against many other first-order attacks. However, in the literature a large number (e.g. 40) of steps of back propagation are typically used in the iterative attack method of PGD or its closely related variant iterative fast gradient (IFGSM) BID5 to find strong adversarial examples to be used in each adversarial training step, incurring a prohibitively high computational complexity particularly for large DNNs or training datasets.In this paper, we propose an efficient two-step adversarial defense technique, called e2SAD, to facilitate defense against multiple types of whitebox and blackbox attacks with a quality on a par with the expensive adversarial training using the well-known multi-step attack the iterative fast gradient method (IFGSM) BID5 . The first step of e2SAD is similar to the basic adversarial training, where an adversarial example is generated by applying a simple one-step attack method such as the fast gradient sign method (FGSM). Then in the second step, e2SAD attemps to generate a second adversarial example at which the vulnerability of the current model is maximally revealed such that the resulting defense is at the same quality level of the much more expensive IFGSMbased adversarial training. Finally, the two adversarial examples are taken into consideration in the proposed loss function according to which a more robust model is trained, resulting strong defense to both one-step and multi-step iterative attacks with a training time much less less than that of the adversarial training using IFGSM. The main contributions of this paper are as follows:• We propose a computationally efficient method to generate two adversarial examples per input example while effectively revealing the vulnerability of the learned classifier in the neighborhood of each clean data point;• We show that by considering the generated adversarial examples as part of a well-designed final loss function, the resulting model is robust to both one-step and iterative white box attacks;• We further demonstrate that by adopting other techniques in our two-step approach like the use of soft labels and hyper parameter tuning, robust defense against black box attacks can be achieved. We have aimed to improve the robustness of deep neural networks by presenting an efficient twostep adversarial defense technique e2SAD, particularly w.r.t to strong iterative multi-step attacks. This objective is achieved by finding a combination of two adversarial points to best reveal the vulnerability of the model around each clean input. In particular, we have demonstrated that using a dissimilarity measure between the first and second adversarial examples we are able to appropriately locate the second adversary in a way such that including both types of adversaries in the final training loss function leads to improved robustness against multi-step adversarial attacks. We have demonstrated the effectiveness of e2SAD in terms of defense against while-box one-step FGSM and multi-step IFGSM attacks and black-box IFGSM attacks under various settings.e2SAD provides a general mechanism for defending both one-step and multiple attacks and for balancing between these two defense needs, the latter of which can be achieved by properly tuning the corresponding weight hyperparameters in the training loss function. In the future work, we will explore hyperparameter tuning and other new techniques to provide a more balanced or further improved defense quality for a wider range of white and black box attacks.",1474,0.657,865,1.7040462427745664,"In deep neural networks demonstrated outstanding performancein However researchers thesestate-of models vulnerable adversarial examples: legitimate examples added small perturbations which Adversarial training augments the training data with adversarial examples duringthe training process a well known defense to improve themodel against However this robustness only effective tothe same attack method adversarial training Madry et al (2017 suggest effectiveness iterative multi-step adversarial attacks and particularlythat projected gradient descentPGD considered the universal first order adversary and applying with PGD implies resistanceagainst many other first order attacks However the computational cost theadversarial training with PGD and other multi-step adversarial examples muchhigher other simpler attack techniques In this paper how strong adversarial examples only ata cost similar two runs the fast gradient sign methodFGSM allowing defense a robustness level thatof with We empiricallydemonstrate the proposed two-step defense approach againstdifferent attack methods its improvements Despite deep neural networks demonstrate outstanding performance for researchers susceptible attacks adversarial examples BID18 ; BID2 Adversarial examples which generated adding crafted perturbations legitimate input samples indistinguishable to human eyes For classification tasks these perturbations cause the legitimate samples the model at the inference time While exists no widely agreed conclusion several studies attempted explain the susceptibility deep neural networks toward adversarial examples The vulnerability ascribed the linearity the model BID2 ), low flexibility or flatness/ the decision boundaries a more general cause still under research The recent literature considered two types threat models In black-box attacks assumed no access the architecture parameters the model whereas such information Several white-box attack methods proposed BID2 , ). In response several defenses mitigate adversarial attacks These defenses along three main directions expanding the training data make the classifier robustly learn the underlying function adversarial training which augments set generated certain attack methods BID18 , ); modifying reduce the input such becomes input via input gradient regularization BID15 or defensive distillation BID14 external models network add-ons when unseen examplesfeature squeezing MagNet BID8 Defense-GAN ).Adversarial training against uses to augmenting However if the attacker applies adversarial training does due gradient masking BID13 . BID7 have suggested the effectiveness iterative multi-step adversarial attacks In particular suggested projected gradient descent (PGD) PGD considered the strongest first-order attack so the adversarial training with boost the resistance against However the literature ( 40 steps of back propagation typically the iterative attack method PGD or its closely related variant iterative fast gradient (IFGSM) BID5 to find strong adversarial examples to be each adversarial training step incurring particularly large DNNs or training datasetsIn called e2SAD facilitate defense multiple types whitebox and with a quality on a par the expensive adversarial training using . The first step e2SAD similar the basic adversarial training generated applying such the fast gradient sign methodFGSM Then in the second step e2SAD attemps generate a second adversarial example at which the vulnerability the current model maximally revealed such the resulting defense at the same quality level the much more expensive IFGSMbased adversarial training Finally the two adversarial examples taken into the proposed loss function according a more robust model trained resulting strong defense to both one-step and multi-step iterative attacks with a training time much less using IFGSM The main contributions as We propose two adversarial examples per input example while effectively revealing the vulnerability the learned classifier the neighborhood each clean data by considering part a well-designed final loss function both one-step and iterative white box further adopting other techniques like the use soft labels hyper parameter tuning robust defense We aimed improve deep neural networks presenting an efficient twostep adversarial defense technique e2SAD particularly w.r.t to strong iterative multi-step attacks This objective achieved finding a combination two adversarial points to best reveal the vulnerability the model around each clean input In particular demonstrated using a dissimilarity measure between the first and second adversarial examples we are appropriately locate the second adversary a way such including both types adversaries the final training loss function leads improved robustness against We demonstrated e2SAD terms defense while-box one-step FGSM multi-step IFGSM attacks and under a general mechanism defending for balancing these two defense needs the properly tuning the corresponding weight hyperparameters the training loss function In the future work, explore hyperparameter tuning provide a more balanced or further improved defense quality white and black box attacks",0.01,0.49792713944685585 "Recently several different deep learning architectures have been proposed that take a string of characters as the raw input signal and automatically derive features for text classification. Little studies are available that compare the effectiveness of these approaches for character based text classification with each other. In this paper we perform such an empirical comparison for the important cybersecurity problem of DGA detection: classifying domain names as either benign vs. produced by malware (i.e., by a Domain Generation Algorithm). Training and evaluating on a dataset with 2M domain names shows that there is surprisingly little difference between various convolutional neural network (CNN) and recurrent neural network (RNN) based architectures in terms of accuracy, prompting a preference for the simpler architectures, since they are faster to train and less prone to overfitting. Malware is software that infects computers in order to perform unauthorized malicious activities. In order to successfully achieve its goals, the malware needs to be able to connect to a command and control (C&C) center. To this end, both the controller behind the C&C center (hereafter called botmaster) and the malware on the infected machines can run a Domain Generation Algorithm (DGA) that generates hundreds or even thousands of domains automatically. The malware then attempts at resolving each one of these domains with its local DNS server. The botmaster will have registered one or a few of these automatically generated domains. For these domains that have been actually registered, the malware will obtain a valid IP address and will be able to communicate with the C&C center.The binary text classification task that we address in this paper is: given a domain name string as input, classify it as either malicious, i.e. generated by a DGA, or as benign. Deep neural networks have recently appeared in the literature on DGA detection ; BID8 ; BID15 . They significantly outperform traditional machine learning methods in accuracy, at the price of increasing the complexity of training the model and requiring larger datasets. Independent of the work on deep networks for DGA detection, other deep learning approaches for character based text classification have recently been proposed, including deep neural network architectures designed for processing and classification of tweets BID2 ; BID11 ) as well as general natural language text BID16 ). No systematic study is available that compares the predictive accuracy of all these different character based deep learning architectures, leaving one to wonder which one works best for DGA detection.To answer this open question, in this paper we compare the performance of five different deep learning architectures for character based text classification (see TAB0 ) for the problem of detecting DGAs. They all rely on character-level embeddings, and they all use a deep learning architecture based on convolutional neural network (CNN) layers, recurrent neural network (RNN) layers, or a combination of both. Our most important finding is that for DGA detection, which can be thought of as classification of short character strings, despite of vast differences in the deep network architectures, there is remarkably little difference among the methods in terms of accuracy and false positive rates, while they all comfortably outperform a random forest trained on human engineered features. This finding is of practical value for the design of deep neural network based classifiers for short text classification in industry and academia: it provides evidence that one can select an architecture that BID16 is faster to train, without loss of accuracy. In the context of DGA detection, optimizing the training time is of particular importance, as the models need to be retrained on a regular basis to stay current with respect to new, emerging malware. DGA detection, i.e. the classification task of distinguishing between benign domain names and those generated by malware (Domain Generation Algorithms), has become a central topic in information security. In this paper we have compared five different deep neural network architectures that perform this classification task based purely on the domain name string, given as a raw input signal at character level. All five models, i.e. two RNN based architectures, two CNN based architectures, and one hybrid RNN/CNN architecture perform equally well, catching around 97-98% of malicious domain names against a false positive rate of 0.001. This roughly means that for every 970 malicious domain names that the deep networks catch, they flag only one benign domain name erroneously as malicious. A Random Forest based on human defined linguistic features achieves a recall of only 83% against the same 0.001 false positive rate when trained and tested on the same data that was used for the deep networks. The use of a deep neural network that automatically learns features is attractive in a cybersecurity setting because it is a lot harder to craft malware to avoid detection by a system that relies on automatically learned features instead of on human engineered features. An interesting direction for future work is to test the trained deep networks more extensively on domain names generated by new and previously unseen malware families.A KERAS CODE FOR DEEP NETWORKS main input = Input (shape=(75, ) , dtype='int32 ', name='main input') embedding = Embedding(input dim=128, output dim=128, input length =75)(main input ) lstm = LSTM(128, return sequences=False)(embedding) drop = Dropout(0.5) (lstm) output = Dense(1, activation ='sigmoid') (drop) model = Model(inputs=main input, outputs =output) model.compile( loss =' binary crossentropy ', optimizer ='adam')Listing 1: Endgame model with single LSTM layer, adapted from main input = Input (shape=(75, ) , dtype='int32 ', name='main input') embedding = Embedding(input dim=128, output dim=128, input length =75)(main input ) bi lstm = Bidirectional ( layer =LSTM(64, return sequences=False), merge mode='concat')(embedding) output = Dense(1, activation ='sigmoid') ( bi lstm ) model = Model(inputs=main input, outputs =output) model.compile( loss =' binary crossentropy ', optimizer ='adam') Listing 2: CMU model with bidirectional LSTM, adapted from BID2 main input = Input (shape=(75, ) , dtype='int32 ', name='main input') embedding = Embedding(input dim=128, output dim=128, input length =75)(main input ) conv1 = Conv1D( filters =128, kernel size =3, padding='same', strides =1)(embedding) thresh1 = ThresholdedReLU(1e−6)(conv1) max pool1 = MaxPooling1D(pool size=2, padding='same')(thresh1 ) conv2 = Conv1D( filters =128, kernel size =2, padding='same', strides =1)(max pool1) thresh2 = ThresholdedReLU(1e−6)(conv2) max pool2 = MaxPooling1D(pool size=2, padding='same')(thresh2 ) flatten = Flatten () (max pool2) fc = Dense(64)( flatten ) thresh fc = ThresholdedReLU(1e−6)(fc) drop = Dropout(0.5) ( thresh fc ) output = Dense(1, activation ='sigmoid') (drop) model = Model(inputs=main input, outputs =output) model.compile( loss =' binary crossentropy ', optimizer ='adam') Listing 3: NYU model with stacked CNN layers, adapted from BID16 def getconvmodel( self , kernel size , filters ) : model = Sequential () model.add( Conv1D( filters = filters , input shape =(128, 128), kernel size = kernel size , padding='same', activation =' relu ', strides =1)) model.add(Lambda(lambda x: K.sum(x, axis=1), output shape =( filters , ) ) ) model.add(Dropout(0.5) ) return model main input = Input (shape=(75, ) , dtype='int32 ', name='main input') embedding = Embedding(input dim=128, output dim=128, input length =75)(main input ) conv1 = getconvmodel(2, 256)(embedding) conv2 = getconvmodel(3, 256)(embedding) conv3 = getconvmodel(4, 256)(embedding) conv4 = getconvmodel(5, 256)(embedding) merged = Concatenate () ([ conv1, conv2, conv3, conv4] ) middle = Dense(1024, activation =' relu ') (merged) middle = Dropout(0.5) (middle) middle = Dense(1024, activation =' relu ') (middle) middle = Dropout(0.5) (middle) output = Dense(1, activation ='sigmoid') (middle) model = Model(inputs=main input, outputs =output) model.compile( loss =' binary crossentropy ', optimizer ='adam') Listing 4: Invincea CNN model with parallel CNN layers, adapted from BID8 main input = Input (shape=(75, ) , dtype='int32 ', name='main input') embedding = Embedding(input dim=128, output dim=128, input length =75)(main input ) conv = Conv1D( filters =128, kernel size =3, padding='same', activation =' relu ', strides =1)(embedding) max pool = MaxPooling1D(pool size=2, padding='same')(conv) encode = LSTM(64, return sequences=False) (max pool) output = Dense(1, activation ='sigmoid') (encode) model = Model(inputs=main input, outputs =output) model.compile( loss =' binary crossentropy ', optimizer ='adam') Listing 5: MIT model with a stacked CNN and LSTM layer, adapted from BID11 main input = Input (shape=(75, ) , dtype='int32 ', name='main input') embedding = Embedding(input dim=128, output dim=128, input length =75)(main input ) flatten = Flatten () (embedding) output = Dense(1, activation ='sigmoid') ( flatten ) model = Model(inputs=main input, outputs =output) print (model.summary()) model.compile( loss =' binary crossentropy ', optimizer ='adam') Listing 6: Baseline Model with only Embedding Layer main input = Input (shape=(11, ) , name='main input') dense = Dense(128, activation =' relu ') ( main input ) output = Dense(1, activation ='sigmoid') (dense) model = Model(inputs=main input, outputs =output) print (model.summary()) model.compile( loss =' binary crossentropy ', optimizer ='adam') Listing 7: MLP Model with 128 Nodes Dense Layer",2178,0.736,1258,1.7313195548489666,"Recently several different deep learning architectures proposed that take a string characters as the raw input signal automatically derive features for text classification Little studies are available that compare the effectiveness these approaches for character based text classification with each In this paper perform such an empirical comparison for the important cybersecurity problem DGA detection: classifying domain names either benign vs. produced malware ( by a Domain Generation Algorithm Training and evaluating on a dataset with 2M domain names shows there surprisingly little difference various convolutional neural network ( based architectures in accuracy, prompting a preference the simpler architectures, since faster to less Malware is software in order perform unauthorized malicious activities In order successfully achieve its goals the malware needs connect To this end both the controller behind the C&C center (hereafter called botmaster the malware on the infected machines can run a Domain Generation Algorithm that generates hundreds or domains automatically The malware then attempts at resolving each one these domains with its local DNS server The botmaster will have registered one or a of these automatically generated domains For these domains that have actually registered the malware will obtain a valid IP address and will be communicate the C&C centerThe binary text classification task that we address this paper: given a domain name string as input classify either malicious, i.e. generated a DGA as benign Deep neural networks have recently appeared the literature on DGA detection ; BID8 ; BID15 . They significantly outperform traditional machine learning methods accuracy at the price increasing the complexity training the model and requiring larger datasets Independent of the work on deep networks for DGA detection other deep learning approaches for character based text classification recently proposed, including deep neural network architectures designed processing and classification tweets BID2 ; BID11 ) as general natural language text BID16 ). No systematic study is that the predictive accuracy all these different character based deep learning architectures, leaving one which one works DGA detectionTo answer this open question in compare five different deep learning for character based text classification (see TAB0 ) for the problem detecting DGAs They all rely character-level embeddings, and they use a deep learning architecture based convolutional neural network layers, recurrent neural network or a combination both Our most important finding for DGA detection which can thought classification short character strings despite of vast differences the deep network architectures there remarkably little difference among the methods in terms accuracy and false positive rates, while they all comfortably a random forest trained human engineered features This finding is of practical value for the design deep neural network based classifiers for short text classification in industry and: it provides evidence one can select an architecture BID16 is faster to train, without loss accuracy In the context DGA detection optimizing the training time is of, the models need retrained on stay current respect new, emerging malware DGA detection, i.e. the classification task of distinguishing benign domain names those generated malware (Domain Generation Algorithms has become a central topic information security. In this paper have compared five different deep neural network architectures that perform this classification task based purely the domain name string, given as a raw input signal at character level All five models, i.e. two RNN based architectures two CNN based architectures one hybrid RNN/CNN architecture perform equally, catching around 97-98% malicious domain names against a false positive rate of 0.001. This roughly means for every 970 malicious domain names that the deep networks catch they flag only one benign domain name erroneously as A Random Forest based human defined linguistic features achieves a recall of only 83% against the same 0.001 false positive rate when trained and tested on the same data that was the deep networks The use a deep neural network that automatically features is attractive in cybersecurity setting is a lot harder craft malware to avoid by a system relies automatically learned features instead on human engineered features An interesting direction future work is test the trained deep networks more extensively on domain names generated new and previously unseen malware familiesA KERAS CODE FOR DEEP NETWORKS main input = Input (shape=(75 ) , dtype='int32 ', name='main input embedding = Embedding(input dim=128 output input length =75)(main input ) lstm = LSTM(128 return sequencesFalse)(embedding) drop Dropout(0.5 (lstm) output = Dense(1 activation ='sigmoid (drop) model Model(inputsmain input outputs =output) model.compile loss' binary crossentropy optimizer =adam')Listing 1: Endgame model with single LSTM layer, adapted main input = Input bi lstm = Bidirectional ( layerLSTM(64 merge mode='concat')(embedding) output = Dense(1 bi lstm ) model CMU model, BID2 main input conv1 = Conv1D( filters128 kernel size =3 padding='same strides1)(embedding thresh1 ThresholdedReLU(1e−6)(conv1 max pool1 MaxPooling1D(pool size=2 ) conv2 Conv1D21)(max flatten Flatten () (max fc Dense(64)( flatten ) thresh fc drop NYU model stacked CNN layers BID16 def getconvmodel( self , kernel size , filters ) model = Sequential () model.add Conv1D filters input shape =(128 128 kernel kernel size , activation relu ', model.add(Lambda(lambda x: K.sum(x axis=1 output shape filters , ) ) ) return main input getconvmodel(2 256)(embedding merged = Concatenate () ([ conv1] middle = Dense(1024 activation)mergedmiddle middlesigmoid Listing 4: Invincea CNN model parallel CNN layers ', optimizeradam Listing 4: Invincea CNN model with parallel CNN layers, adapted BID8 main input = Input (shape=(75 ) , dtype='int32 ', name='main input embedding = Embedding(input dim=128 output input length =75)(main ) conv Conv1D filters128 kernel size =3 padding='same activation relu ', strides1)(embedding) max pool MaxPooling1D(pool size=2 padding='same')(conv) encode = LSTM(64 return sequencesFalse (max output (encode) model Listing 5: MIT model a stacked CNN and LSTM layer flatten Flatten ()embedding flatten model Baseline Model only Embedding Layer main input (shape=(11 name='main dense = Dense(128 ') print MLP Model 128 Nodes Dense Layer",0.01,0.567417142405429 "Recognizing the relationship between two texts is an important aspect of natural language understanding (NLU), and a variety of neural network models have been proposed for solving NLU tasks. Unfortunately, recent work showed that the datasets these models are trained on often contain biases that allow models to achieve non-trivial performance without possibly learning the relationship between the two texts. We propose a framework for building robust models by using adversarial learning to encourage models to learn latent, bias-free representations. We test our approach in a Natural Language Inference (NLI) scenario, and show that our adversarially-trained models learn robust representations that ignore known dataset-specific biases. Our experiments demonstrate that our models are more robust to new NLI datasets. Recognizing the relationship between two texts is a significant aspect of general natural language understanding (NLU) BID2 . Natural Language Inference (NLI) is often used to gauge a model's ability to understand such a relationship between two texts BID11 BID12 . In NLI, a model is tasked with determining whether a hypothesis (the animal moved) would likely be inferred from a premise (a black cat ran). The development of new large-scale datasets has led to a flurry of various neural network architectures for solving NLI. However, recent work has found that many NLI datasets contain biases that enable hypothesis-only models -models that are given access to the hypothesis alone -to perform surprisingly well without possibly learning the relationship between two texts. For instance, annotation artifacts and statistical irregularities in the popular Stanford Natural Language Inference dataset (SNLI) BID5 allowed hypothesis-only models to perform at double the majority class baseline, and at least 5 other recent NLI datasets contain similar biases BID21 BID43 BID54 . We will use the terms ""artifacts"" and ""biases"" interchangeably.The existence of annotation artifacts in large-scale NLI datasets is detrimental for making progress in deep learning research for NLU. How can we trust the performance of top models if it is possible to infer the relationship without even looking at the premise? Solutions to this concern are so far unsatisfactory: constructing new datasets BID50 ) is costly and may still result in other artifacts; filtering ""easy"" examples and defining a harder subset is useful for evaluation purposes BID21 , but difficult to do on a large scale that will enable training; and compiling adversarial examples BID18 ) is informative but again limited by scale or diversity. Furthermore, these solutions do not address a lingering question: can we develop models that will generalize well despite many NLI datasets containing specific hypothesis-only biases?Inspired by domain-adversarial training of neural networks BID16 BID17 , we propose two architectures (Figure 1 ) that enable a model to perform well on other NLI datasets regardless of what annotation artifacts exist in the training corpus's hypotheses. While learning to classify the relationship between two texts, we simultaneously use adversarial learning to discourage our model from using dataset-specific biases.In this way, the resulting representations contain fewer biases, and the model is encouraged to learn the relationship between the two texts. Our experiments demonstrate that our architectures generate sentence representations that are more robust to annotation artifacts, and also transfer better: when trained on one dataset and evaluated on another, they perform better than a non-adversarial model in 9 out of 12 target datasets. The methodology can also be extended to other NLU tasks, and we outline the necessary changes to our architectures in the conclusion. To our knowledge , this is the first study that explores methods to ignore hypothesis-only biases when training NLI models. Biases in annotations are a major source of concern for the quality of NLI datasets and systems. In this paper, we presented a solution for combating annotation biases based on adversarial learning. We designed two architectures that discourage the hypothesis encoder from learning the biases, and instead obtain a more unbiased representation. We empirically evaluated our approach in a transfer learning scenario, where we found our models to perform better than a non-adversarial baseline on a range of datasets. We also investigated what biases remain in the latent representations.The methodology developed in this work can be extended to deal with biases in other NLU tasks, where one is concerned with finding the relationship between two objects. For example, in Reading Comprehension, a question is being asked about a passage; in story cloze completion, an ending is judged with respect to a context; and in Visual Question Answering, a question is asked about an image. In all these cases, the second element (question, ending, and question, respectively) may contain biases. Our adversarial architectures naturally apply to any model that relies on encoding this biased element, and may help remove such biases from the latent representation. We hope to encourage such investigation in the broader research community. TAB1 we consider the range {1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0}. In each dataset, we choose the best-performing model on the development set and report its quality on the test set.We follow the InferSent training regime, using SGD with an initial learning rate of 0.1. See BID9 for details.",1059,0.56,626,1.6916932907348243,"Recognizing the relationship two texts natural language understanding (NLU a variety neural network models solving Unfortunately recent work showed the datasets these models trained often biases allow models achieve without possibly learning the relationship the two texts We propose building robust models by adversarial learning encourage models latent, bias-free representations We test our approach Natural Inference scenario show our adversarially-trained models learn robust representations ignore known dataset-specific biases Our experiments demonstrate our models new NLI datasets Recognizing the relationship two texts general natural language understandingNLU BID2 . Natural Language Inference often gauge such a relationship two texts BID11 BID12 . In NLI a model tasked a hypothesisthe animal moved would likely inferred a premisea black cat ran The development new large-scale datasets various neural network solving NLI However recent work many NLI datasets biases enable hypothesis-only models -models given access the hypothesis alone surprisingly without possibly learning the relationship two texts For instance annotation artifacts statistical irregularities the popular Stanford Natural Language Inference dataset (SNLI) BID5 allowed hypothesis-only models perform at double the majority class baseline at least 5 other recent NLI datasets contain BID21 BID43 BID54 We will use ""artifacts ""biasesThe existence annotation artifacts large-scale NLI datasets detrimental making progress deep learning research for NLU How trust the performance top models if possible infer the relationship without even the premise Solutions this concern so unsatisfactory constructing new datasets BID50 ) costly may still other artifacts; filtering ""easy"" examples defining a harder subset useful evaluation purposes BID21 difficult on that enable training; compiling adversarial examples informative again limited scale or diversity Furthermore these solutions a lingering question can develop models generalize well despite many NLI datasets containing specific hypothesisonly biases?Inspired domain-adversarial training BID16 BID17 two architectures (Figure enable regardless what annotation artifacts the training corpus's hypotheses While learning classify the relationship two texts simultaneously use adversarial learning discourage our model dataset-specific biasesIn the resulting representations contain encouraged Our experiments demonstrate our architectures generate sentence representations annotation artifacts also transfer better: trained one dataset evaluated 9 12 target datasets The methodology can extended other NLU tasks and we outline the necessary changes our architectures the conclusion To our knowledge , explores methods ignore hypothesis-only biases training NLI models Biases in annotations concern the quality NLI datasets systems In presented a solution combating annotation biases based adversarial learning We designed two architectures discourage the hypothesis encoder learning the biases instead obtain We empirically evaluated our approach a transfer learning scenario found our models a non-adversarial baseline a range datasets We also investigated what biases remain the latent representations.The methodology developed can extended deal biases other NLU tasks where one is concerned finding the relationship two objects For example Reading Comprehension a question being; story cloze completion an ending judged with a context Visual Question Answering In the second element (question, ending may contain biases Our adversarial architectures naturally apply any model relies encoding this biased element may help remove the latent representation We hope encourage such investigation the broader research community TAB1 we consider the range { In each dataset choose on the development set report its qualityWe follow the InferSent training regime SGD with See BID9",0.01,0.46645290296809233 "We study the problem of learning representations of entities and relations in knowledge graphs for predicting missing links. The success of such a task heavily relies on the ability of modeling and inferring the patterns of (or between) the relations. In this paper, we present a new approach for knowledge graph embedding called RotatE, which is able to model and infer various relation patterns including: symmetry/antisymmetry, inversion, and composition. Specifically, the RotatE model defines each relation as a rotation from the source entity to the target entity in the complex vector space. In addition, we propose a novel self-adversarial negative sampling technique for efficiently and effectively training the RotatE model. Experimental results on multiple benchmark knowledge graphs show that the proposed RotatE model is not only scalable, but also able to infer and model various relation patterns and significantly outperform existing state-of-the-art models for link prediction. Knowledge graphs are collections of factual triplets, where each triplet (h, r, t) represents a relation r between a head entity h and a tail entity t. Examples of real-world knowledge graphs include Freebase BID0 , Yago (Suchanek et al., 2007) , and WordNet (Miller, 1995) . Knowledge graphs are potentially useful to a variety of applications such as question-answering BID10 , information retrieval BID30 , recommender systems BID34 , and natural language processing BID31 . Research on knowledge graphs is attracting growing interests in both academia and industry communities.Since knowledge graphs are usually incomplete, a fundamental problem for knowledge graph is predicting the missing links. Recently, extensive studies have been done on learning low-dimensional representations of entities and relations for missing link prediction (a.k.a., knowledge graph embedding) BID3 BID28 BID7 . These methods have been shown to be scalable and effective. The general intuition of these methods is to model and infer the connectivity patterns in knowledge graphs according to the observed knowledge facts. For example, some relations are symmetric (e.g., marriage) while others are antisymmetric (e.g., filiation); some relations are the inverse of other relations (e.g., hypernym and hyponym); and some relations may be composed by others (e.g., my mother's husband is my father). It is critical to find ways to model and infer these patterns, i.e., symmetry/antisymmetry, inversion, and composition, from the observed facts in order to predict missing links.Indeed, many existing approaches have been trying to either implicitly or explicitly model one or a few of the above relation patterns BID3 BID29 BID17 Table 1: The score functions f r (h, t) of several knowledge graph embedding models, where · denotes the generalized dot product, • denotes the Hadamard product, ⊗ denotes circular correlation, σ denotes activation function and * denotes 2D convolution. · denotes conjugate for complex vectors, and 2D reshaping for real vectors in ConvE model. TransX represents a wide range of TransE's variants, such as TransH BID29 , TransR BID17 , and STransE BID23 , where g r,i (·) denotes a matrix multiplication with respect to relation r. BID32 BID28 . For example, the TransE model BID2 , which represents relations as translations, aims to model the inversion and composition patterns; the DisMult model BID32 , which models the three-way interactions between head entities, relations, and tail entities, aims to model the symmetry pattern. However, none of existing models is capable of modeling and inferring all the above patterns. Therefore, we are looking for an approach that is able to model and infer all the three types of relation patterns.In this paper, we propose such an approach called RotatE for knowledge graph embedding. Our motivation is from Euler's identity e iθ = cos θ + i sin θ, which indicates that a unitary complex number can be regarded as a rotation in the complex plane. Specifically, the RotatE model maps the entities and relations to the complex vector space and defines each relation as a rotation from the source entity to the target entity. Given a triplet (h, r, t), we expect that t = h • r, where h, r, t ∈ C k are the embeddings, the modulus |r i | = 1 and • denotes the Hadamard (element-wise) product. Specifically, for each dimension in the complex space, we expect that:t i = h i r i , where h i , r i , t i ∈ C and |r i | = 1.It turns out that such a simple operation can effectively model all the three relation patterns: symmetric/antisymmetric, inversion, and composition. For example, a relation r is symmetric if and only if each element of its embedding r, i.e. r i , satisfies r i = e 0/iπ = ±1; two relations r 1 and r 2 are inverse if and only if their embeddings are conjugates: r 2 =r 1 ; a relation r 3 = e iθ3 is a combination of other two relations r 1 = e iθ1 and r 2 = e iθ2 if and only if r 3 = r 1 • r 2 (i.e. θ 3 = θ 1 + θ 2 ). Moreover, the RotatE model is scalable to large knowledge graphs as it remains linear in both time and memory.To effectively optimizing the RotatE, we further propose a novel self-adversarial negative sampling technique, which generates negative samples according to the current entity and relation embeddings. The proposed technique is very general and can be applied to many existing knowledge graph embedding models. We evaluate the RotatE on four large knowledge graph benchmark datasets including FB15k BID3 , WN18 BID3 ), FB15k-237 (Toutanova & Chen, 2015 and WN18RR BID7 . Experimental results show that the RotatE model significantly outperforms existing state-of-the-art approaches. In addition, RotatE also outperforms state-of-the-art models on Countries BID4 , a benchmark explicitly designed for composition pattern inference and modeling. To the best of our knowledge, RotatE is the first model that achieves state-of-the-art performance on all the benchmarks. 2 The p-norm of a complex vector v is defined as v p = p |vi| p . We use L1-norm for all distancebased models in this paper and drop the subscript of · 1 for brevity. We have proposed a new knowledge graph embedding method called RotatE, which represents entities as complex vectors and relations as rotations in complex vector space. In addition, we propose a novel self-adversarial negative sampling technique for efficiently and effectively training the RotatE model. Our experimental results show that the RotatE model outperforms all existing state-of-theart models on four large-scale benchmarks. Moreover, RotatE also achieves state-of-the-art results on a benchmark that is explicitly designed for composition pattern inference and modeling. A deep investigation into RotatE relation embeddings shows that the three relation patterns are implicitly represented in the relation embeddings. In the future, we plan to evaluate the RotatE model on more datasets and leverage a probabilistic framework to model the uncertainties of entities and relations. No existing models are capable of modeling all the three relation patterns. For example, TransE cannot model the symmetry pattern because it would yield r = 0 for symmetric relations; TransX can infer and model the symmetry/antisymmetry pattern when g r,1 = g r,2 , e.g. in TransH BID29 , but cannot infer inversion and composition as g r,1 and g r,2 are invertible matrix multiplications; due to its symmetric nature, DistMult is difficult to model the asymmetric and inversion pattern; ComplEx addresses the problem of DisMult and is able to infer both the symmetry and asymmetric patterns with complex embeddings. Moreover, it can infer inversion rules because the complex conjugate of the solution to arg max r Re( x, r, y ) is exactly the solution to arg max r Re( y, r, x ). However, ComplEx cannot infer composition rules, since it does not model a bijection mapping from h to t via relation r. These concerns are summarized in TAB0 .B PROOF OF LEMMA 1Proof. if r(x, y) and r(y, x) hold, we have y = r • x ∧ x = r • y ⇒ r • r = 1 Otherwise, if r(x, y) and ¬r(y, x) hold, we have DISPLAYFORM0 Proof. if r 1 (x, y) and r 2 (y, x) hold, we have DISPLAYFORM1 Proof. if r 1 (x, z) , r 2 (x, y ) and r 3 (y, z) hold, we have DISPLAYFORM2",1844,0.932,1109,1.6627592425608657,"We study the problem learning representations entities relations knowledge graphs for predicting missing links The success such a task heavily modeling inferring the patterns ( between the relations In this paper knowledge graph embedding called RotatE, able model and infer various relation patterns including symmetry/antisymmetry inversion composition Specifically the RotatE model defines each relation a rotation from the source entity the complex vector space In addition propose a novel self-adversarial negative sampling technique efficiently and training the RotatE model Experimental results on multiple benchmark knowledge graphs the proposed RotatE model scalable able infer and model various relation patterns significantly existing state for link prediction Knowledge graphs collections factual triplets where (h, r a relation r between a head entity h Examples real-world knowledge graphs include Freebase BID0 , Yago (Suchanek et WordNetMiller 1995 Knowledge graphs potentially a variety such question-answering BID10 , information BID30 recommender systems BID34 natural Research knowledge graphs attracting growing interests both academia industry communitiesSince knowledge graphs usually incomplete a fundamental problem knowledge graph is predicting the missing links Recently extensive studies learning low-dimensional representations entities relations for missing link prediction knowledge graph embedding BID3 BID28 BID7 . These methods scalable The general intuition these methods model and infer the connectivity patterns knowledge graphs according the observed knowledge facts For example some relations the inverse and hyponym may composed by others my mother's husband It critical find model infer these patterns symmetry/ inversion composition from the observed facts in predict missing linksIndeed many existing approaches trying either implicitly one a the above relation patterns BID3 BID29 BID17 Table score functions f rh t of several knowledge graph embedding models where · denotes the generalized dot product • the Hadamard product circular correlation, �� denotes activation function and * denotes 2D convolution · denotes conjugate for complex vectors 2D reshaping real vectors in ConvE model TransX represents TransE's variants such TransH BID29 , STransE where g r,i (· denotes a matrix multiplication with respect relation r. BID32 BID28 . For example the TransE model BID2 , represents relations as translations aims model the inversion and composition patterns; the DisMult model BID32 models head entities relations tail entities the symmetry pattern However none existing models is capable modeling and inferring all the above patterns Therefore looking an approach able model infer all the three types relation patternsIn called RotatE for knowledge graph embedding Our motivation from Euler's identity e i� = cos + indicates a unitary complex number regarded a rotation the complex plane Specifically the RotatE model maps the entities and relations the complex vector space defines each relation a rotation from the source entity Given a triplet (h r expect that t = h • r, t � C k are, the modulus |r i • denotes the Hadamard (element-wise) product Specifically for each dimension the complex space expect:t i h r , , t i � and |r 1.It turns such a simple operation effectively model all the three relation patterns inversion composition For example a relation r symmetric each element its embedding r, satisfies = e 0/iπ = ±1; two relations 1 inverse conjugates: 2r ; = e i�3 is a combination if • ( � � Moreover the RotatE model scalable large knowledge graphs as remains linear both time memoryTo effectively optimizing, further propose a novel self-adversarial negative sampling technique generates negative samples according the current entity and relation embeddings The proposed technique very general many existing knowledge graph embedding models We evaluate the RotatE on four large knowledge graph benchmark datasets including FB15k BID3 , WN18 BID3 ), FB15k-237 (Toutanova & Chen and WN18RR BID7 . Experimental results the RotatE model significantly existing state approaches In addition RotatE also outperforms state models on Countries BID4 , a benchmark explicitly composition pattern inference modeling To RotatE the first model achieves state all the benchmarks 2 The p-norm of a complex vector v defined v p = p |vi| p We use L1-norm for all distancebased models in drop the subscript of · 1 brevity We proposed a new knowledge graph embedding method RotatE, represents entities complex vectors and relations as rotations In addition propose a novel self-adversarial negative sampling technique efficiently and training the RotatE model Our experimental results the RotatE model all existing statetheart on four large-scale benchmarks Moreover RotatE also achieves state results a benchmark that explicitly composition pattern inference modeling A deep investigation RotatE relation embeddings shows the three relation patterns implicitly represented In the future plan evaluate the RotatE model on more datasets leverage model the uncertainties entities relations No existing models capable modeling all the three relation patterns For example TransE cannot model the symmetry pattern because would yield r symmetric relations; TransX infer and when g r,1 , TransH BID29 , inversion composition as and invertible matrix multiplications; due DistMult difficult; ComplEx addresses DisMult is infer with complex embeddings Moreover can infer inversion rules because the complex conjugate the solution arg max r Re x, r, y exactly the solution y However ComplEx infer composition rules since model a bijection mapping from h via relation r. These concerns summarized TAB0 .B PROOF LEMMA 1Proof. if r(x and hold we y = r • x �� � Otherwise � DISPLAYFORM0 Proof if r 1 (x and hold we DISPLAYFORM1 Proof. if r 1 (x z , ) and hold we DISPLAYFORM2",0.01,0.3927314903385226 "Deep learning algorithms have been known to be vulnerable to adversarial perturbations in various tasks such as image classification. This problem was addressed by employing several defense methods for detection and rejection of particular types of attacks. However, training and manipulating networks according to particular defense schemes increases computational complexity of the learning algorithms. In this work, we propose a simple yet effective method to improve robustness of convolutional neural networks (CNNs) to adversarial attacks by using data dependent adaptive convolution kernels. To this end, we propose a new type of HyperNetwork in order to employ statistical properties of input data and features for computation of statistical adaptive maps. Then, we filter convolution weights of CNNs with the learned statistical maps to compute dynamic kernels. Thereby, weights and kernels are collectively optimized for learning of image classification models robust to adversarial attacks without employment of additional target detection and rejection algorithms. We empirically demonstrate that the proposed method enables CNNs to spontaneously defend against different types of attacks, e.g. attacks generated by Gaussian noise, fast gradient sign methods (Goodfellow et al., 2014) and a black-box attack (Narodytska & Kasiviswanathan, 2016). Deep convolutional neural networks are powerful and popular algorithms that achieve state-of-the-art performance in various computer vision tasks, such as object recognition. Despite the advances made by the recent architectures BID7 BID16 BID18 BID5 , they are discovered to be fragile to small but carefully directed perturbations of images BID17 , such that the targeted images can be classified to incorrect categories with high confidence, while humans are still able to correctly classify the attacked images, being undisturbed or even unaware of the perturbations. The vulnerability of these networks to these, so called adversarial examples, may lead to undesirable consequences in safety-and security-critical applications. provide an example of misclassification of traffic signs which could be a significant threat for autonomous driving systems that employ deep learning algorithms. Various adversarial attack methods for neural networks have been studied in numerous works. The majority of attack methods can be catalogued in three groups.1. Methods which use unspecific statistical noise: In this group, input images are perturbed using unspecific statistical noise, e.g. Gaussian noise, salt and pepper noise and blurring. Since shape and parameters of distribution functions that are used to generate noise are not determined, it is usually not easy to obtain a highly confident misclassification results with imperceptible perturbations BID17 . 2. Gradient based attack methods: They are used to generate high confidence imperceptible adversarial examples within few steps or one-shot gradient based noise. Some examples of the methods considered in this group are (Iterative) Fast Gradient Sign Method BID3 BID8 , L-BFGS BID19 , Jacobian-based Saliency Map BID12 and DeepFool . These methods require a white-box environment in order to make attacks. In other words, the full network architecture and weights are required to be accessible in order to obtain gradients towards input images.3. Black-box attack methods. These methods assume that only the output of the networks can be accessed. Substitute networks and greedy search of noisy pixels BID11 are considered in this group. It is worth mentioning that, methods such as transferring adversarial examples from another network, which is optimized with a sufficient part or the whole training datasets, are not considered as a genuine black-box method.In this work, inspired by the recent works BID0 BID4 that construct neural networks with data dependent weights, we propose a simple yet effective method to train CNNs by improving their robustness to adversarial perturbations. Our main idea is to adaptively filter convolution weights of CNNs by using statistical properties of input data and features. Concretely, we propose a HyperNetwork to compute statistical adaptive maps using these statistical properties (mean and variance) of input data and features for each input channel. Then, we obtain data dependent kernels for convolution operations by computing Hadamard (element-wise) product of computed maps and convolution weights. Our main contributions can be summarized as follows:1. We propose a new type of CNN architecture that employ HyperNetworks to dynamically generate data dependent convolution kernels with statistical properties of input data and features. 2. We empirically verify the robustness of our proposed models using large scale vision dataset, and demonstrate that their robustness is improved without using additional aforementioned computationally complex defense methods or spending effort to generate adversarial examples for training. In this work, we propose a simple yet effective method to improve robustness of convolutional neural networks (CNNs) to adversarial attacks by training CNNs using data dependent adaptive convolution kernels. To this end, we employ HyperNetworks to dynamically generate data dependent convolution kernels with statistical properties of input data and features. The robustness of our proposed method is verified using 3 different types of attack with state-of-the-art CNN models trained on the ILSVRC-2012 dataset. Moreover, the robustness is obtained spontaneously during a normal training progress without losing any performance in the original tasks. This shed light on building practical deep learning systems that focus on the target without a concern of attacker. On the other hand, there still exists uncertainty on the mechanism of the robustness remains to be solved in the future works. Furthermore, designing of network architectures that employ more powerful HyperNetworks with better adversarial robustness is still an open problem.",1081,0.637,652,1.6579754601226995,"Deep learning algorithms known vulnerable various tasks This problem addressed employing several defense methods detection rejection particular types attacks However training and manipulating networks according particular defense schemes increases computational complexity the learning In this work propose robustness adversarial attacks data dependent adaptive convolution kernels To this end propose HyperNetwork in employ statistical properties input data features for computation statistical adaptive maps Then we filter convolution weights of CNNs the learned statistical maps compute dynamic kernels Thereby weights kernels collectively optimized learning of image classification models robust adversarial attacks without employment additional target detection rejection algorithms We empirically demonstrate the proposed method enables CNNs spontaneously defend different types generated Gaussian noise fast gradient sign methodsGoodfellow a blackNarodytska Kasiviswanathan powerful and popular algorithms achieve state Despite the advances the recent architectures BID7 BID16 BID18 BID5 , they discovered fragile to small but carefully directed perturbations images BID17 such the targeted images classified to incorrect categories with while humans correctly the attacked images being or unaware The vulnerability these networks these, so adversarial examples lead undesirable consequences safety-and security-critical applications provide misclassification traffic signs which a significant threat for autonomous driving systems that employ Various adversarial attack methods for neural networks studied numerous works The majority attack methods can catalogued three groups.1 Methods unspecific statistical noise: In input images perturbed salt pepper Since shape parameters distribution functions that noise determined usually easy obtain a highly confident misclassification results BID17 . 2 Gradient based attack methods They high confidence imperceptible adversarial examples within few steps or one-shot gradient based noise Some examples the methods considered this group (Iterative) Fast Gradient Sign Method BID3 BID8 , L-BFGS BID19 Jacobian-based Saliency Map BID12 and DeepFool . These methods require a white-box environment make attacks In the full network architecture weights required accessible obtain gradients towards input images.3. Black-box attack methods These methods assume only the output the networks Substitute networks greedy search of noisy pixels BID11 are considered in It worth methods transferring adversarial examples another network optimized with a sufficient part or the whole training datasets considered a genuine black-box methodIn inspired BID0 BID4 that construct data dependent weights CNNs by improving Our main idea adaptively filter convolution weights of CNNs statistical properties input data features Concretely propose a HyperNetwork to compute statistical adaptive maps these statistical propertiesmean input data features for each input channel Then we obtain data dependent kernels convolution operations by computing Hadamard (element-wise) product computed maps Our main contributions can We propose CNN architecture employ HyperNetworks dynamically data dependent convolution kernels with statistical properties input data features 2 We empirically verify large scale vision dataset demonstrate improved without additional aforementioned computationally complex defense methods or spending effort generate adversarial examples for training In this work propose robustness adversarial attacks data dependent adaptive convolution kernels To this end employ HyperNetworks dynamically data dependent convolution kernels with statistical properties input data features The robustness our proposed method verified 3 different types attack with state CNN models trained the ILSVRC-2012 dataset Moreover the robustness is obtained spontaneously during a normal training progress without losing the original tasks This shed light building practical deep learning systems focus the target without a concern attacker On still uncertainty the mechanism the robustness remains solved the future works Furthermore designing of network architectures employ more powerful HyperNetworks with better adversarial robustness still",0.01,0.38054283298460445 "Adapting deep networks to new concepts from a few examples is challenging, due to the high computational requirements of standard fine-tuning procedures. Most work on few-shot learning has thus focused on simple learning techniques for adaptation, such as nearest neighbours or gradient descent. Nonetheless, the machine learning literature contains a wealth of methods that learn non-deep models very efficiently. In this paper, we propose to use these fast convergent methods as the main adaptation mechanism for few-shot learning. The main idea is to teach a deep network to use standard machine learning tools, such as ridge regression, as part of its own internal model, enabling it to quickly adapt to novel data. This requires back-propagating errors through the solver steps. While normally the cost of the matrix operations involved in such a process would be significant, by using the Woodbury identity we can make the small number of examples work to our advantage. We propose both closed-form and iterative solvers, based on ridge regression and logistic regression components. Our methods constitute a simple and novel approach to the problem of few-shot learning and achieve performance competitive with or superior to the state of the art on three benchmarks. Humans can efficiently perform fast mapping BID7 BID8 , i.e. learning a new concept after a single exposure. By contrast, supervised learning algorithms -and neural networks in particular -typically need to be trained using a vast amount of data in order to generalize well. This requirement is problematic, as the availability of large labelled datasets cannot always be taken for granted. Labels can be costly to acquire: in drug discovery, for instance, campaign budgets often limits researchers to only operate with a small amount of biological data that can be used to form predictions about properties and activities of compounds BID0 . In other circumstances, data itself can be scarce, as it can happen for example with the problem of classifying rare animal species, whose exemplars are not easy to observe. Such a scenario, in which just one or a handful of training examples is provided, is referred to as one-shot or few-shot learning BID28 BID12 BID25 BID18 and has recently seen a tremendous surge in interest within the machine learning community (e.g. ; BID4 ; BID39 ; BID14 ).Currently , most methods tackling few-shot learning operate within the general paradigm of metalearning, which allows one to develop algorithms in which the process of learning can improve with the number of training episodes BID53 BID57 . This can be achieved by distilling and transferring knowledge across episodes. In practice , for the problem of few-shot classification, meta-learning is often implemented using two ""nested training loops"". The base learner works at the level of individual episodes, which correspond to learning problems characterised by having only a small set of labelled training images available. The meta learner , by contrast, learns from a collection of such episodes, with the goal of improving the performance of the base learner across episodes. Episode N Figure 1 : Diagram of the proposed method for one episode, of which several are seen during meta-training. The task is to learn new classes given just a few sample images per class. In this illustrative example, there are 3 classes and 2 samples per class, making each episode a 3-way, 2-shot classification problem. At the base learning level, learning is accomplished by a differentiable ridge regression layer (R.R.), which computes episode-specific weights (referred to as w E in Section 3.1 and as W in Section 3.2). At the meta-training level, by back-propagating errors through many of these small learning problems, we train a network whose weights are shared across episodes, together with the hyper-parameters of the R.R. layer. In this way, the R.R. base learner can improve its learning capabilities as the number of experienced episodes increases.Clearly, in any meta-learning algorithm, it is of paramount importance to choose the base learner carefully. On one side of the spectrum , methods related to nearest-neighbours, such as learning similarity functions BID23 BID48 , are fast but rely solely on the quality of the similarity metric, with no additional data-dependent adaptation at test-time. On the other side of the spectrum , methods that optimize standard iterative learning algorithms, such as backpropagating through gradient descent BID14 BID35 or explicitly learning the learner's update rule BID1 BID39 , are slower but allow more adaptability to different problems/datasets.In this paper, we take a different perspective. As base learners, we propose to adopt simple learning algorithms that admit a closed-form solution such as ridge regression. Crucially, the simplicity and differentiability of these solutions allow us to backpropagate through learning problems. Moreover, these algorithms are particularly suitable for use within a meta-learning framework for few-shot classification for two main reasons. First, their closed-form solution allows learning problems to be solved efficiently. Second, in a data regime characterized by few examples of high dimensionality, the Woodbury's identity (Petersen et al., 2008, Chapter 3.2) can be used to obtain a very significant gain in terms of computational speed.We demonstrate the strength of our approach by performing extensive experiments on Omniglot (Lake et al., 2015), CIFAR-100 BID24 ) (adapted to the few-shot problem) and miniImageNet . Our base learners are fast, simple to implement, and can achieve performance that is competitive with or superior to the state of the art in terms of accuracy. With the aim of allowing efficient adaptation to unseen learning problems, in this paper we explored the feasibility of incorporating fast solvers with closed-form solutions as the base learning component of a meta-learning system. Importantly, the use of the Woodbury identity allows significant computational gains in a scenario presenting only a few samples with high dimensionality, like one-shot of few-shot learning. R2-D2, the differentiable ridge regression base learner we introduce, is almost as fast as prototypical networks and strikes a useful compromise between not performing adaptation for new episodes (like metric-learning-based approaches) and conducting a costly iterative approach (like MAML or LSTM-based meta-learners). In general, we showed that our base learners work remarkably well, with excellent results on few-shot learning benchmarks, generalizing to episodes with new classes that were not seen during training. We believe that our findings point in an exciting direction of more sophisticated yet efficient online adaptation methods, able to leverage the potential of prior knowledge distilled in an offline training phase. In future work, we would like to explore Newton's methods with more complicated second-order structure than ridge regression. Contributions within the few-shot learning paradigm. In this work, we evaluated our proposed methods R2-D2 and LR-D2 in the few-shot learning scenario BID12 BID25 BID39 BID18 , which consists in learning how to discriminate between images given one or very few examples. For methods tackling this problem, it is common practice to organise the training procedure in two nested loops. The inner loop is used to solve the actual few-shot classification problem, while the outer loop serves as a guidance for the former by gradually modifying the inductive bias of the base learner BID57 . Differently from standard classification benchmarks, the few-shot ones enforce that classes are disjoint between dataset splits.In the literature (e.g. ), the very small classification problems with unseen classes solved within the inner loop have often been referred to as episodes or tasks. Considering the general few-shot learning paradigm just described, methods in the recent literature mostly differ for the type of learner they use in the inner loop and the amount of per-episode adaptability they allow. For example, at the one end of the spectrum in terms of ""amount of adaptability"", we can find methods such as MAML Finn et al. (2017) , which learns how to efficiently fine-tune the parameters of a neural-network with few iterations of SGD. On the other end, we have methods based on metric learning such as prototypical networks BID48 and relation network BID50 , which are fast but do not perform adaptation. Note that the amount of adaptation to a new episode (i.e.a new classification problem with unseen classes) is not at all indicative of the performance in few-shot learning benchmarks. As a matter of fact, both BID48 and BID50 achieve higher accuracy than MAML. Nonetheless, adaptability is a desirable property, as it allows more design flexibility.Within this landscape, our work proposes a novel technique (R2-D2) that does allow per-episode adaptation while at the same time being fast TAB6 ) and achieving strong performance TAB0 . The key innovation is to use a simple (and differentiable) solver such as ridge regression within the inner loop, which requires back-propagating through the solution of a learning problem. Crucially, its closed-form solution and the use of the Woodbury identity (particularly advantageous in the low data regime) allow this non-trivial endeavour to be efficient. We further demonstrate that this strategy is not limited to the ridge regression case, but it can also be extended to other solvers (LR-D2) by dividing the problem into a short series of weighted least squares problems ( (Murphy, 2012, Chapter 8.3.4",1871,0.992,1092,1.7133699633699633,"Adapting deep networks new concepts from a few examples challenging due standard fine-tuning procedures Most work few-shot learning has thus focused simple learning techniques adaptation nearest neighbours gradient descent Nonetheless the machine learning literature contains methods learn non-deep models very In these fast convergent methods as the main adaptation mechanism few-shot learning The main idea teach a deep network use standard machine learning tools ridge regression as part its own internal model enabling quickly adapt novel data This requires back-propagating errors through the solver steps While normally the cost the matrix operations involved significant by the Woodbury identity we the small number examples work to We propose both closed-form and iterative solvers ridge regression logistic regression components Our methods constitute few-shot learning achieve performance competitive or superior the state on three benchmarks Humans efficiently perform fast mapping BID7 BID8 , learning after By contrast supervised learning algorithms -and in need well This requirement problematic the availability large labelled datasets taken Labels can costly acquire: in drug discovery campaign budgets limits researchers operate biological data that form predictions properties activities compounds BID0 . In other circumstances data itself scarce happen for the problem classifying rare animal species whose exemplars easy observe Such a scenario just training examples provided referred oneshot or few learning BID28 BID12 BID25 BID18 and recently seen within ( ; BID4 ;.Currently , most methods tackling operate within metalearning allows develop algorithms which improve episodes BID53 This can achieved distilling transferring knowledge across episodes In practice , for the problem few-shot classification meta-learning implemented two ""nested training loops The base learner works the level individual episodes correspond learning problems characterised having labelled training images available The meta learner , by contrast learns a collection such episodes across Episode N Figure : Diagram the proposed method one episode of several seen during meta-training The task learn new classes given just a few sample images per In there 3 classes and 2 samples per making each episode 3,shot classification problem At the base learning level learning accomplished a differentiable ridge regression layer episode-specific weightsreferred w E in Section and At the meta-training level by back-propagating errors through many of these small learning problems train a network whose weights shared episodes together the hyper the R.R. layer In this way the R.R. base learner improve its learning capabilities experienced episodes increasesClearly in any meta-learning algorithm of choose carefully On , methods related learning similarity functions BID23 BID48 fast but rely solely the quality the similarity metric with no additional data-dependent adaptation at test-time On , methods optimize standard iterative learning through BID14 BID35 explicitly the learner's update rule slower allow different problems/In take As base learners propose adopt simple learning algorithms admit a closed-form solution such ridge regression Crucially the simplicity differentiability these solutions allow backpropagate through learning problems Moreover these algorithms particularly suitable use within few-shot classification for two main reasons First their closed-form solution allows learning problems efficiently Second a data regime characterized few examples high dimensionality the Woodbury's identity ( Chapter obtain a very significant gain terms computational speedWe demonstrate the strength performing extensive experiments Omniglot 2015 CIFAR-100 BID24 )adapted to the few-shot problem miniImageNet . Our base learners fast, simple implement achieve performance competitive or superior the state terms accuracy With the aim allowing efficient adaptation unseen learning problems in explored incorporating fast solvers closed-form solutions as the base learning component Importantly the Woodbury identity allows significant computational gains a scenario presenting with high dimensionality like one-shot of few-shot learning the differentiable ridge regression base learner we introduce almost fast prototypical networks strikes a useful compromise not performing adaptation for new episodes metric-learning-based approaches conducting MAML In general showed our base learners work remarkably excellent results few-shot learning benchmarks generalizing episodes new classes seen training We believe our findings point of more sophisticated yet efficient online adaptation methods able leverage prior knowledge distilled an offline training phase In future work explore Newton's methods with more complicated second-order structure than ridge regression Contributions within the few-shot learning paradigm. In this work evaluated our proposed methods R2-D2 the few-shot learning scenario BID12 BID25 BID39 BID18 , consists in how discriminate images given one or very few examples For methods tackling organise the training procedure two nested loops The inner loop used solve the actual few-shot classification problem while serves a guidance former by gradually modifying the inductive bias the base learner BID57 . Differently standard classification benchmarks the few-shot ones enforce classes between dataset splitsIn the literature ( the very small classification problems unseen classes solved within the inner loop often referred episodes tasks Considering the general few-shot learning paradigm just methods in mostly differ for they in the inner loop perepisode adaptability allow For example at the one end in ""amount adaptability methods MAML Finn et al (2017 , which learns the parameters with few iterations SGD On methods based metric learning such prototypical networks BID48 and relation network BID50 , fast adaptation Note the amount adaptation (i.e.a new classification problem with unseen classes at indicative in few-shot learning benchmarks As both BID48 achieve higher accuracy MAML Nonetheless adaptability a desirable property more design flexibilityWithin this landscape our work proposes ( does allow perepisode while being fast TAB6 ) achieving strong performance TAB0 The key innovation simple ( differentiable solver such ridge regression within the inner loop requires back through the solution Crucially its closed-form solution and the use the Woodbury identity (particularly advantageous the low data regime efficient We further demonstrate this strategy the ridge regression case it other solvers (LR-D2 by dividing weighted least squares problems ( (Murphy 2012, Chapter",0.01,0.5216831603507924 "While many active learning papers assume that the learner can simply ask for a label and receive it, real annotation often presents a mismatch between the form of a label (say, one among many classes), and the form of an annotation (typically yes/no binary feedback). To annotate examples corpora for multiclass classification, we might need to ask multiple yes/no questions, exploiting a label hierarchy if one is available. To address this more realistic setting, we propose active learning with partial feedback (ALPF), where the learner must actively choose both which example to label and which binary question to ask. At each step, the learner selects an example, asking if it belongs to a chosen (possibly composite) class. Each answer eliminates some classes, leaving the learner with a partial label. The learner may then either ask more questions about the same example (until an exact label is uncovered) or move on immediately, leaving the first example partially labeled. Active learning with partial labels requires (i) a sampling strategy to choose (example, class) pairs, and (ii) learning from partial labels between rounds. Experiments on Tiny ImageNet demonstrate that our most effective method improves 26% (relative) in top-1 classification accuracy compared to i.i.d. baselines and standard active learners given 30% of the annotation budget that would be required (naively) to annotate the dataset. Moreover, ALPF-learners fully annotate TinyImageNet at 42% lower cost. Surprisingly, we observe that accounting for per-example annotation costs can alter the conventional wisdom that active learners should solicit labels for hard examples. Given a large set of unlabeled images, and a budget to collect annotations, how can we learn an accurate image classifier most economically? Active Learning (AL) seeks to increase data efficiency by strategically choosing which examples to annotate. Typically, AL treats the labeling process as atomic: every annotation costs the same and produces a correct label. However, large-scale multi-class annotation is seldom atomic; we can't simply ask a crowd-worker to select one among 1000 classes if they aren't familiar with our ontology. Instead, annotation pipelines typically solicit feedback through simpler mechanisms such as yes/no questions. For example, to construct the 1000-class ImageNet dataset, researchers first filtered candidates for each class via Google Image Search, then asking crowd-workers questions like ""Is there a Burmese cat in this image?"" BID5 . For tasks where the Google trick won't work, we might exploit class hierarchies to drill down to the exact label. Costs scale with the number of questions asked. Thus, real-world annotation costs can vary per example BID24 .We propose Active Learning with Partial Feedback (ALPF), asking, can we cut costs by actively choosing both which examples to annotate, and which questions to ask? Say that for a new image, our current classifier places 99% of the predicted probability mass on various dog breeds. Why start at the top of the tree -""is this an artificial object?"" -when we can cut costs by jumping straight to dog breeds ( FIG0 )? ALPF proceeds as follows: In addition to the class labels, the learner possesses a pre-defined collection of composite classes, e.g. dog ⊃ bulldog, mastiff, .... At each round, the learner selects an (example, class) pair. The annotator responds with binary feedback, leaving the learner with a partial label. If only the atomic class label remains, the learner has obtained an exact label. For simplicity, we focus on hierarchically-organized collections-trees with atomic classes as leaves and composite classes as internal nodes. For this to work, we need a hierarchy of concepts familiar to the annotator. Imagine asking an annotator ""is this a foo?"" where foo represents a category comprised of 500 random ImageNet classes. Determining class membership would be onerous for the same reason that providing an exact label is: It requires the annotator be familiar with an enormous list of seemingly-unrelated options before answering. On the other hand , answering ""is this an animal?"" is easy despite animal being an extremely coarse-grained category -because most people already know what an animal is.We use active questions in a few ways. To start, in the simplest setup, we can select samples at random but then once each sample is selected, choose questions actively until finding the label:ML: ""Is it a dog?"" Human: Yes! ML: ""Is it a poodle ?"" Human: No! ML: ""Is it a hound ?"" Human: Yes! ML: "" Is it a Rhodesian ?"" Human: No! ML: ""Is it a Dachsund ?"" Human: Yes!In ALPF, we go one step further. Since our goal is to produce accurate classifiers on tight budget, should we necessarily label each example to completion? After each question, ALPF learners have the option of choosing a different example for the next binary query. Efficient learning under ALPF requires (i) good strategies for choosing (example , class) pairs, and (ii) techniques for learning from the partially-labeled data that results when labeling examples to completion isn't required.We first demonstrate an effective scheme for learning from partial labels. The predictive distribution is parameterized by a softmax over all classes. On a per-example basis, we convert the multiclass problem to a binary classification problem, where the two classes correspond to the subsets of potential and eliminated classes. We determine the total probability assigned to potential classes by summing over their softmax probabilities. For active learning with partial feedback, we introduce several acquisition functions for soliciting partial labels, selecting questions among all (example, class) pairs. One natural method, expected information gain (EIG) generalizes the classic maximum entropy heuristic to the ALPF setting. Our two other heuristics, EDC and ERC, select based on the number of labels that we expect to see eliminated from and remaining in a given partial label, respectively.We evaluate ALPF learners on CIFAR10, CIFAR100, and Tiny ImageNet datasets. In all cases, we use WordNet to impose a hierarchy on our labels. Each of our experiments simulates rounds of active learning, starting with a small amount of i. 2 ACTIVE LEARNING WITH PARTIAL FEEDBACK By x ∈ R d and y ∈ Y for Y = {{1}, ..., {k}}, we denote feature vectors and labels. Here d is the feature dimension and k is the number of atomic classes . By atomic class, we mean that they are indivisible. As in conventional AL, the agent starts off with an unlabeled training set D = {x 1 , ..., x n }.Composite classes We also consider a pre-specified collection of composite classes C = {c 1 , ..., c m }, where each composite class c i ⊂ {1, ..., k} is a subset of labels such that |c i | ≥ 1. Note that C includes both the atomic and composite classes. In this paper's empirical section, we generate composite classes by imposing an existing lexical hierarchy on the class labels BID19 . Our experiments validate the active learning with partial feedback framework on large-scale classification benchmarks. The best among our proposed ALPF learners fully labels the data with 42% fewer binary questions as compared to traditional active learners. Our diagnostic analysis suggests that in ALPF, it's sometimes more efficient to start with ""easier"" examples that can be cheaply annotated rather than with ""harder"" data as often suggested by traditional active learning.A WARM-STARTING PLOT ALPF -ERC -0% ALPF -ERC -5% ALPF -ERC -10% FIG4 : This plot compares our models under various amounts of warm-starting with pre-labeled i.i.d. data. We find that on the investigated datasets, ERC does benefit from warm-starting. However, absent warm-starting, EIG performs significantly worse and EDC suffers even more. We find that 5% warmstarting helps these two models and that for both, increasing warm-starting from 5% up to 10% does not lead to further improvements.",1645,0.957,971,1.694129763130793,"While many active learning papers assume ask a label receive real annotation often presents (say one among many classestypically yes/no binary feedback To annotate examples corpora for multiclass classification might ask multiple yes exploiting a label hierarchy if one To address this more realistic setting propose active learning partial feedbackALPF must actively both which example label binary question At each step selects asking belongs a chosen (possibly composite) class Each answer eliminates some classes leaving a partial label The learner then either ask the same exampleuntil an exact label uncovered move immediately leaving partially labeled Active learning with partial labels requires ( a sampling strategy choose (example, class) pairs learning between rounds Experiments Tiny ImageNet demonstrate our most effective method improves 26% (relative in top-1 classification accuracy standard active learners given 30% the annotation budget that (naively Moreover ALPF-learners fully annotate TinyImageNet at 42% lower cost Surprisingly observe accounting perexample annotation costs alter active learners solicit labels hard examples Given a large set a budget to collect annotations how learn an accurate image classifier most economically Active Learning seeks data efficiency strategically choosing which examples Typically AL treats the labeling process atomic: every annotation costs and produces However large-scale multi-class annotation seldom atomic; ask a crowd-worker select among 1000 classes if are familiar our ontology Instead annotation pipelines typically solicit feedback simpler mechanisms yes For example to construct the 1000-class ImageNet dataset researchers filtered candidates via asking crowd-workers questions BID5 . For tasks where the Google trick wo might exploit class hierarchies drill the exact label Costs scale questions Thus real-world annotation costs per example BID24 .We propose Active Learning Partial FeedbackALPF asking, can cut costs actively choosing both which examples questions Say that for a new image our current classifier places 99% the predicted probability mass various dog breeds Why start at -""is an artificial object -when cut costs jumping dog breeds FIG0 ALPF proceeds as follows In the class labels possesses composite classes dog � bulldog .... At each round the learner selects an (example, class) pair The annotator responds binary feedback leaving a partial label If only the atomic class label remains the learner obtained an exact label For simplicity focus hierarchically-organized collections-trees atomic classes as leaves composite classes internal nodes For this to a hierarchy concepts familiar the annotator Imagine asking an annotator ""is a foo where foo represents comprised 500 random ImageNet classes Determining class membership would providing an exact label: the annotator be an enormous list seemingly-unrelated options before answering On , answeringis an animal easy despite animal being coarse- category -because alreadyWe use active questions To start in the simplest setup select samples at but once choose questions actively until finding the label:ML ""Is Human! ML Is a Rhodesian a Dachsund Yes!In ALPF go one Since our goal produce accurate classifiers on tight budget should necessarily label each example to completion After each question ALPF learners a different example the next binary query Efficient learning under ALPF requires ( good strategies choosing (example , class) pairs techniques that results when labeling examples completion isWe first demonstrate an effective scheme The predictive distribution parameterized a softmax over all classes On perexample convert the multiclass problem correspond potential and eliminated classes We determine assigned potential classes over their softmax probabilities For active learning with partial feedback introduce several acquisition functions soliciting partial labels selecting questions among all (example, class) pairs One natural method, expected information gain generalizes classic maximum heuristic the ALPF setting Our two other heuristics EDC select based labels expect eliminated and remaining a given partial labelWe evaluate ALPF learners CIFAR10 Tiny ImageNet datasets In all cases use WordNet impose a hierarchy our labels Each our experiments rounds active learning starting i. 2 ACTIVE WITH PARTIAL FEEDBACK By x �� R d and y �� Y for Y = {{ ...k we denote feature vectors labels Here d is the feature dimension k atomic classes . By atomic class they As in conventional AL, the agent starts D = { 1 ....Composite classes We consider c i ��� {1 k labels such |c ≥ Note C includes both the atomic and composite classes In this paper's empirical section generate composite classes by imposing an existing lexical hierarchy labels BID19 . Our experiments validate the active learning with partial feedback framework on large classification benchmarks best among our proposed ALPF learners fully labels with 42% fewer binary questions as traditional active learners Our diagnostic analysis suggests in ALPF it's sometimes start ""easier"" examples cheaply rather with as often suggested traditional active learningA WARM-STARTING PLOT ALPF -ERC -0% FIG4 : This plot our models under various amounts warm-starting with pre We find on the investigated datasets ERC does benefit warm-starting However absent warmstarting EIG performs significantly and EDC We find 5% warmstarting helps these two models and for increasing- up further improvements",0.01,0.47266082056689634 "Despite their prevalence, Euclidean embeddings of data are fundamentally limited in their ability to capture latent semantic structures, which need not conform to Euclidean spatial assumptions. Here we consider an alternative, which embeds data as discrete probability distributions in a Wasserstein space, endowed with an optimal transport metric. Wasserstein spaces are much larger and more flexible than Euclidean spaces, in that they can successfully embed a wider variety of metric structures. We propose to exploit this flexibility by learning an embedding that captures the semantic information in the Wasserstein distance between embedded distributions. We examine empirically the representational capacity of such learned Wasserstein embeddings, showing that they can embed a wide variety of complex metric structures with smaller distortion than an equivalent Euclidean embedding. We also investigate an application to word embedding, demonstrating a unique advantage of Wasserstein embeddings: we can directly visualize the high-dimensional embedding, as it is a probability distribution on a low-dimensional space. This obviates the need for dimensionality reduction techniques such as t-SNE for visualization. Learned embeddings form the basis for many state-of-the-art learning systems. Word embeddings like word2vec BID34 , GloVe BID42 , fastText BID5 , and ELMo BID43 are ubiquitous in natural language processing, where they are used for tasks like machine translation BID38 , while graph embeddings BID41 like node2vec BID21 are used to represent knowledge graphs and pre-trained image models BID47 appear in many computer vision pipelines.An effective embedding should capture the semantic structure of the data with high fidelity, in a way that is amenable to downstream tasks. This makes the choice of a target space for the embedding important, since different spaces can represent different types of semantic structure. The most common choice is to embed data into Euclidean space, where distances and angles between vectors encode their levels of association BID34 BID56 BID27 BID36 . Euclidean spaces, however, are limited in their ability to represent complex relationships between inputs, since they make restrictive assumptions about neighborhood sizes and connectivity. This drawback has been documented recently for tree-structured data, for example, where spaces of negative curvature are required due to exponential scaling of neighborhood sizes BID39 BID49 .In this paper, we embed input data as probability distributions in a Wasserstein space. Wasserstein spaces endow probability distributions with an optimal transport metric, which measures the distance traveled in transporting the mass in one distribution to match another. Recent theory has shown that Wasserstein spaces are quite flexible-more so than Euclidean spaces-allowing a variety of other metric spaces to be embedded within them while preserving their original distance metrics. As such, they make attractive targets for embeddings in machine learning, where this flexibility might capture complex relationships between objects when other embeddings fail to do so.Unlike prior work on Wasserstein embeddings, which has focused on embedding into Gaussian distributions BID37 BID58 , we embed input data as discrete distributions supported at a fixed number of points. In doing so, we attempt to access the full flexibility of Wasserstein spaces to represent a wide variety of structures.Optimal transport metrics and their gradients are costly to compute, requiring the solution of a linear program. For efficiency , we use an approximation to the Wasserstein distance called the Sinkhorn divergence BID15 , in which the underlying transport problem is regularized to make it more tractable. While less well-characterized theoretically with respect to embedding capacity, the Sinkhorn divergence is computed efficiently by a fixed-point iteration. Moreover, recent work has shown that it is suitable for gradient-based optimization via automatic differentiation BID20 . To our knowledge, our work is the first to explore embedding properties of the Sinkhorn divergence.We empirically investigate two settings for Wasserstein embeddings. First, we demonstrate their representational capacity by embedding a variety of complex networks, for which Wasserstein embeddings achieve higher fidelity than both Euclidean and hyperbolic embeddings. Second, we compute Wasserstein word embeddings , which show retrieval performance comparable to existing methods. One major benefit of our embedding is that the distributions can be visualized directly, unlike most embeddings, which require a dimensionality reduction step such as t-SNE before visualization. We demonstrate the power of this approach by visualizing the learned word embeddings. Several characteristics determine the value and effectiveness of an embedding space for representation learning. The space must be large enough to embed a variety of metrics, while admitting a mathematical description compatible with learning algorithms; additional features, including direct interpretability, make it easier to understand, analyze, and potentially debug the output of a representation learning procedure. Based on their theoretical properties, Wasserstein spaces are strong candidates for representing complex semantic structures, when the capacity of Euclidean space does not suffice. Empirically, entropy-regularized Wasserstein distances are effective for embedding a wide variety of semantic structures, while enabling direct visualization of the embedding.Our work suggests several directions for additional research. Beyond simple extensions like weighting points in the point cloud, one observation is that we can lift nearly any representation space X to distributions over that space W(X ) represented as point clouds; in this paper we focused on the case X = R n . Since X embeds within W(X ) using δ-functions, this might be viewed as a general ""lifting"" procedure increasing the capacity of a representation. We can also consider other tasks, such as co-embedding of different modalities into the same transport space. Additionally, our empirical results suggest that theoretical study of the embedding capacity of Sinkhorn divergences may be profitable. Finally, following recent work on computing geodesics in Wasserstein space BID45 , it may be interesting to invert the learned mappings and use them for interpolation.",1127,0.619,666,1.6921921921921923,"Despite their prevalence Euclidean embeddings data fundamentally limited latent semantic structures need conform Here consider embeds data as discrete probability distributions a Wasserstein space endowed an optimal transport metric Wasserstein spaces much flexible in successfully embed metric structures We propose exploit this flexibility learning an that captures the Wasserstein distance embedded distributions We examine empirically the representational capacity such learned Wasserstein embeddings showing embed complex metric structures with smaller distortion We also investigate an application word demonstrating a unique advantage we directly visualize, a probability distribution on This obviates dimensionality reduction techniques t-SNE visualization Learned embeddings form state learning Word embeddings like word2vec BID34 , GloVe BID42 fastText ELMo BID43 ubiquitous where tasks BID38 while like knowledge graphs pre-trained image models appear many computer vision pipelinesAn effective should capture with in amenable downstream tasks This makes the choice a target space embedding important since different spaces represent semantic structure The most common choice embed data distances between vectors encode their levels association BID34 BID56 BID27 BID36 Euclidean spaces however limited represent complex relationships inputs since make restrictive assumptions neighborhood sizes connectivity This drawback documented recently for tree-structured data for where spaces of negative curvature required due exponential scaling neighborhood sizes BID39 BID49 .In embed input data probability distributions a Wasserstein space Wasserstein spaces endow probability distributions an optimal transport metric measures traveled transporting in one distribution match Recent theory shown Wasserstein spaces quite flexible-moreallowing other metric spaces embedded while their original distance metrics As such they make attractive targets embeddings machine learning where this flexibility might capture complex relationships objects when failUnlike prior work has into Gaussian distributions BID37 BID58 embed input data discrete distributions supported at In doing attempt access the full flexibility Wasserstein spaces to represent structuresOptimal transport metrics their gradients costly requiring the solution a linear program For efficiency , an approximation the Wasserstein distance called the Sinkhorn divergence BID15 the underlying transport problem regularized make While lesscharacterized theoretically with embedding capacity the Sinkhorn divergence computed efficiently a fixed-point iteration Moreover recent work it suitable gradient-based optimization via automatic differentiation BID20 . To our knowledge our work explore embedding properties the Sinkhorn divergenceWe empirically investigate two settings Wasserstein embeddings First demonstrate their representational capacity a variety complex networks for Wasserstein embeddings achieve higher fidelity both Second compute Wasserstein word embeddings , show retrieval performance comparable existing methods One major benefit our embedding the distributions directly unlike a dimensionality reduction step such t-SNE before visualization We demonstrate this approach the learned word embeddings Several characteristics determine effectiveness an embedding space representation learning The space must large embed a variety metrics while admitting a mathematical description compatible learning algorithms; additional features direct interpretability make analyze potentially debug the output a representation learning procedure Based their theoretical properties Wasserstein spaces strong candidates representing complex semantic structures when the capacity does suffice entropy-regularized Wasserstein distances effective embedding semantic structures while enabling direct visualization.Our work several directions additional research Beyond simple extensions weighting points the point cloud one observation we lift nearly any representation space X distributions over W(X ) represented as point clouds; focused X = R n Since X embeds within W(X ) using ��-functions might viewed a general ""lifting"" procedure increasing a representation We consider other tasks coembedding of different modalities the same transport space Additionally our empirical results theoretical study the embedding capacity Sinkhorn divergences profitable Finally following recent work computing geodesics Wasserstein space BID45 , may interesting invert the learned mappings interpolation",0.01,0.4677240600484631 "Clustering high-dimensional datasets is hard because interpoint distances become less informative in high-dimensional spaces. We present a clustering algorithm that performs nonlinear dimensionality reduction and clustering jointly. The data is embedded into a lower-dimensional space by a deep autoencoder. The autoencoder is optimized as part of the clustering process. The resulting network produces clustered data. The presented approach does not rely on prior knowledge of the number of ground-truth clusters. Joint nonlinear dimensionality reduction and clustering are formulated as optimization of a global continuous objective. We thus avoid discrete reconfigurations of the objective that characterize prior clustering algorithms. Experiments on datasets from multiple domains demonstrate that the presented algorithm outperforms state-of-the-art clustering schemes, including recent methods that use deep networks. Clustering is a fundamental procedure in machine learning and data analysis. Well-known approaches include center-based methods and their generalizations BID2 BID26 , and spectral methods BID20 BID34 . Despite decades of progress, reliable clustering of noisy high-dimensional datasets remains an open problem. High dimensionality poses a particular challenge because assumptions made by many algorithms break down in high-dimensional spaces BID1 BID3 BID24 .There are techniques that reduce the dimensionality of data by embedding it in a lower-dimensional space . Such general techniques, based on preserving variance or dissimilarity, may not be optimal when the goal is to discover cluster structure. Dedicated algorithms have been developed that combine dimensionality reduction and clustering by fitting low-dimensional subspaces BID14 BID31 . Such algorithms can achieve better results than pipelines that first apply generic dimensionality reduction and then cluster in the reduced space. However, frameworks such as subspace clustering and projected clustering operate on linear subspaces and are therefore limited in their ability to handle datasets that lie on nonlinear manifolds.Recent approaches have sought to overcome this limitation by constructing a nonlinear embedding of the data into a low-dimensional space in which it is clustered BID7 BID36 BID38 . Ultimately, the goal is to perform nonlinear embedding and clustering jointly, such that the embedding is optimized to bring out the latent cluster structure. These works have achieved impressive results. Nevertheless, they are based on classic center-based, divergencebased, or hierarchical clustering formulations and thus inherit some limitations from these classic methods. In particular, these algorithms require setting the number of clusters a priori. And the optimization procedures they employ involve discrete reconfigurations of the objective, such as discrete reassignments of datapoints to centroids or merging of putative clusters in an agglomerative procedure. Thus it is challenging to integrate them with an optimization procedure that modifies the embedding of the data itself.We seek a procedure for joint nonlinear embedding and clustering that overcomes some of the limitations of prior formulations. There are a number of characteristics we consider desirable. First, we wish to express the joint problem as optimization of a single continuous objective. Second, this optimization should be amenable to scalable gradient-based solvers such as modern variants of SGD. Third, the formulation should not require setting the number of clusters a priori, since this number is often not known in advance.While any one of these desiderata can be fulfilled by some existing approaches, the combination is challenging. For example, it has long been known that the k-means objective can be optimized by SGD BID5 . But this family of formulations requires positing the number of clusters k in advance. Furthermore, the optimization is punctuated by discrete reassignments of datapoints to centroids, and is thus hard to integrate with continuous embedding of the data.In this paper, we present a formulation for joint nonlinear embedding and clustering that possesses all of the aforementioned desirable characteristics. Our approach is rooted in Robust Continuous Clustering (RCC), a recent formulation of clustering as continuous optimization of a robust objective BID22 . The basic RCC formulation has the characteristics we seek , such as a clear continuous objective and no prior knowledge of the number of clusters. However, integrating it with deep nonlinear embedding is still a challenge. For example, Shah & Koltun (2017) presented a formulation for joint linear embedding and clustering (RCC-DR), but this formulation relies on a complex alternating optimization scheme with linear least-squares subproblems, and does not apply to nonlinear embeddings.We present an integration of the RCC objective with dimensionality reduction that is simpler and more direct than RCC-DR, while naturally handling deep nonlinear embeddings. Our formulation avoids alternating optimization and the introduction of auxiliary dual variables. A deep nonlinear embedding of the data into a low-dimensional space is optimized while the data is clustered in the reduced space. The optimization is expressed by a global continuous objective and conducted by standard gradient-based solvers.The presented algorithm is evaluated on high-dimensional datasets of images and documents. Experiments demonstrate that our formulation performs on par or better than state-of-the-art clustering algorithms across all datasets. This includes recent approaches that utilize deep networks and rely on prior knowledge of the number of ground-truth clusters. Controlled experiments confirm that joint dimensionality reduction and clustering is more effective than a stagewise approach, and that the high accuracy achieved by the presented algorithm is stable across different dimensionalities of the latent space. We have presented a clustering algorithm that combines nonlinear dimensionality reduction and clustering. Dimensionality reduction is performed by a deep network that embeds the data into a lower-dimensional space. The embedding is optimized as part of the clustering process and the resulting network produces clustered data. The presented algorithm does not rely on a priori knowledge of the number of ground-truth clusters. Nonlinear dimensionality reduction and clustering are performed by optimizing a global continuous objective using scalable gradient-based solvers.B CONVOLUTIONAL NETWORK ARCHITECTURE TAB4 summarizes the architecture of the convolutional encoder used for the convolutional configuration of DCC. Convolutional kernels are applied with a stride of two. The encoder is followed by a fully-connected layer with output dimension d and a convolutional decoder with kernel size that matches the output dimension of conv5. The decoder architecture mirrors the encoder and the output from each layer is appropriately zero-padded to match the input size of the corresponding encoding layer. All convolutional and transposed convolutional layers are followed by batch normalization and rectified linear units BID12 BID18 . C HYPERPARAMETERS DCC uses three hyperparameters: the nearest neighbor graph (mkNN) parameter k, the embedding dimensionality d, and the update period M for graduated nonconvexity. For fair comparison to RCC and RCC-DR, we fix k = 10 (the setting used in BID22 ). The other two hyperparameters were set to d = 10 and M = 20 based on grid search on MNIST. The hyperparameters are fixed at these values across all datasets. No dataset-specific tuning is done. However, note that the hyperparameter M is architecture-specific. We set M = 10 for convolutional autoencoders and it is varied for varying dimensionality d during the controlled experiment reported in FIG1 . The other hyperparameters such as λ, δ i , µ i are set automatically as described in Sections 3.2 and 3.3 and in BID22 . DISPLAYFORM0",1433,0.958,848,1.6898584905660377,"Clustering high-dimensional datasets hard interpoint distances become less informative We present performs nonlinear dimensionality reduction jointly The data embedded a lower-dimensional space The autoencoder optimized as part The resulting network produces clustered data The presented approach does prior knowledge the number ground-truth clusters Joint nonlinear dimensionality reduction are formulated optimization a global continuous objective We thus avoid discrete reconfigurations the objective that characterize prior clustering algorithms Experiments datasets multiple domains demonstrate the presented algorithm state schemes recent methods deep networks Clustering a fundamental procedure Well-known approaches include center-based methods their generalizations BID2 BID26 , spectral methods Despite decades progress reliable clustering noisy high-dimensional datasets High dimensionality poses because assumptions made many algorithms break BID1 .There techniques reduce . Such general techniques based preserving variance or optimal the goal discover cluster structure Dedicated algorithms combine dimensionality reduction by fitting low-dimensional subspaces BID14 BID31 . Such algorithms achieve pipelines first apply generic dimensionality reduction cluster the reduced space However frameworks subspace clustering projected linear subspaces limited handle datasets lieRecent approaches sought constructing embedding of in it clustered BID7 BID36 BID38 Ultimately perform nonlinear embedding jointly such optimized bring the latent cluster structure These works achieved Nevertheless they based classic centerbased, divergencebased or hierarchical clustering formulations and thus inherit some limitations these classic methods In particular these algorithms require setting clusters a priori And the optimization procedures they involve discrete reconfigurations the objective discrete reassignments centroids merging putative clusters in Thus challenging integrate them an optimization procedure modifies itselfWe seek joint nonlinear clustering overcomes some prior formulations There characteristics we consider desirable First wish the joint problem as optimization a single continuous objective Second this optimization should amenable scalable gradient-based solvers such modern variants SGD Third the formulation should require setting clusters a this numberWhile any one fulfilled some existing approaches the combination is challenging For example it has long the k-means objective can optimized SGD BID5 . But this family formulations requires positing the number clusters k advance Furthermore the optimization punctuated discrete reassignments centroids is hard integrate continuous embeddingIn a formulation joint nonlinear and possesses all the aforementioned desirable characteristics Our approach rooted Robust Continuous ClusteringRCC a recent formulation as continuous optimization a robust objective BID22 The basic RCC formulation has the characteristics we seek , a clear continuous objective no prior knowledge the number clusters However integrating it deep nonlinear embedding For example Shah & Koltun (2017 presented a formulation joint linear embeddingRCC-DR but relies a complex alternating optimization scheme applyWe an integration the RCC objective dimensionality reduction that simpler direct while naturally handling Our formulation avoids alternating optimization the introduction auxiliary dual variables A deep nonlinear embedding optimized while clustered the reduced space The optimization expressed a global continuous objective and conducted standard gradient-based solversThe presented algorithm evaluated images documents Experiments demonstrate our formulation performs on par or state clustering across all datasets This includes recent approaches utilize deep networks rely prior knowledge the number ground-truth clusters Controlled experiments confirm that joint dimensionality reduction and clustering more a stagewise approach the high accuracy achieved the presented algorithm stable different dimensionalities the latent space We presented combines nonlinear dimensionality reduction Dimensionality reduction performed a deep network that embedding is optimized as the resulting network produces clustered data The presented algorithm does rely ground-truth clusters Nonlinear dimensionality reduction are performed optimizing a global continuous objective using scalable gradient-based solversB CONVOLUTIONAL NETWORK ARCHITECTURE TAB4 summarizes the convolutional encoder used DCC Convolutional kernels applied with a stride two The encoder followed a fully-connected layer output dimension d kernel size that matches conv5 The decoder architecture mirrors from each layer appropriately zeropadded match All convolutional and transposed convolutional layers followed batch normalization rectified linear units BID12 BID18 C HYPERPARAMETERS DCC uses the nearest neighbor graph (mkNN) parameter k the embedding dimensionality d the update period M for graduated nonconvexity For fair comparison RCC and fix k = 10the setting BID22 The other two hyperparameters set d 10 M based grid search on MNIST The hyperparameters fixed these values across all datasets No dataset-specific tuning done However note hyperparameter M architecture We set M = 10 it varied varying dimensionality d during the controlled experiment reported FIG1 The other hyperparameters such ��� i µ set automatically as described Sections in BID22 . DISPLAYFORM0",0.01,0.4617779933418041 "Deep convolutional neural networks (CNNs) are deployed in various applications but demand immense computational requirements. Pruning techniques and Winograd convolution are two typical methods to reduce the CNN computation. However, they cannot be directly combined because Winograd transformation fills in the sparsity resulting from pruning. Li et al. (2017) propose sparse Winograd convolution in which weights are directly pruned in the Winograd domain, but this technique is not very practical because Winograd-domain retraining requires low learning rates and hence significantly longer training time. Besides, Liu et al. (2018) move the ReLU function into the Winograd domain, which can help increase the weight sparsity but requires changes in the network structure. To achieve a high Winograd-domain weight sparsity without changing network structures, we propose a new pruning method, spatial-Winograd pruning. As the first step, spatial-domain weights are pruned in a structured way, which efficiently transfers the spatial-domain sparsity into the Winograd domain and avoids Winograd-domain retraining. For the next step, we also perform pruning and retraining directly in the Winograd domain but propose to use an importance factor matrix to adjust weight importance and weight gradients. This adjustment makes it possible to effectively retrain the pruned Winograd-domain network without changing the network structure. For the three models on the datasets of CIFAR-10, CIFAR-100, and ImageNet, our proposed method can achieve the Winograd-domain sparsities of 63%, 50%, and 74%, respectively. Deep convolutional neural networks (CNNs) have been ubiquitously utilized in various application domains. However, their performance comes at the cost of a significant amount of computation which keeps growing over time. As an example, for the ImageNet challenge BID12 , BID5 proposed AlexNet which requires more than 1.1 × 10 9 multiplications. Later, in 2016, the ResNet-152 model BID3 increased the computation cost to 11.3 × 10 9 multiplications. This high computation cost limits the deployment of larger and deeper CNN models.There are two primary methods to reduce the required computation of CNN models: pruning techniques and Winograd/FFT convolution. Pruning removes redundant weight parameters, inducing sparsity into the network. On the other hand, Winograd convolution BID6 and FFT convolution BID10 transform the computation into different domains. The convolution operations can then be replaced by element-wise multiplications. For the typical convolution kernel size of 3 × 3, Winograd convolution can achieve more than twofold speedup over highly optimized spatial convolution algorithms, and typically requires fewer flops than FFT-based approaches BID7 . Therefore, in this paper, we focus on the Winograd convolution.The pruning techniques and Winograd convolution are not directly compatible with each other. Sparse weight matrices, which are generated by pruning, lose most of the sparsity after the Winograd transformation from the spatial (original) domain to the Winograd domain. The remaining sparsity is much lower than what we need for improving computation performance.To increase the Winograd-domain sparsity, BID7 propose to perform pruning and retraining directly on Winograd-domain weights. However, it requires using an extremely small learning rate, e.g., 200x smaller for AlexNet, in retraining and is difficult to be applied to deep networks. Besides, Winograd-ReLU pruning BID9 moves ReLU function into the Winograd domain, which helps increase Winograd-domain sparsity but requires changes in the network structure.In this paper, to further improve the sparsity of Winograd-domain weights without changing the network structure, we propose a new pruning method, spatial-Winograd pruning. It includes two parts: spatial structured pruning and Winograd direct pruning. In spatial structured pruning, we prune the spatial-domain weights in a structured way, in which the structures are designed to transfer the spatial-domain sparsity into the Winograd domain efficiently. After spatial structured pruning, weights of the pruned layers will be converted to and kept in the Winograd domain. Then, for Winograd direct pruning, we perform pruning and retraining entirely in the Winograd domain to improve the sparsity further. This paper makes the following contributions:• We propose a new pruning method, spatial-Winograd pruning. Without changing the network structure, it can achieve higher sparsity in Winograd-domain weights compared with previous methods.• As the first part of spatial-Winograd pruning, we provide a structured pruning method to transfer the spatial-domain sparsity into the Winograd domain efficiently. It can help avoid Winograd-domain retraining in this part and accelerate the pruning process.• In the second part, to perform pruning directly in the Winograd domain, we present a new approach to measuring the importance of each Winograd-domain weight based on its impact on output activations. Also , we propose to use an importance factor matrix to adjust the gradients of Winograd-domain weights, which makes it much faster to retrain deep networks directly in the Winograd domain without changing the network structure. In this paper, we present a new pruning method, spatial-Winograd pruning, to improve the Winograd-domain weight sparsity without changing network structures. It includes two steps: spatial structured pruning and Winograd direct pruning. In spatial structured pruning, we prune the spatial-domain weights based on the internal structure in the Winograd transformation. It can help efficiently transfer the spatial-domain sparsity into the Winograd domain. For Winograd direct pruning, we perform both pruning and retraining in the Winograd domain. An importance factor matrix is proposed to adjust the weight gradients in Winograd retraining, which makes it possible to effectively retrain the Winograd-domain network to regain the original accuracy without changing the network structure. We evaluate spatial-Winograd pruning on three datasets, CIFAR-10, CIFAR-100, ImageNet, and it can achieve the Winograd-domain sparsities of 63%, 50%, and 74%, respectively.",1212,0.691,702,1.7264957264957266," deployed but demand immense computational requirements Pruning techniques Winograd convolution two typical methods reduce the CNN computation However they directly combined because Winograd transformation fills the sparsity resulting pruning Li et al (2017 propose sparse Winograd convolution in weights directly pruned this technique very low learning rates Besides Liu et (2018 move the ReLU function the Winograd domain help increase the weight sparsity but requires changes To achieve a high Winograd-domain weight sparsity without changing network structures propose spatial-Winograd pruning As spatial-domain weights pruned efficiently transfers the Winograd domain avoids Winograd-domain retraining For the next step also perform pruning retraining directly the Winograd domain but propose an importance factor matrix adjust weight importance This adjustment makes effectively retrain the pruned Winograd-domain network without For the three models on the datasets of ImageNet our proposed method can achieve the Winograd-domain sparsities 63% ubiquitously utilized various application domains However their performance comes computation which keeps growing As for the ImageNet challenge BID12 , proposed AlexNet which requires more than 1.1 × 10 9 multiplications Later 2016 the ResNet-152 model BID3 increased the computation cost 11.3 × 10 9 multiplications This high computation cost limits the deployment larger and deeper CNN modelsThere of pruning techniques Winograd/FFT convolution Pruning removes redundant weight parameters inducing sparsity into On Winograd convolution BID6 and transform the computation different domains The convolution operations can then replaced element-wise multiplications For the typical convolution kernel size 3 ×, Winograd convolution can achieve more highly optimized spatial convolution algorithms typically fewer flops BID7 . Therefore focus the Winograd convolution.The pruning techniques and not compatible Sparse weight matrices generated pruning lose most after the Winograd transformation from the spatial (original) domain The remaining sparsity much need improving computation performanceTo increase the Winograd-domain sparsity BID7 propose perform pruning retraining directly However requires using an extremely small learning rate 200x smaller AlexNet in retraining and is difficult be applied deep networks Besides Winograd-ReLU pruning BID9 moves ReLU function helps increase Winograd-domain sparsity but requires changesIn to further without spatial-Winograd pruning It includes two parts spatial structured pruning Winograd direct pruning In spatial structured pruning prune the spatial-domain weights a structured way the structures designed transfer the Winograd domain efficiently After spatial structured pruning weights will converted and kept the Winograd domain Then for Winograd direct pruning perform retraining entirely to the sparsity further This paper makes the following contributions:• spatial-Winograd pruning Without changing the network structure achieve higher sparsity Winograd-domain weights compared previous methods.• As the first part spatial-Winograd pruning provide transfer efficiently It can help avoid Winograd-domain retraining this part and accelerate process.• In to perform directly present measuring the importance based its impact output activations Also , we propose an importance factor matrix adjust Winograd-domain weights makes faster retrain deep networks directly without changing In spatialWinograd pruning the Winograd-domain weight sparsity without network structures It includes two steps spatial structured pruning Winograd direct pruning In spatial structured pruning prune the spatial-domain weights based in the Winograd transformation It can help efficiently transfer the spatial-domain sparsity the Winograd domain For Winograd direct pruning perform both retraining the Winograd domain An importance factor matrix proposed adjust Winograd retraining makes effectively the Winograd-domain network regain the original accuracy without We evaluate spatial-Winograd pruning ImageNet it can achieve the Winograd-domain sparsities 63%",0.01,0.5551264515782985 "In federated learning problems, data is scattered across different servers and exchanging or pooling it is often impractical or prohibited. We develop a Bayesian nonparametric framework for federated learning with neural networks. Each data server is assumed to train local neural network weights, which are modeled through our framework. We then develop an inference approach that allows us to synthesize a more expressive global network without additional supervision or data pooling. We then demonstrate the efficacy of our approach on federated learning problems simulated from two popular image classification datasets. The standard machine learning paradigm involves algorithms that learn from centralized data, possibly pooled together from multiple data sources. The computations involved may be done on a single machine or farmed out to a cluster of machines. However, in the real world, data often lives in silos and amalgamating them may be rendered prohibitively expensive by communication costs, time sensitivity, or privacy concerns. Consider, for instance, data recorded from sensors embedded in wearable devices. Such data is inherently private, can be voluminous depending on the sampling rate of the sensing modality, and may be time sensitive depending on the analysis of interest. Pooling data from many users is technically challenging owing to the severe computational burden of moving large amounts of data, and fraught with privacy concerns stemming from potential data breaches that may expose the user's protected health information (PHI).Federated learning avoids these pitfalls by obviating the need for centralized data and instead designs algorithms that learn from sequestered data sources with different data distributions. To be effective , such algorithms must be able to extract and distill important statistical patterns from various independent local learners coherently into an effective global model without centralizing data. This will allow us to avoid the prohibitively expensive cost of data communication. To achieve this , we develop and investigate a probabilistic federated learning framework with a particular emphasis on training and aggregating neural network models on siloed data.We proceed by training local models for each data source, in parallel. We then match the estimated local model parameters (groups of weight vectors in the case of neural networks) across data sources to construct a global network. The matching, to be formally defined later, is governed by the posterior of a Beta-Bernoulli process (BBP) (Thibaux & Jordan, 2007; Yurochkin et al., 2018) , a Bayesian nonparametric model that allows the local parameters to either match existing global ones or create a new global parameter if existing ones are poor matches. Our construction allows the size of the global network to flexibly grow or shrink as needed to best explain the observed data. Crucially, we make no assumptions about how the data is distributed between the different sources or even about the local learning algorithms. These may be adapted as necessary, for instance to account for non-identically distributed data. Further, we only require communication after the local algorithms have converged. This is in contrast with popular distributed training algorithms that rely on frequent communication between the local machines. Our construction also leads to compressed global models with fewer parameters than the set of all local parameters. Unlike naive ensembles of local models, this allows us to store fewer parameters and leads to more efficient inference at test time, requiring only a single forward pass through the compressed model as opposed to J forward passes, once for each local model. While techniques such as distillation allow for the cost of multiple forward passes to be amortized, training the distilled model itself requires access to data pooled across all sources, a luxury unavailable in our federated learning scenario. In summary, the key question we seek to answer in this paper is the following: given pre-trained neural networks trained locally on non-centralized data, can we learn a compressed federated model without accessing the original data, while improving on the performance of the local networks?The remainder of the paper is organized as follows. We briefly introduce the Beta-Bernoulli process in Section 2 before describing our model for federated learning in Section 3. We thoroughly vet the proposed models and demonstrate the utility of the proposed approach in Section 4. Finally, Section 5 discusses limitations and open questions. In this work we have developed models for matching fully connected networks, and experimentally demonstrated the capabilities of our methodology, particularly when prediction time is limited and communication is expensive. We also observed the importance of convergent local neural networks that serve as inputs to our matching algorithms. Poor quality local neural network weights will affect the quality of the master network. In future work we plan to explore more sophisticated ways to account for uncertainty in the weights of small batches. Additionally, our matching approach is completely unsupervised -incorporating some form of supervised signal may help to improve the performance of the global network when local networks are low quality. Finally, it is of interest to extend our modeling framework to other architectures such as Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs). The permutation invariance necessitating matching inference arises in CNNs too -any permutation of the filters results in same output, however additional bookkeeping is needed due to pooling operations.Ohad Shamir, Nati Srebro, and Tong Zhang. Communication-efficient distributed optimization using an approximate newton-type method. In International conference on machine learning, pp. The goal of maximum a posteriori (MAP) estimation is to maximize posterior probability of the latent variables: global atoms DISPLAYFORM0 and assignments of observed neural network weight estimates to global atoms {B j } J j=1 , given estimates of the batch weights DISPLAYFORM1 arg max DISPLAYFORM2 MAP estimates given matching (Proposition 1 in the main text) First we note that given {B j } it is straightforward to find MAP estimates of {✓ i } based on Gaussian-Gaussian conjugacy: DISPLAYFORM3 where L = max{i : DISPLAYFORM4 . . , J} is the number of active global atoms, which is an (unknown) latent random variable identified by {B j }. For simplicity we assume ⌃ 0 = I 2 0 , ⌃ j = I 2 j and µ 0 = 0.Inference of atom assignment. We can now cast optimization corresponding to (1) with respect to only {B j } J j=1 . Taking natural logarithm we obtain: DISPLAYFORM5 Let us first simplify the first term of (3):1 2 DISPLAYFORM6 We consider an iterative optimization approach: fixing all but one B j we find corresponding optimal assignment, then pick a new j at random and proceed until convergence. In the following we will use notation j to say ""all but j"". Let L j = max{i : B j i,l = 1} denote number of active global weights outside of group j. We now rearrange (4) by partitioning it into i = 1, . . . , L j and i = L j + 1, . . . , L j + L j . We are interested in solving for B j , hence we can modify objective function by subtracting terms independent of B j : DISPLAYFORM7 Now observe that P l B j i,l 2 {0, 1}, i.e. it is 1 if some neuron from batch j is matched to global neuron i and 0 otherwise. Due to this we can rewrite (5) as a linear sum assignment problem: DISPLAYFORM8 Now we consider second term of FORMULA12 : DISPLAYFORM9 First, because we are optimizing for B j , we can ignore log P (B j ). Second, due to exchangeability of batches (i.e. customers of the IBP), we can always consider B j to be the last batch (i.e. last customer of the IBP). Let m j i = P j,l B j i,l denote number of times batch weights were assigned to global atom i outside of group j. We now obtain the following: DISPLAYFORM10 We now rearrange (7) as linear sum assignment problem: DISPLAYFORM11 Combining FORMULA20 and FORMULA25 we arrive at the cost specification for finding B j as minimizer of DISPLAYFORM12 , where: DISPLAYFORM13 This completes the proof of Proposition 2 in the main text. FIG3 illustrates the overall multilayer inference procedure visually, and Algorithm 1 provides the details. Nodes in the graphs indicate neurons, neurons of the same color have been matched. On the left, the individual layer matching approach is shown, consisting of using the matching assignments of the next highest layer to convert the neurons in each of the J servers to weight vectors referencing the global previous layer. These weight vectors are then used to form a cost matrix, which the Hungarian algorithm then uses to do the matching. Finally, the matched neurons are then aggregated and averaged to form the new layer of the global model. As shown on the right, in the multilayer setting the resulting global layer is then used to match the next lower layer, etc. until the bottom hidden layer is reached FIG3 ,... in order).",1827,1.101,1048,1.743320610687023,"In federated learning problems data scattered exchanging or pooling impractical prohibited We develop federated learning Each data server assumed train local neural network weights modeled through our framework We then develop an inference approach a more expressive global network without additional supervision data pooling We then demonstrate our approach federated learning problems simulated two popular image classification datasets The standard machine learning paradigm involves algorithms centralized data possibly pooled The computations involved may done farmed However data often lives amalgamating may rendered communication costs time sensitivity Consider, data recorded sensors embedded Such data inherently private can depending the sampling rate the sensing modality time depending interest Pooling data many users technically challenging owing the severe computational burden moving fraught stemming that expose (PHI).Federated learning avoids obviating and designs learn sequestered data sources with different data distributions To effective , such algorithms extract distill important statistical patterns various independent local learners coherently into an effective global model without centralizing This will avoid data communication To achieve , develop investigate a probabilistic federated learning framework training aggregating on siloed dataWe proceed training local models in parallel We then match the estimated local model parametersgroups weight vectors neural networks across data sources construct The matching, to formally defined later governed the posterior a Beta-Bernoulli processBBPThibaux Jordan Yurochkin 2018 , the local parameters either match existing global ones create if poor matches Our construction allows the size the global network flexibly or best explain the observed data Crucially make distributed even the local learning algorithms These may adapted as necessary account non-identically distributed data Further only require communication after the local algorithms converged This in contrast popular distributed training algorithms frequent communication the local machines Our construction also leads compressed global models fewer parameters the set all local parameters Unlike naive ensembles local models allows store fewer parameters leads at test time requiring through the compressed model as J forward passes once for While techniques distillation allow the cost multiple forward passes training the distilled model itself access data pooled all sources a luxury unavailable our federated learning scenario In summary seek given pre-trained neural networks trained locally a compressed federated model without accessing improving the local networks?The remainder organized We briefly introduce the Beta-Bernoulli process Section before describing our model federated learning Section We thoroughly vet the proposed models demonstrate Section Finally Section discusses limitations open questions In this work models matching fully connected networks experimentally demonstrated our methodology prediction time communication expensive We also observed the importance convergent local neural networks that serve inputs our matching algorithms Poor quality local neural network weights will affect the master network In future work explore more sophisticated ways account uncertainty the weights small batches Additionally our matching approach completely -incorporating some form supervised signal may the global network when local networks low quality Finally of extend our modeling framework other architectures The permutation invariance necessitating matching inference arises CNNs too -any permutation the filters results same output however additional bookkeeping due pooling operationsOhad Shamir Nati Srebro Tong Zhang. Communication-efficient distributed optimization an approximate newton-type method In International conference machine learning pp The goal maximum a posteriori (MAP) estimation maximize the latent variables: global atoms DISPLAYFORM0 assignments observed neural network weight estimates {B j } J j=1 , given estimates the batch DISPLAYFORM1 arg max DISPLAYFORM2 MAP estimates given matching (Proposition in First note given { it straightforward find MAP estimates {�� i based Gaussian-Gaussian conjugacy where L max{i : . . , J} active global atoms an (unknown) latent random variable identified {B j. For simplicity ��� 0 I 0 j µ 0.Inference atom assignment We cast optimization corresponding ( with respect only {B j } J j=1 Taking natural logarithm we obtain DISPLAYFORM5 Let simplify ( consider an iterative optimization approach fixing all but one B j we corresponding optimal assignment pick at proceed until convergence In we use notation j sayall but j Let L j = max{i : B j il = 1} denote number active global weights outside group j. We now rearrange (4 by partitioning i = . . . , L j and i . . . , L j + L j . We interested solving for B j hence modify objective function by terms independent : DISPLAYFORM7 Now observe P l B i,l 2 {0 it 1 some neuron from batch j matched global neuron Due this we rewrite (5 as a linear sum assignment problem DISPLAYFORM8 Now consider second term FORMULA12 : First because optimizing B j ignore log P Second due exchangeability batches of the IBP always consider B j to Let m j i = P j,l B j il denote number batch weights assigned global atom i outside We now obtain DISPLAYFORM10 We rearrange (7 as linear sum assignment problem Combining FORMULA20 arrive the cost specification finding B j as minimizer , This completes Proposition FIG3 illustrates the overall multilayer inference procedure visually Algorithm Nodes the graphs indicate neurons have matched On the individual layer matching approach consisting using the matching assignments convert the neurons the J servers weight vectors referencing the global previous layer These weight vectors then form a cost matrix the Hungarian algorithm then do the matching Finally the matched neurons then averaged the global model As shown in setting the resulting global layer then match the next lower layer etc until the bottom hidden layer FIG3 ,... in order).",0.01,0.5979947782795595 "We present a general-purpose method to train Markov chain Monte Carlo kernels, parameterized by deep neural networks, that converge and mix quickly to their target distribution. Our method generalizes Hamiltonian Monte Carlo and is trained to maximize expected squared jumped distance, a proxy for mixing speed. We demonstrate large empirical gains on a collection of simple but challenging distributions, for instance achieving a 106x improvement in effective sample size in one case, and mixing when standard HMC makes no measurable progress in a second. Finally, we show quantitative and qualitative gains on a real-world task: latent-variable generative modeling. Python source code will be open-sourced with the camera-ready paper. High-dimensional distributions that are only analytically tractable up to a normalizing constant are ubiquitous in many fields. For instance, they arise in protein folding BID41 , physics simulations BID37 , and machine learning BID1 . Sampling from such distributions is a critical task for learning and inference BID31 , however it is an extremely hard problem in general.Markov Chain Monte Carlo (MCMC) methods promise a solution to this problem. They operate by generating a sequence of correlated samples that converge in distribution to the target. This convergence is most often guaranteed through detailed balance, a sufficient condition for the chain to have the target equilibrium distribution. In practice, for any proposal distribution, one can ensure detailed balance through a Metropolis-Hastings BID20 accept/reject step.Despite theoretical guarantees of eventual convergence, in practice convergence and mixing speed depend strongly on choosing a proposal that works well for the task at hand. What's more, it is often more art than science to know when an MCMC chain has converged (""burned-in""), and when the chain has produced a new uncorrelated sample (""mixed""). Additionally, the reliance on detailed balance, which assigns equal probability to the forward and reverse transitions, often encourages random-walk behavior and thus slows exploration of the space BID24 .For densities over continuous spaces, Hamiltonian Monte Carlo (HMC; BID12 BID36 introduces independent, auxiliary momentum variables, and computes a new state by integrating Hamiltonian dynamics. This method can traverse long distances in state space with a single Metropolis-Hastings test. This is the state-of-the-art method for sampling in many domains. However , HMC can perform poorly in a number of settings. While HMC mixes quickly spatially, it struggles at mixing across energy levels due to its volume-preserving dynamics. HMC also does not work well with multi-modal distributions, as the probability of sampling a large enough momentum to traverse a very low-density region is negligibly small. Furthermore , HMC struggles with ill-conditioned energy landscapes BID14 and deals poorly with rapidly changing gradients BID44 .Recently, probabilistic models parameterized by deep neural networks have achieved great success at approximately sampling from highly complex, multi-modal empirical distributions BID27 BID39 BID16 . Building on these successes , we present a method that, given an analytically described distribution, automatically returns an exact sampler with good convergence and mixing properties, from a class of highly expressive parametric models. The proposed family of samplers is a generalization of HMC; it transforms the HMC trajectory using parametric functions (deep networks in our experiments), while retaining theoretical guarantees with a tractable Metropolis-Hastings accept/reject step. The sampler is trained to minimize a variation on expected squared jumped distance (similar in spirit to BID38 ). Our parameterization reduces easily to standard HMC. It is further capable of emulating several common extensions of HMC such as withintrajectory tempering BID34 and diagonal mass matrices BID4 .We evaluate our method on distributions where HMC usually struggles, as well as on a the real-world task of training latent-variable generative models.Our contributions are as follows:• We introduce a generic training procedure which takes as input a distribution defined by an energy function, and returns a fast-mixing MCMC kernel.• We show significant empirical gains on various distributions where HMC performs poorly.• We finally evaluate our method on the real-world task of training and sampling from a latent variable generative model, where we show improvement in the model's log-likelihood, and greater complexity in the distribution of posterior samples. In this work, we presented a general method to train expressive MCMC kernels parameterized with deep neural networks. Given a target distribution p, analytically known up to a constant, our method provides a fast-mixing sampler, able to efficiently explore the state space. Our hope is that our method can be utilized in a ""black-box"" manner, in domains where sampling constitutes a huge bottleneck such as protein foldings BID41 or physics simulations BID37 .... DISPLAYFORM0 Figure 4: Diagram of our L2HMC-DGLM model. Nodes are functions of their parents. Round nodes are deterministic , diamond nodes are stochastic and the doubly-circled node is observed.",989,0.537,581,1.70223752151463,"We present train parameterized deep neural networks converge and mix quickly their target distribution Our method generalizes Hamiltonian Monte Carlo trained maximize expected squared jumped distance a proxy mixing speed We demonstrate large empirical gains on a collection simple but challenging distributions for achieving a 106x improvement effective sample size mixing when standard HMC makes no measurable progress Finally show quantitative gains latent-variable generative modeling Python source code will open with the camera-ready paper High-dimensional distributions that only analytically up a normalizing constant ubiquitous For instance they arise protein folding BID41 , physics simulations BID37 machine Sampling from such distributions learning inference BID31 howeverMarkov methods promise They operate generating a sequence correlated samples converge distribution This convergence most guaranteed detailed balance a sufficient condition the chain have the target equilibrium distribution In practice for any proposal distribution one ensure detailed balance through a Metropolis-Hastings BID20 accept/reject stepDespite theoretical guarantees eventual convergence and mixing speed depend strongly choosing works What often more art know an MCMC chain converged (""burned- produced a new uncorrelated sample Additionally the reliance detailed balance, assigns equal probability the forward and reverse transitions often encourages random-walk behavior thus slows exploration BID24 .For densities over continuous spaces Hamiltonian Monte Carlo; BID12 BID36 introduces independent, auxiliary momentum variables a new state integrating This method traverse state space a single Metropolis-Hastings test This state method sampling in many domains However , HMC can perform poorly settings While HMC mixes quickly spatially struggles at mixing across energy levels due its volume-preserving dynamics HMC also does work well the probability sampling a large enough momentum traverse negligibly Furthermore , HMC struggles ill-conditioned energy landscapes BID14 deals poorly rapidly changing gradients .Recently parameterized achieved approximately sampling from highly complex, multi-modal empirical distributions Building these successes , present, given an analytically described distribution automatically returns an exact sampler good convergence mixing from a class highly expressive parametric models The proposed family samplers a generalization HMC; transforms the HMC trajectory usingdeep networks in our experiments while theoretical guarantees with a tractable Metropolis-Hastings accept/reject step The sampler trained minimize a variation on expected squared jumped distancesimilar spirit BID38 Our parameterization reduces easily standard HMC It further capable emulating several common extensions HMC such withintrajectory tempering BID34 diagonal mass matrices .We evaluate our method distributions where usually struggles a the real-world task trainingOur contributions as defined an energy function a fast-mixing MCMC significant empirical gains various distributions performs finally evaluate and sampling from improvement greater complexity posterior samples In this work presented train expressive MCMC kernels parameterized Given a target distribution p analytically known up a constant our method provides a fast-mixing sampler able efficiently explore the state space Our hope our method utilized domains sampling constitutes such protein foldings BID41 or physics simulations .... DISPLAYFORM0 Figure our L2HMC-DGLM model Nodes functions their parents Round nodes deterministic , diamond nodes observed",0.01,0.49331867658905004 "This paper addresses the problem of evaluating learning systems in safety critical domains such as autonomous driving, where failures can have catastrophic consequences. We focus on two problems: searching for scenarios when learned agents fail and assessing their probability of failure. The standard method for agent evaluation in reinforcement learning, Vanilla Monte Carlo, can miss failures entirely, leading to the deployment of unsafe agents. We demonstrate this is an issue for current agents, where even matching the compute used for training is sometimes insufficient for evaluation. To address this shortcoming, we draw upon the rare event probability estimation literature and propose an adversarial evaluation approach. Our approach focuses evaluation on adversarially chosen situations, while still providing unbiased estimates of failure probabilities. The key difficulty is in identifying these adversarial situations -- since failures are rare there is little signal to drive optimization. To solve this we propose a continuation approach that learns failure modes in related but less robust agents. Our approach also allows reuse of data already collected for training the agent. We demonstrate the efficacy of adversarial evaluation on two standard domains: humanoid control and simulated driving. Experimental results show that our methods can find catastrophic failures and estimate failures rates of agents multiple orders of magnitude faster than standard evaluation schemes, in minutes to hours rather than days. How can we ensure machine learning systems do not make catastrophic mistakes? While machine learning systems have shown impressive results across a variety of domains BID6 BID11 BID26 , they may also fail badly on particular inputs, often in unexpected ways BID28 . As we start deploying these systems, it is important that we can reliably evaluate the risk of failure. This is particularly important for safety critical domains like autonomous driving where the negative consequences of a single mistake can overwhelm the positive benefits accrued during typical operation of the system.Limitations of random testing. The key problem we highlight is that for standard statistical evaluation, attaining confidence that the failure rate of a policy is below requires at least 1/ episodes. We now informally summarize this point, which we discuss further in Appendix A. For concreteness, consider a self-driving car company that decides that the cost of a single accident where the car is at fault outweighs the benefits of 100 million miles of faultless operation. The standard approach in machine learning is to estimate the expected return via i.i.d. samples from the data distribution (frequently a test set). For tightly bounded returns, the sample estimate is guaranteed to quickly converge to the true expectation. However, with catastrophic failures, this may be prohibitively inefficient. In our current example, any policy with a failure probability greater than = 10 −8 per mile has negative expected return. In other words, it would be better to not deploy the car. However, to achieve reasonable confidence that the car crashes with probability below 1e-8, the manufacturer would need to test-drive the car for at least 1e8 miles, which may be prohibitively expensive.Our Contributions. To overcome the above-mentioned problems, we develop a novel adversarial evaluation approach. The central motivation behind our algorithmic choices is the fact that realworld evaluation is typically dominated by the cost of running the agent in the real-world and/or human supervision. In the self-driving car example, both issues are present: testing requires both operating a physical car, and a human test driver behind the wheel. The overarching idea is thus to screen out situations that are unlikely to be problematic, and focus evaluation on the most difficult situations. The difficulty arises in identifying these situations -since failures are rare, there is little signal to drive optimization. To address this problem, we introduce a continuation approach to learning a failure probability predictor (AVF), which estimates the probability the agent fails given some initial conditions. The idea is to leverage data from less robust agents, which fail more frequently, to provide a stronger learning signal. In our implementation, this also allows the algorithm to reuse data gathered for training the agent, saving time and resources during evaluation. We note that adversarial testing is a well-established idea (see Section 5), but typically requires either a dense optimization signal or expert domain knowledge. We avoid these stumbling blocks by relying on the learned AVF, which guides the adversarially acting evaluator.We look at two settings where the AVF can be used. In the simplest setting, failure search, the problem is to efficiently find inputs (initial conditions) that cause failures (Section 2.1). This task has several uses. First, an adversary that solves this task efficiently allows one to identify and debug potentially unsafe policies. Second, as has been done previously in the supervised learning literature, efficient adversaries can be used for adversarial training, by folding the states causing failures back into the training algorithm BID9 . The second setting, risk estimation, is the problem of efficiently estimating the failure probability of an agent (Section 2.2), which also has a simple application to efficiently selecting the most reliable agent from a finite set (Section 4.3).Empirically , we demonstrate dramatic improvements in efficiency through adversarial testing on two domains (simulated driving and humanoid locomotion). In summary , we present 3 key contributions:1. We empirically demonstrate the limitations of random testing. We observe that with random testing, the cost of reliably obtaining even a single adversarial input can exceed the entire cost of training. Further, reliably estimating risk can exceed training costs.2. We describe a continuation approach for learning failure probability predictors even when failures are rare. We develop algorithms applying failure probability predictors to failure search, risk estimation, and model selection.3. We extensively evaluate our method on simulated driving and humanoid locomotion domains. Using adversarial evaluation, we find failures with 198 and 3100 times fewer samples respectively. On Humanoid, we bring the cost of reliable risk estimation down from greater than the cost of training to a practical budget. In this work, we argued that standard approaches to evaluating RL agents are highly inefficient in detecting rare, catastrophic failures, which can create a false sense of safety. We believe the approach and results here strongly demonstrate that adversarial testing can play an important role in assessing and improving agents, but are only scratching the surface. We hope this work lays the groundwork for future research into evaluating and developing robust, deployable agents.",1265,0.822,724,1.7472375690607735,"This paper addresses evaluating learning systems safety critical domains where failures We focus two problems searching scenarios when learned agents assessing The standard method agent evaluation reinforcement learning Vanilla Monte Carlo can miss failures entirely leading the deployment unsafe agents We demonstrate this is current agents even matching the compute used training sometimes evaluation To address draw the rare event probability estimation literature propose Our approach focuses evaluation adversarially chosen situations while still unbiased estimates failure probabilities The key difficulty these adversarial situations -- since failures there little signal drive optimization To solve we propose a continuation approach learns failure modes related but less robust agents Our approach also reuse already training the agent We demonstrate adversarial evaluation two standard domains humanoid control simulated driving Experimental results our methods find catastrophic failures estimate failures rates agents multiple orders standard evaluation schemes minutes to How ensure machine learning systems do make While machine learning systems shown across BID6 , they fail badly particular inputs often BID28 As start deploying these systems can reliably evaluate This particularly safety critical domains autonomous driving where the negative consequences a single mistake overwhelm accrued during typical operationLimitations random testing. The key problem we highlight for standard statistical evaluation attaining confidence that a policy below requires at least 1/ episodes We now informally summarize this point discuss further For concreteness consider decides a single accident where at faultless operation The standard approach machine learning estimate via i.i.d samples the data distributionfrequently a test set For tightly bounded returns the sample estimate guaranteed quickly the true expectation However with catastrophic failures this inefficient In our current example any policy with a failure probability = 10 −8 per mile has negative expected return In deploy the car However to achieve reasonable confidence the car crashes with probability below 1e-8 test- mayOur Contributions. To overcome develop a novel adversarial evaluation approach The central motivation our algorithmic choices realworld evaluation typically dominated the cost running the agent In the self-driving car example both issues present testing requires both operating a physical car test behind The overarching idea thus screen situations unlikely problematic focus evaluation The difficulty arises identifying these situations -since failures little signal drive optimization To address introduce a continuation approach learning a failure probability predictorAVF estimates the agent fails given The idea leverage data less robust agents fail a stronger learning signal In our implementation this also the algorithm reuse gathered training the agent saving during evaluation We note adversarial testing ( typically requires either a dense optimization signal expert domain knowledge We avoid these stumbling blocks relying the learned AVF, guides the adversarially acting evaluatorWe look two settings where In the simplest setting failure search, efficiently inputs (initial conditions cause failuresSection This task several uses First an adversary solves efficiently allows identify debug potentially unsafe policies Second as has done the supervised learning literature efficient adversaries by folding the states causing failures back the training algorithm BID9 . The second setting risk estimation efficientlySection also a simple application efficiently selecting from , demonstrate dramatic improvements efficiency through adversarial testing on two domainssimulated driving humanoid locomotion In summary , 3 key contributions:1 We empirically demonstrate the limitations random testing We observe with random testing the cost reliably obtaining even a single adversarial input training Further reliably estimating risk can exceed training costs.2. We describe a continuation approach learning failure probability predictors even failures rare We develop algorithms applying failure probability predictors failure search risk estimation model. extensively on simulated driving humanoid locomotion domains Using adversarial evaluation find failures 198 and 3100 times fewer samples respectively On Humanoid bring the cost reliable risk estimation down greater training a practical budget In this work argued standard approaches evaluating RL agents highly rare, catastrophic failures create We believe the approach and results here strongly adversarial testing play assessing agents, are scratching We hope this work lays evaluating robust, deployable agents",0.01,0.6079748440756761 "The variational autoencoder (VAE) is a popular combination of deep latent variable model and accompanying variational learning technique. By using a neural inference network to approximate the model's posterior on latent variables, VAEs efficiently parameterize a lower bound on marginal data likelihood that can be optimized directly via gradient methods. In practice, however, VAE training often results in a degenerate local optimum known as ""posterior collapse"" where the model learns to ignore the latent variable and the approximate posterior mimics the prior. In this paper, we investigate posterior collapse from the perspective of training dynamics. We find that during the initial stages of training the inference network fails to approximate the model's true posterior, which is a moving target. As a result, the model is encouraged to ignore the latent encoding and posterior collapse occurs. Based on this observation, we propose an extremely simple modification to VAE training to reduce inference lag: depending on the model's current mutual information between latent variable and observation, we aggressively optimize the inference network before performing each model update. Despite introducing neither new model components nor significant complexity over basic VAE, our approach is able to avoid the problem of collapse that has plagued a large amount of previous work. Empirically, our approach outperforms strong autoregressive baselines on text and image benchmarks in terms of held-out likelihood, and is competitive with more complex techniques for avoiding collapse while being substantially faster.",284,0.158,169,1.680473372781065,"The variational autoencoder deep latent variable model accompanying By using a neural inference network approximate on latent variables VAEs efficiently parameterize lower marginal data likelihood that optimized directly via gradient methods In practice VAE training often results a degenerate local optimum known the model learns the latent variable the approximate posterior mimics prior In posterior collapse from the perspective training dynamics We find during training the inference network fails approximate, a moving target As the model encouraged ignore the latent encoding posterior collapse occurs Based this observation an extremely simple modification VAE training inference lag depending the model's current mutual information between latent variable observation aggressively before each model update Despite introducing neither new model components significant complexity over basic VAE our approach able avoid collapse that a large amount previous work our approach outperforms strong autoregressive baselines text and image benchmarks held-out likelihood competitive more complex techniques avoiding collapse while being substantially",0.0,0.4378655377931265 "Online healthcare services can provide the general public with ubiquitous access to medical knowledge and reduce the information access cost for both individuals and societies. To promote these benefits, it is desired to effectively expand the scale of high-quality yet novel relational medical entity pairs that embody rich medical knowledge in a structured form. To fulfill this goal, we introduce a generative model called Conditional Relationship Variational Autoencoder (CRVAE), which can discover meaningful and novel relational medical entity pairs without the requirement of additional external knowledge. Rather than discriminatively identifying the relationship between two given medical entities in a free-text corpus, we directly model and understand medical relationships from diversely expressed medical entity pairs. The proposed model introduces the generative modeling capacity of variational autoencoder to entity pairs, and has the ability to discover new relational medical entity pairs solely based on the existing entity pairs. Beside entity pairs, relationship-enhanced entity representations are obtained as another appealing benefit of the proposed method. Both quantitative and qualitative evaluations on real-world medical datasets demonstrate the effectiveness of the proposed method in generating relational medical entity pairs that are meaningful and novel. Increasingly, people engage in health services on the Internet BID11 . The healthcare services can provide the general public with ubiquitous access to medical knowledge and reduce the information access cost significantly. The relational medical entity pair, which consists of two medical entities with a semantic connection between them, is an intuitive representation that distills human medical reasoning processes in a structured form. The medical relationships discussed in this paper are binary ones. For example, the Disease Cause − −−− →Symptom relationship indicates a ""Cause"" relationship from a disease entity to a symptom entity that is caused by this disease, such as the medical entity pairs . For the relationship Symptom Belongto − −−−−− →Department, we may have a relational medical entity pair such as .The ability to understand, reason and generalize is central to human intelligence BID27 . However , it possesses significant challenges for machines to understand and reason about the relationships between two entities BID31 . Real-world relational medical entity pairs possess certain challenging properties to deal with: First, as the medical research develops, many medical relationships among medical entities that were once neglected due to the underdeveloped medical knowledge now need to be discovered. An increasing number of relationships will be formed among a large number of medical entities. Also, various linguistic expressions can be used for the same medical entity. For example, Nose Plugged, Blocked Nose and Sinus Congestion are symptom entities that share the same meaning but expressed very differently. Moreover, one medical relationship may instantiate entity pairs with varying granularities or relationship strength. For instance, Disease Cause − −−− →Symptom may include entity pairs like as a coarse-grained entity pair, while < Acute Rhinitis, Nose Plugged>, are considered fine-grained entity pairs. As for the relationship strength, has greater relationship strength than as cold rarely cause serious complications such as ear infections.To effectively expand the scale of high-quality yet novel relational medical entity pairs, relation extraction methods BID8 BID2 are proposed to examine whether or not a semantic relationship exists between two given entities given a context. Although the existing relation extraction methods BID1 BID3 BID30 BID39 BID6 BID37 achieve decent performance in identifying the relationship for given entity pairs, those methods require contexts such as sentences retrieved from a large free-text corpus, from existing domain-specific knowledge graphs BID0 , or from web tables and links BID21 . As medical relationships in the real-world are becoming more and more complex and diversely expressed, existing relation extraction methods suffer from the data sparsity problem where it is hard to obtain additional external knowledge that covers all possible entity pairs, e.g. free-text corpus where two entities co-occur in the same sentence with a relationship between them. Therefore, it is crucial and appealing for us to discover meaningful relational medical entity pairs solely based on existing medical entity pairs, without the requirement of a well-maintained context as an additional external knowledge.Furthermore, most relation extraction methods adopt a discriminative approach that learns to distinguish entity pairs of one relationship from the other BID41 BID22 , or to identify meaningful entity pairs from randomly sampled negative entity pairs with no relationships BID4 BID32 . Those methods need to iterate over the combination of all possible entity pairs and check each of them to discover new entity pairs. Such discriminative approach is tedious and labor-intensive. It is challenging yet rewarding for us to understand medical relationships intrinsically from the existing entity pairs. Specifically, in the medical domain, the diversely expressed medical entity pairs offer great advantages for us to ultimately understand medical relationships and discover high-quality relational medical entity pairs solely from existing meaningful medical entity pairs.Problem Studied: We propose a novel research problem called RElational Medical Entity-pair DiscoverY (REMEDY), which aims at modeling relational medical entity pairs solely from the existing entity pairs. Also, it aims to discover meaningful and novel entity pairs pertaining to a certain medical relationship in a generative fashion, without sophisticated feature engineering and the requirement of external knowledge such as free-text corpora.Proposed Model: A generative model named Conditional Relationship Variational Autoencoder (CRVAE) is introduced for relational medical entity pair discovery. It is unlikely to create meaningful, novel relational medical entity pairs without intrinsically understanding each medical relationship, more specifically, understanding the relationships between every two medical entities that instantiate a particular relationship. CRVAE fully explores the generative modeling capacity which roots in Bayesian inference while incorporating deep learning for powerful hands-free feature engineering. CRVAE is trained to encode each relational medical entity pair into a latent space conditioned on the relationship type. The encoding process addresses relationship-enhanced entity representations, interactions between entities as well as expressive latent variables. The latent variables are decoded to reconstruct entity pairs. Once the model is trained, we can sample directly from the distribution of latent variables and decode them into high-quality and novel relational medical entity pairs.Overall, CRVAE has three notable strengths:CRVAE models the intrinsic relations between medical entity pairs directly based on the existing meaningful relational medical entity pairs, without the requirement of additional external contexts for entity pair extraction. Existing relation extraction methods usually rely on the free-text corpus to decide whether a candidate entity pair it mentions is meaningful or not. The CRVAE only utilizes the existing entity pairs and pre-trained word vector as initial entity representations which are trained separately.CRVAE is able to generate entity pairs for a particular relationship, even if it observes existing entity pairs only for that particular relationship. Unlike most discriminative methods which harness discrepancies among different relationships to distinguish the relationship of an entity pair from the other, or from randomly constructed negative entity pairs with no relations. The CRVAE understands the intrinsic medical relation from diversely expressed medical entity pairs and discovers meaningful, novel entity pairs of a particular relationship that we specified.CRVAE generates novel entity pairs by a density-based sampling strategy in the generator. The generator samples directly from the latent space based on the density of hidden parameters. With the hands-free feature engineering by deep neural networks, the model is able to discover meaningful and novel entity pairs which does not exist in the training data.The contributions of this paper can be summarized as follows:• We study the Relational Medical Entity-pair Discovery (REMEDY) problem, which aims to expand the scale of high-quality yet novel relational medical entity pairs without maintaining large-scale context information such as the free-text corpus.• We propose a generative model named Conditional Relationship Variational Autoencoder (CRVAE) that discovers relational medical entity pairs for a given relationship, solely from the diversely expressed entity pairs without sophisticated feature engineering.• We obtain relationship-enhanced entity representations as an appealing benefit of the proposed model. To effectively expand the scale of high-quality relational medical entity pairs which store the medical knowledge, a novel generative model named Conditional Relationship Variational Autoencoder (CRVAE) is introduced for Relational Medical Entity-pair Discovery (REMEDY). The proposed model fully explores the generative modeling ability while incorporates deep learning for powerful hands-free feature engineering. Unlike traditional relation extraction tasks which require additional contexts for extraction and need negative samples for discriminative training, the proposed method learns to intrinsically understand the medical relations from diversely expressed medical entity pairs, without the requirement of external context information. Moreover, it is able to generate meaningful, novel entity pairs for a given type of medical relationship. The relationshipenhanced entity representations have the potential to improve other NLP tasks. The performance of the proposed method is evaluated on real-world medical data both quantitatively and qualitatively.",1781,0.878,1065,1.6723004694835681,"Online healthcare services ubiquitous access reduce the information access cost societies To promote these benefits it desired effectively expand high-quality yet novel relational medical entity pairs embody rich medical knowledge To fulfill introduce called Conditional Relationship Variational AutoencoderCRVAE discover meaningful and novel relational medical entity pairs without additional external knowledge Rather discriminatively identifying the relationship two given medical entities a free-text corpus directly model understand medical relationships from diversely expressed medical entity pairs The proposed model introduces the generative modeling capacity to entity pairs has discover new relational medical entity solely entity pairs relationship-enhanced entity representations obtained another appealing benefit the proposed method Both quantitative and qualitative evaluations on real-world medical datasets demonstrate generating relational medical entity pairs meaningful novel engage health services on the Internet BID11 . The healthcare services can provide ubiquitous access reduce the information access cost significantly The relational medical entity pair a semantic connection that distills human medical reasoning processes The medical relationships discussed binary ones For example the Disease Cause − −−− →Symptom relationship indicates a ""Cause"" relationship from the medical entity pairs .The ability understand reason central human intelligence BID27 . However , possesses significant challenges machines reason the relationships two entities BID31 Real-world relational medical entity pairs possess certain challenging properties to deal First as the medical research develops many medical relationships among that were neglected due now discovered An increasing number relationships will medical entities Also various linguistic expressions the same medical entity For example Nose Plugged Blocked Nose and Sinus Congestion symptom entities share expressed very Moreover one medical relationship instantiate entity pairs varying granularities or relationship strength For instance Disease Cause − −−− →Symptom may entity pairs like