Continuous Vectors, Discrete Symbols

My first impression of the word “obfuscated logic” came from a documentary that I saw in primary school. What exactly is forgotten is the fact that on TV, the daily expression "slightly hot" is drawn into a curve between 0 and 1. It was amazing at the time: the machine did not have to be black or white, and it could deal with the vague parts of the language.

Then I read the book of the first year of the game, and hit the nervous network and the sensor. At that point, the book of the game AI used to tell the neuronet and the limited-state machine, the behavioral tree, the sensor machine was like a fork in the book: instead of a writing rule, it used data to shift weights. I didn't dig deep until the other day.Sensor.The geometry and the training process were re-examined.

Knowledge maps are going to be in my view later. Last year, I looked at how to mitigate the illusion of a large model, which I saw as a set of external knowledge that can be looked back at: the model should not simply continue on the basis of unstable memories in the parameters, at least with a clear entity, relationship, source, and time. This year's study of Palantir's introspection has come to an even deeper level — it is concerned not only with what lies in the “banks” but also with how the organization can bring the objects, attributes and relationships in the data to the power, processes and actions of reality. Knowledge means that once close to decision-making, the question is not just whether or not to answer, but also who did what on the basis of what and how to trace what went wrong.

And if we do, we'll find that sensors and knowledge maps correspond to two world views. When I wrote the sensor, I had a continuous amount in my hand: pixels are floats, weights are floats, weights are floats, gradients are downslides on successive error curves. Even if the last step-step function, output 0 or 1, the calculation in the sensory stomach is continuous from beginning to end.

There's no such thing as knowledge. \(0.847\) This thing, it's a triad like this:

$$\langle \text{姚明},\ \text{效力于},\ \text{火箭队}\rangle$$

There's one side, there's one side, there's no one. The most striking difference between it and the sensor is not that it's called a “neuronet”, it's called a “graph”, but it's: **One operates mainly in a continuous space, the other is, first and foremost, a discrete symbol structure. **

This is a simple statement, and it leads to a set of questions: Where does the blurry logic stand? The big-language model is separated token. How come it's full of vectors? Is the knowledge map embedded in the symbol "teached" or is the original structure of the symbol dissolved in the calculation? And, AI, to produce a very smooth word, to tell it the truth, what's the difference?

Sensor: Map the difference to a continuous direction

The core of the sensory machine is short:

$$z = \mathbf{w}^\top\mathbf{x}+b$$

For a picture,\(\mathbf{x}\) It's a long string of pixels.\(\mathbf{w}\) A long set of weights,\(z\) It's a real number. The training is constantly changing. \(\mathbf{w}\) and \(b\), and bring different types of samples to both sides of the hyperplatform.

The most interesting thing is not "Finally divided into two categories" but this one in the middle. \(z\). It does not have a readable semantic such as "is it a cat" but a sample projecting value in a given direction. The two samples can be very similar or only to some extent; The weight may be smoothly changed from 0.1 to 0.101; The error can drop a little. The system as a whole implicitly accepts that the differences in the world can be quantified, inserted, partially modified — that's where the nerve network works.

A group of pixels, “sevens and threes and ones”, is a difference that makes it difficult for people to sum up into clear rules, but the network can find a direct direction from the data in high-dimensional space. The price is that when it says “This is 7”, there is no rule in the model that can be read directly “because of the top line and the right vertical line”. It has the right to weigh and to have activating value, but these are not reasons that people can understand in the usual sense.

So it's not quite right to call the neural network a black box. It does not lack an internal structure, but the basic unit of the internal structure is not a proposition that one can explain directly, but a continuous numerical relationship.

Knowledge mapping: world by nodes, relationships and propositions

The knowledge map is going another way. It starts by assuming that the world can separate entities and relationships, and then puts facts on the side of the picture:

$$\langle \text{北京},\ \text{是首都},\ \text{中国}\rangle$$

In this representation, the reasoning follows the structure. “A father is B and B is C” and a “father's father is Grandfather” rule can be added to the relationship between A and C. Each step was clear: what was the conclusion on which facts and rules were applied. This is why it can be involved in the mitigation of hallucinations: it cannot guarantee that the answer is true, but it can recast the words “models say so” into a searchable set of questions — which entity? Is it a relationship? Where did the evidence come from? Within what time frame?

However, the mapping is not a way of moving reality into the database. The way in which entities are divided, the way relationships are named and the fact that the same person, device or order crosses the system is not the same object, is the choice that the design of the body has to make. I was impressed by Palantir's introspection, which further exposed this choice to business objects and implementable operations: an “object” is not just a line of data in the table, but can be used in the context of privileges, processes and actions. It is not necessarily the same as a philosophical introspective, but it reminds one thing: the way the world is organized into a schematic is never neutral, it shapes what the system can identify and who is allowed to do what.

That's the strength of the symbol system: Disconnection does not mean simple, but it means that it can be accurately combined. The “father” “grandfather” “is the capital” is a reusable unit; As long as the grammar and the rules are still in place, the propositions that have not been seen can be combined. This type of capability is the basis for mathematical certificates, programme language, database queries.

However, there is also a soft sign of separation: it is too sensitive to names and borders. It's called Beijing, the user enters "The Emperor" and they're two different strings when there's no extra knowledge; There is no "almost capital" position in the map. This expression is made difficult by aliases, mistakes and linguistic changes in reality.

The soft side was actually scratched by Wittgenstein. In Philosophy, he had two famous expressions: “The meaning of a word lies in its use in the language” and “the emperor” was “Beijing” not by a string match, but by a language community that used the word; The other one was "family similarity" and he looked at the various "plays" and found that there was no common substance between them, only a similar overlap -- that is, that is, that there was no overlap between them. Many of the concepts of everyday life are not bounded by a sharp line.. It is inevitable that the mapping requires a clear name and definition of each concept, which is tantamount to forcing a world with blurred borders to wear separate coats.

It's a common confusion: token is separated, not equal to being a "sign" in philosophical or logical sense. The large-language model of token is of course a discrete number, but the numbering itself does not guarantee that there is a stable allegation, that there is no reason to reason, much less that it corresponds to the object in reality. Token is the unit of computer splitting text; The symbol should be at least placed in an identifiable, combustible and testable structure. The two cannot be confused by “disconnection”.

Fuzzy logic is not a sign's compromise.

Fuzzy logic is between them and is particularly susceptible to misinterpretation.

(a) In the logic of Boolean, "high temperature" is either real or false; Fuzzy logic allows it to have a degree of affiliation, for example, 30°C for "high temperature" is 0.5, 35°C is 0.8. Then you can write the rules:

If the temperature is high and the humidity is high, the fan needs to turn fast.

At first glance, the blurry logic seems to have kept the symbols in line. More precisely, however, it retains the readable concepts and rules of “high temperature” and “high humidity” and “fast fan”, but simply changes the boundaries of the concept from hard to soft transition. The function is defined, the rules are written, and they can be reviewed and modified.

Take a single input fan controller to see more specific. The three combinations of "cool" and "comfort" and "heat" are, respectively, \(0\)、\(0.75\)、\(0\); The rule of "comfort" is: \(0.75\) The strength of the activity. Mamdani does not say "a fan turns at 50%" directly, but it starts with a "medium speed" function. \(0.75\) (b) Equalization of sentences; The output-by-point maximum of all activated rules is followed by a precise control by a weighting method. This example ends with 50 percent, but the key is not on this exact symmetrical number, and the middle process is not hidden.

Enter the complete process of blurring, mamdani rule cropping, polymerization and weighting to blur at 23.5°C

The following pseudo-code sums up the entire process: first, the extent of the temperature in the three “cold, comfortable, hot” clusters; Each IF...THEN... The extent to which the rules limit the latter; The output of the rules is then merged and the focus is finally taken from the synthetic curve. This results in a continuous rate of change rather than a few hard-coded slots.

def triangle(x, left, peak, right):
    if x <= left or x >= right:
        return 0.0
    if x == peak:
        return 1.0
    return ((x - left) / (peak - left)
            if x < peak else (right - x) / (right - peak))

RULES = {"冷": "慢", "舒适": "中", "热": "快"}

def infer_fan_speed(temperature):
    degree = {
        "冷": max(0.0, min(1.0, (18.0 - temperature) / 18.0)),
        "舒适": triangle(temperature, 15.0, 22.0, 28.0),
        "热": max(0.0, min(1.0, (temperature - 25.0) / 15.0)),
    }
    speeds = [i / 10 for i in range(1001)]
    output = []
    for speed in speeds:
        speed_set = {
            "慢": max(0.0, min(1.0, (40.0 - speed) / 40.0)),
            "中": triangle(speed, 30.0, 50.0, 70.0),
            "快": max(0.0, min(1.0, (speed - 60.0) / 40.0)),
        }
        output.append(max(min(degree[before], speed_set[after])
                          for before, after in RULES.items()))
    return sum(speed * mu for speed, mu in zip(speeds, output)) / sum(output)

print(f"{infer_fan_speed(23.5):.1f}%")  # 50.0%

So it doesn't hide its knowledge in the weight of power, like a neural network, and it doesn't solve all the problems of the knowledge map. It deals with another uncertainty: It is not “not knowing whether the facts are established or not”, but that the concept of daily life does not have clear boundaries. 30°C is not the same as “Beijing is not the capital of China”. The former need to be agreed upon, context and extent, while the latter need mainly a source of fact and a time frame.

It's a fine distinction, but it's useful. We used to call all "uncertainty" all probabilistic, but we confused the problem. At the very least, it can be asked whether this is the blurry of conceptual boundaries, the statistical uncertainty caused by data noise, or whether the facts themselves have not yet been proven. They are not the same tools.

This explains why very few people today have adopted vague logic as the central subject of AI. Visual, linguistic, and recommended tasks often have a large amount of data, and end-to-end neurological networks are more likely to learn from features and rules; Fuzzy systems are subordinate functions and rules that are designed and maintained by people. But where data are scarce, rules must be clear to the operator, and the controller needs a smooth transition, it is not outdated. It is not a way of taking control of universal intelligence from a large model, but rather a way to write field experience as a functional, detectable control logic.

Map the symbol to vector: bridge, or cost?

The most common compromise today is the mapping of discrete structures into a continuous vector.

Knowledge mapping embedded to entities and relationships; Language models turn token into embedding; Retrieval Enhancement Generation (RAG) first retrieves external documents, then the production model organizes the language. This is practical: continuous space is good at finding similar, filling gaps and holding noise; Separated documents, databases and spectros can in turn provide source and constraint.

But the word “integration” is too easy to say, covering the costs. When the “Beijing” capital “China” is converted into three floating-points, the machine is, indeed, much easier to calculate similarity, but it no longer naturally retains its original discrete relationship. Proximity may be semantics, or it may just be that they often appear together in the training linguistics — unlike the side of the spectra, where the facts can be verified.

So I'd rather see it as a translation than as a uniform: from symbol to vector, in exchange for learning and error. Translation of readable text or rules from vector to interpretation and verification. Translations are unfaithful and cannot be judged by “models look smart” or go back to specific tasks.

For example, search recommendations, "similar" is usually what they want; Medical diagnosis, legal provisions, and “almost” in financial figures can be significant. All problems cannot be pushed in because vector space is continuous.

The question of why is it not enough?

These are just the technical languages of AI. When I read the recent "Desperate Truth, Truth and Virtuality" of Kamsakutao, I had a more difficult question to avoid: **Why is a symbol string true, even if it is fully understandable? **

I do not want to draw a complete conclusion here on behalf of the goldman's “realism philosophy” — the system needs to read the original book directly, and it is easy to oversimplify and even distort it by recapitulating it. But there's one clue and AI, and it's really enlightening to see that the symbol system, the experience and the subject is involved, and no one can be easily returned to anyone.

Mathematical formulas can be tested in relatively closed rules; (a) The conclusion of the experiment requires repertoireable manipulation and observation; A word in a natural language also involves the voice, scene, commitment, action and responsibility. They all use symbols, but they are not the same “real”.

This is just one of the core boundaries of the big language model. Models can continue the sentence “like true”, because it learns how humans connect words, concepts and arguments in the text. It does not have a natural experimental device, nor does it have to speak for itself, nor does it automatically get a realistic feedback correction because of a wrong word. It can cite an paper that does not exist, not because it wants to lie, but because “like a reasonable reference” is likely to be more likely to be generated in terms of probability than “stop and admit not to know”.

This is not to say that the AI output is necessarily not true. The output can be viable after a combination of search, database, tool call and manual review. It's just that the truth comes not from the “language model”, but from the verification chain it built with the outside world: where the information came from, what the version was, who could review it, how the error could be corrected.

If I had to use an image, I'd say: the model is not the bridge that connects the two sides of the bank itself, but at best a very brick-builder. Nice bricks. Doesn't mean the bridge is really open.

Back to the beginning.

The phrase “indicators are not continuous” could be more complete:

I think it makes more sense than the question of who will win the symbolism and the connectionism. The human brain and society have never chosen a single expression: we have to be clear about an address, a theorem and a contract, and we have to recognize a face, a tone and a tendency that is not right. AI, too. The real difficulty is not to replace the vector symbol, or to replace the data with the rule, but to know when it must be continuous, when it must be separated and when it must stop and go back to reality.

References