OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomese-simd commits / 1b6f670

Start thinking about embeddings
1b6f670869d130d43a40e9c05d63f57294134e62
by Linas Vepštas <linasvepstas@gmail.com> · 2025-09-18T20:17:08.000Z

Changed files (3) +24 -2

Design-F.md +21 -0
……@@ -0,0 +1,21 @@
1Design Notes F
2==============
3September 2025
4
5Notes about implementing Atomese descriptions of RNN's an LSTM.
6
7Embedding Atoms into RNN and LSTM
8----------------------------------
9The task here is to be able to describe the structure of RNN's, LSTM and
10similar networks in "pure Atomese", i.e. using PlusLink, TimesLink and
11so on to describe the vector operations.
12
13A subtrask is to create vector embeddings for Atoms. Several types of
14vector embeddings are posible:
15* Every Atom has a 64-bit hash value; this could be converted to a
16 BoolValue and treated as a bit-vector embedding. These are currently
17 almost entirely collision-free.
18* 256-bit hashes are also reasonable.
19* Conventional RNN's and LSTM's use float vector embeddings. How would this
20 work?
21
Design.md +1 -0
……@@ -18,6 +18,7 @@ actual design.
1818* [Design-E](./Design-E.md) recaps the main design goals that remain
1919 unimplemented. Next step should be `PlusLink` and `TimesLink` running
2020 on the GPU.
21* [Design-F](./Design-F.md) ponders RNN/LTSM embeddings of the AtomSpace.
2122
2223Structuralism Overview
2324----------------------
examples/dot-product-bad.scm +2 -2
……@@ -17,8 +17,8 @@
1717
1818(cog-execute! (Plus pair-location))
1919
20(cog-execute! (ElementOf (Number 0) pair-location)))
21(cog-execute! (ElementOf (Number 1) pair-location)))
20(cog-execute! (ElementOf (Number 0) pair-location))
21(cog-execute! (ElementOf (Number 1) pair-location))
2222
2323(cog-execute! (Plus
2424 (ElementOf (Number 0) pair-location)