PGR Seminar with Carla Davesa Sureda

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

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

Title:

Towards High-Level Modelling in Automated Planning

Abstract:

Planning is a fundamental activity, arising frequently in many contexts, from daily tasks to industrial processes. The planning task consists of selecting a sequence of actions to achieve a specified goal from specified initial conditions. The Planning Domain Definition Language (PDDL) is the leading language used in the field of automated planning to model planning problems. Previous work has highlighted the limitations of PDDL, particularly in terms of its expressivity. Our interest lies in facilitating the handling of complex problems and enhancing the overall capability of automated planning systems. Unified-Planning is a Python library offering high-level API to specify planning problems and to invoke automated planners. In this paper, we present an extension of the UP library aimed at enhancing its expressivity for high-level problem modelling. In particular, we have added an array type, an expression to count booleans, and the allowance for integer parameters in actions. We show how these facilities enable natural high-level models of three classical planning problems.

Doughnuts will be available! 🍩

Fully funded PhD scholarship in Algorithms for Data Science

Lead supervisor: Dr Peter Macgregor

Application deadline: 1 March 2025

Project description:

Modern data science and machine learning applications involve datasets with millions of data points and hundreds of dimensions. For example, deep learning pipelines produce massive vector datasets representing text, image, audio and other data types. The analysis of such datasets with classical algorithms often requires significant time and/or computational resources which may not be available in many applications.

This motivates the development of a new generation of fast algorithms for data analysis, running in linear or sub-linear time and often producing an approximate result rather than an exact one. Moreover, the dataset may change over time, requiring dynamic algorithms which handle updates efficiently.

This project will tackle aspects of the design, analysis, and implementation of algorithms for processing large dynamic datasets, with the aim to develop new algorithms with state-of-the-art practical performance and/or theoretical guarantees. This could involve performing new analysis of existing algorithms, designing new algorithms with provable guarantees, or implementing heuristic algorithms with state-of-the-art empirical performance.

Possible Directions

Potential areas of research, depending on the interests of the candidate include:

  • Developing improved nearest-neighbour search algorithms (e.g., based on kd-trees, HNSW, locality-sensitive hashing).
  • Exploring any connection between hierarchical clustering algorithms and nearest-neighbour search algorithms.
  • Creating new dynamic or hierarchical clustering algorithms (e.g. based on spectral clustering or DBSCAN).
  • Creating dynamic algorithms for numerical linear algebra. For example, maintaining the PCA of a dynamically changing dataset.
  • Any other project in the area of algorithmic data science and machine learning.

Applicants should have a strong interest in the mathematical analysis of algorithms, knowledge of topics in discrete mathematics and linear algebra, and some familiarity with existing algorithms for data analysis and machine learning. Strong programming skills would also be desirable.

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 Peter Macgregor with an outline proposal.

Full instructions for the formal application process

The deadline for applications is 1 March 2025.

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/.

PGR Seminar with Daniel Wyeth and Ferdia McKeogh

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

Below is a Title and Abstract for Daniel’s and Ferdia’s talks – Please do come along if you are able.

Daniel:

Deep Priors: Integrating Domain Knowledge into Deep Neural Networks

Deep neural networks represent the state of the art for learning complex functions purely from data.  There are however problems, such as medical imaging, where data is limited, and effective training of such networks is difficult.  Moreover, this requirement for large datasets represents a deficiency compared to human learning, which is able harness prior understanding to acquire new concepts with very few examples.  My work looks at methods for integrating domain knowledge into deep neural networks to guide training so that fewer examples are required.  In particular I explore probabilistic atlases and probabilistic graphical models as representations for this prior information, architectures which enable networks to use these, and the application of these to problems in medical image understanding.

Ferdia:

“Lessons Learned From Emulating Architectures”

Automatically generating fast emulators from formal architecture specifications avoids the error-prone and time-consuming effort of manually implementing an emulator. The key challenge is achieving high performance from correctness-focused specifications; extracting relevant functional semantics and performing aggressive optimisations. In this talk I will present my work thus far, and reflect on some of the unsuccessful paths of research.

Doughnuts will be available! 🍩

The Power of Tech in Sustainability, Inclusion, & Community: Mind and Matter 2024

Mind and matter public engagement posterThe North Haugh campus was brimming with bubbling experiments, interactive activities, and research displays as St Andrews welcomed in its Mind and Matter Festival 2024 on 27th October 2024.

As a festival dedicated to inspiring creativity and curiosity from the lens of various disciplines, we were thrilled to see three of our very own researchers from the School of Computer Science presenting their latest research and subject passions to the wider community.

Starting off, Dr Kirsty Ross (Industrial Liaison) was exhibiting ‘We Can Edit: St Andrews on WikiCommons’. This was badged as a Cloud Activity (one of the six groups or categories of activities participants could engage with) which was all about transforming the perspective of how we understand ourselves and how we use our knowledge:

Kirsty Ross sitting at the IDEA network desk“What we’re doing today is encouraging folks to sign up to Wiki and then go on a listed building hunt round St Andrews and add photos of those buildings to WikiCommons.”

The project is a part of the Inclusion, Diversity, Equity, and Accessibility (IDEA) Network, and engages with “the increasing interest in Wiki and open knowledge.” Founded in April 2021 (alongside her colleague Dr Abd Alsattar Ardati who she had never actually met face-to-face due to the pandemic), Dr Ross recalls how it all started as a way of “getting people involved, whether that’s research, teaching, or knowledge exchange.” As the Wikimedia project is more than just Wikipedia, containing various sister projects such as Wikidata, Wikimedia Commons, etc, Dr Ross remarked that this project is all about “increasing the impact of our research and making it accessible to everyone” through their active participation.

In line with this collective effort, Dr Ross noted that it’s presence at a festival such as Mind and Matter helps put a “human face” to research that could equally fascinate experts, as well as those who are new to the topic. Most importantly though, it reminds us that “our audience is not just an empty vessel that turn up and you fill them with knowledge, and that’s our job done. They come with their own interests, background, and passion, and it’s about finding the hook that works for each person that you talk to.”  A wonderful reminder that innovative research engagement begins from something as simple as the conversations being held around us.

Dr. Dharini Balasubramaniam standing beside their posterOn a similar note, Dr. Dharini Balasubramaniam (Senior Lecturer) displayed her Cloud Activity ‘Once upon a time there was the web’ poster which shared research insights into intergenerational approaches for making digital services more inclusive.

When we started looking,” Dr. Balasubramaniam commented, “we very quickly realized, it’s not something that computer scientists can solve by themselves. We must work with all the stakeholders who are involved, including the older adults who are disadvantaged by the proliferation of the technologies, as well as the people who support them.” This includes collaborating with local groups and organisations here at St Andrews such as St Andrews Public Library, Haydays Fife, North East Fife Community Hub, and more. It also entails contributing time to festivals like Mind and Matter because co-creating solutions (participatory design) hugely revolves around talking to people as “not everyone will have the same attitude, abilities, or reactions to digital technology. Therefore, we cannot make any assumptions about how accessible something is to a particular person without actually talking to them.”

The project arose from Dr. Balasubramaniam’s interest in representing digital ethics within software architectures, which extends to broader thinking about the social and cultural effect of our technological systems. It then led to important conversations being had between herself, her family, and older people within the town of St Andrews about where they had felt left behind, demonstrating that “a lot of work needed to be done for it.” A crucial part of this work involves increasing software literacy. In other words, “making people aware of how digital technologies work and the impact of the choices they might make.”  It also includes “making service providers aware of the particular challenges that marginalized groups might face in access. What if you are an older person and you have physical or cognitive impairments? What if you are part of a minority group in some way? If you have a certain disability, or if you have moved here from another part of the world and the language used isn’t necessarily accessible to you?”

Dr. Balasubramaniam remarked that presenting this research to the public is both exciting and humbling: “It reminds me of the big picture and why we are doing this, and what’s been really inspiring is how keen people are to engage with researchers and to contribute. That’s the most amazing thing.”

Turning to a Tree Activity, panels dedicated to connecting us with the natural world and sustainable futures, Dr. Alan Miller (Lecturer) exhibited ‘Virtual Reality for Sustainable Development’ which allowed participants to interactively contemplate sustainability, cultural preservation, and the effects of climate change.

two people standing beside a poster

“At this festival we are showing work concerned with two things — representations of the past and future. One is making digital reconstructions of the world heritage site, St Kilda, as it was in 1819. Another is raising awareness about the effects of climate change through the representation of Paradise Bay in Antarctica by showing the situation today and how it’s likely to change as a result of climate change, as well as demonstrating the potential future of Glasgow based upon James Rae’s work that shows a ten meter rise in sea-level which is consistent with the levels of carbon that we have in the atmosphere at the moment.”

Dr. Miller explained that it was the efforts of many being shown at Mind and Matter, including PhD work being conducted by Maria Andrei (virtual reality and climate change) and Sharon Pisani (sustainable development through digital tourism and heritage), as well as his own interests in applying 3D technologies to experiences of the past and future in order to promote the United Nations 2023 Agenda for Sustainable Development. The project is based on the idea of experiential learning being a deep form of education that can help overcome “psychological distance, whereby people maybe don’t appreciate statistics and numbers of what the impact of climate change will be” and therefore if they can “experience what it might be like, it could make it easier to achieve the sort of behavioural changes we need in order to holt climate change.”

2 computer screens showing the work of the researchers

While climate crisis and sustainability are large scale issues that can often feel out of our reach, engaging with it within our local community can hugely enable researchers and participants alike to consider its significance. Dr. Miller best described it as applying “practice-led research, whereby we try to develop initiatives in the community and understand its impact,” which when presented to local and non-local audiences at a festival, open a feedback loop of communication on what works and what does not.

“I suppose the most exciting part is you put together your research but then it’s when people come along and interact with it, and maybe it changes the way they think about the world or the way in which they carry themselves within it. It’s nice to know that the research we do has some impact on people’s lives.” 

There are coherent themes of inclusivity, accessibility, and community being explored within the Department of Computer Science demonstrating how tech and data can be used for good. What is most appealing is that the research exhibited at the Mind and Matter Festival are actively increasing their scope throughout the university and St Andrews.

Dr. Kirsty Ross commented on the IDEA Network wanting to scale their work through a ESPRC (Engineering & Physical Sciences Research Council) grant; Dr. Dharini Balasubramaniam mentioned the project being in the process of setting up a monthly digital support session in local community spaces, as well as volunteer opportunities readily available; and Dr. Alan Miller is a part of the Open Virtual Worlds Group which hosts various workshops, collaborations, and projects that allow those interested in immersive technology for the preservation and promotion of heritage to get involved.

It is thrilling to see where computer science is taking us! What remains now is to anticipate what innovative initiatives will be fore fronted at next year’s festival and throughout the school over the next academic year.

By Nina Globerson, Science Communicator for the School of Computer Science

PGR Seminar with Ariane Hine

The PGR seminars for this academic year are beginning this Friday 8th November at 2PM in JC 1.33A/B

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

Title: Enhancing and Personalising Endometriosis Care with Causal Machine Learning

Abstract: Endometriosis poses significant challenges in diagnosis and management due to the wide range of varied symptoms and systemic implications. Integrating machine learning into healthcare screening processes can significantly enhance and optimise resource allocation and diagnostic efficiency, and facilitate more tailored and personalised treatment plans. This talk will discuss the potential of leveraging patient-reported symptom data through causal machine learning to advance endometriosis care and reduce the lengthy diagnostic delays associated with this condition.

The goal is to propose a novel personalised non-invasive diagnostic approach that understands the underlying causes of patient symptoms and combines health records and other factors to enhance prediction accuracy, providing an approach that can be utilised globally.

Fudge donuts will be available! 🍩

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.

 

PhD studentships available for 2025 entry

The School of Computer Science at the University of St Andrews is offering a number of PhD scholarships for 3.5 years of study in our doctoral research programme. UK, EU and International students are all eligible for fully-funded scholarships consisting of tuition and a stipend. These awards are part-funded through the University of St Andrews’ ‘handsel’ scheme for tuition waivers.

The School of Computer Science is a centre of excellence for computer science teaching and research, with staff and students from Scotland and all parts of the world. It is a member of the Scottish Informatics and Computer Science Alliance (SICSA).

Value of Award

  • Tuition scholarships cover PhD fees irrespective of country of origin.
  • Stipends are valued at £19,795 per annum (or the standard UKRI stipend, if it is higher).

Eligibility Criteria

We are looking for highly motivated research students willing 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 their proposed topic of study.

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.

Application Deadline

All applications received before 1st February 2025 will be considered for these scholarships.

How to Apply

Any PhD application received by the deadline will be automatically considered for these scholarships. There is no need for a separate application.

The School’s main research themes are Artificial Intelligence, Health Informatics, Human-Computer Interaction, Programming Languages, and Systems. You can find further details at https://www.st-andrews.ac.uk/computer-science/research/themes/. In addition, we have cross-cutting research groups in Complex and Adaptive Systems, Computer Vision, Constraints, Data Science, MedTech, Research Software, and Responsible Computing. Applicants with interests in any of these areas are encouraged to develop a relevant research proposal and apply.

The best way to obtain a place and a scholarship is to make a robust PhD application. You are strongly encouraged to read the application guidance written on our webpages. Note that this guidance asks you to approach supervisors before formal submission to discuss your project ideas with them. Historically, applications with no named supervisor have been much less likely to result in an offer. We provide a list of existing faculty, areas of research and some potential project ideas. All supervisors listed on this page may be contacted directly to discuss possible projects. You can define your own project or discuss a project currently on offer.

Full application instructions can be found at https://www.st-andrews.ac.uk/computer-science/prospective/pgr/how-to-apply/. Enquiries and questions may be directed to pg-admin-cs@st-andrews.ac.uk.

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.