Inferensys

Glossary

Mouse Entropy

A measure of the randomness or unpredictability in a user's cursor trajectory, where low entropy suggests a scripted or automated movement and high entropy indicates genuine human interaction.
Developer demonstrating multi-agent tool use, agent tool selection interface on laptop, casual tech demo moment.
BEHAVIORAL BIOMETRICS

What is Mouse Entropy?

Mouse entropy is a quantitative measure of the randomness or unpredictability in a user's cursor trajectory, used to distinguish genuine human interaction from scripted or automated movements.

Mouse entropy is a behavioral biometric metric that quantifies the degree of disorder in cursor movement data. It analyzes the trajectory, acceleration, and micro-movements of a pointing device to calculate an entropy score, where high entropy reflects the natural jitter, hesitations, and non-linear paths characteristic of human motor control, and low entropy signals deterministic, automated, or scripted behavior.

In fraud detection, mouse entropy is a passive signal ingested by real-time risk scoring engines. Genuine users exhibit high entropy due to neuromuscular noise, while bots and headless browsers produce perfectly straight lines or mathematically smooth curves with minimal variability. This metric is combined with keystroke dynamics and device fingerprinting to build a robust continuous authentication profile without adding user friction.

BEHAVIORAL SIGNAL PROCESSING

Key Characteristics of Mouse Entropy Analysis

Mouse entropy quantifies the degree of randomness in cursor trajectories to distinguish genuine human interaction from scripted automation. The following characteristics define how this signal is captured, measured, and operationalized in fraud detection pipelines.

01

Shannon Entropy Calculation

Applies information theory to cursor coordinate streams by discretizing the movement plane into a grid and calculating the probability distribution of directional changes. A human user generates high entropy values due to micro-corrections and non-deterministic pathing, while a bot or script produces low entropy with highly predictable, straight-line vectors. The formula H = -Σ p(x) log p(x) quantifies this unpredictability as bits per symbol.

02

Temporal Rhythm Analysis

Measures the inter-event timing between mouse samples. Human motor control exhibits 1/f noise characteristics—a natural fractal pattern of pauses and bursts. Automated scripts generate unnaturally consistent polling intervals or perfectly uniform acceleration curves. Key metrics include:

  • Inter-click interval variance: Humans show high variance; bots show near-zero variance
  • Dwell-to-transition ratio: The proportion of stationary time versus movement time
  • Jitter amplitude: Microscopic oscillations from physiological hand tremor (8-12 Hz in humans)
03

Curvature and Jerk Profiling

Analyzes the third derivative of position (jerk) to quantify movement smoothness. Human cursor paths exhibit bounded jerk with natural overshoot and correction arcs due to the biomechanics of the wrist and forearm. Scripted movements produce minimum-jerk trajectories that follow mathematically optimal Bézier curves. Detection features include:

  • Curvature variability: Standard deviation of path curvature over a sliding window
  • Overshoot frequency: Count of target overshoots requiring corrective submovements
  • Acceleration asymmetry: The ratio of acceleration to deceleration phases
04

Contextual Entropy Mapping

Entropy is not evaluated in isolation but normalized against the UI context. A user navigating a dense form field will naturally exhibit different entropy than one moving across a sparse landing page. Contextual entropy builds a baseline per page element type—buttons, text fields, dropdowns—and flags deviations. A bot may display human-like entropy on a simple page but collapse to low entropy when confronted with a complex, dynamic layout that lacks pre-scripted coordinates.

05

Real-Time Streaming Entropy Windows

Entropy is calculated over sliding time windows (typically 200-500ms) rather than entire sessions to enable real-time intervention. A sudden entropy collapse mid-session—where a human hands off control to an automated script—is a critical signal for session hijacking. The system maintains a running z-score comparing current window entropy against the session's historical distribution, triggering a risk escalation when the deviation exceeds a configurable threshold.

06

Cross-Modal Entropy Correlation

Mouse entropy is fused with keystroke entropy and scroll entropy to create a multi-dimensional behavioral signature. A human exhibits correlated entropy across modalities—hesitant typing aligns with erratic mouse hovering. Bots often fail to synchronize these channels, showing high keystroke entropy (randomized injection) alongside low mouse entropy (straight-line automation). Cross-modal correlation coefficients below a learned threshold indicate synthetic behavior.

MOUSE ENTROPY EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about mouse entropy, its role in behavioral biometrics, and how it distinguishes genuine human interaction from automated scripts and bots.

Mouse entropy is a quantitative measure of the randomness, unpredictability, or informational complexity present in a user's cursor trajectory during a session. It quantifies the degree of disorder in movement patterns. Measurement typically involves calculating Shannon entropy or sample entropy over a time series of cursor coordinates, velocities, and acceleration vectors. A high-entropy signal exhibits natural micro-tremors, non-linear corrections, and stochastic pauses characteristic of human motor control. Low entropy indicates deterministic, repeatable paths—such as perfectly straight lines or uniform acceleration curves—that are hallmarks of scripted automation or bot activity. The metric is computed by discretizing the movement space into bins and evaluating the probability distribution of directional changes, speed variations, and angular deviations from an idealized path.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.