Implika automated inference engine

  • 68 Replies
  • 13744 Views
*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1729
    • mind-child
Implika automated inference engine
« on: October 05, 2019, 10:46:34 pm »
Interested in symbolic AI (GOFAI)?

I think this might be a place to start off. I just defined on a paper an inference engine based entirely on implication. Input and output forms are defined, detailed pseudocode prototype (65 lines) is already written, Javascript implementation and bugs extermination is pending.

If we manage to get a logical representation of a chatbot input, we can pass it through this engine to derive implicitly contained information and answer questions.  Also, a logical expert system could be based on this engine. The only built in rule of inference is modus ponens that says from `A -> B` and `A` follows `B`. All other rules are combined and derived from this one, and this includes even and/or/not combinations. If we fill in a falsehood that we make sure to always fail, we have a functionally complete combination of implication and negation. Further, if we add a few axioms, we have a real implicational logic and a form of theorem prover. Developing the thought further, a search for proofs is basically automated algorithm construction... Well, all of this is just a part of a theory that always looks like a rainbow to me, but it still has to be seen how many rainy days there are on a way.

In short, Esperas is planed to be a Javascript programming library for logical bottom-up reasoning that derives conclusions based on input. If you are interested, a short read about Esperas is placed here. I'll try to implement it and inform you about the progress as soon as possible.



I would still like to see how to fuse this approach with neural networks. Maybe condition-consequence pairs from this kind of system can be seen as action-reaction pairs in trained NN?

[important edit]
Old Esperas project is renamed to Implika project. The new Implika link is here, while Esperas turned into another project based on top-down parsing technology.
« Last Edit: March 21, 2020, 05:29:11 pm by ivan.moony »

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Esperas automated inference engine
« Reply #1 on: October 05, 2019, 11:06:07 pm »
Cool.

My friend once told me a year ago that even my idea needed what a NN has - it knows exactly how close cat=dog.....not just cat=dog. Rather cat=dog ex. 68%. The way to store all these is exactly what W2V does - it uses a net and is efficient. We may be stuck with NNs being a part of AGI.
Emergent          https://openai.com/blog/

*

AndyGoode

  • Guest
Re: Esperas automated inference engine
« Reply #2 on: October 05, 2019, 11:47:28 pm »
We may be stuck with NNs being a part of AGI.

No way, if I understand you correctly. UMSs--Uncertainty Management Systems--are standard in rule-based expert systems, and do the estimations of likelihoods of inferences and matches that you mention. Neural networks also can only estimate, only in a different way.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Esperas automated inference engine
« Reply #3 on: October 06, 2019, 12:23:41 am »
Every single word connects to every other single word.........with a =s score weight.........that's a lot of connections and weights. And you need them to be precise to progress further plus utilize the translation.
Emergent          https://openai.com/blog/

*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1729
    • mind-child
Re: Esperas automated inference engine
« Reply #4 on: October 06, 2019, 02:05:59 pm »
We have NN today because they were proven to be successful in their simplest forms, in the most primitive organisms before 5.4 billion years ago. All this time the Nature had time to upgrade it and fine tune it, while we got the finished stuff to analyze today. I bet there are other ways to recognize and produce informations, both statistical and strict, but right now we have a finished work that weights 5.4 billion years. I only wish if there was a way to use and analyze it without abusing any living.  :-[

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Esperas automated inference engine
« Reply #5 on: October 06, 2019, 02:20:31 pm »
Although still crossing the ethical beliefs, it'd be more logically harmless and brave to take any and every dead person (young humans/animals) and experiment/study. Though they would not be alive.
Many are already are dying in pain, it's the right thing to do.

Alternatively you can take live cells.

I still believe I could make Cryonics work with all the time I'd put into it. I think it looks easy to test, ....so many things to compare what improves it!! Lots of tests could be done. Just take clumps of cells.
Emergent          https://openai.com/blog/

*

HS

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1177
Re: Esperas automated inference engine
« Reply #6 on: October 07, 2019, 02:16:39 am »
Volunteers.

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Esperas automated inference engine
« Reply #7 on: October 07, 2019, 02:56:35 am »
All ya gotta do is get a Cryonics Degree, get a lab, and make a hugggge notepad or whiteboard and fill it up with a bizzilion ideas (with tests). Take out some 20 years and we'll get there in no-time. Put the chips down and you will find the gloryful gates to a utopia with much, much more chips than 80years will feed you. That sadistic high you get when eating is nothing, it will be again. An endless feast.
Emergent          https://openai.com/blog/

*

AndyGoode

  • Guest
Re: Esperas automated inference engine
« Reply #8 on: October 07, 2019, 05:03:15 am »
I would still like to see how to fuse this approach with neural networks. Maybe condition-consequence pairs from this kind of system can be seen as action-reaction pairs in trained NN?

I refrained from getting into this topic because I would probably come across as too negative. Specifically, in the 1990s, when neural networks were the latest and greatest hope for AI, many dozens, if not thousands, of software engineers realized that since symbolic AI and neural networks have different strengths and weaknesses, a combined system might be the ultimate solution since each weakness of one paradigm would be covered by the other paradigm, so they published numerous articles proposing 'hybrid systems' composed of rules *and* neural networks. I got tired of seeing so many articles on such proposals at every conference, and to my knowledge, not one of those proposals has survived as a system that is still being used today, which is what I predicted back then.

So yes, there exist numerous ways to create hybrid systems, like the way you suggest, but ultimately something critical is missing from both paradigms, so I don't believe you'll ever get general intelligence arising from hybrid system approaches. That's where I'm so extremely negative that it doesn't even interest me to discuss the details of the pros and cons of those paradigms. I don't want to detract from your project, though, since it's a solid, legitimate, straightforward project, so you should probably just ignore my views on this topic and keep working on that, if that's what interests you.

----------

(p. 36)
Classical AI
techniques are best suited for natural language processing, planning, or explicit reasoning,
whereas neural networks are best suited for lower-level perceptual processes, pattern
matching, and associative memories.

Haykin, Simon. 1994. Neural Networks: A Comprehensive Foundation. New York, New York: Macmillan College Publishing Company.

« Last Edit: October 07, 2019, 05:38:08 am by AndyGoode »

*

HS

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1177
Re: Esperas automated inference engine
« Reply #9 on: October 07, 2019, 05:55:17 am »
I think two different systems just sitting beside each-other would have a data transmission bottleneck, and might even require a third, translator unit. There's got to be a way of combining them that's not janky. Maybe symbolic logic could be transmitted within a neural network, so it accomplishes high and low level tasks in parallel.

*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1729
    • mind-child
Re: Esperas automated inference engine
« Reply #10 on: October 07, 2019, 02:31:39 pm »
I managed to do the normalization, it seems it does the correct thing, but I encountered some problems with partial inference and schematic variables before even beginning implementing them. It seems that the system would only answer yes/no if specific consequences could be paired with assumptions, but wouldn't actually generate an answer of what follows from some assumptions. It would be just a prover, not a generator.

Here is the normalization testing interface: https://e-teoria.github.io/Esperas/test/
« Last Edit: October 07, 2019, 03:26:56 pm by ivan.moony »

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: Esperas automated inference engine
« Reply #11 on: October 07, 2019, 11:20:10 pm »
In my research I have evidence suggesting generating=proving. Are you really sure yours can prove but not generate? How so...
Emergent          https://openai.com/blog/

*

8pla.net

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1307
  • TV News. Pub. UAL (PhD). Robitron Mod. LPC Judge.
    • 8pla.net
Re: Esperas automated inference engine
« Reply #12 on: October 08, 2019, 05:18:08 am »
JavaScript is actually a good choice but may limit your project to the client side  web browser which is constantly changing it seems.  So, you may want to consider a server side language such as PHP which changes more slowly, and it has neural networks or expert systems already written. 

I don't believe JavaScript does.  Of course, you may post the results from the JavaScript to PHP on the server side, but that could  slow things down.  There are many PHP tutorials, references and examples that are easy to find to help with your project.  But, this is just my opinion. As I said, JavaScript is a great choice especially with HTML5 which is a nice feature.

My Very Enormous Monster Just Stopped Using Nine

*

goaty

  • Trusty Member
  • ********
  • Replicant
  • *
  • 552
Re: Esperas automated inference engine
« Reply #13 on: October 08, 2019, 06:32:49 am »


This picture is fractal data/code,   Ive put a lot of exploration into this datastructure of this picture!  =)

The main problem is you run out of page space by 4 scopes -  you cant even continue drawing it!

*

goaty

  • Trusty Member
  • ********
  • Replicant
  • *
  • 552
Re: Esperas automated inference engine
« Reply #14 on: October 08, 2019, 06:37:24 am »
I think two different systems just sitting beside each-other would have a data transmission bottleneck, and might even require a third, translator unit. There's got to be a way of combining them that's not janky. Maybe symbolic logic could be transmitted within a neural network, so it accomplishes high and low level tasks in parallel.

Any program can be put into a perceptron feedforward structure,   they are just data I/O!!   its just in general that anything can go into one.
Im meaning you can probably put both systems into the same net,  doesn't matter what they are.

 


Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
Attempting Hydraulics
by MagnusWootton (Home Made Robots)
August 19, 2024, 04:03:23 am
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

482 Guests, 0 Users

Most Online Today: 571. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles