# US 2017/0286106 A1 · Instruction, Circuits, and Logic for Piecewise Linear Approximation

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

- Number: US 2017/0286106 A1
- Document ID: US20170286106A1
- Status: Published application
- Kind: A1
- Application number: 15/089,291
- Filed: 2016-04-01
- Published: 2017-10-05
- Earliest claimed: 2016-04-01
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Daniel David Ben-Dayan Rubin; Yonatan Glesner
- Web page: https://patentgrep.com/patent/US20170286106A1

## CPC

- G06F 9/3001: {Arithmetic instructions}
- G06F 9/3856: {Reordering of instructions, e.g. using queues or age tags}
- G06F 17/17: Function evaluation by approximation methods, e.g. inter- or extrapolation, smoothing, least mean square method ({G06F17/18 takes precedence } ; interpolation for numerical control G05B19/18)
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A processor includes a linear approximator and a front end including circuitry to assign linear approximation of a nonlinear function to a linear approximator. The linear approximator includes circuitry to divide a range of values for the linear approximation into a defined number of segments, perform linear approximation for each segment, move borders between the segments to reduce discontinuity moving along segments of variable length, repeat linear approximation for each segment until convergence, and return values for the linear approximation.

## Claims

### Claim 1

A processor, comprising:
a linear approximator; and
a front end including circuitry to assign linear approximation of a nonlinear function to the a linear approximator;
wherein the linear approximator includes circuitry to:
divide a range of values for the linear approximation into a defined number of equal segments;
perform linear approximation for each segment;
move borders between the segments such that the segments are not of equal length;
repeat linear approximation for each segment; and
return values for the linear approximation.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to repeat linear approximation for each segment and repeat movement of borders between segments until an error differential between iterations is less than a threshold.

### Claim 3 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to add noise to the segment coordinates to increase the probability of finding a global minima.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to move borders between the segments to prevent discontinuity between segments to facilitate smoothness and impose a condition for a global minima search.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to select a linear approximation scheme for each segment.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to generate coordinates for each segment.

### Claim 7 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to generate slopes for each segment.

### Claim 8 (depends on 1)

The processor of claim 1, wherein the linear approximator further includes circuitry to generate biases for each segment.

### Claim 9

An apparatus, comprising a linear approximator, including circuitry to:
divide a range of values for linear approximation of a nonlinear function into a defined number of equal segments;
perform linear approximation for each segment;
move borders between the segments such that the segments are not of equal length;
repeat linear approximation for each segment; and
return values for the linear approximation.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to repeat linear approximation for each segment and repeat movement of borders between segments until an error differential between iterations is less than a threshold.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to add noise to the segment coordinates to increase the probability of finding a global minima.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to move borders between the segments to prevent discontinuity between segments to facilitate smoothness and impose a condition for a global minima search.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to select a linear approximation scheme for each segment.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to generate coordinates for each segment.

### Claim 15 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to generate slopes for each segment.

### Claim 16 (depends on 9)

The apparatus of claim 9, wherein the linear approximator further includes circuitry to generate biases for each segment.

### Claim 17

A method for linear approximation in hardware, comprising:
divide a range of values for linear approximation of a nonlinear function into a defined number of equal segments;
perform linear approximation for each segment;
move borders between the segments such that the segments are not of equal length;
repeat linear approximation for each segment; and
return values for the linear approximation.

### Claim 18 (depends on 17)

The method of claim 17, further comprising repeating linear approximation for each segment and repeat movement of borders between segments until an error differential between iterations is less than a threshold.

### Claim 19 (depends on 17)

The method of claim 17, further comprising adding noise to the segment coordinates to increase the probability of finding a global minima.

### Claim 20 (depends on 17)

The method of claim 17, further comprising moving borders between the segments to prevent discontinuity between segments to facilitate smoothness and impose a condition for a global minima search.
