Goto

Collaborating Authors

 Deep Learning


Where is the Grass Greener? Revisiting Generalized Policy Iteration for Offline Reinforcement Learning

arXiv.org Artificial Intelligence

The performance of state-of-the-art baselines in the offline RL regime varies widely over the spectrum of dataset qualities, ranging from "far-from-optimal" random data to "close-to-optimal" expert demonstrations. We re-implement these under a fair, unified, and highly factorized framework, and show that when a given baseline outperforms its competing counterparts on one end of the spectrum, it never does on the other end. This consistent trend prevents us from naming a victor that outperforms the rest across the board. We attribute the asymmetry in performance between the two ends of the quality spectrum to the amount of inductive bias injected into the agent to entice it to posit that the behavior underlying the offline dataset is optimal for the task. The more bias is injected, the higher the agent performs, provided the dataset is close-to-optimal. Otherwise, its effect is brutally detrimental. Adopting an advantage-weighted regression template as base, we conduct an investigation which corroborates that injections of such optimality inductive bias, when not done parsimoniously, makes the agent subpar in the datasets it was dominant as soon as the offline policy is sub-optimal. In an effort to design methods that perform well across the whole spectrum, we revisit the generalized policy iteration scheme for the offline regime, and study the impact of nine distinct newly-introduced proposal distributions over actions, involved in proposed generalization of the policy evaluation and policy improvement update rules. We show that certain orchestrations strike the right balance and can improve the performance on one end of the spectrum without harming it on the other end.


Demiguise Attack: Crafting Invisible Semantic Adversarial Perturbations with Perceptual Similarity

arXiv.org Artificial Intelligence

Deep neural networks (DNNs) have been found to be vulnerable to adversarial examples. Adversarial examples are malicious images with visually imperceptible perturbations. While these carefully crafted perturbations restricted with tight $\Lp$ norm bounds are small, they are still easily perceivable by humans. These perturbations also have limited success rates when attacking black-box models or models with defenses like noise reduction filters. To solve these problems, we propose Demiguise Attack, crafting ``unrestricted'' perturbations with Perceptual Similarity. Specifically, we can create powerful and photorealistic adversarial examples by manipulating semantic information based on Perceptual Similarity. Adversarial examples we generate are friendly to the human visual system (HVS), although the perturbations are of large magnitudes. We extend widely-used attacks with our approach, enhancing adversarial effectiveness impressively while contributing to imperceptibility. Extensive experiments show that the proposed method not only outperforms various state-of-the-art attacks in terms of fooling rate, transferability, and robustness against defenses but can also improve attacks effectively. In addition, we also notice that our implementation can simulate illumination and contrast changes that occur in real-world scenarios, which will contribute to exposing the blind spots of DNNs.


Memory and attention in deep learning

arXiv.org Artificial Intelligence

Intelligence necessitates memory. Without memory, humans fail to perform various nontrivial tasks such as reading novels, playing games or solving maths. As the ultimate goal of machine learning is to derive intelligent systems that learn and act automatically just like human, memory construction for machine is inevitable. Artificial neural networks model neurons and synapses in the brain by interconnecting computational units via weights, which is a typical class of machine learning algorithms that resembles memory structure. Their descendants with more complicated modeling techniques (a.k.a deep learning) have been successfully applied to many practical problems and demonstrated the importance of memory in the learning process of machinery systems. Recent progresses on modeling memory in deep learning have revolved around external memory constructions, which are highly inspired by computational Turing models and biological neuronal systems. Attention mechanisms are derived to support acquisition and retention operations on the external memory. Despite the lack of theoretical foundations, these approaches have shown promises to help machinery systems reach a higher level of intelligence. The aim of this thesis is to advance the understanding on memory and attention in deep learning. Its contributions include: (i) presenting a collection of taxonomies for memory, (ii) constructing new memory-augmented neural networks (MANNs) that support multiple control and memory units, (iii) introducing variability via memory in sequential generative models, (iv) searching for optimal writing operations to maximise the memorisation capacity in slot-based memory networks, and (v) simulating the Universal Turing Machine via Neural Stored-program Memory-a new kind of external memory for neural networks.


Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCAN

arXiv.org Artificial Intelligence

Despite their practical success, modern seq2seq architectures are unable to generalize systematically on several SCAN tasks. Hence, it is not clear if SCAN-style compositional generalization is useful in realistic NLP tasks. In this work, we study the benefit that such compositionality brings about to several machine translation tasks. We present several focused modifications of Transformer that greatly improve generalization capabilities on SCAN and select one that remains on par with a vanilla Transformer on a standard machine translation (MT) task. Next, we study its performance in low-resource settings and on a newly introduced distribution-shifted English-French translation task. Overall, we find that improvements of a SCAN-capable model do not directly transfer to the resource-rich MT setup. In contrast, in the low-resource setup, general modifications lead to an improvement of up to 13.1% BLEU score w.r.t. a vanilla Transformer. Similarly, an improvement of 14% in an accuracy-based metric is achieved in the introduced compositional English-French translation task. This provides experimental evidence that the compositional generalization assessed in SCAN is particularly useful in resource-starved and domain-shifted scenarios.


Sensor-invariant Fingerprint ROI Segmentation Using Recurrent Adversarial Learning

arXiv.org Artificial Intelligence

A fingerprint region of interest (roi) segmentation algorithm is designed to separate the foreground fingerprint from the background noise. All the learning based state-of-the-art fingerprint roi segmentation algorithms proposed in the literature are benchmarked on scenarios when both training and testing databases consist of fingerprint images acquired from the same sensors. However, when testing is conducted on a different sensor, the segmentation performance obtained is often unsatisfactory. As a result, every time a new fingerprint sensor is used for testing, the fingerprint roi segmentation model needs to be re-trained with the fingerprint image acquired from the new sensor and its corresponding manually marked ROI. Manually marking fingerprint ROI is expensive because firstly, it is time consuming and more importantly, requires domain expertise. In order to save the human effort in generating annotations required by state-of-the-art, we propose a fingerprint roi segmentation model which aligns the features of fingerprint images derived from the unseen sensor such that they are similar to the ones obtained from the fingerprints whose ground truth roi masks are available for training. Specifically, we propose a recurrent adversarial learning based feature alignment network that helps the fingerprint roi segmentation model to learn sensor-invariant features. Consequently, sensor-invariant features learnt by the proposed roi segmentation model help it to achieve improved segmentation performance on fingerprints acquired from the new sensor. Experiments on publicly available FVC databases demonstrate the efficacy of the proposed work.


Pool of Experts: Realtime Querying Specialized Knowledge in Massive Neural Networks

arXiv.org Artificial Intelligence

In spite of the great success of deep learning technologies, training Imagine a realtime AI-as-a-Service (AIaaS) system that can instantly and delivery of a practically serviceable model is still a highly deliver resource-efficient models for any on-demand tasks to multiple time-consuming process. Furthermore, a resulting model is usually users who can be non-expertise in AI. For example, a mobile too generic and heavyweight, and hence essentially goes through user should quickly adapt to a dynamically changing environment another expensive model compression phase to fit in a resourcelimited (e.g., entering a restaurant in an animal theme park and returning to device like embedded systems. Inspired by the fact that see animals having lunch) preferably without continually training a machine learning task specifically requested by mobile users is a large generic model due to the resource constraints. In this case, often much simpler than it is supported by a massive generic model, such a realtime AIaaS system would be an adequate solution so that this paper proposes a framework, called Pool of Experts (PoE), that a user can immediately be given a properly functioning model by instantly builds a lightweight and task-specific model without any the system without any training overhead. Although AIaaS is getting training process. For a realtime model querying service, PoE first popular to the point that global vendors have initiated code-free extracts a pool of primitive components, called experts, from a machine learning platforms, it still takes a while to train a specific well-trained and sufficiently generic network by exploiting a novel neural network that achieves a practical level of the accuracy even conditional knowledge distillation method, and then performs our with the help of transfer learning from a massive pretrained model, train-free knowledge consolidation to quickly combine necessary often referred to as oracle. To realize a realtime AIaaS system that experts into a lightweight network for a target task. Thanks to this immediately builds a task-specific and lightweight model, would it train-free property, in our thorough empirical study, PoE can build be possible to preprocess such an oracle neural network so that any a fairly accurate yet compact model in a realtime manner, whereas queried knowledge is efficiently extracted with no training at all? it takes a few minutes per query for the other training methods to The fundamental problem of extracting knowledge from a pretrained achieve a similar level of the accuracy.


Split-and-Bridge: Adaptable Class Incremental Learning within a Single Neural Network

arXiv.org Artificial Intelligence

Continual learning has been a major problem in the deep learning community, where the main challenge is how to effectively learn a series of newly arriving tasks without forgetting the knowledge of previous tasks. Initiated by Learning without Forgetting (LwF), many of the existing works report that knowledge distillation is effective to preserve the previous knowledge, and hence they commonly use a soft label for the old task, namely a knowledge distillation (KD) loss, together with a class label for the new task, namely a cross entropy (CE) loss, to form a composite loss for a single neural network. However, this approach suffers from learning the knowledge by a CE loss as a KD loss often more strongly influences the objective function when they are in a competitive situation within a single network. This could be a critical problem particularly in a class incremental scenario, where the knowledge across tasks as well as within the new task, both of which can only be acquired by a CE loss, is essentially learned due to the existence of a unified classifier. In this paper, we propose a novel continual learning method, called Split-and-Bridge, which can successfully address the above problem by partially splitting a neural network into two partitions for training the new task separated from the old task and re-connecting them for learning the knowledge across tasks. In our thorough experimental analysis, our Split-and-Bridge method outperforms the state-of-the-art competitors in KD-based continual learning.


Traffic Signal Control with Communicative Deep Reinforcement Learning Agents: a Case Study

arXiv.org Artificial Intelligence

In this work we theoretically and experimentally analyze Multi-Agent Advantage Actor-Critic (MA2C) and Independent Advantage Actor-Critic (IA2C), two recently proposed multi-agent reinforcement learning methods that can be applied to control traffic signals in urban areas. The two methods differ in their use of a reward calculated locally or globally and in the management of agents' communication. We analyze the methods theoretically with the framework provided by non-Markov decision processes, which provides useful insights in the analysis of the algorithms. Moreover, we analyze the efficacy and the robustness of the methods experimentally by testing them in two traffic areas in the Bologna (Italy) area, simulated by SUMO, a software tool. The experimental results indicate that MA2C achieves the best performance in the majority of cases, outperforms the alternative method considered, and displays sufficient stability during the learning process.


Machine Learning on Akash

#artificialintelligence

Will artificial intelligence take over the world? Sometimes it seems that way, for everyone has heard of AI models that can compose entire essays or generate realistic face images of people who don't exist or create images from text descriptions. But these AI outcomes don't come cheap: the AI model must be "trained" by recreating countless permutations of those outcomes, and that training eats up enormous amounts of computer power on mammoth GPUs. XLNet from Google, for example, can cost around $61,000 to train each time, without guaranteed results. Not all AI models are as complicated as the Google one cited above.


A Comprehensive Guide of Regular Expressions using Python

#artificialintelligence

What is a regular expression? A Regular expression, also known as RegEx, is a unique sequence of characters that helps to match or find a set of strings, a word, a letter, or even a number. We can accomplish this by using a special syntax followed by a pattern. The're' python module is similar to'Perl'-like regular expressions in python. These expressions completely function on special symbols as each of these symbols have their meaning.