Goto

Collaborating Authors

 Government


How sensitive are translation systems to extra contexts? Mitigating gender bias in Neural Machine Translation models through relevant contexts

arXiv.org Artificial Intelligence

Neural Machine Translation systems built on top of Transformer-based architectures are routinely improving the state-of-the-art in translation quality according to word-overlap metrics. However, a growing number of studies also highlight the inherent gender bias that these models incorporate during training, which reflects poorly in their translations. In this work, we investigate whether these models can be instructed to fix their bias during inference using targeted, guided instructions as contexts. By translating relevant contextual sentences during inference along with the input, we observe large improvements in reducing the gender bias in translations, across three popular test suites (WinoMT, BUG, SimpleGen). We further propose a novel metric to assess several large pre-trained models (OPUS-MT, M2M-100) on their sensitivity towards using contexts during translation to correct their biases. Our approach requires no fine-tuning and thus can be used easily in production systems to de-bias translations from stereotypical gender-occupation bias 1. We hope our method, along with our metric, can be used to build better, bias-free translation systems.


Understanding CNN Fragility When Learning With Imbalanced Data

arXiv.org Artificial Intelligence

Convolutional neural networks (CNNs) have achieved impressive results on imbalanced image data, but they still have difficulty generalizing to minority classes and their decisions are difficult to interpret. These problems are related because the method by which CNNs generalize to minority classes, which requires improvement, is wrapped in a blackbox. To demystify CNN decisions on imbalanced data, we focus on their latent features. Although CNNs embed the pattern knowledge learned from a training set in model parameters, the effect of this knowledge is contained in feature and classification embeddings (FE and CE). These embeddings can be extracted from a trained model and their global, class properties (e.g., frequency, magnitude and identity) can be analyzed. We find that important information regarding the ability of a neural network to generalize to minority classes resides in the class top-K CE and FE. We show that a CNN learns a limited number of class top-K CE per category, and that their number and magnitudes vary based on whether the same class is balanced or imbalanced. This calls into question whether a CNN has learned intrinsic class features, or merely frequently occurring ones that happen to exist in the sampled class distribution. We also hypothesize that latent class diversity is as important as the number of class examples, which has important implications for re-sampling and cost-sensitive methods. These methods generally focus on rebalancing model weights, class numbers and margins; instead of diversifying class latent features through augmentation. We also demonstrate that a CNN has difficulty generalizing to test data if the magnitude of its top-K latent features do not match the training set. We use three popular image datasets and two cost-sensitive algorithms commonly employed in imbalanced learning for our experiments.


Unsupervised Cross-Task Generalization via Retrieval Augmentation

arXiv.org Artificial Intelligence

Humans can perform unseen tasks by recalling relevant skills acquired previously and then generalizing them to the target tasks, even if there is no supervision at all. In this paper, we aim to improve this kind of cross-task generalization ability of massive multi-task language models, such as T0 and FLAN, in an unsupervised setting. We propose a retrieval-augmentation method named ReCross that takes a few unlabelled examples as queries to retrieve a small subset of upstream data and uses them to update the multi-task model for better generalization. ReCross is a straightforward yet effective retrieval method that combines both efficient dense retrieval and effective pair-wise reranking. Our results and analysis show that it significantly outperforms both non-retrieval methods and other baseline methods.


Improving Contrastive Learning on Visually Homogeneous Mars Rover Images

arXiv.org Artificial Intelligence

Contrastive learning has recently demonstrated superior performance to supervised learning, despite requiring no training labels. We explore how contrastive learning can be applied to hundreds of thousands of unlabeled Mars terrain images, collected from the Mars rovers Curiosity and Perseverance, and from the Mars Reconnaissance Orbiter. Such methods are appealing since the vast majority of Mars images are unlabeled as manual annotation is labor intensive and requires extensive domain knowledge. Contrastive learning, however, assumes that any given pair of distinct images contain distinct semantic content. This is an issue for Mars image datasets, as any two pairs of Mars images are far more likely to be semantically similar due to the lack of visual diversity on the planet's surface. Making the assumption that pairs of images will be in visual contrast - when they are in fact not - results in pairs that are falsely considered as negatives, impacting training performance. In this study, we propose two approaches to resolve this: 1) an unsupervised deep clustering step on the Mars datasets, which identifies clusters of images containing similar semantic content and corrects false negative errors during training, and 2) a simple approach which mixes data from different domains to increase visual diversity of the total training dataset. Both cases reduce the rate of false negative pairs, thus minimizing the rate in which the model is incorrectly penalized during contrastive training. These modified approaches remain fully unsupervised end-to-end. To evaluate their performance, we add a single linear layer trained to generate class predictions based on these contrastively-learned features and demonstrate increased performance compared to supervised models; observing an improvement in classification accuracy of 3.06% using only 10% of the labeled data.


CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Model

arXiv.org Artificial Intelligence

Due to the rising number of sophisticated customer functionalities, electronic control units (ECUs) are increasingly integrated into modern automotive systems. However, the high connectivity between the in-vehicle and the external networks paves the way for hackers who could exploit in-vehicle network protocols' vulnerabilities. Among these protocols, the Controller Area Network (CAN), known as the most widely used in-vehicle networking technology, lacks encryption and authentication mechanisms, making the communications delivered by distributed ECUs insecure. Inspired by the outstanding performance of bidirectional encoder representations from transformers (BERT) for improving many natural language processing tasks, we propose in this paper ``CAN-BERT", a deep learning based network intrusion detection system, to detect cyber attacks on CAN bus protocol. We show that the BERT model can learn the sequence of arbitration identifiers (IDs) in the CAN bus for anomaly detection using the ``masked language model" unsupervised training objective. The experimental results on the ``Car Hacking: Attack \& Defense Challenge 2020" dataset show that ``CAN-BERT" outperforms state-of-the-art approaches. In addition to being able to identify in-vehicle intrusions in real-time within 0.8 ms to 3 ms w.r.t CAN ID sequence length, it can also detect a wide variety of cyberattacks with an F1-score of between 0.81 and 0.99.


Discourse Comprehension: A Question Answering Framework to Represent Sentence Connections

arXiv.org Artificial Intelligence

While there has been substantial progress in text comprehension through simple factoid question answering, more holistic comprehension of a discourse still presents a major challenge (Dunietz et al., 2020). Someone critically reflecting on a text as they read it will pose curiosity-driven, often open-ended questions, which reflect deep understanding of the content and require complex reasoning to answer (Ko et al., 2020; Westera et al., 2020). A key challenge in building and evaluating models for this type of discourse comprehension is the lack of annotated data, especially since collecting answers to such questions requires high cognitive load for annotators. This paper presents a novel paradigm that enables scalable data collection targeting the comprehension of news documents, viewing these questions through the lens of discourse. The resulting corpus, DCQA (Discourse Comprehension by Question Answering), captures both discourse and semantic links between sentences in the form of free-form, open-ended questions. On an evaluation set that we annotated on questions from Ko et al. (2020), we show that DCQA provides valuable supervision for answering open-ended questions. We additionally design pre-training methods utilizing existing question-answering resources, and use synthetic data to accommodate unanswerable questions.


Machine learning takes hold in nuclear physics

#artificialintelligence

Scientists have begun turning to new tools offered by machine learning to help save time and money. In the past several years, nuclear physics has seen a flurry of machine learning projects come online, with many papers published on the subject. Now, 18 authors from 11 institutions summarize this explosion of artificial intelligence-aided work in "Machine Learning in Nuclear Physics," a paper recently published in Reviews of Modern Physics. "It was important to document the work that has been done. We really do want to raise the profile of the use of machine learning in nuclear physics to help people see the breadth of the activities," said Amber Boehnlein, lead author of the paper and the associate director for computational science and technology at the U.S. Department of Energy's Thomas Jefferson National Accelerator Facility.


Artificial intelligence is being used to generate a whole new kind of online scam

#artificialintelligence

For the past two years, I've been following a woman around the internet. It sounds ominous, I know, but hear me out. Her name is Albertina Geller, and I first stumbled across her online in October 2020, on LinkedIn. She'd listed herself as a "self-employed freelancer" in Chicago. I'm also a self-employed freelancer, so we had that in common. In her bio, she said that "I learn & teach people how to be healthy, balance their gut and improve their immune system for healthy living." I've had some gut and immune-system issues myself. It was a connection practically written in the stars. But I have to admit that what first interested me about her -- what led me to spend two years tracking her, at a distance -- wasn't our shared interests. Her LinkedIn photo was a straight-on headshot of a white woman, mid- to late 20s, with a pale complexion and lightly rosy cheeks. She had shoulder-length blond hair, swept neatly to one side.


Are the Writing Robots Taking Over?

#artificialintelligence

In the last year, one topic of conversation has dominated the content writing sphere -- the rise of AI-generated articles. As someone who coaches international writers who spend years developing their skills, I think about it a lot. I don't want to see people lose their jobs, but is it really possible to stop the march of technology? Technology helps us, and complaining about change doesn't make it less real. I understand the needs of companies who want fast, rankable content, but I also hear those writers who say'Machines cannot feel.


Free, Fair Elections in India and Artificial Intelligence

#artificialintelligence

The Election Commission of India (EC) is an independent and permanent constitutional authority in India in charge of organising free and fair elections. Organising elections in a country with a population of over 1.4 billion people is a tremendous undertaking, especially when they occur on a regular basis. While there is no doubt that EC is innovating its day-to-day operations, be it implementing technology like JARVIS to combat vote manipulation or a smartphone-based e-voting system, there, however, are numerous areas where it can improve, such as checking hate speech and foreign trolls. One of the main problems for the Election Commission today is to prevent vote counting manipulation. Many parties have repeatedly alleged irregularities in the election process, the primary reason being the way EVMs are used.