PGR Seminar with Zhongliang Guo

The next PGR seminar is taking place this Friday at 2PM in JC 1.33a

Below is a title and Abstract for Zhongliang’s talk– Please do come along if you are able.

Title: Adversarial Attack as a Defense: Preventing Unauthorized AI Generation in Computer Vision

Abstract: Adversarial attack is a technique that generate adversarial examples by adding imperceptible perturbations to clean images. These adversarial perturbations, though invisible to human eyes, can cause neural networks to produce incorrect outputs, making adversarial examples a significant security concern in deep learning. While previous research has primarily focused on designing powerful attacks to expose neural network vulnerabilities or using them as baselines for robustness evaluation, our work takes a novel perspective by leveraging adversarial examples to counter malicious uses of machine learning. In this seminar, I will present two of our recent works in this direction. First, I will introduce the Locally Adaptive Adversarial Color Attack (LAACA), which enables artists to protect their artwork from unauthorized neural style transfer by embedding imperceptible perturbations that significantly degrade the quality of style transfer results. Second, I will discuss our Posterior Collapse Attack (PCA), a grey-box attack method that disrupts unauthorized image editing based on Stable Diffusion by exploiting the common VAE structure in latent diffusion models. Our research demonstrates how adversarial examples, traditionally viewed as a security threat, can be repurposed as a proactive defense mechanism against the misuse of generative AI, contributing to the responsible development and deployment of these powerful technologies.

AI Seminar Tuesday 19th November – Francesco Leofante

The School is hosting an AI seminar on Tuesday 19th November at 11am in JCB1.33A/B

Our speaker is Francesco Leofante from Imperial College London.

Title:

Robustness issues in algorithmic recourse.

Abstract:

Counterfactual explanations (CEs) are advocated as being ideally suited to providing algorithmic recourse for subjects affected by the predictions of machine learning models. While CEs can be beneficial to affected individuals, recent work has exposed severe issues related to the robustness of state-of-the-art methods for obtaining CEs. Since a lack of robustness may compromise the validity of CEs, techniques to mitigate this risk are in order. In this talk we will begin by introducing the problem of (lack of) robustness, discuss its implications and present some recent solutions we developed to compute CEs with robustness guarantees.

Bio:

Francesco is an Imperial College Research Fellow affiliated with the Centre for Explainable Artificial Intelligence at Imperial College London. His research focuses on safe and explainable AI, with special emphasis on counterfactual explanations and their robustness. Since 2022, he leads the project “ConTrust: Robust Contrastive Explanations for Deep Neural Networks”, a four-year effort devoted to the formal study of robustness issues arising in XAI. More details about Francesco and his research can be found at https://fraleo.github.io/.

Fully funded PhD scholarship in software ethics

Supporting ethical deliberation in the software lifecycle

 

Lead supervisor: Dr Dharini Balasubramaniam

Application deadline: 1 March 2025

Project description:

Software ethics covers a broad spectrum of concerns including accountability, fairness, privacy and data protection, transparency, safety, security, accessibility, digital inclusion and sustainability. Much of the current dialogue on software ethics relates to the development, deployment and use of AI-based solutions, although there are ethical concerns related to most, if not all, software application domains. The pervasive nature of software, its critical importance to the functioning of many sectors, and the opaque nature of software-supported decision making in some domains all make it vital that ethical issues are explicitly considered throughout the software lifecycle.

There is generic ethics guidance, such as the ACM / IEEE Software Engineering Code of Ethics and sets of ethical principles specifically aimed at domains such as AI, available to software engineers. Generic and specific concepts such as value-based software development and responsible AI have been proposed to encourage ethical software development. However, there is still a lack of processes, notations, tools and training available to software professionals to support systematic ethical deliberation and ethics-driven development in practice.
This project will explore and attempt to address this gap. The student will design and develop ways to explicitly capture ethical requirements, risks and mitigations as first-class concepts in software artefacts. They will implement tools that work with these specifications to analyse the compliance of software artefacts with ethical requirements, and highlight potential violations and consequences. Interviews with software professionals and service providers may be used to inform and evaluate the efficacy and viability of outcomes. Open-source projects in chosen application domains may also be used for case study-based evaluation.

Topics of interest:

Specific topics of interest include, but are not limited to:

  • A framework of ethical concerns that apply to software,
  • Notations to represent ethical requirements, risks and mitigations as first-class concepts in software design and implementation,
  • Tool support for the representation and analysis of ethical concerns in software artefacts,
  • Process and tool support for considering specific aspects of software ethics, such as bias avoidance, transparency, sustainability or accessibility, and
  • Integration of ethical training and deliberation within project and product management environments.

The scholarship:

We have one fully-funded scholarship available, starting in September 2025. The scholarship covers all tuition fees irrespective of country of origin and includes a stipend valued at £19,705 per annum. More details of the scholarship can be found here: https://blogs.cs.st-andrews.ac.uk/csblog/2024/10/24/phd-studentships-available-for-2025-entry/, but please note the different application deadline.

Eligibility criteria:

We are looking for highly motivated research students keen to be part of a diverse and supportive research community. Applicants must hold a good Bachelor’s or Master’s degree in Computer Science, or a related area appropriate for the topic of this PhD.

International applications are welcome. We especially encourage female applicants and underrepresented minorities to apply. The School of Computer Science was awarded the Athena SWAN Silver award for its sustained progression in advancing equality and representation, and we welcome applications from those suitably qualified from all genders, all races, ethnicities and nationalities, LGBT+, all or no religion, all social class backgrounds, and all family structures to apply for our postgraduate research programmes.

To apply:

Interested applicants can contact Dharini Balasubramaniam with an outline proposal. Full instructions for the formal application process can be found at https://www.st-andrews.ac.uk/computer-science/prospective/pgr/how-to-apply/.

The deadline for applications is 1 March 2025.

Fully funded PhD Scholarship in Hardware Simulation at Scale

 

As the Internet ofThings (IoT) expands, the number of connected devices is expected to reach close to 30 billion by 2030. These devices range from simple sensors to complex embedded systems, each with unique characteristics and communication protocols. Simulating such a vast and diverse array of devices presents a significant challenge in terms of scalability, accuracy, and efficiency. This PhD project aims to develop a comprehensive framework for simulating many (1000s, 10,000s, 1,000,000s) heterogeneous IoT devices, at (hopefully) close to real-time speeds. The project will focus on designing a specialised languages for describing hardware and simulations, creating an efficient simulation environment, and exploring hardware acceleration techniques to achieve high performance and scalability.

Previous research in this area has primarily focused on simulating individual devices, smaller networks, or using simplified models that do not fully capture the intricacies of real-world IoT systems. This project seeks to address these limitations by developing a scalable simulation framework that can accurately model the behaviour of billions of heterogeneous devices, advancing the state-of-the-art in simulation languages, distributed computing, and hardware acceleration.

The project will be structured around three core research ideas:

  • Simulation Languages for Heterogeneous Embedded Devices: The first research objective is to explore the creation of a specialised language for describing the behaviour and interactions of heterogeneous IoT devices. This language will need to be expressive enough to capture the wide range of device architectures and communication protocols found in IoT systems. The language will also support modularity and extensibility, allowing users to easily incorporate new device types and behaviours into the simulation.
  • Development of a Scalable Simulation Environment: The second research objective is to create a simulation environment that can efficiently emulate IoT devices at scale, across multiple simulation servers. This environment will be designed to support distributed computing, allowing for parallel execution of simulated devices across a large number of servers. The project will explore various techniques for load balancing, synchronisation, and communication between servers to ensure that the simulation remains efficient and accurate as the scale increases.
  • Hardware Acceleration for Large-Scale Simulations: The third research objective is to investigate the use of hardware acceleration techniques, such as Field Programmable Gate Arrays (FPGAs) and Graphics Processing Units (GPUs), to improve the performance of large-scale IoT simulations. This aspect of the project will focus on identifying the components of the simulation that can be offloaded to specialised hardware, and developing algorithms and architectures that leverage this hardware to achieve significant performance gains.

Topics of Interest

  • Heterogeneous Systems Modelling: Techniques for accurately modelling the diverse architectures and communication protocols of IoT devices.
  • Distributed Simulation: Methods for efficiently distributing simulations across multiple servers, including load balancing, synchronisation, and inter-server communication.
  • Simulation Languages: Design and implementation of specialised languages for describing complex IoT devices and networks.
  • Hardware Acceleration: Exploration of FPGA, GPU, and other hardware acceleration technologies to enhance the performance of large-scale simulations.
  • Scalability and Performance Optimisation: Strategies for ensuring that the simulation framework can handle the increasing complexity and scale of IoT networks.
  • Validation and Verification: Techniques for validating and verifying the accuracy and reliability of large-scale IoT simulations.

The Scholarship

We have one fully-funded scholarship available, starting in September 2025, which will be awarded to competitively to the best applicant. The scholarship covers all tuition fees (irrespective of country of origin) and comes with a stipend valued at £19,705 per annum. More details can be found here: https://blogs.cs.st-andrews.ac.uk/csblog/2024/10/24/phd-studentships-available-for-2025-entry/

International applications are welcome. We especially encourage female applicants and underrepresented minorities to apply. The School of Computer Science was awarded the Athena SWAN Silver award for its sustained progression in advancing equality and representation, and we welcome applications from those suitably qualified from all genders, all races, ethnicities and nationalities, LGBT+, all or no religion, all social class backgrounds, and all family structures to apply for our postgraduate research programmes.

To Apply

Informal enquiries can be directed to Tom Spink. Full instructions for formal applications can be found at https://www.st-andrews.ac.uk/computer-science/prospective/pgr/how-to-apply/

The deadline for applications is 1 March 2025.

Fully-funded PhD scholarship in parallel programming and dependent-types

The school of Computer Science at the University of St Andrews has a fully-funded scholarship available working in the Programming Languages Research Group with Dr Christopher Brown. Applications must be received by 1 March 2025.

Background

Algorithmic skeletons provide a convenient and high-level approach to writing efficient parallel software by leveraging common patterns of parallel behaviours. A skeleton library presents the programmer with a library of high-level parallel interfaces, abstracting away the low-level complexities of manually handling concurrency primitives, e.g. locking, synchronisation and thread creation. Skeletons give an excellent compromise between ease of programming and the ability to generate highly efficient parallel software. A wide range of skeletons have been developed for several different languages, including Fastflow, TBB, PPL and OpenMP. However, despite the proliferation of skeleton libraries, there is little support for an increasingly popular class of programming languages equipped with dependent types.

 

Dependently-typed programming languages address the problem of program safety by ensuring that code conforms to its specification. This is achieved by permitting types to depend on values, thereby allowing programmers to express logical properties, and proof, as intrinsic parts of their programs. This conformance is checked at compile-time. This interest in dependent-types has resulted in a number of functional languages such as pi-forall, Agda, Idris and Coq. However, despite these developments in types, these dependently-typed languages still lack a parallel implementation, making development of safe parallel programs impossible.

 

This project will explore approaches to designing and implementing a dependently-typed parallel programming language. These approaches will consider the technical challenges, but also balancing those with the high-level usability that skeletons bring and the performance expectations of a performant system. As part of this exploration, use-cases will also need to be developed, and the scientific evaluation of the performance of the system will need to be carried out.

Topics of Interest

This project is largely exploratory in nature, and may take several different approaches and directions, including (but not limited to):

  • Extending an existing dependently-typed language, such as Idris, with new concurrency primitives.
  • Designing and implementing an efficient parallel runtime system as a backend to the language.
  • Building on top of these primitives to provide dependently-typed concurrency behaviours, such as synchronisation points, channel behaviours, etc.
  • To design and implement a set of dependently-typed algorithmic skeletons such as farms and pipelines.
  • To explore and identify new skeletons that arise from writing dependently-typed programs.
  • To use dependent-types to encode safety and soundness properties and reason about these properties in a formal way.

The Scholarship

We have one fully-funded scholarship available, starting in September 2025, which will be awarded to competitively to the best applicant. The scholarship covers all tuition fees (irrespective of country of origin) and comes with a stipend valued at £19,705 per annum. More details can be found here: https://blogs.cs.st-andrews.ac.uk/csblog/2024/10/24/phd-studentships-available-for-2025-entry/

International applications are welcome. We especially encourage female applicants and underrepresented minorities to apply. The School of Computer Science was awarded the Athena SWAN Silver award for its sustained progression in advancing equality and representation, and we welcome applications from those suitably qualified from all genders, all races, ethnicities and nationalities, LGBT+, all or no religion, all social class backgrounds, and all family structures to apply for our postgraduate research programmes.

To Apply

Informal enquiries can be directed to Chris. Full instructions for formal applications can be found at https://www.st-andrews.ac.uk/computer-science/prospective/pgr/how-to-apply/

The deadline for applications is 1 March 2025.

 

AI Seminar Friday 18th October – Leonardo Bezerra

The School is hosting an AI seminar on Friday 18th October at 11.30am in JCB1.33A!

Our speaker is Leonardo Bezerra from the University of Stirling.

FAIRTECH by design: assessing and addressing the social impacts of artificial intelligence systems

In a decade, social media and big data have transformed society and enabled groundbreaking artificial intelligence (AI) technologies like deep learning and generative AI. Applications like ChatGPT have impacted the world and outpaced regulatory agencies, who were rushed from a data-centred to an AI-centred concern. Recent developments from both the United Kingdom (UK) and the United States (US) originated in the executive branch, and the most advanced Western binding legislation is the European Union (EU) AI Act, expected to be implemented over the next three years. In the meantime, the United Nations (UN) have proposed an AI advisory body similar to the International Panel on Climate Change (IPCC), and countries from the Global South like Brazil are following Western proposals. In turn, AI companies have been proactive in the regulation debate, aiming at a scenario of improved accountability and reduced liability. In this talk, we will briefly overview efforts and challenges regarding AI regulation and how major AI players are addressing it. The goal of the talk is to stir future project collaborations from a multidisciplinary perspective, to promote a culture where the development and adoption of AI systems is fair, accountable, inclusive, responsible, transparent, ethical, carbon-efficient, and human-centred (FAIRTECH) by design.

Speaker bio: Leonardo Bezerra joined the University of Stirling as a Lecturer in Artificial Intelligence (AI)/Data Science in 2023, after having been a Lecturer in Brazil for the past 7 years. He received his Ph.D. degree from Université Libre de Bruxelles (Belgium) in 2016, having defended a thesis on the automated design of multi-objective evolutionary algorithms. His research experience spans from applied data science projects with public and private institutions to supervising theses on automated and deep machine learning. Recently, his research has concentrated on the social impact of AI applications, integrating the Participatory Harm Auditing Workbenches and Methodologies project funded by Responsible AI UK.

GAP Days Summer 2024 @ St Andrews

The School of Computer Science hosted this years Summer GAP Days between 26th August and 30th August.

GAP Days are workshops where developers and users with programming experience are invited to influence the future development of [GAP] by initiating and contributing to discussions and coding sprints.

These GAP Days have been special as we celebrated 10 years of the [Digraphs] package as well as 10 years of [GAP Days] (to the week!).

We had a great selection of speakers and attendees from varied backgrounds, which cumulated in the release of the re-vamped GAP webpage, and over 30 new versions of packages!

Distinguished Lecture series 2024

This years Distinguished Lecture series was delivered yesterday ( Tuesday 12th March) by Professor Neil Lawrence, University of Cambridge

In his talk on, ‘The Atomic Human Understanding Ourselves in the Age of AI’ he gave an overview of where we are now with machine learning solutions, and what challenges we face both in the near and far future. These include the practical application of existing algorithms in the face of the need to explain decision-making, mechanisms for improving the quality and availability of data and dealing with large unstructured datasets.

Seminar: Tangible User Interfaces 13th March 2024

We have 2 presentations next week focusing on Tangible interfaces by Laura Pruszko and Anna Carter.

Talk 1: Designing for Modularity – a modular approach to physical user interfaces

Abstract:

Designing for Modularity – a modular approach to physical user interfaces by Laura Pruszko
Physical user interfaces, future or history? While some of our old physical UIs get progressively replaced by their graphical counterparts, humans still rely on physicality for eye-free interaction. Shape-changing user interfaces — i.e. physical devices able to change their shape to accommodate the user, the task, or the environment – are often presented as a way to bridge the gap between the physicality of physical user interfaces and the flexibility of graphical user interfaces, but they come with their fair share of challenges. In this presentation, we will talk about these challenges under the specific scope of modular shape-changing interfaces: how do we design for modularity? What is the impact on the user? As these kinds of interfaces are not commonplace in our everyday lives, they introduce novel usability considerations for the HCI community to explore.

Bio:

Laura Pruszko is a lecturer in the Applied Computer Games department of Glasgow Caledonian University. Her research focuses on interaction with physical user interfaces and modular systems. She obtained her PhD from Grenoble Alpes University in 2023, as part of the multidisciplinary Programmable Matter consortium. This consortium brings together people from different horizons such as artists, entrepreneurs, HCI and robotics researchers, to collaborate towards enabling the long-term vision of Claytronics.

Talk 2: Sense of Place, Cultural Heritage and Civic Engagement

Abstract:

In this presentation, I will provide an overview of my recent work, where I implemented a range of interactive probes, exploring sense of place and cultural heritage within a regenerating city centre. Through these digital multimodal interactions, citizens actively participated in the sharing of cultural heritage, fostering a sense of belonging and nostalgia. Looking ahead, I’ll discuss how these insights inform my ongoing work at the intersection of the Digital Civics project and the Centre for Digital Citizens project. This presentation will not only offer my personal insights but also open the floor for collaborative discussions on integrating these crucial aspects into future embedded research.

Bio:

Anna Carter is a Research Fellow at Northumbria University she has extensive experience in designing technologies for local council regeneration programs, her work focuses on creating accessible digital experiences in a variety of contexts using human-centred methods and participatory design. She works on building Digital Civics research capacities of early career researchers as part of the EU funded DCitizens Programme and on digital civics, outdoor spaces and sense of place as part of the EPSRC funded Centre for Digital Citizens.

Event details:

  • When: 13th March 2024 12:00 – 14:00. There’ll be cakes and soft drinks from 12 onwards. The talks will be from 12:30 – 13:30
  • Where: Jack Cole 1.33 (Soft drinks and cake provided by F&D)

SACHI Seminar: Rights-driven Development

Abstract:

Alex will discuss a critique of modern software engineering and outline how it systematically produces systems that have negative social consequences. To help counter this trend, he offers the notion of rights-driven development, which puts the concept of a right at the heart of software engineering practices. Alex’s first step to develop rights-driven practices is to introduce a language for rights in software engineering. He provides an overview of the elements such a language must contain and outlines some ideas for developing a domain-specific language that can be integrated with modern software engineering approaches. 

Bio:

Alex Voss, who’s an Honorary Lecturer here at the school and an external member of our group. Alex was also a Technology Fellow at the Carr Center for Human Rights Policy at Harvard’s John F. Kennedy School of Government and an Associate in the Department of Philosophy at Harvard.

Alex holds a PhD in Informatics and works at the intersection of the social sciences and computer science. His current research aims to develop new representations, practices and tools for rights-respecting software engineering. He is also working on the role that theories of causation have in making sense of complex socio-technical systems.

His research interests include: causality in computing, specifically in big data and machine learning applications; human-centric co-realization of technologies; responsible innovation; computing and society; computer-based and computer-aided research methods.

More about Alex: https://research-portal.st-andrews.ac.uk/en/persons/alexander-voss

Event details:

  • When: 28th February 2024 12:30 – 13:30
  • Where: Jack Cole 1.19

If you’re interested in attending any of the seminars in room 1.19, please email the SACHI seminar coordinator: aaa8@st-andrews.ac.uk so they can make appropriate arrangements for the seminar based on the number of attendees.