On the Implementation of Boolean Functions on Content-Addressable Memories

05/22/2023
by   Ron M. Roth, et al.
0

Let [q⟩ denote the integer set {0,1,…,...,q-1} and let 𝔹={0,1}. The problem of implementing functions [q⟩→𝔹 on content-addressable memories (CAMs) is considered. CAMs can be classified by the input alphabet and the state alphabet of their cells; for example, in binary CAMs, those alphabets are both 𝔹, while in a ternary CAM (TCAM), both alphabets are endowed with a "don't care" symbol. This work is motivated by recent proposals for using CAMs for fast inference on decision trees. In such learning models, the tree nodes carry out integer comparisons, such as testing equality (x=t?) or inequality (x≤ t?), where x ∈ [q⟩ is an input to the node and t ∈ [q⟩ is a node parameter. A CAM implementation of such comparisons includes mapping (i.e., encoding) t into internal states of some number n of cells and mapping x into inputs to these cells, with the goal of minimizing n. Such mappings are presented for various comparison families, as well as for the set of all functions [q⟩→𝔹, under several scenarios of input and state alphabets of the CAM cells. All those mappings are shown to be optimal in that they attain the smallest possible n for any given q.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/01/2022

Two Classes of Power Mappings with Boomerang Uniformity 2

Let q be an odd prime power. Let F_1(x)=x^d_1 and F_2(x)=x^d_2 be power ...
research
07/13/2012

Tracking Tetrahymena Pyriformis Cells using Decision Trees

Matching cells over time has long been the most difficult step in cell t...
research
10/06/2020

An improved bound on ℓ_q norms of noisy functions

Let T_ϵ, 0 ≤ϵ≤ 1/2, be the noise operator acting on functions on the boo...
research
02/09/2021

Inapproximability of Minimizing a Pair of DNFs or Binary Decision Trees Defining a Partial Boolean Function

The desire to apply machine learning techniques in safety-critical envir...
research
06/10/2022

Mixed integer linear optimization formulations for learning optimal binary classification trees

Decision trees are powerful tools for classification and regression that...
research
07/03/2020

On Symbolically Encoding the Behavior of Random Forests

Recent work has shown that the input-output behavior of some machine lea...
research
11/15/2022

Improving AFL++ CmpLog: Tackling the bottlenecks

The performance of the AFL++ CmpLog feature varies considerably for spec...

Please sign up or login with your details

Forgot password? Click here to reset