TBN:Convolutional Neural Network with Ternary Inputs and Binary Weights
ECCV_2018 paper

TBN 用 高效的 XOR, AND 及位运算 代替 传统CNN 中的 算术运算
TBN replaces the arithmetical operations in standard CNNs with efficient XOR, AND and bitcount operations, and
thus provides an optimal tradeoff between memory, efficiency and performance.

provides ∼ 32× memory savings and 40× faster convolutional operations
TBN 的性能 比 XNOR-Network 要 高 5% 点左右

如果我们只对网络的权重参数进行二值化,那么得到的结果是 内存空间降低32倍,计算速度提升2倍(因为避免了卷积中的乘法运算)
Binarizing the network weights can directly result in ∼ 32× memory saving over the real-valued counterparts, and meanwhile bring ∼ 2× computational efficiency by avoiding the multiplication operation in convolutions

如果我们对网络的权重和网络层的输入信号同时进行二值化,通过 XNOR and bitcount operations 代替卷积中的算术运算,那么可以提速 58倍。当然这么的问题就是性能下降较大。
On the other hand, simultaneously binarizing both weights and the input signals can result in 58× computational
efficiency by replacing the arithmetical operations in convolutions with XNOR and bitcount operations.

对此我们提出使用三值化网络层的输入信号来提升性能 ternary inputs constrain input signal values into −1, 0, and 1

Ternary-Binary Network (TBN) = 网络权重参数的二值化 + 网络层输入的三值化
By incorporating ternary layer-wise inputs with binary network weights, we propose a Ternary-Binary Network (TBN) that provides an optimal tradeoff between the performance and computational efficiency

TBN can provide ∼ 32× memory saving and 40× speedup over its real-valued CNN counterparts

下图显示不同量化策略对速度的提升影响

量化卷积过程

加速策略:
AND, XOR and bitcount operations

训练过程

分类性能对比

检测性能对比

11

模型量化--TBN:Convolutional Neural Network with Ternary Inputs and Binary Weights相关推荐

  1. 二值网络--TBN: Convolutional Neural Network with Ternary Inputs and Binary Weights

    TBN: Convolutional Neural Network with Ternary Inputs and Binary Weights ECCV2018 本文的思路就是: 对 weight ...

  2. 【读点论文】PP-LCNet: A Lightweight CPU Convolutional Neural Network,面向CPU级的技巧结合下的低延迟,较高精度模型

    PP-LCNet: A Lightweight CPU Convolutional Neural Network 提出了一个基于MKLDNN加速策略的轻量级CPU网络,命名为PP-LCNet,它提高了 ...

  3. 模型加速--LCNN: Lookup-based Convolutional Neural Network

    LCNN: Lookup-based Convolutional Neural Network CVPR2017 https://github.com/ildoonet/tf-lcnn https:/ ...

  4. 二值网络--Optimize Deep Convolutional Neural Network with Ternarized Weights and High Accuracy

    Optimize Deep Convolutional Neural Network with Ternarized Weights and High Accuracy IEEE Winter Con ...

  5. Synaptic Strength For Convolutional Neural Network

    摘要 卷积神经网络(Convolutional Neural network, CNNs)既需要大量的计算,又需要大量的内存,这阻碍了它在移动设备上的应用.受到神经科学文献中相关概念的启发,我们提出了 ...

  6. A Convolutional Neural Network Model for Predicting a Product’s Function, Given Its Form

    ABSTRACT 量化数字设计概念执行功能的能力目前需要使用昂贵的软件以及密集型解决方案,例如计算流体动力学.为了缓解这些挑战,这项工作的作者提出了一种基于3维卷积的深度学习方法,该方法可预测数字设计 ...

  7. 论文笔记 Inter-sentence Relation Extraction with Document-level Graph Convolutional Neural Network

    一.动机 为了抽取文档级别的关系,许多方法使用远程监督(distant supervision )自动地生成文档级别的语料,从而用来训练关系抽取模型.最近也有很多多实例学习(multi-instanc ...

  8. 人群场景分析--Slicing Convolutional Neural Network for Crowd Video Understanding

    Slicing Convolutional Neural Network for Crowd Video Understanding CVPR2016 http://www.ee.cuhk.edu.h ...

  9. 卷积神经网络Convolutional Neural Network (CNN)

    卷积神经网络 转载请注明:http://blog.csdn.net/stdcoutzyx/article/details/41596663 自今年七月份以来,一直在实验室负责卷积神经网络(Convol ...

最新文章

  1. m1mac安装linux,M1 Mac 能安装 Ubuntu 和 Linux 了 ??
  2. ddm模型公式_简单判断目前行情——从股利贴现模型切入
  3. 《MySQL排错指南》——1.9 许可问题
  4. NameNode 启动失败 - There appears to be a gap in the edit log. We expected txid xxx, but got tx
  5. 作为程序员我是如何对事物进行分析的
  6. Linux 下配置 Hadoop2.x 高可用 zookeeper Yarn,详细步骤。
  7. appium启动APP配置参数:
  8. 轴固定位置_全面总结:轴零件固定方式及特点
  9. html鼠标悬停下划线消失,CSS3 2个实用的鼠标悬停文本下划线动画效果
  10. 【论文阅读】Probabilistic Embeddings for Cross-Modal Retrieval CVPR 2021 --- 跨模态检索,概率嵌入,一对多,多对多匹配
  11. c语言字符动画源码下载,C语言程序实例大全(220个精彩源码下载)
  12. Typora Beta版过期解决方法
  13. java map存储对象_java-在ConcurrentHashMap中存储复杂对象
  14. 戴尔服务器r330系统安装,Dell PowerEdge R330
  15. TOP 1比不加TOP慢的疑惑
  16. 遍历Java对象所有字段并处理
  17. 公众号榜单 | 2020·6月公众号地区排行榜重磅发布
  18. 【Python】实时采集疫情数据,打造可视化地图,防疫从你我做起
  19. 项目实训---微信小程序选座之7.7日报
  20. 量子力学 一 基础4 态空间、对偶与线性算符

热门文章

  1. JS 中的 Map,Set 和 iterable
  2. GROMACS运行参数之nvt.mdp文件详解
  3. 水星记(Mercury Records)
  4. 在线绘图|差异分析——在线做时序分析
  5. 零基础入门学习Python(15)-序列
  6. ESTL:新型多重扩增子测序法可实现污水中 SARS-CoV-2 RNA 的精确定量和病毒溯源...
  7. 宏基因组、微生物、环境杂志影响因子(IF)及变化分析
  8. QIIME 2教程. 28社区Community(2021.2)
  9. 【为自己相亲】单身小姐姐你在哪里,我是书豪,我在等你
  10. pandas使用str函数和contains函数查看dataframe特定数据列中是否匹配或包含特定模式的字符串(match or contain a pattern in column value)