UK: Driverless Vehicles And The Moral Algorithm

Last Updated: 23 March 2017
Article by Stuart Young

Stuart Young refers to some detailed research and the reality behind driverless vehicles and looks at ways of regulating moral programming in order to move forward in this area.

Our cars are set to change dramatically in the coming years. Autonomous and connected vehicles will be the future of personal travel. They promise better mobility for all, reduced congestion, an improved environment and, perhaps most importantly, increased safety.

The large majority of road traffic accidents are caused when a driver makes the wrong choice. Autonomous vehicles (AVs) may never attain a flawless safety record, but by removing the driver from the decision-making process they will remove the source of most errors and therefore significantly improve safety i.e. remove the human, remove the risk.

Yet, before we begin to delegate such decision-making to autonomous vehicles we need to ask what decisions they can reasonably make and on what basis.

The technology within AVs will use an algorithm to make sure damage to both machine and human is minimised. Academics and the press have referred to this type of mathematical solution to ethical decision-making as the 'moral algorithm'.

As part of UK Autodrive (the largest of three separate consortia that are currently trialling automated vehicle technology), my firm is contributing to the thinking on societal and legal issues around the development of autonomous vehicles by developing a series of white papers. This article summarises the content of the latest in the series on 'The Moral Algorithm'.

The reality of creating a moral algorithm

Research suggests that while academic debates on the moral algorithm may be intellectually stimulating, they run ahead of the technology being programmed into today's AVs.

This sentiment is echoed by members of the UK Autodrive consortium, who stress that not only is it technologically impossible to programme an algorithm with an infinite number of moral values, but that it is not something any government would ever sign up to. Unless the social norms of society completely change, no minister is going to stand up in Parliament and say it is better to kill one person over another.

'The trolley problem' and why it's overstated

Thus far, consideration of the moral algorithm has tended to be focused on the 'trolley problem'. The trolley problem is a thought experiment in ethics which says:

"There is a runaway trolley racing down the railway tracks. Ahead of it there are two people who are tied to the tracks and unable to move. If nothing else happens, they will be killed. However, you are standing in the signal box next to a lever that will switch the trolley to a side track. On the side track is one person, who also cannot move. Will you take responsibility for pulling the lever that will kill that one person, or do nothing and allow the two to die?"

In the world of autonomous vehicles, it might be rephrased in this way:

The trolley problem in an AV world:

There is an AV driving down the road. Someone else pulls into the road unexpectedly. The AV does not have the necessary stopping distance available to pull up safely, so has to steer to one side or the other.

On one pavement is an 80-year-old woman, on the other is a group of children. Which party does the AV choose to put at risk?

Beyond the trolley problem

Although 'the trolley problem' grabs headlines when discussing the moral values of driverless vehicles, AVs will potentially have much wider scope for decision-making.

As drivers operating in this complex environment the decisions we make on the road are reflective of each of us as individuals. Currently, you drive your own car in your own way - driving is seen as an extension of your independence and personality.

Therefore, it will be important to widen thinking about the moral algorithm to encompass the many lesser decisions that we make as part of a journey.

For example, AVs will need to decide whether to enter an area marked with chevrons and bordered by a solid white line in order to pass a parked car, or break the speed limit to get out of the way of an ambulance. These sorts of actions involve breaking road traffic laws in the interests of a greater good such as keeping traffic flowing or giving priority to emergency vehicles.

The moral algorithm will also need to be capable of dealing with countless situations which do not entail a breach of the rules of the road, but do concern the interaction of vehicles with others using the same congested road space.

These are currently matters of driver choice, and are reflected in different driving styles on the road - including, for instance, how aggressively a vehicle accelerates or brakes, how sharply it changes lanes or performs other manoeuvres, how much room it allows to other vehicles to do the same things, and so on.

These are moral questions because they concern where drivers choose to place themselves on a spectrum between the pure maximisation of self-interest (getting from A to B as quickly as possible) and an altruistic deferral to the interests of other road users. In practice, the same individual may well adopt a mix of styles, or drive differently on different days as mood or circumstances dictate.

AVs will, however, need to be programmed to deal consistently with these real world driving issues. Examples of good practice include 'zip-fastener' merging of slow traffic, taking turns where traffic lights have failed at an intersection, giving way to other vehicles emerging from side roads, stopping at zebra crossings, slowing down for horses and allowing room to cyclists when overtaking.

And they will need to do this in a considerably more complex environment, as they will be required to drive on busy roads and interact with other cars (some manual, some autonomous), road users (such as cyclists) and pedestrians.

Levels of autonomy

Level 0 - Driver only

Driver is responsible for the vehicle. Controls lateral and longitudinal movement at all times.

Level 1 - Driver assistance

Driver is responsible for the vehicle. Controls lateral and longitudinal movement at all times. However, the system can support lateral OR longitudinal control.

Level 2 - Advanced driver assistance

Driver is responsible for the vehicle. Controls lateral and longitudinal movement. May hand some control over to the system. Must actively monitor system performance and retake full control where necessary.

Level 3 - Advanced driver assistance

Driver is responsible for the vehicle. Controls lateral and longitudinal movement. Can hand full control to the system. Must actively monitor system performance, retaking control as necessary.

Level 4 - Highly automated

Driver is only responsible, and exercises control, outside of specific use cases where the car is able to self-drive.

Level 5 - Fully automated

System can control lateral AND longitudinal movement in all use cases. Driver intervention is not needed

There are generally recognised to be six steps to full autonomy, all of which progressively increase safety.

There are already countless examples of vehicles with some element of automation already on the road, such as self-parking or adaptive cruise control.

In spite of this, conventional cars will also be around for many decades, so AVs will have to be able to co-exist with them. It is possible that there could be separate roads or lanes for AVs, but this option would be costly and in many places unrealistic. So the ideal solution is for AVs to be able to share the road with their less 'intelligent' ancestors.

So, knowing that AVs will be sharing the roads with conventional vehicles for many years ahead, on what basis should a set of moral values be programmed into a vehicle? Should we give greater priority to consistency, or should we reflect the individual preferences of travellers in that vehicle, to the extent that the technology is capable of doing so?

Personal safety is paramount

Those involved in AV development agree that it is almost impossible to conceive of a transport system with a 100% safety record.

Yet, if the principal selling point of AVs is their contribution to increases in safety, the level of risk we are willing to accept may actually be quite low.

In a survey, researchers found that people wanted to drive around in vehicles that would protect them and their family at all costs and did not approve of regulation that would compromise the safety of passengers in order to minimise casualties on the part of other road users.

The researchers concluded that regulation that enforced a purely utilitarian moral algorithm would delay the uptake of AVs to such an extent that "lives saved by making AVs utilitarian may be outnumbered by the deaths caused by delaying the adoption of AVs altogether".

Ultimately, given the safety imperative, the policy goal must be to encourage the take-up of as many AVs as possible, as quickly as possible. This requires co-ordination at state level, consistency, and a clear legal framework which facilitates and encourages AV technology.

Co-operation is key

AVs not only make demands on car manufacturers' research and development teams, but also on the way their retail arms sell the end product. Progress and take-up will be improved if manufacturers work together.

If all the stakeholders in the AV market really believe that automation will equal a safer, more ethical transport system, then they will have to find a way to work together to achieve this, while protecting and developing their perceived unique selling points.


Although the industry may be improving co-operation, this by itself is not enough. The safety imperative points to a need for state regulation to facilitate and encourage the take-up of AVs by regulating the moral algorithm rather than assuming a form of informal self-regulation by manufacturers.

In order to achieve the economic, mobility and safety benefits of AVs, there needs to be a new and appropriate legal and regulatory framework that is specifically designed for the purpose. Regulation needs to lay a clear path so that existing and new participants in the market can safely move forward, literally and metaphorically, by securing public trust and ensuring that AV manufacturers are not working at legal risk. Regulation will need to balance the potentially competing factors of adherence to the law, safety and maximising take-up.

Our experts all believe that the current lack of bespoke regulation leaves the industry in a state of limbo.

In a recent consultation on proposals to support advanced driver assistance systems and automated vehicles, the government stated that it would "continue to regulate in a rolling programme of reform. This will help to facilitate the introduction of innovative new technologies in a safe, agile and evidence-based manner for the benefit of UK consumers and business."

Doubt delays development

Research shows that waiting for a shift in public opinion in order to at least set the boundaries for a regulatory regime could damage the progress of AV development.

It is therefore important not to let the trolley problem monopolise the debate regarding the moral algorithm. The trolley problem is a distraction from the much larger category of day-to-day moral decisions and the need to develop solutions to them.

There are numerous other hurdles to jump, including problems with liability, cyber-security and public trust. It is particularly in the area of public trust where the car industry and governments around the world must start a conversation that coalesces differing moral and ethical standpoints.

That is why 'A programme of public education and consultation' is one of several areas for consideration suggested in our recent white paper.

Other suggestions include:

  • The formulation of a coherent plan for allocating regulatory responsibility for AVs, and in particular the moral algorithms that govern their behaviour.
  • Consideration of how regulation - which ultimately requires the oversight of both vehicle and road network regulation in an integrated way - can best be implemented across the various tiers of UK government including the devolved administrations.
  • The creation of a legal framework that is sufficiently flexible and responsive to be able to make swift decisions about new technology as it is developed, within a clear decision-making framework
  • As part of the development of the legal framework, co-operation with the relevant international bodies to assist in the development of international standards for AVs.
  • Consideration of how co-operation between sector participants can best be facilitated (or required where necessary) to ensure that AV development takes place as rapidly as possible and that connected vehicles (CVs) and AVs can interact with each other.
  • The formulation of a coherent short, medium and long term plan regarding the deployment of AVs on public roads in the UK,
  • Development of a policy regarding how the moral algorithm will operate in terms of major safety situations.

Given the technical challenges of connected and autonomous vehicles, it is important that, before all of these recommendations are implemented, the first step is to realise that regulatory decisions need to be taken, and they need to be taken soon.

This article was originally published in Computers & Law magazine in February 2017.

The content of this article is intended to provide a general guide to the subject matter. Specialist advice should be sought about your specific circumstances.

To print this article, all you need is to be registered on

Click to Login as an existing user or Register so you can print this article.

Events from this Firm
3 Oct 2017, Seminar, London, UK

Join us over breakfast for our third retail-focused seminar.

10 Oct 2017, Other, London, UK

Join us for our Real Estate Sector Next Generation networking drinks evening.

12 Oct 2017, Webinar, Birmingham, UK

Join us for an interactive evening exploring the possibilities of implementing digital construction in real life projects.

In association with
Related Video
Up-coming Events Search
Font Size:
Mondaq on Twitter
Register for Access and our Free Biweekly Alert for
This service is completely free. Access 250,000 archived articles from 100+ countries and get a personalised email twice a week covering developments (and yes, our lawyers like to think you’ve read our Disclaimer).
Email Address
Company Name
Confirm Password
Mondaq Topics -- Select your Interests
 Law Performance
 Law Practice
 Media & IT
 Real Estate
 Wealth Mgt
Asia Pacific
European Union
Latin America
Middle East
United States
Worldwide Updates
Check to state you have read and
agree to our Terms and Conditions

Terms & Conditions and Privacy Statement (the Website) is owned and managed by Mondaq Ltd and as a user you are granted a non-exclusive, revocable license to access the Website under its terms and conditions of use. Your use of the Website constitutes your agreement to the following terms and conditions of use. Mondaq Ltd may terminate your use of the Website if you are in breach of these terms and conditions or if Mondaq Ltd decides to terminate your license of use for whatever reason.

Use of

You may use the Website but are required to register as a user if you wish to read the full text of the content and articles available (the Content). You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, link, display, or in any way exploit any of the Content, in whole or in part, except as expressly permitted in these terms & conditions or with the prior written consent of Mondaq Ltd. You may not use electronic or other means to extract details or information about’s content, users or contributors in order to offer them any services or products which compete directly or indirectly with Mondaq Ltd’s services and products.


Mondaq Ltd and/or its respective suppliers make no representations about the suitability of the information contained in the documents and related graphics published on this server for any purpose. All such documents and related graphics are provided "as is" without warranty of any kind. Mondaq Ltd and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information, including all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement. In no event shall Mondaq Ltd and/or its respective suppliers be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of information available from this server.

The documents and related graphics published on this server could include technical inaccuracies or typographical errors. Changes are periodically added to the information herein. Mondaq Ltd and/or its respective suppliers may make improvements and/or changes in the product(s) and/or the program(s) described herein at any time.


Mondaq Ltd requires you to register and provide information that personally identifies you, including what sort of information you are interested in, for three primary purposes:

  • To allow you to personalize the Mondaq websites you are visiting.
  • To enable features such as password reminder, newsletter alerts, email a colleague, and linking from Mondaq (and its affiliate sites) to your website.
  • To produce demographic feedback for our information providers who provide information free for your use.

Mondaq (and its affiliate sites) do not sell or provide your details to third parties other than information providers. The reason we provide our information providers with this information is so that they can measure the response their articles are receiving and provide you with information about their products and services.

If you do not want us to provide your name and email address you may opt out by clicking here .

If you do not wish to receive any future announcements of products and services offered by Mondaq by clicking here .

Information Collection and Use

We require site users to register with Mondaq (and its affiliate sites) to view the free information on the site. We also collect information from our users at several different points on the websites: this is so that we can customise the sites according to individual usage, provide 'session-aware' functionality, and ensure that content is acquired and developed appropriately. This gives us an overall picture of our user profiles, which in turn shows to our Editorial Contributors the type of person they are reaching by posting articles on Mondaq (and its affiliate sites) – meaning more free content for registered users.

We are only able to provide the material on the Mondaq (and its affiliate sites) site free to site visitors because we can pass on information about the pages that users are viewing and the personal information users provide to us (e.g. email addresses) to reputable contributing firms such as law firms who author those pages. We do not sell or rent information to anyone else other than the authors of those pages, who may change from time to time. Should you wish us not to disclose your details to any of these parties, please tick the box above or tick the box marked "Opt out of Registration Information Disclosure" on the Your Profile page. We and our author organisations may only contact you via email or other means if you allow us to do so. Users can opt out of contact when they register on the site, or send an email to with “no disclosure” in the subject heading

Mondaq News Alerts

In order to receive Mondaq News Alerts, users have to complete a separate registration form. This is a personalised service where users choose regions and topics of interest and we send it only to those users who have requested it. Users can stop receiving these Alerts by going to the Mondaq News Alerts page and deselecting all interest areas. In the same way users can amend their personal preferences to add or remove subject areas.


A cookie is a small text file written to a user’s hard drive that contains an identifying user number. The cookies do not contain any personal information about users. We use the cookie so users do not have to log in every time they use the service and the cookie will automatically expire if you do not visit the Mondaq website (or its affiliate sites) for 12 months. We also use the cookie to personalise a user's experience of the site (for example to show information specific to a user's region). As the Mondaq sites are fully personalised and cookies are essential to its core technology the site will function unpredictably with browsers that do not support cookies - or where cookies are disabled (in these circumstances we advise you to attempt to locate the information you require elsewhere on the web). However if you are concerned about the presence of a Mondaq cookie on your machine you can also choose to expire the cookie immediately (remove it) by selecting the 'Log Off' menu option as the last thing you do when you use the site.

Some of our business partners may use cookies on our site (for example, advertisers). However, we have no access to or control over these cookies and we are not aware of any at present that do so.

Log Files

We use IP addresses to analyse trends, administer the site, track movement, and gather broad demographic information for aggregate use. IP addresses are not linked to personally identifiable information.


This web site contains links to other sites. Please be aware that Mondaq (or its affiliate sites) are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of these third party sites. This privacy statement applies solely to information collected by this Web site.

Surveys & Contests

From time-to-time our site requests information from users via surveys or contests. Participation in these surveys or contests is completely voluntary and the user therefore has a choice whether or not to disclose any information requested. Information requested may include contact information (such as name and delivery address), and demographic information (such as postcode, age level). Contact information will be used to notify the winners and award prizes. Survey information will be used for purposes of monitoring or improving the functionality of the site.


If a user elects to use our referral service for informing a friend about our site, we ask them for the friend’s name and email address. Mondaq stores this information and may contact the friend to invite them to register with Mondaq, but they will not be contacted more than once. The friend may contact Mondaq to request the removal of this information from our database.


This website takes every reasonable precaution to protect our users’ information. When users submit sensitive information via the website, your information is protected using firewalls and other security technology. If you have any questions about the security at our website, you can send an email to

Correcting/Updating Personal Information

If a user’s personally identifiable information changes (such as postcode), or if a user no longer desires our service, we will endeavour to provide a way to correct, update or remove that user’s personal data provided to us. This can usually be done at the “Your Profile” page or by sending an email to

Notification of Changes

If we decide to change our Terms & Conditions or Privacy Policy, we will post those changes on our site so our users are always aware of what information we collect, how we use it, and under what circumstances, if any, we disclose it. If at any point we decide to use personally identifiable information in a manner different from that stated at the time it was collected, we will notify users by way of an email. Users will have a choice as to whether or not we use their information in this different manner. We will use information in accordance with the privacy policy under which the information was collected.

How to contact Mondaq

You can contact us with comments or queries at

If for some reason you believe Mondaq Ltd. has not adhered to these principles, please notify us by e-mail at and we will use commercially reasonable efforts to determine and correct the problem promptly.