Evaluating and Certifying the Adversarial Robustness of Neural Language Models

Evaluating and Certifying the Adversarial Robustness of Neural Language Models PDF Author: Muchao Ye
Publisher:
ISBN:
Category :
Languages : en
Pages : 0

Get Book Here

Book Description
Language models (LMs) built by deep neural networks (DNNs) have achieved great success in various areas of artificial intelligence, which have played an increasingly vital role in profound applications including chatbots and smart healthcare. Nonetheless, the vulnerability of DNNs against adversarial examples still threatens the application of neural LMs to safety-critical tasks. To specify, DNNs will change their correct predictions into incorrect ones when small perturbations are added to the original input texts. In this dissertation, we identify key challenges in evaluating and certifying the adversarial robustness of neural LMs and bridge those gaps through efficient hard-label text adversarial attacks and a unified certified robust training framework. The first step of developing neural LMs with high adversarial robustness is evaluating whether they are empirically robust against perturbed texts. The vital technique related to that is the text adversarial attack, which aims to construct a text that can fool LMs. Ideally, it shall output high-quality adversarial examples in a realistic setting with high efficiency. However, current evaluation pipelines proposed in the realistic hard-label setting adopt heuristic search methods, consequently meeting an inefficiency problem. To tackle this limitation, we introduce a series of hard-label text adversarial attack methods, which successfully tackle the inefficiency problem by using a pretrained word embedding space as an intermediate. A deep dive into this idea illustrates that utilizing an estimated decision boundary in the introduced word embedding space helps improve the quality of crafted adversarial examples. The ultimate goal of constructing robust neural LMs is obtaining ones for which adversarial examples do not exist, which can be realized through certified robust training. The research community has proposed different types of certified robust training either in the discrete input space or in the continuous latent feature space. We discover the structural gap within current pipelines and unify them in the word embedding space. By removing unnecessary bound computation modules, i.e., interval bound propagation, and harnessing a new decoupled regularization learning paradigm, our unification can provide a stronger robustness guarantee. Given the aforementioned contributions, we believe our findings will help contribute to the development of robust neural LMs.

Evaluating and Certifying the Adversarial Robustness of Neural Language Models

Evaluating and Certifying the Adversarial Robustness of Neural Language Models PDF Author: Muchao Ye
Publisher:
ISBN:
Category :
Languages : en
Pages : 0

Get Book Here

Book Description
Language models (LMs) built by deep neural networks (DNNs) have achieved great success in various areas of artificial intelligence, which have played an increasingly vital role in profound applications including chatbots and smart healthcare. Nonetheless, the vulnerability of DNNs against adversarial examples still threatens the application of neural LMs to safety-critical tasks. To specify, DNNs will change their correct predictions into incorrect ones when small perturbations are added to the original input texts. In this dissertation, we identify key challenges in evaluating and certifying the adversarial robustness of neural LMs and bridge those gaps through efficient hard-label text adversarial attacks and a unified certified robust training framework. The first step of developing neural LMs with high adversarial robustness is evaluating whether they are empirically robust against perturbed texts. The vital technique related to that is the text adversarial attack, which aims to construct a text that can fool LMs. Ideally, it shall output high-quality adversarial examples in a realistic setting with high efficiency. However, current evaluation pipelines proposed in the realistic hard-label setting adopt heuristic search methods, consequently meeting an inefficiency problem. To tackle this limitation, we introduce a series of hard-label text adversarial attack methods, which successfully tackle the inefficiency problem by using a pretrained word embedding space as an intermediate. A deep dive into this idea illustrates that utilizing an estimated decision boundary in the introduced word embedding space helps improve the quality of crafted adversarial examples. The ultimate goal of constructing robust neural LMs is obtaining ones for which adversarial examples do not exist, which can be realized through certified robust training. The research community has proposed different types of certified robust training either in the discrete input space or in the continuous latent feature space. We discover the structural gap within current pipelines and unify them in the word embedding space. By removing unnecessary bound computation modules, i.e., interval bound propagation, and harnessing a new decoupled regularization learning paradigm, our unification can provide a stronger robustness guarantee. Given the aforementioned contributions, we believe our findings will help contribute to the development of robust neural LMs.

Metric Learning

Metric Learning PDF Author: Aurélien Muise
Publisher: Springer Nature
ISBN: 303101572X
Category : Computers
Languages : en
Pages : 139

Get Book Here

Book Description
Similarity between objects plays an important role in both human cognitive processes and artificial systems for recognition and categorization. How to appropriately measure such similarities for a given task is crucial to the performance of many machine learning, pattern recognition and data mining methods. This book is devoted to metric learning, a set of techniques to automatically learn similarity and distance functions from data that has attracted a lot of interest in machine learning and related fields in the past ten years. In this book, we provide a thorough review of the metric learning literature that covers algorithms, theory and applications for both numerical and structured data. We first introduce relevant definitions and classic metric functions, as well as examples of their use in machine learning and data mining. We then review a wide range of metric learning algorithms, starting with the simple setting of linear distance and similarity learning. We show how one may scale-up these methods to very large amounts of training data. To go beyond the linear case, we discuss methods that learn nonlinear metrics or multiple linear metrics throughout the feature space, and review methods for more complex settings such as multi-task and semi-supervised learning. Although most of the existing work has focused on numerical data, we cover the literature on metric learning for structured data like strings, trees, graphs and time series. In the more technical part of the book, we present some recent statistical frameworks for analyzing the generalization performance in metric learning and derive results for some of the algorithms presented earlier. Finally, we illustrate the relevance of metric learning in real-world problems through a series of successful applications to computer vision, bioinformatics and information retrieval. Table of Contents: Introduction / Metrics / Properties of Metric Learning Algorithms / Linear Metric Learning / Nonlinear and Local Metric Learning / Metric Learning for Special Settings / Metric Learning for Structured Data / Generalization Guarantees for Metric Learning / Applications / Conclusion / Bibliography / Authors' Biographies

ECML PKDD 2020 Workshops

ECML PKDD 2020 Workshops PDF Author: Irena Koprinska
Publisher: Springer Nature
ISBN: 3030659658
Category : Computers
Languages : en
Pages : 619

Get Book Here

Book Description
This volume constitutes the refereed proceedings of the workshops which complemented the 20th Joint European Conference on Machine Learning and Knowledge Discovery in Databases, ECML PKDD, held in September 2020. Due to the COVID-19 pandemic the conference and workshops were held online. The 43 papers presented in volume were carefully reviewed and selected from numerous submissions. The volume presents the papers that have been accepted for the following workshops: 5th Workshop on Data Science for Social Good, SoGood 2020; Workshop on Parallel, Distributed and Federated Learning, PDFL 2020; Second Workshop on Machine Learning for Cybersecurity, MLCS 2020, 9th International Workshop on New Frontiers in Mining Complex Patterns, NFMCP 2020, Workshop on Data Integration and Applications, DINA 2020, Second Workshop on Evaluation and Experimental Design in Data Mining and Machine Learning, EDML 2020, Second International Workshop on eXplainable Knowledge Discovery in Data Mining, XKDD 2020; 8th International Workshop on News Recommendation and Analytics, INRA 2020. The papers from INRA 2020 are published open access and licensed under the terms of the Creative Commons Attribution 4.0 International License.

Adversarial Robustness for Machine Learning

Adversarial Robustness for Machine Learning PDF Author: Pin-Yu Chen
Publisher: Academic Press
ISBN: 0128242574
Category : Computers
Languages : en
Pages : 300

Get Book Here

Book Description
Adversarial Robustness for Machine Learning summarizes the recent progress on this topic and introduces popular algorithms on adversarial attack, defense and veri?cation. Sections cover adversarial attack, veri?cation and defense, mainly focusing on image classi?cation applications which are the standard benchmark considered in the adversarial robustness community. Other sections discuss adversarial examples beyond image classification, other threat models beyond testing time attack, and applications on adversarial robustness. For researchers, this book provides a thorough literature review that summarizes latest progress in the area, which can be a good reference for conducting future research. In addition, the book can also be used as a textbook for graduate courses on adversarial robustness or trustworthy machine learning. While machine learning (ML) algorithms have achieved remarkable performance in many applications, recent studies have demonstrated their lack of robustness against adversarial disturbance. The lack of robustness brings security concerns in ML models for real applications such as self-driving cars, robotics controls and healthcare systems. - Summarizes the whole field of adversarial robustness for Machine learning models - Provides a clearly explained, self-contained reference - Introduces formulations, algorithms and intuitions - Includes applications based on adversarial robustness

Next Generation AI Language Models in Research

Next Generation AI Language Models in Research PDF Author: Kashif Naseer Qureshi
Publisher: CRC Press
ISBN: 1040157327
Category : Computers
Languages : en
Pages : 349

Get Book Here

Book Description
In this comprehensive and cutting-edge volume, Qureshi and Jeon bring together experts from around the world to explore the potential of artificial intelligence models in research and discuss the potential benefits and the concerns and challenges that the rapid development of this field has raised. The international chapter contributor group provides a wealth of technical information on different aspects of AI, including key aspects of AI, deep learning and machine learning models for AI, natural language processing and computer vision, reinforcement learning, ethics and responsibilities, security, practical implementation, and future directions. The contents are balanced in terms of theory, methodologies, and technical aspects, and contributors provide case studies to clearly illustrate the concepts and technical discussions throughout. Readers will gain valuable insights into how AI can revolutionize their work in fields including data analytics and pattern identification, healthcare research, social science research, and more, and improve their technical skills, problem-solving abilities, and evidence-based decision-making. Additionally, they will be cognizant of the limitations and challenges, the ethical implications, and security concerns related to language models, which will enable them to make more informed choices regarding their implementation. This book is an invaluable resource for undergraduate and graduate students who want to understand AI models, recent trends in the area, and technical and ethical aspects of AI. Companies involved in AI development or implementing AI in various fields will also benefit from the book’s discussions on both the technical and ethical aspects of this rapidly growing field.

Computer Vision – ECCV 2022 Workshops

Computer Vision – ECCV 2022 Workshops PDF Author: Leonid Karlinsky
Publisher: Springer Nature
ISBN: 3031250567
Category : Computers
Languages : en
Pages : 784

Get Book Here

Book Description
The 8-volume set, comprising the LNCS books 13801 until 13809, constitutes the refereed proceedings of 38 out of the 60 workshops held at the 17th European Conference on Computer Vision, ECCV 2022. The conference took place in Tel Aviv, Israel, during October 23-27, 2022; the workshops were held hybrid or online. The 367 full papers included in this volume set were carefully reviewed and selected for inclusion in the ECCV 2022 workshop proceedings. They were organized in individual parts as follows: Part I: W01 - AI for Space; W02 - Vision for Art; W03 - Adversarial Robustness in the Real World; W04 - Autonomous Vehicle Vision Part II: W05 - Learning With Limited and Imperfect Data; W06 - Advances in Image Manipulation; Part III: W07 - Medical Computer Vision; W08 - Computer Vision for Metaverse; W09 - Self-Supervised Learning: What Is Next?; Part IV: W10 - Self-Supervised Learning for Next-Generation Industry-Level Autonomous Driving; W11 - ISIC Skin Image Analysis; W12 - Cross-Modal Human-Robot Interaction; W13 - Text in Everything; W14 - BioImage Computing; W15 - Visual Object-Oriented Learning Meets Interaction: Discovery, Representations, and Applications; W16 - AI for Creative Video Editing and Understanding; W17 - Visual Inductive Priors for Data-Efficient Deep Learning; W18 - Mobile Intelligent Photography and Imaging; Part V: W19 - People Analysis: From Face, Body and Fashion to 3D Virtual Avatars; W20 - Safe Artificial Intelligence for Automated Driving; W21 - Real-World Surveillance: Applications and Challenges; W22 - Affective Behavior Analysis In-the-Wild; Part VI: W23 - Visual Perception for Navigation in Human Environments: The JackRabbot Human Body Pose Dataset and Benchmark; W24 - Distributed Smart Cameras; W25 - Causality in Vision; W26 - In-Vehicle Sensing and Monitorization; W27 - Assistive Computer Vision and Robotics; W28 - Computational Aspects of Deep Learning; Part VII: W29 - Computer Vision for Civil and Infrastructure Engineering; W30 - AI-Enabled Medical Image Analysis: Digital Pathology and Radiology/COVID19; W31 - Compositional and Multimodal Perception; Part VIII: W32 - Uncertainty Quantification for Computer Vision; W33 - Recovering 6D Object Pose; W34 - Drawings and Abstract Imagery: Representation and Analysis; W35 - Sign Language Understanding; W36 - A Challenge for Out-of-Distribution Generalization in Computer Vision; W37 - Vision With Biased or Scarce Data; W38 - Visual Object Tracking Challenge.

ECAI 2023

ECAI 2023 PDF Author: K. Gal
Publisher: IOS Press
ISBN: 164368437X
Category : Computers
Languages : en
Pages : 3328

Get Book Here

Book Description
Artificial intelligence, or AI, now affects the day-to-day life of almost everyone on the planet, and continues to be a perennial hot topic in the news. This book presents the proceedings of ECAI 2023, the 26th European Conference on Artificial Intelligence, and of PAIS 2023, the 12th Conference on Prestigious Applications of Intelligent Systems, held from 30 September to 4 October 2023 and on 3 October 2023 respectively in Kraków, Poland. Since 1974, ECAI has been the premier venue for presenting AI research in Europe, and this annual conference has become the place for researchers and practitioners of AI to discuss the latest trends and challenges in all subfields of AI, and to demonstrate innovative applications and uses of advanced AI technology. ECAI 2023 received 1896 submissions – a record number – of which 1691 were retained for review, ultimately resulting in an acceptance rate of 23%. The 390 papers included here, cover topics including machine learning, natural language processing, multi agent systems, and vision and knowledge representation and reasoning. PAIS 2023 received 17 submissions, of which 10 were accepted after a rigorous review process. Those 10 papers cover topics ranging from fostering better working environments, behavior modeling and citizen science to large language models and neuro-symbolic applications, and are also included here. Presenting a comprehensive overview of current research and developments in AI, the book will be of interest to all those working in the field.

Mastering Large Language Models with Python

Mastering Large Language Models with Python PDF Author: Raj Arun R
Publisher: Orange Education Pvt Ltd
ISBN: 8197081824
Category : Computers
Languages : en
Pages : 547

Get Book Here

Book Description
A Comprehensive Guide to Leverage Generative AI in the Modern Enterprise KEY FEATURES ● Gain a comprehensive understanding of LLMs within the framework of Generative AI, from foundational concepts to advanced applications. ● Dive into practical exercises and real-world applications, accompanied by detailed code walkthroughs in Python. ● Explore LLMOps with a dedicated focus on ensuring trustworthy AI and best practices for deploying, managing, and maintaining LLMs in enterprise settings. ● Prioritize the ethical and responsible use of LLMs, with an emphasis on building models that adhere to principles of fairness, transparency, and accountability, fostering trust in AI technologies. DESCRIPTION “Mastering Large Language Models with Python” is an indispensable resource that offers a comprehensive exploration of Large Language Models (LLMs), providing the essential knowledge to leverage these transformative AI models effectively. From unraveling the intricacies of LLM architecture to practical applications like code generation and AI-driven recommendation systems, readers will gain valuable insights into implementing LLMs in diverse projects. Covering both open-source and proprietary LLMs, the book delves into foundational concepts and advanced techniques, empowering professionals to harness the full potential of these models. Detailed discussions on quantization techniques for efficient deployment, operational strategies with LLMOps, and ethical considerations ensure a well-rounded understanding of LLM implementation. Through real-world case studies, code snippets, and practical examples, readers will navigate the complexities of LLMs with confidence, paving the way for innovative solutions and organizational growth. Whether you seek to deepen your understanding, drive impactful applications, or lead AI-driven initiatives, this book equips you with the tools and insights needed to excel in the dynamic landscape of artificial intelligence. WHAT WILL YOU LEARN ● In-depth study of LLM architecture and its versatile applications across industries. ● Harness open-source and proprietary LLMs to craft innovative solutions. ● Implement LLM APIs for a wide range of tasks spanning natural language processing, audio analysis, and visual recognition. ● Optimize LLM deployment through techniques such as quantization and operational strategies like LLMOps, ensuring efficient and scalable model usage. ● Master prompt engineering techniques to fine-tune LLM outputs, enhancing quality and relevance for diverse use cases. ● Navigate the complex landscape of ethical AI development, prioritizing responsible practices to drive impactful technology adoption and advancement. WHO IS THIS BOOK FOR? This book is tailored for software engineers, data scientists, AI researchers, and technology leaders with a foundational understanding of machine learning concepts and programming. It's ideal for those looking to deepen their knowledge of Large Language Models and their practical applications in the field of AI. If you aim to explore LLMs extensively for implementing inventive solutions or spearheading AI-driven projects, this book is tailored to your needs. TABLE OF CONTENTS 1. The Basics of Large Language Models and Their Applications 2. Demystifying Open-Source Large Language Models 3. Closed-Source Large Language Models 4. LLM APIs for Various Large Language Model Tasks 5. Integrating Cohere API in Google Sheets 6. Dynamic Movie Recommendation Engine Using LLMs 7. Document-and Web-based QA Bots with Large Language Models 8. LLM Quantization Techniques and Implementation 9. Fine-tuning and Evaluation of LLMs 10. Recipes for Fine-Tuning and Evaluating LLMs 11. LLMOps - Operationalizing LLMs at Scale 12. Implementing LLMOps in Practice Using MLflow on Databricks 13. Mastering the Art of Prompt Engineering 14. Prompt Engineering Essentials and Design Patterns 15. Ethical Considerations and Regulatory Frameworks for LLMs 16. Towards Trustworthy Generative AI (A Novel Framework Inspired by Symbolic Reasoning) Index

Programming Languages and Systems

Programming Languages and Systems PDF Author: Helmut Seidl
Publisher: Springer Science & Business Media
ISBN: 3642288685
Category : Computers
Languages : en
Pages : 614

Get Book Here

Book Description
This book constitutes the refereed proceedings of the 21st European Symposium on Programming, ESOP 2012, held in Tallinn, Estonia, as part of ETAPS 2012, in March/April 2012. The 28 full papers, presented together with one full length invited talk, were carefully reviewed and selected from 92 submissions. Papers were invited on all aspects of programming language research, including: programming paradigms and styles, methods and tools to write and specify programs and languages, methods and tools for reasoning about programs, methods and tools for implementation, and concurrency and distribution.

PROCEEDINGS OF THE 23RD CONFERENCE ON FORMAL METHODS IN COMPUTER-AIDED DESIGN – FMCAD 2023

PROCEEDINGS OF THE 23RD CONFERENCE ON FORMAL METHODS IN COMPUTER-AIDED DESIGN – FMCAD 2023 PDF Author: Alexander Nadel
Publisher: TU Wien Academic Press
ISBN: 3854480601
Category : Computers
Languages : en
Pages : 332

Get Book Here

Book Description
The Conference on Formal Methods in Computer-Aided Design (FMCAD) is an annual conference on the theory and applications of formal methods in hardware and system in academia and industry for presenting and discussing groundbreaking methods, technologies, theoretical results, and tools for reasoning formally about computing systems. FMCAD covers formal aspects of computer-aided system testing.