How do we know what another person feels? This question sits at the center of medicine, philosophy, and ordinary human life. We can see another person wince or laugh, and listen when they describe joy, sadness, fear, or pain. Still, their inner world remains partly hidden.

For physicians, understanding and managing pain is one of the hardest parts of caring for patients. Pain reports guide medication, surgery, recovery plans, and comfort at the bedside. But self-reported pain has a fragile foundation. Two people can receive the same stimulus and give very different answers to their pain level.

A recent study presents a system that uses electroencephalography, a method for recording brainwaves, to classify pain intensity and provide a more objective lens into another person’s suffering. In doing so, it joins a broader series of studies asking whether subjective states, including pain, can be measured in quantifiable biological signals.

Listening to Pain

The study involved participants who received controlled painful stimulation, rated their perceived pain intensity on a numerical scale, and had their brain activity recorded. The proposed system uses two matching machine learning models that learn side by side. Each model examines the same brainwave sample and tries to classify its pain level. During training, the system asks two questions about each example.

First, does the reported pain score seem reliable? If the brainwave pattern strongly conflicts with the reported label, the example receives less trust. Second, does the example teach the model something useful? If the two models disagree, the sample may sit near a boundary between pain levels and help sharpen the system’s judgment.

The system then ranks the examples. It gives priority to samples that appear trustworthy while still carrying useful information. As training continues, it gradually leaves out examples that look unreliable or unhelpful. In this way, the machine learns while filtering some of the noise inside subjective reports.

The Brain’s Signature of Suffering

The study also looked for brain regions and rhythms linked to pain prediction. The strongest signals appeared near brain regions involved in attention, emotion, and the interpretation of bodily experience. The brain judges threat, remembers past injury, predicts danger, and directs attention toward the body.

The study points toward future tools for patients who cannot clearly describe pain. This includes people with impaired consciousness, advanced dementia, severe neurological disease, or communication barriers. In such settings, clinicians often must infer pain. Brainwave-based systems could one day add another source of evidence for these situations. For the first time, such approaches raise the possibility of an external, brain-based estimate of pain intensity, rather than relying only on what a patient can say or how a clinician interprets their behavior.

Pain as a Message

Understanding another person’s internal feelings is a general human problem. Joy, sadness, fear, fatigue, anxiety, and suffering all depend on subjective experience. Medicine often turns these experiences into scores, scales, and categories, but those labels are imperfect translations of inner life.

Yet pain may not be purely private in the way we once assumed, and may leave measurable traces in the brain that correspond, at least partly, to internal perception. A growing series of studies is beginning to ask whether such internal states can be measured more directly.

The answer is still incomplete. We cannot yet know another person’s qualia, the raw feel of their experience, with full certainty. We cannot prove that your green looks like my green, or that your pain carries the same emotional impact as mine. But studies like this suggest that the boundary between private experience and measurable biology may be more porous than previously thought.

If used carefully, these new technologies could deepen rather than diminish empathy. They could help clinicians understand patients more precisely, treat pain more fairly, and come closer to one of medicine’s oldest goals: understanding what another person feels.