# US 2023/0409654 A1 · On-Device Artificial Intelligence Processing In-Browser

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0409654 A1
- Document ID: US20230409654A1
- Status: Published application
- Kind: A1
- Application number: 17/807,880
- Filed: 2022-06-21
- Published: 2023-12-21
- Earliest claimed: 2022-06-21
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Ori ZIV; Barak KINARTI; Ben BAKHAR; Zvi FIGOV; Fardau VAN NEERDEN; Ohad JASSIN; Avi NEEMAN
- Web page: https://patentgrep.com/patent/US20230409654A1

## CPC

- G06F 16/954: Navigation, e.g. using categorised browsing
- G06N 20/00: Machine learning
- G06F 16/2322: {using timestamps}
- G06F 16/2456: {Join operations}
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/957: Browsing optimisation, e.g. caching or content distillation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Examples of the present disclosure describe systems and methods for on-device, in-browser AI processing. In examples, a selection of an AI pipeline is received. Content associated with the AI pipeline is also received. The content is segmented into multiple data segments and a set of data features is generated for the data segments. AI modules associated with the AI pipeline are loaded to create the AI pipeline. The set of data features is provided to the AI pipeline. The AI pipeline is executed to generate insights for the set of data features. The insights are then provided to a user.

## Claims

### Claim 1

A system comprising:
a processor system comprising a processor; and
memory coupled to the processor, the memory comprising computer executable instructions that, when executed by the processor, perform operations comprising:
receiving content by a web browser comprising an execution environment for executing an artificial intelligence (AI) pipeline;
extracting a set of data features from the content;
retrieving a set of AI modules;
creating the AI pipeline using the set of AI modules;
providing the set of data features to the AI pipeline;
executing the AI pipeline in the execution environment to process the content and create a set of insights; and
providing the set of insights to the web browser.

### Claim 2 (depends on 1)

The system of claim 1, wherein extracting the set of data features from the content comprises:
decoding each data stream in the content; and
extracting the set of data features.

### Claim 3 (depends on 1)

The system of claim 1, wherein creating the AI pipeline using the set of AI modules comprises:
retrieving the set of AI modules from an AI module repository comprising a plurality of AI modules, the AI module repository being external to the web browser, the set of AI modules representing a subset of the plurality of AI modules.

### Claim 4 (depends on 1)

The system of claim 1, wherein selecting the set of AI modules comprises:
receiving a manual selection of the set of AI modules via the web browser.

### Claim 5 (depends on 1)

The system of claim 1, wherein selecting the set of AI modules comprises:
evaluating, by the web browser, attributes of the content; and
based on the attributes of the content, selecting, by the web browser, the set of AI modules.

### Claim 6 (depends on 1)

The system of claim 1, wherein creating the AI pipeline comprises:
loading the set of AI modules in the execution environment; and
arranging the set of AI modules according to a configuration order, the configuration order defining dependencies for the set of AI modules.

### Claim 7 (depends on 1)

The system of claim 1, wherein each AI module in the set of AI modules:
represents a step in the AI pipeline; and
comprises software code or instructions for performing the step.

### Claim 8 (depends on 1)

The system of claim 1, wherein a particular AI module in the set of AI modules performs at least one of:
topic inferencing;
object detection; or
speech classification.

### Claim 9 (depends on 1)

The system of claim 1, wherein, in addition to the set of AI modules, the AI pipeline further comprises at least one operator, preprocessing step, or postprocessing step.

### Claim 10 (depends on 1)

The system of claim 1, wherein executing the AI pipeline causes a particular AI module in the set of AI modules to generate an output comprising inference data for the set of data features.

### Claim 11 (depends on 10)

The system of claim 10, wherein the inference data comprises at least one of:
a timestamp for a video frame;
a bounding box; or
a confidence values for a detected objects or event.

### Claim 12 (depends on 10)

The system of claim 10, wherein the inference data is used to create the set of insights.

### Claim 13 (depends on 1)

The system of claim 1, wherein the set of insights are provided in a user interface (UI) of the web browser during playback of the content in the UI.

### Claim 14

A system comprising:
a processor; and
memory coupled to the processor, the memory comprising computer executable instructions that, when executed by the processor, perform a method comprising:
receiving, by a web browser comprising an execution environment for executing an artificial intelligence (AI) pipeline, a selection of an insight objective;
evaluating a schema using the insight objective, wherein the schema correlates the insight objective to a set of AI modules for the AI pipeline;
providing a visualization of the AI pipeline, wherein the visualization comprises the set of AI modules;
receiving a modification of the visualization; and
applying the modification to the AI pipeline.

### Claim 15 (depends on 14)

The system of claim 14, wherein the insight objective indicates a type of analysis to be performed by the AI pipeline for a content item received by the web browser.

### Claim 16 (depends on 14)

The system of claim 14, wherein the selection of the insight objective is received via a user interface (UI) provided by the web browser.

### Claim 17 (depends on 14)

The system of claim 14, wherein:
the schema indicates a configuration order for the set of AI modules; and
the visualization presents the set of AI modules in the configuration order.

### Claim 18 (depends on 14)

The system of claim 14, wherein the visualization is a dependency graph illustrating dependencies between the set of AI modules.

### Claim 19 (depends on 14)

The system of claim 14, wherein the modification of the visualization comprises at least one of:
adding or removing an AI module; and
modifying an arrangement of the AI modules.

### Claim 20

A method comprising:
extracting, by a web browser comprising an execution environment for executing an artificial intelligence (AI) pipeline, a set of data features from content;
retrieving a set of AI modules;
creating the AI pipeline using the set of AI modules;
providing the set of data features to the AI pipeline;
executing the AI pipeline in the execution environment to process the content and create a set of insights; and
providing the set of insights to the web browser.
