Hardware Architecture for Asynchronous Cellular Self-Organizing Maps
Abstract
:1. Introduction
2. Self-Organizing Maps
2.1. SOM: Self-Organizing Maps
2.2. CSOM: Cellular Self-Organizing Maps
2.3. ACSOM: Asynchronous Cellular Self-Organizing Maps
3. Architecture
- Inputs propagation packets: contain the new input vector, routed as broadcast communication to all the units in the network.
- BMU election packets: contain the distance to the new input vector, routed using min-reduce algorithm from all nodes to the sender of the related input propagation packet.
- BMU notification packets: contains the input vector that the BMU won, routed as point to point.
- Update propagation packets: contain the weight of the unit asking for the update, routed as neighbor to neighbor packet using the propagation algorithm elected by the BMU as explained in Section 2.3.
3.1. Arithmetic Operators
3.2. ACSOM Unit
- Storing the weight vector associated with the unit.
- Computing the euclidean distance to a provided input vector.
- Updating its own weight vector when designated as BMU.
- Initiating weight update mechanism after update as a BMU.
- Updating of its own weight vector toward a neighbor when requested by said neighbor.
- The term used in the update Equation (4) is pre-computed in design-time and provided to the unit as .
- The Euclidean distance computation is implemented without the square root operation as this does not affect the BMU election and avoids implementing an expensive square root operator. The removal of the square root has a side effect by introducing a non-linearity in the computation of Equation (4) but it is compensated by the adaptation of the parameter.
3.3. Distance Unit
3.3.1. Weight Update Unit
3.3.2. Weight Update Coefficient Unit
4. Experimental Setup and Results
4.1. CSOM and ACSOM Comparison
4.2. ACSOM Architecture
4.3. Performance Comparison
5. Conclusions
Future Work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
ASE | Average Squared Error |
ACSOM | Asynchronous Cellular Self-Organizing Maps |
BMU | Best Matching Unit |
CSOM | Cellular Self-Organizing Maps |
CUPS | Connetion Updates Per Second |
DSP | Digital Signal Processor |
FF | Flip-flop |
FPGA | Field-Programmable Gate Array |
LUT | Look-up-table |
LVDS | Low Voltage Differential Signaling |
NoC | Network On-Chip |
SOM | Self-Organizing Maps |
SoC | System On-Chip |
VHDL | VHSIC Hardware Description Language |
References
- Khacef, L.; Girau, B.; Rougier, N.P.; Upegui, A.; Miramond, B. Neuromorphic hardware as a self-organizing computing system. In Proceedings of the WCCI 2018—IEEE World Congress on Computational Intelligence, Workshop NHPU: Neuromorphic Hardware In Practice and Use, Rio de Janeiro, Brazil, 8–13 July 2018; pp. 1–4. [Google Scholar]
- Kohonen, T. The self-organizing map. Proc. IEEE 1990, 78, 1464–1480. [Google Scholar] [CrossRef]
- Araújo, C.F.; Araújo, A.F.R. Self-organizing Maps for Speech Recognition. In Anais do 11 Congresso Brasileiro de Inteligência Computacional; Braga, A.d.P., Bastos Filho, C.J.A., Eds.; SBIC: Porto de Galinhas, Brazil, 2013; pp. 1–6. [Google Scholar]
- Amerijckx, C.; Verleysen, M.; Thissen, P.; Legat, J.D. Image compression by self-organized Kohonen map. IEEE Trans. Neural Netw. 1998, 9, 503–507. [Google Scholar] [CrossRef] [PubMed]
- Hikawa, H.; Maeda, Y. Improved Learning Performance of Hardware Self-Organizing Map Using a Novel Neighborhood Function. IEEE Trans. Neural Netw. Learn. Syst. 2015, 26, 2861–2873. [Google Scholar] [CrossRef] [PubMed]
- Pena, J.; Vanegas, M.; Valencia, A. Digital Hardware Architectures of Kohonen’s Self Organizing Feature Maps with Exponential Neighboring Function. In Proceedings of the 2006 IEEE International Conference on Reconfigurable Computing and FPGA’s (ReConFig 2006), San Luis Potosi, Mexico, 20–22 September 2006; pp. 1–8. [Google Scholar] [CrossRef]
- Younis, B.M.; Mahmood, B.; Ali, F.H. Reconfigurable Self-Organizing Neural Network Design and it’s FPGA Implementation. Al-Rafidain Eng. J. 2009, 17, 99–115. [Google Scholar]
- Brassai, S.T. FPGA based hardware implementation of a self-organizing map. In Proceedings of the IEEE 18th International Conference on Intelligent Engineering Systems INES 2014, Tihany, Hungary, 3–5 July 2014; pp. 101–104. [Google Scholar] [CrossRef]
- de Abreu de Sousa, M.A.; Del-Moral-Hernandez, E. Comparison of three FPGA architectures for embedded multidimensional categorization through Kohonen’s self-organizing maps. In Proceedings of the 2017 IEEE International Symposium on Circuits and Systems (ISCAS), Baltimore, MD, USA, 28–31 May 2017; pp. 1–4. [Google Scholar] [CrossRef]
- de Abreu de Sousa, M.A.; Del-Moral-Hernandez, E. An FPGA distributed implementation model for embedded SOM with on-line learning. In Proceedings of the 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA, 14–19 May 2017; pp. 3930–3937. [Google Scholar] [CrossRef]
- Abadi, M.; Jovanovic, S.; Ben Khalifa, K.; Weber, S.; Bedoui, M.H. A Scalable Flexible SOM NoC-Based Hardware Architecture. In Advances in Self-Organizing Maps and Learning Vector Quantization; Merényi, E., Mendenhall, M.J., O’Driscoll, P., Eds.; Springer International Publishing: Cham, Switzerland, 2016; pp. 165–175. [Google Scholar]
- Hikawa, H. FPGA implementation of self organizing map with digital phase locked loops. Neural Netw. 2005, 18, 514–522. [Google Scholar] [CrossRef] [PubMed]
- Appiah, K.; Hunter, A.; Meng, H.; Yue, S.; Hobden, M.; Priestley, N.; Hobden, P.; Pettit, C. A binary Self-Organizing Map and its FPGA implementation. In Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks, Atlanta, GA, USA, 14–19 June 2009; pp. 164–171. [Google Scholar] [CrossRef] [Green Version]
- Girau, B.; Upegui, A. Cellular Self-Organising Maps-CSOM. In Proceedings of the WSOM’19—13th International Workshop on Self-Organizing Maps and Learning Vector Quantization, Clustering and Data Visualization, Barcelona, Spain, 26–28 June 2019. [Google Scholar] [CrossRef] [Green Version]
- Novac, P.E.; Upegui, A.; Barrientos, D.; Sousa, C.; Rodriguez, L.; Miramond, B. Dynamic Structural and Computational Resource Allocation for Self-Organizing Architectures. In Proceedings of the 2020 27th IEEE International Conference on Electronics, Circuits and Systems (ICECS), Glasgow, UK, 23–25 November 2020; pp. 1–4. [Google Scholar]
- Upegui, A.; Girau, B.; Rougier, N.; Vannel, F.; Miramond, B. Pruning self-organizing maps for cellular hardware architectures. In Proceedings of the 2018 IEEE NASA/ESA Conference on Adaptive Hardware and Systems (AHS), Edinburgh, UK, 6–9 August 2018; pp. 272–279. [Google Scholar]
- Vannel, F.; Barrientos, D.; Schmidt, J.; Abegg, C.; Buhlmann, D.; Upegui, A. SCALP: Self-configurable 3D Cellular Adaptive Platform. In Proceedings of the 2018 IEEE Symposium Series on Computational Intelligence (SSCI), Bangalore, India, 18–21 November 2018; pp. 1307–1312. [Google Scholar] [CrossRef]
- Barrientos, D.; Sousa, C.; Upegui, A.; Girau, B. SCALPsim, a tool for modeling asynchronous Self-Organizing 3D NoC architectures. In Proceedings of the ICECS 2020, 27th IEEE International Conference on Electronics Circuits and Systems, Glasgow, UK, 23–25 November 2020. [Google Scholar]
- Duato, J.; Yalamanchili, S.; Ni, L.M. Interconnection Networks: An Engineering Approach; Morgan Kaufmann: San Francisco, CA, USA, 2003. [Google Scholar]
- Sullivan, H.; Bashkow, T.R. A Large Scale, Homogeneous, Fully Distributed Parallel Machine, I. In Proceedings of the 4th Annual Symposium on Computer Architecture, College Park, MD, USA, 23–25 March 1977; Association for Computing Machinery: New York, NY, USA, 1977; pp. 105–117. [Google Scholar] [CrossRef]
- de Dinechin, F.; Pasca, B. Designing Custom Arithmetic Data Paths with FloPoCo. IEEE Des. Test Comput. 2011, 28, 18–27. [Google Scholar] [CrossRef]
- Khacef, L.; Miramond, B.; Barrientos, D.; Upegui, A. Self-organizing neurons: Toward brain-inspired unsupervised learning. In Proceedings of the 2019 International Joint Conference on Neural Networks (IJCNN), Budapest, Hungary, 14–19 July 2019; pp. 1–9. [Google Scholar] [CrossRef]
- Ben Khalifa, K.; Blaiech, A.; Abadi, M.; Bedoui, M. A New Hardware Architecture for Self-Organizing Map Used for Colour Vector Quantization. J. Circuits Syst. Comput. 2019, 29, 2050002. [Google Scholar] [CrossRef]
Incoming Direction | ||||
---|---|---|---|---|
East | West | North | South | |
XY | W,N,S | E,N,S | S | N |
YX | W | E | E,W,S | E,W,N |
Update Request Incoming Direction | ||||||
---|---|---|---|---|---|---|
East | West | North | South | Up | Down | |
XYZ | W,N,S,U,D | E,N,S,U,D | S,U,D | N,U,D | D | U |
YXZ | W,U,D | E,U,D | E,W,S,U,D | E,W,N,U,D | D | U |
ZXY | W,N,S | E,N,S | S | N | E,W,N,S,D | E,W,N,S,U |
XZY | W,N,S,U,D | E,N,S,U,D | S | N | N,S,D | N,S,U |
YZX | W | E | E,W,S,U,D | E,W,N,U,D | E,W,D | E,W,U |
ZYX | W | E | E,W,S | E,W,N | E,W,N,S,D | E,W,N,S,U |
4 × 4 Neurons | 6 × 6 Neurons | |||
---|---|---|---|---|
Mean ASE | Mean ASE | |||
CSOM | 0.010760 | 0.000421 | 0.004567 | 0.000592 |
ACSOM | 0.010842 | 0.000434 | 0.004576 | 0.000605 |
LUT | FF | DSP | |
---|---|---|---|
FP5.4 | 888 | 663 | 0 |
FP6.8 | 1642 | 950 | 0 |
FP6.16 | 2938 | 1643 | 3 |
FP8.23 | 4172 | 2184 | 7 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Berthet, Q.; Schmidt, J.; Upegui, A. Hardware Architecture for Asynchronous Cellular Self-Organizing Maps. Electronics 2022, 11, 215. https://doi.org/10.3390/electronics11020215
Berthet Q, Schmidt J, Upegui A. Hardware Architecture for Asynchronous Cellular Self-Organizing Maps. Electronics. 2022; 11(2):215. https://doi.org/10.3390/electronics11020215
Chicago/Turabian StyleBerthet, Quentin, Joachim Schmidt, and Andres Upegui. 2022. "Hardware Architecture for Asynchronous Cellular Self-Organizing Maps" Electronics 11, no. 2: 215. https://doi.org/10.3390/electronics11020215
APA StyleBerthet, Q., Schmidt, J., & Upegui, A. (2022). Hardware Architecture for Asynchronous Cellular Self-Organizing Maps. Electronics, 11(2), 215. https://doi.org/10.3390/electronics11020215