Natural Language Cognitive Architecture

  • 3 Replies
  • 3117 Views
*

frankinstien

  • Replicant
  • ********
  • 653
    • Knowledgeable Machines
Natural Language Cognitive Architecture
« on: November 17, 2021, 12:20:35 am »
LockSuit pointed me to this book "Natural Language Cognitive Architecture" by David Shapiro:



The book focuses on natural language generative Transformers that Shapiro hails as a milestone in AI. He extrapolates transformers to a generalized AGI described in concept by the diagram shown below:



Where the outer loop is a context-driven process that has inputs from external influences of an environment. And the inner loop is a form of streaming consciousness that can reflect on influences of the outer-loop as well as the inner loop's inferences and both share a common database. The book doesn't go into too much detail in terms of architecture and he states that current approaches with transformers are best suited for single-threaded approaches. He also uses SQL relational databases. While the generative transformers are able to confabulate and/or extrapolate contextual patterns from prompts and cues that can provide a context or goal, they still suffer from codifications that are cumbersome because of how neural networks code information. The whole approach starts at such a small datapoint knernal which are the characters of a language! Then the ANNs build up structural elements within its layers that allow for identifying concepts. The idea of ANNs being burdened with such data, IMO, is an inefficient approach to using data and ANNs!

An alternative approach would be to remove the burden of actual structural data of concepts and use databases to provide that resource. But a SQL database is the wrong approach. Why? Relational databases were designed to remove ambiguity and as such form relationships of data that are very brittle. Tables have fixed columns and language deals with data types that will vary in context data and fields. That's a problem, to make relational databases more flexible you'd have to use join tables to represent varying fieldsets for different concepts. So you'd have a concept table that points to a field table. The problem with that is you now have to do very computationally expensive joins that become a nightmare to associate across varying ideas and contexts.

A better approach is to use an object-oriented data model. Looking at the diagram below:



We can see a word or concept is described with vectors that need to be exposed so associations and comparisons can be made. This approach thrives on parallelism because we can build hash sets of the feature vectors that provide a time-complexity of O1 lookup advantage where 100s of thousands of lookups can happen in parallel! This removes the need for an ANN to form codifications that structure data into relationships. Those feature vectors include grammar, context, and a plethora of other concepts which would allow for an ANN to do a much simpler process and that is use the structured data and functions that can search, compare and process by virtue of patterns of using external functions rather than having to perform them. So, take for example GPT-3 learned to add, but why learn to add if it's a functional process a machine already can do and is coded much more efficiently than an ANN to do? Wouldn't it be better to train an ANN to use a calculator rather than form internal logic to do arithmetic?

Now look at Amanda's AGI approach:



The diagram depicts a concept of time that has varying degrees of depth, this is very similar to what human brains do. Where Shapiro obsesses with time-stamping data that effectively turns events into points of time which is not as effective as what nature invented. Time depth gives us a sense of work-effort which biology relies on to conserve energy. Not only that but the architecture of Amanda implements parallelism and cross-platform capability so when it needs to use a GPU, it can and that function has descriptors that describe it like any other concept. This allows for the search for a function to be easily associated with the concepts it processes by virtue of hash set lookups of feature vectors!

Training an ANN to use functional capabilities, such as looking up data, comparing for appropriate word use and document evaluation removes the need for knowledge as stored information to be solely an ANN responsibility and focuses the ANN to find patterns of efficacy using functional processes and externally(external to the ANN) stored data! With this approach, there's no need to re-train or fine-tune for the memorization of new data. Nor does this approach require an ANN to learn gigabytes of data, it learns spontaneously by interacting in its environment and can grow its vocabulary and experiences but relies on other processes to do the heavy lifting of comparing, weeding out, and assessing best fit data.

At least that's the theory, let's hope I'm right...
« Last Edit: November 17, 2021, 01:52:53 am by frankinstien »

*

MagnusWootton

  • Replicant
  • ********
  • 646
Re: Natural Language Cognitive Architecture
« Reply #1 on: November 17, 2021, 09:03:35 am »
The NLP sentence analyzer (not in this thread) that you showed in your other thread, looks really useful.     Good luck I hope u get some amazing success.

On my work-> I didnt do much NLP work, myself.

The closest I ever got to doing NLP was sequences of verbs that complete a task.   All I have to do to activate the verbs, is to modify the symbolic environment.  (like put dish in sink = dish is in sink.)  And then I come up with the order via brute force,   I can get really long sequences.  (Linear to string length of verbs cost) by putting them in subsetted heirarchies like heirarchical temporal memory.

Cool thing is it probably works for raw motor-sensory data as well.  :)     (learning physics "snippets" then putting them in sequences of sequences, like verbs.)  they are cause->effect snippets, recordings of the sensory->motor history.
« Last Edit: November 17, 2021, 10:31:40 am by MagnusWootton »

*

MikeB

  • Autobot
  • ******
  • 224
Re: Natural Language Cognitive Architecture
« Reply #2 on: November 18, 2021, 08:32:12 am »
Current NLP's are a "how can we have our cake and eat it too" prediction system. No matter how much context you add, at some point you need to sit down and rewrite grammar into a more suitable way for the NLP. Do the hard work... What comes before words.. Which point in the mind is activated when I'm thinking of this word (and similar words/synonyms in this lanugage and any other language I know)...

Don't know how they can claim to be cognitive...

*

MagnusWootton

  • Replicant
  • ********
  • 646
Re: Natural Language Cognitive Architecture
« Reply #3 on: November 18, 2021, 09:49:14 am »
Don't know how they can claim to be cognitive...

Open Ai Codex is amazing.  (If you believe them,  you could think they are absolute charlatans!! hehe)
« Last Edit: November 18, 2021, 11:57:03 am by MagnusWootton »

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
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
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

418 Guests, 0 Users

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

Articles