Live data from Hacker News

Viewing profile — YeGoblynQueenne

YeGoblynQueenne

HN member
Joined
Sat, Sep 26, 2015, 10:30 PM UTC
HN karma
24,587
Public activity
10,697 items

About YeGoblynQueenne

This a common question on this board:

What is reasoning?

In computer science and AI when we say "reasoning" we mean that we have a theory and we can derive the consequences of the theory by application of some inference procedure.

A theory is a set of facts and rules about some environment of interest: the real world, mathematics, language, etc. Facts are things we know (or assume) to be true: they can be direct observations, or implied, guesses. Rules are conditionally true and so most easily understood as implications: if we know some facts are true we can conclude that some other facts must also be true. An inference procedure is some system of rules, separate from the theory, that tells us how we can combine the rules and facts of the theory to squeeze out new facts, or new rules.

There are three types of reasoning, what we may call modes of inference: deduction, induction and abduction. Informally, deduction means that we start with a set of rules and derive new unobserved facts, implied by the rules; induction means that we start with a set of rules and some observations and derive new rules that imply the observations; and abduction means that we start with some rules and some observations and derive new unobserved facts that imply the observations.

It's easier to understand all this with examples.

One example of deductive reasoning is planning, or automated planning and scheduling, a field of classical AI research. Planning is the "model-based approach to autonomous behaviour", according to the textbook on planning by Geffner and Bonnet. An autonomous agent starts with a "model" that describes the environment in which the agent is to operate as a set of entities with discrete states, and a set of actions that the agent can take to change those states. The agent is given a goal, an instance of its model, and it must find a sequence of actions, that we call a "plan", to take the entities in the model from their current state to the state in the goal. This is usually achieved by casting the planning problem as pathfinding over a graph with a search algorithm like A*. Here, the agent's model is a theory, the search algorithm is the inference procedure, and the plan is a consequence of the theory. Deductive reasoning can be sound, as long as the facts and rules in the theory are correct: from correct premises we can deduce correct conclusions. We know of sound deductive inference rules, e.g. A*, and Resolution, used in automated theorem proving and SAT-Solving, are sound.

The classic example of inductive reasoning is inferring the colour of swans. Most swans are white (apparently) so if we have only seen white swans we have no reason to believe there are any other colours: we are forced to infer that all swans are white. We may only be disabused of our fallacy if we happen to observe a swan that is not white, e.g. a black swan. But who is to say when such a magnificent creature will grace us with its presence, outside of Tchaikovsky's ballets? Induction is thus revealed to be unsound: even given true premises we can still arrive at the wrong conclusions. Another example is the scientific method: imagine an idealised scientist, perfectly spherical, in a frictionless vacuum. She starts with a scientific theory, then goes out into the world and makes new observations about a phenomenon not described by her theory. She constructs a hypothesis to extend her theory so as to explain the new observations. The hypothesis is a set of rules, where the premises are the consequences of the rules in her initial theory. Then, being an idealised scientist, she goes looking for new observations to refute her hypothesis. Science only gives us the tools to know when we're wrong.

Abductive reasoning is the mode of inference exemplified by Sherlock Holmes. We can imagine Sherlock and Watson standing outside a tavern in London, watching as a gentleman of interest steps out of the tavern with egg on his lapel. "Ah, my dear Watson, what can we conclude from this observation?". "Why my dear Holmes, we can conclude that the man had eggs for breakfast". Holmes and Watson can arrive at this conclusion, about a fact that they have not directly observed, because they have a theory with a rule that says "if one eats eggs, one may get some on one's lapels". Working backwards from this rule, and their observation of egg on the man's lapels, they can guess that he had eggs even if they didn't directly observe him doing so. Abduction is also unsound: the man may have swapped coats with an accomplice, who was the one who had eggs for breakfast instead.

And now you know what "reasoning" means. So the next time someone asks: "what is reasoning?", you can let them know and turn the discussion to more interesting, more productive directions.

Recent public activity

  1. story
  2. story
  3. comment
    Comment #49148031

    >> For Alpoge to have solved it on his own, and then falsely claim to have used AI? Never said anything like that.

  4. comment
    Comment #49143756

    Cheers. You can see that's what they did if you look at the 4th video on the page, under the figure titled "Quality Remains High Across Garment Types" right below the paragraph tha…

  5. comment
  6. comment
    Comment #49143518

    >> Did the past decades of AI research teach you absolutely nothing? Before I put in the effort to reply in good faith I have to know: do you think we're going to have a conversati…

  7. comment
    Comment #49143488

    That's right. At least there's reporting in the lay press which can cause a scandal and that may finally convince Cambridge to do something, although I'm not holding my breath.

  8. comment
    Comment #49133308

    At this point the bitter lesson has become a meaningless shibboleth. It seems very few people have actually read the original article: The Bitter Lesson Rich Sutton March 13, 2019 …

  9. comment
    Comment #49133249

    Yeah, look carefully at that demo of tying the garbage bag strings: it's done in a very peculiar style that suggests a very specific, very precise, "algorithm" taught in an imitati…

  10. comment
    Comment #49133179

    Sounds great if you want to research, what DeepMind wants you to research; but that's not great if you want to go down the untrodden path where all the true innovation has the (ver…

  11. comment
    Comment #49133004

    No, the above is absolutely exactly true. Robots folding clothes and tying shoelaces etc is nothing but a tech demo at this point. It's difficult to grok this because if you watch …

  12. comment
    Comment #49132858

    I think that's not a bad point but it ignores the different safety standards that most people accept when it comes to a) driving and b) their toddlers. Like a household appliance t…

  13. comment
    Comment #49132841

    I don't think that there's any inherent difficulty to do with physical bodies, it's just that the learning techniques used by the big labs, that is to say, various forms of Reinfor…

  14. comment
    Comment #49132749

    >> That said I'm unclear how safe direct exposure to the pigment itself is (such as when suspended in a liquid for painting). There's not a lot of data available that I could find,…

  15. comment
    Comment #49132669

    Not always. AFAICT my papers have often been reviewed by people I have never met and who have expertise that overlaps with, but does not fully match, mine, and I couldn't possibly …

  16. comment
    Comment #49132642

    For me at that point it's OK to give the paper a quick read, write a few words on what it's about and whether the paper looks well written and so on, explain it's outside my area o…

  17. comment
    Comment #49132426

    What is your area? I publish in AI (mainly IJCAI/AAAI, MLJ and some smaller conferences) and had one of my rejected papers copy/pasted into a new submission to a different conferen…

  18. comment
    Comment #49111497

    The plot thickens! It seems the researcher who posted the "proof" of the Collatz conjecture was aware of the Lean bug; or maybe he wasn't. He's currently being coy about it and it'…

  19. story
  20. comment
    Comment #49106683

    Tier 1 journals have high standards (that's why they're tier 1) and they also have hundreds of submissions every cycle. It's common to have a paper rejected. On the upside you get …

  21. comment
    Comment #49106617

    >> To your dye example, yttrium indium manganese blue was the first commercially viable inorganic blue pigment discovered in ~200 years, is the only known environmentally safe one,…

  22. story
  23. comment
    Comment #49096283

    So now we have a robot that walks a bit longer and... does nothing else? What's the point?

  24. comment
    Comment #49096275

    A bigger and beefier machine will also be much less nimble. The whole point of this robot is that it can travel at speed over rough terrain but that's in large part enabled by its …

  25. comment
    Comment #49096260

    Excuse me what?