Algorithms underpin all computerised tasks. They have direct application across a range of healthcare settings - from text-mining algorithms that support reviews of medical literature through to image analysis algorithms that assist pathologists to identify atypical samples, such as spotting early signs of cancer 1,2. Once merely used in healthcare, algorithms are now increasingly used for healthcare.
Despite their central role in modern health systems, most people only have an intuitive idea of what an algorithm is - a formal definition remains elusive. Indeed, the exact nature of algorithms is a point of contention in computer science. This is not just semantics, the definition of this core concept has implications for how algorithms are developed, used, regulated and protected.
Regardless of the context in which they are used, algorithms are essentially problem solvers - their purpose is to solve and often automate a solution to a particular problem.
Introductory textbooks on algorithms tend to outline their subject broadly, defining an algorithm as 'a set of steps to accomplish a task' 3. These definitions capture everything from cake recipes to the complex lines of code in Google Maps that calculate the quickest route to a destination.
However, definitions as broad as this provide little actual idea of what an algorithm looks like. Other definitions suggest that five criteria should be met 4:
Algorithms should turn inputs into outputs via a replicable, finite series of steps.
Algorithms do not have a legal definition. Major EU Regulations such as the Medical Devices Regulation and the In Vitro Diagnostics Medical Devices Regulation mention algorithms but do not define their terms, preferring 'software' instead. Moreover, in the realm of intellectual property, past case law has relied on suspect distinctions, providing patents for algorithms but not 'mathematical algorithms'. In short, the lack of clear definition in the law may leave the regulation of algorithms on shaky foundations - employing artificial distinctions is out of step with technical understanding of the concept. While there are definitions to be found in technical standards, the question remains whether the law itself should adopt a definition.
Does a technical definition of algorithms have a place in law?
Is the current regulatory framework sufficient?
PHG Foundation is investigating these issues in our project Regulating algorithms in healthcare.