关于布尔函数在内容可寻址存储器上的实现

Ron M. Roth
{"title":"关于布尔函数在内容可寻址存储器上的实现","authors":"Ron M. Roth","doi":"10.1109/JSAIT.2023.3279333","DOIUrl":null,"url":null,"abstract":"Let \n<inline-formula> <tex-math>$[q\\rangle $ </tex-math></inline-formula>\n denote the integer set \n<inline-formula> <tex-math>$\\{0,1, {\\ldots },q-1\\}$ </tex-math></inline-formula>\n and let \n<inline-formula> <tex-math>${{\\mathbb {B}}}=\\{0,1\\}$ </tex-math></inline-formula>\n. The problem of implementing functions \n<inline-formula> <tex-math>$[q\\rangle \\rightarrow {{\\mathbb {B}}}$ </tex-math></inline-formula>\n 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 \n<inline-formula> <tex-math>${{\\mathbb {B}}}$ </tex-math></inline-formula>\n, 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 \n<inline-formula> <tex-math>$(x=t$ </tex-math></inline-formula>\n ?) or inequality \n<inline-formula> <tex-math>$(x\\le t$ </tex-math></inline-formula>\n ?), where \n<inline-formula> <tex-math>$x\\in [q\\rangle $ </tex-math></inline-formula>\n is an input to the node and \n<inline-formula> <tex-math>$t\\in [q\\rangle $ </tex-math></inline-formula>\n is a node parameter. A CAM implementation of such comparisons includes mapping (i.e., encoding) \n<inline-formula> <tex-math>$t$ </tex-math></inline-formula>\n into internal states of some number \n<inline-formula> <tex-math>$n$ </tex-math></inline-formula>\n of cells and mapping \n<inline-formula> <tex-math>$x$ </tex-math></inline-formula>\n into inputs to these cells, with the goal of minimizing \n<inline-formula> <tex-math>$n$ </tex-math></inline-formula>\n. Such mappings are presented for various comparison families, as well as for the set of all functions \n<inline-formula> <tex-math>$[q\\rangle \\rightarrow {{\\mathbb {B}}}$ </tex-math></inline-formula>\n, 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<inline-formula> <tex-math>$n$ </tex-math></inline-formula>\n for any given \n<inline-formula> <tex-math>$q$ </tex-math></inline-formula>\n.","PeriodicalId":73295,"journal":{"name":"IEEE journal on selected areas in information theory","volume":"4 ","pages":"379-392"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"On the Implementation of Boolean Functions on Content-Addressable Memories\",\"authors\":\"Ron M. Roth\",\"doi\":\"10.1109/JSAIT.2023.3279333\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Let \\n<inline-formula> <tex-math>$[q\\\\rangle $ </tex-math></inline-formula>\\n denote the integer set \\n<inline-formula> <tex-math>$\\\\{0,1, {\\\\ldots },q-1\\\\}$ </tex-math></inline-formula>\\n and let \\n<inline-formula> <tex-math>${{\\\\mathbb {B}}}=\\\\{0,1\\\\}$ </tex-math></inline-formula>\\n. The problem of implementing functions \\n<inline-formula> <tex-math>$[q\\\\rangle \\\\rightarrow {{\\\\mathbb {B}}}$ </tex-math></inline-formula>\\n 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 \\n<inline-formula> <tex-math>${{\\\\mathbb {B}}}$ </tex-math></inline-formula>\\n, 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 \\n<inline-formula> <tex-math>$(x=t$ </tex-math></inline-formula>\\n ?) or inequality \\n<inline-formula> <tex-math>$(x\\\\le t$ </tex-math></inline-formula>\\n ?), where \\n<inline-formula> <tex-math>$x\\\\in [q\\\\rangle $ </tex-math></inline-formula>\\n is an input to the node and \\n<inline-formula> <tex-math>$t\\\\in [q\\\\rangle $ </tex-math></inline-formula>\\n is a node parameter. A CAM implementation of such comparisons includes mapping (i.e., encoding) \\n<inline-formula> <tex-math>$t$ </tex-math></inline-formula>\\n into internal states of some number \\n<inline-formula> <tex-math>$n$ </tex-math></inline-formula>\\n of cells and mapping \\n<inline-formula> <tex-math>$x$ </tex-math></inline-formula>\\n into inputs to these cells, with the goal of minimizing \\n<inline-formula> <tex-math>$n$ </tex-math></inline-formula>\\n. Such mappings are presented for various comparison families, as well as for the set of all functions \\n<inline-formula> <tex-math>$[q\\\\rangle \\\\rightarrow {{\\\\mathbb {B}}}$ </tex-math></inline-formula>\\n, 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<inline-formula> <tex-math>$n$ </tex-math></inline-formula>\\n for any given \\n<inline-formula> <tex-math>$q$ </tex-math></inline-formula>\\n.\",\"PeriodicalId\":73295,\"journal\":{\"name\":\"IEEE journal on selected areas in information theory\",\"volume\":\"4 \",\"pages\":\"379-392\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-08-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE journal on selected areas in information theory\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10210208/\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE journal on selected areas in information theory","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10210208/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

设$[q\rangle$表示整数集$\{0,1,{\ldots},q-1\}$,设${\mathbb{B}}=\{0.1\}$。考虑了在内容可寻址存储器(CAM)上实现函数$[q\ rangle\rightarrow{\math bb{B}}$的问题。CAM可以根据其单元的输入字母表和状态字母表进行分类;例如,在二进制CAM中,这些字母表都是$}}$,而在三元CAM(TCAM)中,两个字母表都被赋予了一个“不在乎”符号。这项工作的动机是最近提出的使用CAM对决策树进行快速推理的建议。在这样的学习模型中,树节点进行整数比较,例如测试等式$(x=t$?)或不等式$(x\le t$,其中$x\in[q\rangle$是节点的输入,$t\in[q \rangle]是节点参数。这种比较的CAM实现包括映射(即编码)$t$映射到一些单元格$n$的内部状态,并将$x$映射到这些单元格的输入中,目的是最小化$n$。在CAM单元的输入和状态字母表的几种情况下,这种映射适用于各种比较族,以及所有函数$[q\rangle\rightarrow{\mathbb{B}}}$的集合。所有这些映射都是最优的,因为它们对于任何给定的$q$都获得了尽可能小的$n$。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
On the Implementation of Boolean Functions on Content-Addressable Memories
Let $[q\rangle $ denote the integer set $\{0,1, {\ldots },q-1\}$ and let ${{\mathbb {B}}}=\{0,1\}$ . The problem of implementing functions $[q\rangle \rightarrow {{\mathbb {B}}}$ 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 ${{\mathbb {B}}}$ , 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\le t$ ?), where $x\in [q\rangle $ is an input to the node and $t\in [q\rangle $ 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\rangle \rightarrow {{\mathbb {B}}}$ , 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$ .
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
CiteScore
8.20
自引率
0.00%
发文量
0
期刊最新文献
Source Coding for Markov Sources With Partial Memoryless Side Information at the Decoder Deviation From Maximal Entanglement for Mid-Spectrum Eigenstates of Local Hamiltonians Statistical Inference With Limited Memory: A Survey Tightening Continuity Bounds for Entropies and Bounds on Quantum Capacities Dynamic Group Testing to Control and Monitor Disease Progression in a Population
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1