The AICore

  • 68 Replies
  • 33804 Views
*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
The AICore
« on: May 28, 2010, 01:30:45 am »
Hi,

I am currently working on an a chat bot, which is not based on any of the chat bots which are currently doing the rounds. I am building it from the ground up to be one which is capable of finding patterns in the English language and as such able to put together sentences on its own. There will be very few pre-programmed responses built in.

It will have learning algorithms throughout and be able to learn from the user (input) and by reading pages of text (eg. from Wikipedia, or other well respected sites).

I started writing its concepts last Summer and started coding in February of this year.

A few questions.

Q1. I have a website set up for this and would be grateful for any feedback on what I have planned for my AI. This includes negatives and positives.
http://www.aiproject.co.uk/

I am still in early stages of building the AI so it wouldn't be difficult to make minor changes or take a slightly different direction in its development.

The main idea is to build a chat-bot, with full learning capabilities and to eventually market the software, commercially (if I get that far). Further aims are included on the website.

2. I have already developed some basic methods to associate certain words with other words.

For example.

User: My name is John.
AI: OK
User: What is my name?
AI: John.

The above is very easy to do.

Now for something more difficult:

User: My eyes are blue.
AI: OK
User: What colour are my eyes?

I have already found a way for AI to relate the word 'colour' with 'blue', so that I get the correct answer. However, I need to find other ways/methods/algorithms to find the associations. Does anybody know of any sources of information which may give me ideas on how to associate words with other words?

Does anybody have any ideas? Would they like to assist in help developing the AI?

Any help/comments will be greatly appreciated.


Thanks
« Last Edit: August 27, 2011, 04:25:38 pm by sunama »
www.aiproject.co.uk
Natural Language Processing

*

TheMikh28

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 34
Re: My Project
« Reply #1 on: May 28, 2010, 06:46:55 am »
Well, I must say that based on the aims and objectives, that's a very ambitious project.

If I didn't have a rather big AI project of my own (18 months and running) on my hands, I'd be interested in participating.

I can certainly offer pointers or advice where possible though, so please keep everyone informed regarding the project's progress.

*

lrh9

  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 282
  • Rome wasn't built in a day.
Re: My Project
« Reply #2 on: May 28, 2010, 08:39:49 am »
No offense, but I'd like to share with you that I think people with a project aimed at true intelligence don't have the proper goals in mind if they start out with text processing. For instance, the first acts of people after they are born are not language. For us language is a learned ability. We have to be intelligent before we learn language.

I won't tell you what you should be doing. Just think about it. Regardless, if you decide to continue with your current path good luck.

I think the object oriented paradigm can help you conceptualize your problem. In the object oriented paradigm data are treated as objects with attributes and methods. An object's attributes are values unique to that object, and its methods are functions that can be called to produce a certain result.

The data can be any set of data. In our case it will be a real life object's attributes as labeled by word. In this specific instance the object is the user and the user's eye is an attribute of the user. Color is an attribute of eye. Color will equal some value.

Code
#Python 3.1
#New user accesses the system.
#User informs a.i. that his or her eyes are blue.

class User(object):
    def __init__(self):
        self.eye1 = Eye()
        self.eye2 = Eye()

class Eye(object):

    def __init__(self, color=None):
        self.color = color

current_user = User()
current_user.eye1.color = 'blue'
current_user.eye2.color = 'blue'

#User queries a.i. for his or her eye color.
print(current_user.eye1.color)

Not a very flexible system, but when you are referring to objects and their related attributes in programming you should use a similar system.

P.S. Wikipedia is not a well respected site. I don't respect it. Others don't as well.

*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: My Project
« Reply #3 on: May 28, 2010, 11:00:13 am »
Quote
For us language is a learned ability.
How do you know this? Perhaps you meant 'speech' (aka the control of the muscles round the vocal chords and mouth) instead of language. Don't forget, infants are born with a brain, not an empty box that needs filling.

*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
Re: My Project
« Reply #4 on: May 28, 2010, 07:02:04 pm »
No offense, but I'd like to share with you that I think people with a project aimed at true intelligence don't have the proper goals in mind if they start out with text processing.

I hear what you are saying. The problem is that if do it "the right way", we would need to put in A LOT of development time. And even if we manage to create something that exhibits a good level of intelligence (but is unable to demonstrate it, quickly, to an uneducated audience), getting funding for its continued development would be tricky.

I have read some of your threads and if memory serves me correct, you are using a system of ascii codes (correct me if I'm wrong) to in effect represent various objects. Yes this could and probably will work, if you spend masses and masses of time on it. However, what you create will lack the wow factor without uploading your software into a robot.

What my AI project aims to deal with is language processing only (initially), In the future, if we can crack the language processing, then we can deal with things such as the identification of objects (which is something very difficult), after we get funding. To go straight in at the deep end to produce something so mind-blowingly advanced is VERY ambitious and my own mind isn't advanced enough (at this stage anyway), to produce something like that.

My belief is to work on the simple stuff first. For me, the language processing algorithms are easier to produce than algorithms which are able to recognise/process "everything" (including verbal and non-verbal communication).

Language processing also has the "wow" factor and easy to demonstrate on a cheap (ish) laptop.

For instance, the first acts of people after they are born are not language. For us language is a learned ability. We have to be intelligent before we learn language.

I do agree with what you are saying, but to produce an AI which is truly intelligent in the sense that it is capable of understanding "everything" would be too difficult for a small group of people to produce. My belief is that the best way forward is to deal with one area at a time. We then get some recognition/interest/funding/help and start work on a more difficult area. In this way we start with the easiest first and do the most difficult modules last.

I think the object oriented paradigm can help you conceptualize your problem. In the object oriented paradigm data are treated as objects with attributes and methods. An object's attributes are values unique to that object, and its methods are functions that can be called to produce a certain result.

The data can be any set of data. In our case it will be a real life object's attributes as labeled by word. In this specific instance the object is the user and the user's eye is an attribute of the user. Color is an attribute of eye. Color will equal some value.

Code
#Python 3.1
#New user accesses the system.
#User informs a.i. that his or her eyes are blue.

class User(object):
    def __init__(self):
        self.eye1 = Eye()
        self.eye2 = Eye()

class Eye(object):

    def __init__(self, color=None):
        self.color = color

current_user = User()
current_user.eye1.color = 'blue'
current_user.eye2.color = 'blue'

#User queries a.i. for his or her eye color.
print(current_user.eye1.color)

Not a very flexible system, but when you are referring to objects and their related attributes in programming you should use a similar system.

It is not flexible and it would be nigh on impossible to create those sorts of classes/modules for every conceivable object on the planet. Some form of generalisation must happen. I have dealt with this (as far as language is concerned), by using (what I call) generic objects/fields. It is the up to the algorithm, during the retrieval process, to decipher whether those words relate in any way, to the current conversation.

P.S. Wikipedia is not a well respected site. I don't respect it. Others don't as well.

What I like about Wikipedia, is that for the most part, there are no spelling mistakes and level of grammar is acceptable. I could choose to have AI read some other website, but then the problem of poor grammar and spelling may come in to play. The idea is that the AI must be fed proper sentences and words (no spelling mistakes). AI constructs sentences strictly according to the manner in which sentences are input, in the first place.

For example. In the English language, the words 'a' and 'the' can never follow one another. By giving AI correct input, Ai will learn to never use those 2 words, in the same sentence, following one another.

If you feel there are other websites which have good level of grammar and offer good "reading" for an AI, then by all means, tell me. I'm always on the look out.
www.aiproject.co.uk
Natural Language Processing

*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
Re: My Project
« Reply #5 on: May 28, 2010, 07:19:58 pm »
Well, I must say that based on the aims and objectives, that's a very ambitious project.

If I didn't have a rather big AI project of my own (18 months and running) on my hands, I'd be interested in participating.

I can certainly offer pointers or advice where possible though, so please keep everyone informed regarding the project's progress.

Hi, do you have a website for your project?

I would definitely like to ask you a few questions. Judging by your other posts, language processing seems to be something you a working on so I would love to tell you my ideas and hear yours.
www.aiproject.co.uk
Natural Language Processing

*

TheMikh28

  • Trusty Member
  • **
  • Bumblebee
  • *
  • 34
Re: My Project
« Reply #6 on: May 29, 2010, 06:42:09 am »
Well, I must say that based on the aims and objectives, that's a very ambitious project.

If I didn't have a rather big AI project of my own (18 months and running) on my hands, I'd be interested in participating.

I can certainly offer pointers or advice where possible though, so please keep everyone informed regarding the project's progress.

Hi, do you have a website for your project?

I would definitely like to ask you a few questions. Judging by your other posts, language processing seems to be something you a working on so I would love to tell you my ideas and hear yours.

Hi,

Unfortunately I don't have a site for my project at the moment.  However, I will probably set one up if the project gains momentum in the future (e.g. in the form of impressive results or developments worth showing off.)

Indeed, the area that interests me most (and seems to be the most accessible) is natural language processing, and it's the focus of my project, so feel free to ask any questions.

*

Bragi

  • Trusty Member
  • ********
  • Replicant
  • *
  • 564
    • Neural network design blog
Re: My Project
« Reply #7 on: May 29, 2010, 08:54:50 am »
Quote
In the English language, the words 'a' and 'the' can never follow one another.
This is not true, think of quiz shows, example: can you give me a 'the'.  I have put it in quotes cause it is used in a different way than normal, but we don't pronouns the quotes, they give emphasis.  In engish, every word can follow another one, it just depends on the context.

Furthermore, I hear a lot of talk about 'true' AI, but what is that? Do you guys mean I (intelligence), As far as I know of, Artificial intelligence, is artificial, not real.

*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
Re: My Project
« Reply #8 on: May 29, 2010, 06:15:30 pm »
Quote
In the English language, the words 'a' and 'the' can never follow one another.
This is not true, think of quiz shows, example: can you give me a 'the'.  I have put it in quotes cause it is used in a different way than normal, but we don't pronouns the quotes, they give emphasis.  In engish, every word can follow another one, it just depends on the context.

What you have stated is a VERY rare example. In a sentence 'the' will NEVER follow 'a'. However, if you are using the quiz-show example, then the word 'the' will be in quotes.

The engine that I have developed actually treats the words in quotation marks as a separate sentence.

So, for example: can you give me a 'the'.
is dealt with by my program as
sentence1: "can you give me a"
sentence2: "the"

When I talk about a sentence, I'm talking specifically about correct grammar, language. No slang, no swearing, no words which are not in the dictionary etc. These words will be dealt with, later on by a "SlangModule". I haven't programmed this yet, as it is of low priority to me. Slang (or contemporary terms) must be dealt with though and so must special sentences, as in the example you have given.


Quote
Furthermore, I hear a lot of talk about 'true' AI, but what is that? Do you guys mean I (intelligence), As far as I know of, Artificial intelligence, is artificial, not real.

So true. All AI is artificial. What we are doing is simulating a human being. Thats all. Eventually we shall reach a point where every aspect of a human's mind has been simulated. And if we combine all those modules/AIs, in to a single AI, we should be at a point where the human mind is completely simulated. The problem though is that it is almost impossible for different AI's to be merged in that way.

The way I see it is that if you have 2 people developing an AI, each using different languages techniques (or perhaps even duplicating eachother's work), it is not a good thing. It would be much better if the 2 people agree to work together (perhaps on different parts of the program). This way, when each has completed their work, they will modules which can be merged together to create a much more intelligent (AI) program. This is why I am searching for collaborators, as collaboration is the only way that such a complex program can be made.
www.aiproject.co.uk
Natural Language Processing

*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
Re: My Project
« Reply #9 on: May 29, 2010, 06:16:51 pm »
Hi,

Unfortunately I don't have a site for my project at the moment.  However, I will probably set one up if the project gains momentum in the future (e.g. in the form of impressive results or developments worth showing off.)

Indeed, the area that interests me most (and seems to be the most accessible) is natural language processing, and it's the focus of my project, so feel free to ask any questions.

I actually read a long thread, which I think is yours. Its on another forum (F14 tomcat or similar). Is that yours?
www.aiproject.co.uk
Natural Language Processing

*

TrueAndroids

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 120
Re: My Project
« Reply #10 on: May 29, 2010, 08:22:23 pm »
Wow there's a lot of developers here. If I'm keeping this straight, TheMikh28, Bragi, Irh9, sunama, TikaC, datahopa, c.j.jones all have ongoing projects. All these would make good additions to the Member's Blogs, even if the link goes to a local thread like in the case of Irhr9. Also there are artists like claude2 who would make a good addition, and he could link to his youtube page.

As far as "true" Ai, true androids etc, by true androids I was actually thinking of the android phone, and how when I did a google search for androids all I got was page after page about the android phone. So I came up with the idea of true androids, because the concept of android was being ruined. But yes, they are artificial. Artificial elsewhere was defined as man-made not natural and that sums it all up. We art creating artificial humans - whether they be robots or chatbots - not real humans. Real humans are a part of nature, where ever that came from, and so, always a completely different class of phenomenon.  Logically this is the foundation of any field of artificial (man-made) X. The real phenomenon can't help but be in the term (X), but the term itself artificial X refers to something categorically not X. So artificial flower makers, etc.  know they are not making real flowers. I think the term for that is synthetic X, like in that synthetic cell that was just developed.

*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
Re: My Project
« Reply #11 on: May 29, 2010, 08:46:36 pm »
Wow there's a lot of developers here. If I'm keeping this straight, TheMikh28, Bragi, Irh9, sunama, TikaC, datahopa, c.j.jones all have ongoing projects. All these would make good additions to the Member's Blogs, even if the link goes to a local thread like in the case of Irhr9. Also there are artists like claude2 who would make a good addition, and he could link to his youtube page.

I agree. There are a lot of people who developing their own AI's and going in their own directions.

The problem is that lets say you have 100 developers. Lets say they all develop their own programs. Each of those 100 people will probably be working on things that are very similar, if not identical. Using this "individual approach", each AI will probably not go far. If all 100 people however, pooled their knowledge resources, then I feel we could all go a lot further and a lot faster. This is very reason why I believe collaboration is the key to producing something ground-breaking, special and something that would have a better chance of being commercially successful.

The problem I feel is that most developers don't want to openly discuss their ideas in case someone else steals their idea. I don't mind exchanging my ideas with other developers as I know that to implement each idea takes a heck of a lot of time, so if they want to rip my idea off, they will still have to do an immense amount of work to engineer it. I know this from experience as to even add a small feature to the program, takes many lines of code, a lot of time and masses of hard work.

Is there not a dedicated forum (or even a section on this forum), where we can exchange ideas/concepts?
www.aiproject.co.uk
Natural Language Processing

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: My Project
« Reply #12 on: May 29, 2010, 08:57:09 pm »
Quote
Wow there's a lot of developers here. If I'm keeping this straight, TheMikh28, Bragi, Irh9, sunama, TikaC, datahopa, c.j.jones all have ongoing projects. All these would make good additions to the Member's Blogs, even if the link goes to a local thread like in the case of Irhr9. Also there are artists like claude2 who would make a good addition, and he could link to his youtube page.

That can certainly be arranged, just waiting for some info at the moment to get the ball rolling.  Perhaps we could rename it to simply 'Members Projects' which would widen the scope beyond just blogs....

Quote
Is there not a dedicated forum (or even a section on this forum), where we can exchange ideas/concepts?

We're always open to new ideas, would a new section in the forum be adequate ?  Feel free to throw your thoughts about :)

*

sunama

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 109
    • ai project
Re: My Project
« Reply #13 on: May 29, 2010, 09:14:15 pm »
We're always open to new ideas, would a new section in the forum be adequate ?  Feel free to throw your thoughts about :)

Perhaps a new section entitled, "AI Concept Discussion" or similar. We could then create threads which discuss in depth, the best ways to deal with specific capabilities.

Eg.
Language processing
text to speech techniques
user identification
etc
www.aiproject.co.uk
Natural Language Processing

*

TrueAndroids

  • Trusty Member
  • ****
  • Electric Dreamer
  • *
  • 120
Re: My Project
« Reply #14 on: May 30, 2010, 12:24:20 am »
Well Freddy I like the "Member's Projects" idea because I myself am interested in seeing how these projects proceed and develop. So having a page where they are easily accessible would be the ideal. So I agree Freddy, it is all about "the grand project" of the developer (no matter if it's just a website, etc). That's what interesting to many.

This idea could actually coincide with an AI Concept Discussion section as described, yet also linked to the particular project that they have been developed for/in. Then it's possible for others to implement good algorithms in a completely different way for their/other projects.  But the project producing the concept would get the credit. The only rules would be don't tell any of your technology you don't want in the open source, public domain. Open source projects might rise to the level of profit generating product, and the developers would split profits IAW code effort put in.

There are a lot of similarities in our pursuits yet with different methods, purposes, implementations, etc.
It would be interesting to see them all organized together, and have a section we could discuss their concepts in, by abstract capability, and in direct reference to a project implementation. It might be popular; hard to say.

« Last Edit: May 30, 2010, 12:52:06 am by TrueAndroids »

 


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

438 Guests, 0 Users

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

Articles