Session Similarity Identification via Vector Distance Metrics

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for analyzing user and machine cloud activity logs fail to capture similar applicative session groups that vary slightly by timing or the number of actions, leading to inefficiencies in detecting suspicious internal behavior.

Innovation Solution

A system and method that calculate the similarity between historical safe sessions and monitored sessions using a distance metric combining subsequence distance, Euclidean distance of vectorized session representations, and a new action penalty, to define a risk score based on this similarity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional session grouping methods (constant timeframes, session ID's, or number of logs) are used, then the implementation is simple, but they fail to capture similar applicative session groups that vary slightly by timing or by the number of actions

Engineering Contradiction:
Improvesession similarity detection accuracyVSAvoidsession grouping method complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent transforms session data into vector representations where each session is characterized by numerical parameters (action types, timing patterns, frequency metrics). This allows similar sessions with slight variations in timing or action count to be captured as close vector points, resolving the contradiction between detection accuracy and method complexity.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional mechanical/session-based grouping methods with a mathematical vector space model. Sessions are no longer grouped by rigid rules (timeframes, session IDs) but by their positional relationship in a vector space, enabling flexible similarity detection that accommodates natural variations in session behavior.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If machine learning techniques are used for session analysis, then detection accuracy improves, but training time and computational cost increase significantly

Engineering Contradiction:
Improvesuspicious behavior detection accuracyVSAvoidmodel training time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent uses lightweight vector representations and simple distance calculations instead of heavy machine learning models. Each session is converted to a vector and compared using efficient distance metrics, providing near-real-time analysis without the need for lengthy training processes, thus resolving the time-cost contradiction.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

Solution Approach 2:

The patent extracts only the essential features needed for session comparison (action types, timing, frequency) and represents them as compact vectors. This extraction of key characteristics eliminates the need for comprehensive machine learning training while maintaining effective detection capability.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If every single activity log is analyzed individually, then detection coverage is complete, but the ability to detect suspicious patterns through context is reduced

Engineering Contradiction:
Improvesuspicious behavior detection precisionVSAvoiddata processing volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent merges multiple individual activity logs into unified session vectors that capture the contextual relationships between actions. By combining logs within sessions and representing them as integrated vectors, the system maintains complete detection coverage while enabling pattern recognition through vector similarity comparisons.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12335284B2Session similarity identification
Publication Date: 2025.06.17 ZSCALER INC
  • US12335284B2 patent drawing
  • US12335284B2 patent drawing
  • US12335284B2 patent drawing

AI summary

Systems and methods for session similarity identification include receiving historical sessions for one of a plurality of machines operating in a cloud-based system. The methods can include receiving and manage sessions from any number of machines in the cloud-based system. The system then receives monitored sessions for the machine or plurality of machines, and calculates a similarity between the received historical sessions and the received monitored sessions. After calculating the similarity, the system defines a risk score based on the similarity.