<?xml version="1.0" encoding="UTF-8"?>
<CourseUnit xmlns="http://www.manchester.ac.uk/CUICourseUnitDetails" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.manchester.ac.uk/CUICourseUnitDetails.xsd">
  <UnitCode Applicant="Y" Label="Unit code" Student="Y">
    <Code>COMP60272</Code>
  </UnitCode>
  <UnitTitle Applicant="Y" Label="Unit title" Student="Y">
    <Title>Security and Privacy in Artificial Intelligence</Title>
  </UnitTitle>
  <MaxUnits Applicant="Y" Label="Credit rating" Student="Y">
    <Units>15</Units>
  </MaxUnits>
  <TeachingPeriods Applicant="Y" Label="Teaching period(s)" Student="Y">
    <Period>Semester 2</Period>
  </TeachingPeriods>
  <AcademicCareer Applicant="Y" Label="Academic career" Student="Y">
    <Value>Postgraduate Taught</Value>
  </AcademicCareer>
  <UnitLevel Applicant="Y" Label="Unit level" Student="Y">
    <Level>Level 6</Level>
  </UnitLevel>
  <StaffList Applicant="Y" Label="Teaching staff" RoleLabel="Course Unit Role" Student="Y">
    <StaffMember>
      <Name>Edoardo Manino</Name>
      <Role>Unit coordinator</Role>
    </StaffMember>
  </StaffList>
  <OfferedBy Applicant="Y" Label="Offered by" Student="Y">
    <OrganisationList>
      <Organisation>
        <OrgName></OrgName>
      </Organisation>
    </OrganisationList>
    <GroupList>
      <Group>
        <GroupName></GroupName>
      </Group>
    </GroupList>
    <FheqLevels>
      <FheqLevel>
        <LevelNumber>1</LevelNumber>
        <LevelName>FHEQ level (Framework for Higher Education Qualifications) ' Masters/Integrated Masters P4 ' </LevelName>
      </FheqLevel>
    </FheqLevels>
    <Ects>
      <MaxUnits>European Credit Transfer &amp; Accumulation System Rating :   7.5</MaxUnits>
    </Ects>
  </OfferedBy>
  <MarketingOverview Applicant="Y" Label="Marketing Course unit overview" Student="">
    <Content>&lt;p&gt;Neural networks, machine learning models and other data-driven AI components are becoming ubiquitous. Yet, they often fail in subtle and unpredictable ways. This unit takes a security perspective on the issue and covers the most common threats on state-of-the-art AI components together with their corresponding defences. Students will be trained in theoretical formalisation, efficient algorithms, software libraries and practical tools.&lt;/p&gt;</Content>
  </MarketingOverview>
  <UnitOverview Applicant="" Label="Course unit overview" Student="Y">
    <Content>&lt;p&gt;Neural networks, machine learning models and other data-driven AI components are becoming ubiquitous. Yet, they often fail in subtle and unpredictable ways. This unit takes a security perspective on the issue and covers the most common threats on state-of-the-art AI components together with their corresponding defences. Students will be trained in theoretical formalisation, efficient algorithms, software libraries and practical tools.&lt;br&gt;&lt;br&gt;More specifically, students will be trained to formally model threats to AI components as an optimisation problem and execute them in practice using state-of-the-art algorithms and tools. This will include both adversarial attacks such as evasion, poisoning and backdoor attacks, and privacy attacks such as membership inference and model extraction attacks. For each attack, the unit will cover potential defences such as adversarial training, anomaly detection, certified models, data encryption and differential privacy.&lt;br&gt;&lt;br&gt;As the field is constantly evolving, the unit will cover one or two cutting edge topics each year.&lt;/p&gt;</Content>
  </UnitOverview>
  <Aims Applicant="Y" Label="Aims" Student="Y">
    <Content>&lt;p&gt;The unit aims to introduce students to security and privacy issues of data-driven AI components and existing countermeasures. Students will learn how to deploy adversarial attacks against the whole machine learning pipeline, with their corresponding deterministic and probabilistic defences. Furthermore, students will learn how to guarantee the privacy of both user data and AI models alike. After attending this unit, each student will possess the fundamental knowledge to continue their personal lifelong learning in this rapidly evolving field.&lt;/p&gt;</Content>
  </Aims>
  <LearningOutcomes Applicant="Y" Label="Learning outcomes" Student="Y">
    <Content>&lt;p&gt;1. Describe common threats to the modern machine learning pipeline.&lt;/p&gt;&lt;p&gt;2. Explain the algorithmic details of adversarial and privacy attacks on AI components and identify the appropriate defence techniques.&lt;/p&gt;&lt;p&gt;3. Design attacks and defences for a given AI component, taking into account the appropriate computational and informational constraints.&lt;/p&gt;&lt;p&gt;4. Apply software tools to find adversarial vulnerabilities in a given AI model and patch them.&lt;/p&gt;&lt;p&gt;5. Use available libraries for deploying privacy-preserving techniques to protect AI models.&lt;/p&gt;&lt;p&gt;6. Communicate the risks and countermeasures associated with state-of-the-art AI models.&lt;/p&gt;&lt;p&gt;7. Assess the suitability of AI security and privacy techniques for a given application.&lt;/p&gt;</Content>
  </LearningOutcomes>
  <Knowledge Applicant="Y" Label="Knowledge and understanding" Student="Y">
    <Content></Content>
  </Knowledge>
  <IntellectualSkills Applicant="Y" Label="Intellectual skills" Student="Y">
    <Content></Content>
  </IntellectualSkills>
  <PracticalSkills Applicant="Y" Label="Practical skills" Student="Y">
    <Content></Content>
  </PracticalSkills>
  <TransferableSkills Applicant="Y" Label="Transferable skills and personal qualities" Student="Y">
    <Content></Content>
  </TransferableSkills>
  <EmployabilitySkillsList Applicant="Y" Label="Employability skills" Student="Y">
    <Skill>
      <SkillId>Analytical skills</SkillId>
      <SkillDescription></SkillDescription>
    </Skill>
    <Skill>
      <SkillId>Problem solving</SkillId>
      <SkillDescription></SkillDescription>
    </Skill>
    <Skill>
      <SkillId>Research</SkillId>
      <SkillDescription></SkillDescription>
    </Skill>
    <Skill>
      <SkillId>Written communication</SkillId>
      <SkillDescription></SkillDescription>
    </Skill>
    <Skill>
      <SkillId>Other</SkillId>
      <SkillDescription></SkillDescription>
    </Skill>
  </EmployabilitySkillsList>
  <Syllabus Applicant="Y" Label="Syllabus" Student="Y">
    <Content>&lt;p&gt;The unit covers four distinct topics:&lt;/p&gt;&lt;p&gt;1. AI Threats. Understand the scope of cyber threats targeting AI systems, and why it is important to protect AI systems. Identify the correct threat model for each stage of the modern machine learning pipeline: training, evaluation and deployment.&lt;/p&gt;&lt;p&gt;2. Robustness and Adversarial Attacks. Understand the intrinsic vulnerabilities of machine learning models: average accuracy vs worst-case behaviour. Learn existing verification algorithms for certified robustness and their theoretical complexity. Explore potential defences including randomised smoothing, adversarial training and repair.&lt;/p&gt;&lt;p&gt;3. Data Poisoning and Backdoors. Understand the feasibility of training-time attacks such as data poisoning and backdoors. Learn a range of defence techniques including watermarking and anomaly detection. Explore the best practices in regular system audits, ensuring continuous improvement of AI system security.&lt;/p&gt;&lt;p&gt;4. Privacy-Preserving Machine Learning. Understand the impact of privacy attacks from individual training samples to the leakage of whole models. Identify potential defences including differential privacy and encryption primitives. Explore post-hoc analysis techniques to audit a variety of data-theft scenarios.&lt;/p&gt;</Content>
  </Syllabus>
  <TeachingMethods Applicant="Y" Label="Teaching and learning methods" Student="Y">
    <Content>&lt;p&gt;This unit includes a blend of face-to-face lectures, practical tutorials, guest seminars, online resources and group work.&lt;br&gt;&lt;br&gt;Synchronous Activities: weekly lectures and tutorials covering theoretical aspects, algorithms, software tools and hands-on experience.&lt;br&gt;&lt;br&gt;Asynchronous Activities: guest seminars (online and/or recorded) and directed reading, including reviews of recent advances in the field.&lt;/p&gt;</Content>
  </TeachingMethods>
  <AssessmentMethods Applicant="Y" Label="Assessment methods" Student="Y">
    <IntroText> </IntroText>
    <Method>
      <MethodId>1</MethodId>
      <MethodName>Written exam</MethodName>
      <MethodWeight>50%</MethodWeight>
    </Method>
    <Method>
      <MethodId>2</MethodId>
      <MethodName>Written assignment (inc essay)</MethodName>
      <MethodWeight>50%</MethodWeight>
    </Method>
  </AssessmentMethods>
  <FeedbackMethods Applicant="Y" Label="Feedback methods" Student="Y">
    <Content>&lt;p&gt;Assignment: individual feedback on completion of marking.&lt;/p&gt;&lt;p&gt;Exam: marks will be released after the exam board review. Written feedback will be cohort-level and focus on general trends and common pitfalls.&lt;/p&gt;</Content>
  </FeedbackMethods>
  <RequirementsList Applicant="Y" Label="Pre/co-requisites" Student="Y">
    <Requirement>
      <UnitCode></UnitCode>
      <UnitTitle></UnitTitle>
      <RequirementType></RequirementType>
      <Description></Description>
    </Requirement>
    <AdditionalRequirement>&lt;p&gt;Some background in Machine Learning or Data Science is recommended.&lt;/p&gt;</AdditionalRequirement>
  </RequirementsList>
  <AcademicPrograms Applicant="Y" Label="Academic programmes" Student="Y">
    <AcademicProgram>
      <Program></Program>
      <Plan></Plan>
      <Level></Level>
      <Requirement></Requirement>
    </AcademicProgram>
  </AcademicPrograms>
  <FreeChoice Applicant="Y" Label="Available as a free choice unit?" Student="Y">
    <Content>Y</Content>
  </FreeChoice>
  <Accreditation Applicant="Y" Label="Accreditation" Student="Y">
    <Content></Content>
  </Accreditation>
  <RecommendedReading Applicant="Y" Label="Recommended reading" Student="Y">
    <Content>&lt;p&gt;Lorenzo Cavallaro, Emiliano De Cristofaro. Security and Privacy of AI Knowledge Guide. The Cyber Security Body of Knowledge (CyBOK). 2023&lt;/p&gt;&lt;p&gt;&lt;br&gt;Ken Huang, et al. Generative AI Security: Theory and Practices. Springer. 2024.&lt;/p&gt;&lt;p&gt;&lt;br&gt;Omar Santos, Petar Radanliev. Beyond the Algorithm: AI, Security, Privacy, and Ethics. Pearson Education. 2024.&lt;/p&gt;&lt;p&gt;&lt;br&gt;Fei Hu, Xiali Hei. AI, Machine Learning, and Deep Learning: a Security Perspective. CRC Press. 2023.&lt;/p&gt;&lt;p&gt;&lt;br&gt;Luc Jaulin, et al. Applied Interval Analysis. Springer. 2001.&lt;/p&gt;&lt;p&gt;&lt;br&gt;Daniel Kroening, Ofer Strichman. Decision Procedures: an Algorithmic Point of View. Springer. 2016.&lt;/p&gt;&lt;p&gt;&lt;br&gt;Christopher M. Bishop, Nasser M. Nasrabadi. Pattern recognition and machine learning. Springer. 2006&lt;/p&gt;</Content>
  </RecommendedReading>
  <StudyHours Applicant="Y" Label="Study hours" Student="Y">
    <IntroText> </IntroText>
    <ScheduledHours Applicant="Y" Label="Scheduled activity hours" Student="Y">
      <ActivityHours>
        <ActivityType>Assessment written exam</ActivityType>
        <Hours>2</Hours>
      </ActivityHours>
      <ActivityHours>
        <ActivityType>Lectures</ActivityType>
        <Hours>15</Hours>
      </ActivityHours>
      <ActivityHours>
        <ActivityType>Tutorials</ActivityType>
        <Hours>15</Hours>
      </ActivityHours>
    </ScheduledHours>
    <PlacementHours Applicant="Y" Label="Placement hours" Student="Y">
      <ActivityHours>
        <ActivityType></ActivityType>
        <Hours>0</Hours>
      </ActivityHours>
    </PlacementHours>
    <TotalHours Applicant="Y" Label="Independent study hours" Student="Y">
      <Hours>118</Hours>
    </TotalHours>
  </StudyHours>
  <Notes Applicant="Y" Label="Additional notes" Student="Y">
    <Content>&lt;p&gt;Coursework: 20 hours&lt;/p&gt;&lt;p&gt;Directed reading: 10 hours&lt;/p&gt;&lt;p&gt;Online seminars: 5 hours&lt;br&gt;&lt;br&gt;&lt;br&gt;Please contact the unit lead to get permission to do the unit if you are not a Comp Sci student/ unable to enrol onto the unit.&lt;/p&gt;</Content>
  </Notes>
</CourseUnit>
