automated pain recognition automated pain recognition automated pain recognition (apr) is a method for objectively measuring pain and at the same time represents an interdisciplinary research area that comprises elements of medicine, psychology, psychobiology, and computer science. the focus is on computer-aided objective recognition of pain, implemented on the basis of machine learning. automated pain recognition allows for the valid, reliable detection and monitoring of pain in people who are unable to communicate verbally. the underlying machine learning processes are trained and validated in advance by means of unimodal or multimodal body signals. signals used to detect pain may include facial expressions or gestures and may also be of a (psycho-)physiological or paralinguistic nature. to date, the focus has been on identifying pain intensity, but visionary efforts are also being made to recognize the quality, site, and temporal course of pain. however, the clinical implementation of this approach is a controversial topic in the field of pain research. critics of automated pain recognition argue that pain diagnosis can only be performed subjectively by humans. background pain diagnosis under conditions where verbal reporting is restricted - such as in verbally and/or cognitively impaired people or in patients who are sedated or mechanically ventilated - is based on behavioral observations by trained professionals. however, all known observation procedures (e.g., zurich observation pain assessment (zopa)); pain assessment in advanced dementia scale (painad) require a great deal of specialist expertise. these procedures can be made more difficult by perception- and interpretation-related misjudgments on the part of the observer. with regard to the differences in design, methodology, evaluation sample, and conceptualization of the phenomenon of pain, it is difficult to compare the quality criteria of the various tools. even if trained personnel could theoretically record pain intensity several times a day using observation instruments, it would not be possible to measure it every minute or second. in this respect, the goal of automated pain recognition is to use valid, robust pain response patterns that can be recorded multimodally for a temporally dynamic, high-resolution, automated pain intensity recognition system. procedure for automated pain recognition, pain-relevant parameters are usually recorded using non-invasive sensor technology, which captures data on the (physical) responses of the person in pain. this can be achieved with camera technology that captures facial expressions, gestures, or posture, while audio sensors record paralinguistic features. (psycho-)physiological information such as muscle tone and heart rate can be collected via biopotential sensors (electrodes). pain recognition requires the extraction of meaningful characteristics or patterns from the data collected. this is achieved using machine learning techniques that are able to provide an assessment of the pain after training (learning), e.g., "no pain," "mild pain," or "severe pain." parameters although the phenomenon of pain comprises different components (sensory discriminative, affective (emotional), cognitive, vegetative, and (psycho-)motor), automated pain recognition currently relies on the measurable parameters of pain responses. these can be divided roughly into the two main categories of "physiological responses" and "behavioral responses". physiological responses in humans, pain almost always initiates autonomic nervous processes that are reflected measurably in various physiological signals. physiological signals measurements can include electrodermal activity (eda, also skin conductance), electromyography (emg), electrocardiogram (ecg), blood volume pulse (bvp), electroencephalogram (eeg), respiration, and body temperature, which are regulatory mechanisms of the sympathetic and parasympathetic systems. physiological signals are mainly recorded using special non-invasive surface electrodes (for eda, emg, ecg, and eeg), a blood volume pulse sensor (bvp), a respiratory belt (respiration), and a thermal sensor (body temperature). endocrinological and immunological parameters can also be recorded, but this requires measures that are somewhat invasive (e.g., blood sampling). behavioral responses behavioral responses to pain fulfil two functions: protection of the body (e.g., through protective reflexes) and external communication of the pain (e.g., as a cry for help). the responses are particularly evident in facial expressions, gestures, and paralinguistic features. facial expressions behavioral signals captured comprise facial expression patterns (expressive behavior), which are measured with the aid of video signals. facial expression recognition is based on the everyday clinical observation that pain often manifests itself in the patient's facial expressions but that this is not necessarily always the case, since facial expressions can be inhibited through self-control. despite the possibility that facial expressions may be influenced consciously, facial expression behavior represents an essential source of information for pain diagnosis and is thus also a source of information for automatic pain recognition. one advantage of video-based facial expression recognition is the contact-free measurement of the face, provided that it can be captured on video, which is not possible in every position (e.g., lying face down) or may be limited by bandages covering the face. facial expression analysis relies on rapid, spontaneous, and temporary changes in neuromuscular activity that lead to visually detectable changes in the face. gestures gestures are also captured predominantly using non-contact camera technology. motor pain responses vary and are strongly dependent on the type and cause of the pain. they range from abrupt protective reflexes (e.g., spontaneous retraction of extremities or doubling up) to agitation (pathological restlessness) and avoidance behavior (hesitant, cautious movements). paralinguistic features of language among other things, pain leads to nonverbal linguistic behavior that manifests itself in sounds such as sighing, gasping, moaning, whining, etc. paralinguistic features are usually recorded using highly sensitive microphones. algorithms after the recording, pre-processing (e.g., filtering), and extraction of relevant features, an optional information fusion can be performed. during this process, modalities from different signal sources are merged to generate new or more precise knowledge. the pain is classified using machine learning processes. the method chosen has a significant influence on the recognition rate and depends greatly on the quality and granularity of the underlying data. similar to the field of affective computing, the following classifiers are currently being used: support vector machine (svm): the goal of an svm is to find a clearly defined optimal hyperplane with the greatest minimal distance to two (or more) classes to be separated. the hyperplane acts as a decision function for classifying an unknown pattern. random forest (rf): rf is based on the composition of random, uncorrelated decision trees. an unknown pattern is judged individually by each tree and assigned to a class. the final classification of the patterns by the rf is then based on a majority decision. k-nearest neighbors (k-nn): the k-nn algorithm classifies an unknown object using the class label that most commonly classifies the k neighbors closest to it. its neighbors are determined using a selected similarity measure (e.g., euclidean distance, jaccard coefficient, etc.). artificial neural networks (anns): anns are inspired by biological neural networks and model their organizational principles and processes in a very simplified manner. class patterns are learned by adjusting the weights of the individual neuronal connections. simplified automated pain recognition process. databases in order to classify pain in a valid manner, it is necessary to create representative, reliable, and valid pain databases that are available to the machine learner for training. an ideal database would be sufficiently large and would consist of natural (not experimental), high-quality pain responses. however, natural responses are difficult to record and can only be obtained to a limited extent; in most cases they are characterized by suboptimal quality. the databases currently available therefore contain experimental or quasi-experimental pain responses, and each database is based on a different pain model. the following list shows a selection of the most relevant pain databases (last updated: april 2020): unbc-mcmaster shoulder pain biovid heat pain emopain senseemotion x-ite pain