4 ms·
So what is a Tselin machine? Maybe I am lazy but a don’t see an exact description. I am assume it is a function that takes an input, a state and produces an o
by chvid 8y ago
So what is a Tselin machine?
Maybe I am lazy but a don’t see an exact description.
I am assume it is a function that takes an input, a state and produces an output. But what exactly is it?
A neural net is a fairly general construction. Is this not just a nn with a particular activation function, a particular network layout?
- shakna 8y agoFor a detailed understanding, you need the paper. [0] But, loosely speaking, it is a classifier that works best with less information, utilising a series of formulas. It only really does bitwise ops for recognition, and is easy to implement and fast. If I were to describe it in more flowery terms, hashing and finite automata had a baby. [0] https://arxiv.org/abs/1804.01508 https://arxiv.org/abs/1804.01508
- chvid 8y agoWhy can't I just get a reasonable definition of what a Tsetlin machine is? As far as I can read it a function that takes an input (a vector of real numbers in 0..1 (?)), a state (in form of an integer) and produces an output (in form of something?).
- brownbat 8y agoWhat constitutes reasonable? Here's an example of someone explaining something to five different levels of audiences. https://www.youtube.com/watch?v=OWJCfOvochA https://www.youtube.com/watch?v=OWJCfOvochA None of these approaches are prima facie "unreasonable." But if you get the wrong level it won't feel useful. I don't think it's crazy to have open teaching discussions on HN, I think you lay out a fair hope that someone can break something down here. But I'm just not sure which level you're looking for. Precision and simplicity are often competing constraints.
- chvid 8y agoOkay. Let me try getting my point across with an insult instead. Some dude in a marginal university in Norway has managed to convince a few people, a couple of students and a writer for a glittery university magazine, that he is a genius. His approach is to do something trivial but bury it in a completely obscure terminology. This technically sorta works on a toy example but not really on more challenging tests. But it is very convincing for people who are not trying to understand what is going on but rather are impressed by technical words and academic rank. That is why it is getting negative feedback here and on other technical forums. And that is why noone can answer a simple technical question.
- majewsky 8y ago> Let me try getting my point across with an insult instead. As a rule of thumb, when you write such a sentence, just stop and go outside for a while.
- chvid 8y agoSorry about my choice of wording; I was just annoyed with the bold claims and the apparent lack of definition of this specifc concept.
- coldtea 8y agoHere's the code, check it out: https://github.com/cair/TsetlinMachine https://github.com/cair/TsetlinMachine >And that is why noone can answer a simple technical question. Who is "noone"? Some people in a small thread on HN that first read about this today and most of which do not have anything to do with NN or Tsetlin's automata (e.g. startup founders, JS programmers, embedded programmers, and so on)? Note also that you haven't made any "simple technical question" -- not a specific one that is. Just asked for it to be explained to you, and then rudely complained again when someone did that it wasn't "reasonably" explained. You also seem impatient to wait for one (considering that you posted 4 hours ago, and most of US is sleeping still), it has to be pronto for you it seems... Here's also a simple explanation from another member: "The Tsetlin machine is based on Tsetlin’s automata, the so called finite automata with linear tactics. The are basically counters of rewards (up) and penalties (down) with various strategies of integration, proportionization and differentiation. They have minimum necessary for digital emulation of the perception functionality. They str not only due to Tsetlin but also yo Krinsky, Krylov, Varshavsky. Mikhail Tsetlin is the most prominent creator. It’s the work in the USSR in the 60s. So not new but very elegant!" >His approach is to do something trivial but bury it in a completely obscure terminology. This technically sorta works on a toy example but not really on more challenging tests. But it is very convincing for people who are not trying to understand what is going on but rather are impressed by technical words and academic rank. That is why it is getting negative feedback here and on other technical forums. Possibly. Also possible that all the negative feedback are from people who don't understand the math either, and/or are too invested in traditional NN, and is the usual resistance to new ideas. Apparently you don't have the means to classify it to one or the other case, but you do want to be rude and make a judgement nonetheless.
- tree_of_item 8y ago> Why can't I just get a reasonable definition of what a Tsetlin machine is? It's in the paper. You don't have to read the whole thing, it's pretty early on.
- andrewla 8y agoAs far as I can tell from looking at the code that implements it, and ignoring the training for the moment, the model itself takes a binary vector, and takes the sum of (the characteristic function of) AND's of elements of that vector, and returns whether the sum exceeds a threshold. So an example model with an input vector `x` might be x[1] & ~x[2] & x[4] + x[2] & x[4] + x[1] & x[3] > 1 EDIT: okay, so that's the effective evaluation model, but for training purposes, it is stored internally as a series of real numbers for each potential coefficient, and if that number exceeds the "number of states", then it is considered active. So the model above in binary form would look like +: [1,0,0,1],[0,1,0,1],[1,0,1,0] -: [0,1,0,0],[0,0,0,0],[0,0,0,0] But internally this could be represented (with number_of_states == 6) as +: [7.1,5.0,4.0,8.0 ],[3.7,6.1,5.9,7.8],[8.0,3.0,6.5,5.2] EDIT 2: Each term apparently is assigned a sign flag, and the threshold is 0, so not strictly an increasing sum.
- deleted 8y ago[deleted]
- nestorD 8y agoA Tselin automata returns always true or always false depending on its internal state (wich is basically a counter set during the learning process). Using one automata per literal per clause you can learn any logical formula in normalized form (the automata tells you if you should include this literal or not). That section made the paper worth reading for me. A Tselin machine is a refinement of the formula learning algorithm to get better learning properties, once trained you get a (long) formula (not precisely a logical formula since it uses a sum and a threshold instead of OR to improve robustness). It is important to note that they manipulate boolean inputs and outputs and, thus, it is not a general alternativ for neural network.