# US 2026/0087372 A1 · System and method for training machine learning models

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

- Number: US 2026/0087372 A1
- Document ID: US20260087372A1
- Status: Published application
- Kind: A1
- Application number: 19/332,376
- Filed: 2025-09-18
- Published: 2026-03-26
- Earliest claimed: 2024-09-24
- Assignees: STMicroelectronics International N.V.
- Applicants: STMicroelectronics International N.V.
- Inventors: Sudhakar SAH; Ehsan SABOORI; Darshan Chandrashekhar GANJI
- Web page: https://patentgrep.com/patent/US20260087372A1

## CPC

- G06N 3/09: Supervised learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 3/048: Activation functions
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and method are disclosed for training and optimizing machine learning models for computer vision using mixed activation functions across model layers. A baseline model is received and a search space of candidate activation functions is defined. For each candidate substitution, a zero-cost accuracy score is computed without full training, and latency and memory costs are benchmarked across target hardware devices. Using this information, an optimization process such as random search, integer linear programming, or Local Zero Cost Maxima selects a layer-specific configuration of mixed activation functions that satisfies application constraints including accuracy, latency, and memory budgets. The selected model is then trained or fine-tuned to produce an optimized model. Experimental results on YOLO architectures demonstrate improved mean Average Precision, lower latency, and reduced memory usage relative to baseline models. This approach enables efficient deployment of computer vision models across CPUs, GPUs, and neural processing units.

## Claims

### Claim 1

A method of generating a machine learning model for computer vision, comprising:
receiving a baseline model architecture comprising a plurality of layers, each layer having a reference activation function;
defining a search space of candidate activation functions for substitution at one or more layers of the baseline model;
computing, for each candidate substitution, a zero-cost accuracy score without fully training the substituted model;
constructing latency and memory cost tables for the candidate substitutions based on benchmarking across one or more target hardware devices;
applying a search algorithm over the search space using the zero-cost accuracy scores and the cost tables to select a configuration of mixed activation functions across the plurality of layers, wherein the configuration satisfies one or more application constraints comprising an accuracy constraint, a latency constraint, or a memory constraint; and
training the selected configuration of mixed activation functions to generate an optimized machine learning model for deployment on the one or more target hardware devices.

### Claim 2 (depends on 1)

The method of claim 1, wherein the search algorithm comprises an integer linear programming optimization configured to minimize latency while satisfying an accuracy constraint.

### Claim 3 (depends on 1)

The method of claim 1, wherein the search algorithm comprises random search guided by the zero-cost accuracy scores and the cost tables.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more application constraints are based on limitations of a target hardware device selected from a CPU, GPU, or neural processing unit.

### Claim 5 (depends on 1)

The method of claim 1, wherein the mixed activation functions comprise at least two of: Rectified Linear Unit (ReLU), Sigmoid Linear Unit (SiLU), Hardswish, ReLU6, or LeakyReLU.

### Claim 6 (depends on 1)

The method of claim 1, wherein constructing comprises executing candidate models on the target hardware device using a runtime environment selected from: ONNX Runtime, TensorFlow Lite, or a custom runtime.

### Claim 7 (depends on 1)

The method of claim 1, further comprising fine-tuning the optimized machine learning model using a training dataset comprising images sized according to constraints of the target hardware device.

### Claim 8 (depends on 1)

The method of claim 1, wherein the selecting comprises replacing activation functions in the first three layers of the baseline model with a Rectified Linear Unit (ReLU) activation while maintaining Sigmoid Linear Unit (SiLU) activations in the remaining layers.

### Claim 9 (depends on 8)

The method of claim 8, wherein replacing the activation functions in the first three layers reduces latency and memory consumption relative to the baseline model.

### Claim 10 (depends on 1)

The method of claim 1, wherein the selecting comprises applying a Local Zero Cost Maxima approach that:
iteratively replaces activations in the baseline model with candidate activations;
retains a replacement if a zero-cost score is improved relative to the reference activation; and
trains the resulting modified model on a training dataset.

### Claim 11 (depends on 10)

The method of claim 10, wherein the Local Zero Cost Maxima approach generates a mixed activation model comprising both Sigmoid Linear Unit (SiLU) and Rectified Linear Unit (ReLU) activations.

### Claim 12 (depends on 10)

The method of claim 10, wherein the Local Zero Cost Maxima approach generates a mixed activation model comprising both Sigmoid Linear Unit (SiLU) and Hardswish activations.

### Claim 13

A system for generating optimized machine learning models, comprising:
a processor;
a memory storing instructions that, when executed by the processor, cause the system to:
receive a baseline model architecture comprising a plurality of layers, each layer having a reference activation function;
generate a search space of candidate activation functions for substitution at one or more layers of the baseline model;
compute zero-cost accuracy scores for the candidate substitutions without fully training the substituted models;
construct latency and memory cost tables for the candidate substitutions based on benchmarking across one or more target hardware devices;
apply a search algorithm over the search space using the zero-cost accuracy scores and the cost tables to select a configuration of mixed activation functions across the plurality of layers, wherein the configuration satisfies one or more application constraints comprising an accuracy constraint, a latency constraint, or a memory constraint; and
train the selected configuration of mixed activation functions to produce an optimized machine learning model for deployment on the one or more target hardware devices.

### Claim 14 (depends on 13)

The system of claim 13, wherein the search algorithm is an integer linear programming optimization configured to minimize accuracy cost subject to a latency constraint.

### Claim 15 (depends on 13)

The system of claim 13, wherein the zero-cost accuracy scores are computed using a Neural Tangent Kernel Weighted Operation (NWOT) metric.

### Claim 16 (depends on 13)

The system of claim 13, wherein the one or more target hardware devices comprise at least one of: a Jetson Nano GPU, an ARM Cortex-A53 processor, an ARM Cortex-A57 processor, or a neural processing unit.

### Claim 17 (depends on 13)

The system of claim 13, wherein the optimized machine learning model is a YOLO-based object detection model comprising a plurality of mixed activation functions distributed across different layers of the model.

### Claim 18 (depends on 13)

The system of claim 13, wherein the memory further stores a runtime environment configured to evaluate latency of candidate models on the one or more target hardware devices.

### Claim 19 (depends on 13)

The system of claim 13, wherein the processor is further configured to replace activations in early layers of the baseline model with low-latency activation functions while preserving higher-accuracy activations in later layers.

### Claim 20 (depends on 13)

The system of claim 13, wherein the processor is further configured to replace activation functions in the first three layers of the baseline model with a Rectified Linear Unit (ReLU) activation while maintaining Sigmoid Linear Unit (SiLU) activations in the remaining layers.

### Claim 21 (depends on 3)

The system of claim 3, wherein the processor is further configured to implement a Local Zero Cost Maxima approach that iteratively replaces layer activation functions with candidate activations when a zero-cost accuracy score improves, thereby generating a mixed activation model.

### Claim 22 (depends on 21)

The system of claim 21, wherein the mixed activation model comprises both Sigmoid Linear Unit (SiLU) and Rectified Linear Unit (ReLU) activations.

### Claim 23 (depends on 21)

The system of claim 21, wherein the mixed activation model comprises both Sigmoid Linear Unit (SiLU) and Hardswish activations.
