Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Deriving Semantic Meaning From Google Results

Posted by michael on Sat Jan 29, 2005 04:35 PM
from the can-also-use-tea-leaves-if-google-not-available dept.
prostoalex writes "New Scientist talks about Paul Vitanyi and Rudi Cilibrasi of the National Institute for Mathematics and Computer Science in Amsterdam and their work to extract meaning of words from Google's index. The pair demonstrates an unsupervised clustering algorithm, which 'distinguish between colours, numbers, different religions and Dutch painters based on the number of hits they return', according to New Scientist."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Eunuch (844280) * on Saturday January 29 2005, @04:36PM (#11515623)
    These kinds of articles never seem to get a very basic problem--natural languages. English is full of words that trip even humans. "Right" the direction versus "right" the judgement is a good example. In wartime something as simple as that may have lead to death. It's the elephant in the living room. Huge, important problem that nobody wants to talk about. There are alternatives, such as lojban which can be parsed like any computer program.

    The article mentions English-Spanish translation. When one language is ambiguous (from a bit of Spanish I had in HS I'm guessing English is far more ambiguous), there is no hope of easy translation. And it's worse because the bigger application may be translating the many English pages (ambiguous) to Spanish.
    • by freralqqvba (854326) on Saturday January 29 2005, @04:45PM (#11515694) Homepage
      Well obviously the technology is not perfect yet. However, none of the problems you bring up are particularly insurmountable (as long as you aren't excepting the AI to be BETTER at parsing languages than people). Yes, words are ambiguous, and yes humans can fail at parsing them, ergo computers probably will too. That's just a fact, we're not going to achieve perfection. Still, this could be a pretty major step forward (well, not that this is the first time something like this has been tried - but the base premise seems sound) by using google the elephant of a problem you mention can be partialy mitigated. Google gives enough context around a word that ideally, when the word to be translated is also surrounded by context its meaning amoung alternate meanings can be discovered without giving an overly ambigous translation.
    • English is full of words that trip even humans. "Right" the direction versus "right" the judgement is a good example.

      "Right" isn't really a good example of a word that might "trip even humans." A human (translator) will parse not just by word but will attempt to extract a word's meaning from the surrounding phrases, sentences or even paragraphs. The syntax of the language may also come into play. In spoken language, additional "clues" can be derived from the situation in which the word is spoken, and often

    • by ericbg05 (808406) on Saturday January 29 2005, @06:16PM (#11516281)
      The article mentions English-Spanish translation. When one language is ambiguous (from a bit of Spanish I had in HS I'm guessing English is far more ambiguous), there is no hope of easy translation.

      Every language has "ambiguity", but ambiguity can come in different flavors (phonological, morphological, syntactic, semantic, pragmatic). Some of the chief instigators of language change can be thought of as ambiguity on these levels. So firstly, it's hard to imagine the existence of a function mapping languages to "ambiguity levels".

      The motivation for your comment about English versus Spanish probably comes from the fact that you know of more English homophones than Spanish ones. Indeed, most literate people think of their language in terms of written words, so your take on the matter is common.

      (As a slight digression, your example of right the direction versus right as in 'correct, just' is pretty interesting. We can understand the semantic similarity between the two when we notice that most humans are right-handed. Thus it is extraordinarily common, cross-linguistically and cross-culturally, for the word meaning the direction 'right' to have similar meanings as dextrous, just, well-guided and so on, whereas the word meaning the direction 'left' also has meanings such as worthless, stupid. (In fact, the word dextrous was borrowed through French from the Latin word dexter meaning 'right, dexterous' or dextra meaning 'right hand'.) So the given example is one where, historically, a word had no ambiguity, but gained ambiguity because speakers started using it differently.)

      Getting back to the main topic, more problematic about Section 7 of TFA is the implicit assertion that, at some point in the future, their techniques can be applied to create a function mapping words in a particular language to words in another language. Anybody who has studied more than one language has seen cases where this is difficult to do on the word-level. For instance, the French equivalent of English river is often given as riviere or fleuve. But riviere is only used by French speakers to mean 'river or stream that runs into another river or stream' whereas fleuve means 'river or stream that runs into the sea'. English breaks up river-like things by size: rivers are bigger than streams. So, in the strictest sense, there is no English word for fleuve, just as there's no French word for stream (unless there has been a recent borrowing I don't know about). This certainly does not imply that French people can't tell the difference between big rivers and small rivers; their lexicon just breaks things up differently.

      These little problems can be remedied lexically, as I've just done. So fleuve is denotationally equivalent to river or stream that runs into the sea, although the latter is obviously much bulkier than its French equivalent. The real problem is that there are words in some languages whose meanings are not encoded at all in other languages. English, for example, has a lexical past-progressive tense marker, was, used in the first person singular (e.g. I was running to the store). Some languages have no notion of tense. What, then, does was mean in the context of such a language?

      It's pretty well-known that Slashdotters' general policy is to tear apart every article we read, and half of those we don't. This is certainly not my intent here. Languages are complicated beasties, and everyone seems to understand that, including the writers of the article. So, we should interpret their result in Section 7 as them saying, "Well, maybe this has gotten us a baby-step closer to creating the hypothetical Perfect Natural Language Translator, but someone's gonna have to do a lot more work to see where this thing goes".

      • English, for example, has a lexical past-progressive tense marker, was, used in the first person singular (e.g. I was running to the store). Some languages have no notion of tense. What, then, does was mean in the context of such a language?

        Plainly it means nothing significant. In most cases the distinction it makes in English contains no useful information. We think such words are useful, because a sentence sounds "wrong" without them, or because we know that a certain type of information is being lost wit

      • Well, I don't think there is a way to translate a text into another language without
        1. understanding the text
        2. understanding both languages
        3. understanding the socio-cultural context of both languages

        But we must consider the fact that most humans can't produce a decent translation either, even if they think they understand both languages. I've been professionally translating movies (EN->RU) and I know to what extent the scripts are riddled with linguistic traps. An average professional human translator would

      • "We attack the enemy on their left flank?"

        "Right."

        It turns out that the right flank was the dangerous one, and attacking on the left would've guaranteed a victory for the army that unfortunately spoke English.
        • Re:wARTIME? (Score:4, Informative)

          by MoonFog (586818) on Saturday January 29 2005, @04:59PM (#11515784)
          Well, when I was in the army, it was very strict that whatever was said over a network DIDN'T have an ambigous meaning. That's why the army language sounds kinda weird at times, because you are not supposed to misunderstand anything.
          • Anyone whose driven a "radio taxi" would have to agree, but for less dramatic reasons :)

            Don't know about the US but over here in Australia they dropped taxi dispatching by voice about 15yrs ago. Now instead of arguing with the dispatcher they listen to music....
              • Er. You didn't get the joke, so I will explain. The lore is that "repeat" is a command to the artillery to fire again on their last target, so you never ever say "repeat" on the radio, instead you say "say again".

                The lore also contains an interesting anectode about the '92 riots in LA. Apparently a group of Marines were dispatched to assist the police. Two officers were approaching a house when someone opened up with a shotgun at them. One officer shouted "cover me" -- so the Marines proceeded to lay down

                • Another good one from the humor archives of the lore. Given the command "Secure the building"

                  The NAVY would turn out the lights and lock the doors.

                  The ARMY would surround the building with defensive fortifications, tanks and concertina wire.

                  The MARINE CORPS would assault the building, using overlapping fields of fire from all appropriate points on the perimeter.

                  The AIR FORCE would take out a three-year lease with an option to buy the building.

        • If the context is not there then not even a human can make that distinction.

          Once past that the natural language problem or elephant you speak of is really just a machine that define words in context.

          Google is actually a pretty powerfull means for deriving context by some means of comparing word frequencies around various results.
  • I though semantic meant "meaning".
    • by exp(pi*sqrt(163)) (613870) on Saturday January 29 2005, @04:49PM (#11515716) Journal
      Meaning could, in principle, mean 'affective meaning' as in the emotional weight something carries. Maybe Google are also working on emotional search engines and the article poster doesn't want us getting confused with that.
      • Maybe Google are also working on emotional search engines and the article poster doesn't want us getting confused with that.

        I don't understand your meaning, and I'm really happy about it! ;)
    • Sometimes in a dicucssion somebody might say
      "I don't want to get into semantics".
      I always want to yell - "why worry about the meaning of things - it'll just cloud things".
    • Words can be identified as a specific part of speech, or a specific part of a sentence, or even just identified as words, for instance - all of which would I would consider non-semantic meanings.

      In language theory/compilers, semantic meaning is information that cannot be obtained by a lexer (a.k.a information that cannot be gained through regular expressions a.k.a. non-regular language components).

      The part that can be recognized by a lexer is still part of the meaning, which is the reason for the name.
  • Scientology (Score:3, Insightful)

    by Jace of Fuse! (72042) on Saturday January 29 2005, @04:42PM (#11515672) Homepage
    Is this in any way related to the way that Google was able to decide all on it's own that Scientology was crap, and thus bring Operation Clambake up to the top of the search results? (Until they Scientology people got pissed, anyway.)

    Google is already starting to show signs of intelligence higher than some people. :)
    • I'm guessing that it's due to people posting (in their .sigs and whatnot) "scientology is a cult" and linking the word scientology or the phrase to the clambake site. I don't know of a formal googlebomb, though.
  • by physicsphairy (720718) on Saturday January 29 2005, @04:44PM (#11515687) Homepage
    While I think ideally you would endow computers with the same algorithmic usage of speech that is employed by human beings, as these researchers have shown, it is also possible to work with programs that do not 'parse' language but rather categorize it based on massive databases of language that has already been parsed by humans.

    This obviously has its failings, but theoretically, you could use a sufficiently large database of common human language coupled with simple algorithms to perform operations like grammar checking.

    An internet search would not be quite so useful for that, but I would really be interested in what would be possible with full digital access to the library of congress. I would imagine you could do things like automatically generate books based on existing material.

  • by exp(pi*sqrt(163)) (613870) on Saturday January 29 2005, @04:46PM (#11515697) Journal
    ...as opposed to 'non-semantic meaning' or just 'semantic meaning' as in 'I don't know what semantic means but using it here will make me look intelligent'?
  • by Baldrson (78598) * on Saturday January 29 2005, @04:47PM (#11515705) Homepage Journal
    From the linked academic abstract [arxiv.org]:
    Viewing this mapping as a data compressor, we connect to earlier work on Normalized Compression Distance.

    This is basically what I was referring to in my response [slashdot.org] to "Using The Web For Linguistic Research" [slashdot.org] when I said:

    There needs to be an annual prize for the highest compression ratio using random pages from the web as the corpus. This would probably do more for real advancement of artificial intelligence than the Turing competitions.
    followed by the explanation:
    Intelligence can be seen as the ability to take a sample of some space and generalize it to predict things about the space from which the sample was drawn. The smaller the sample and the more accurate the prediction, the greater the intelligence. This is also a short description of
    and
    Text Compression as a Test for Artificial Intelligence [fit.edu], 1999 AAAI Proceedings. Matt Mahoney shows that text prediction or compression is a stricter test for AI than the Turing test. (1 page poster, compressed Postscript).
      • The smaller the sample, the larger the domain covered, and the quicker and more accurate the prediction, the greater the intelligence.

        Good point. However it is difficult to value time in a single competitive metric whereas compression ratio (where the initial and compressed sizes include the size of the algorithm/knowledge of the AI) is a single number.

        Perhaps the way around this is to have different prizes for different time classes, varying by an exponential. You'd have, say, 3 competitions with tim

  • This is a pretty nice approach. Quoted from the news article "The technique has managed to distinguish between colours, numbers, different religions and Dutch painters based on the number of hits they return, the researchers report in an online preprint.", it shows that common terminology can be drawn. In the end though, this is a refined search routine for Google IMHO. This would be good for scholar searches perhaps, or even a dynamic thesaurus. But when using terms such as: does windows use linux, the der
  • wow! = conveying amazement
    WoW! = I can't believe I paid $50 for this crap and can't even logon!
  • by 2TecTom (311314) on Saturday January 29 2005, @05:05PM (#11515820) Journal
    First off, I am not an "AI" expert nor do I claim to be, however, this is how I see it.

    Since it seems that so few really understand the term "intelligence", it is really not surprising that even fewer grasp the meaning of the term "artificial intelligence", is it?

    One: intelligence is not awareness.

    Although we cannot prove the existence of or even seem to really define self-awareness, it seems self-evident, at least to me, that intelligence is clearly defined and can be measured.

    Therefore, I believe that we will have "artificial intelligence" soon, in fact, I'd bet Google may well be the first AI or "self intelligent' engine.

    However, I suspect it will be quite awhile before we are mature enough to build a self-aware engine.

    Lastly, in regards to some of the other comments, it seems to me that this paper is about using the "intelligence" included in the language we use, that Google crawls. This repository is the single largest collection of semantic weighting, therefore, algorithms could be developed that reflect this "intelligence", therefore appear themselves intelligent, even though they themselves are simply deterministic.

    Whew ...
    • One: intelligence is not awareness.

      Intelligence does, however, imply the ability to perform self-directed learning. Without that, all you have is preprogrammed behavior, which is not intelligence. Given the ability to learn, an intelligent entity is likely to draw conclusions about its own existence ("I think therefore I am"), and will thus essentially be self-aware.

      Of course, the builders of an artificially intelligent machine might restrict its ability to gather facts about itself - it wouldn't

      • "the ability to "see" its "body"" - Individual ant's do not learn, they are very much like small robots. An ant's nest on the other hand can display a modicum of intelligence in the way that it forages and protects itself.
    • The other comment hinted at the distinction, but one of the hallmarks of intelligence is desire. In philosophic language, "intentionaliy". Without goals and self-directed moves towards those goals, you do not have intelligence. Note that intentionality is needed, but not sufficient. In any case, Google, the machine, does not have self-directed goals.
    • You're quite correct that cowboy-loose definitions of terms make this a very difficult discussion to have. For example, when you say "self awareness," it's unlikely that you actually mean "self awareness" in the literal sense; after all, if a computer is capable of detecting when its processor is overheating (and perhaps turn on a fan in response), it is basically "self aware," though we wouldn't confuse that with itelligence.

      Rather, I think by "self awareness" here you mean, possessing narrativity; that i

  • by reporter (666905) on Saturday January 29 2005, @05:08PM (#11515844) Homepage
    Even though I disagree with Google's hiring practices (i.e. preferring H-1Bs when many American engineers are unemployed), I must admit that Google's search algorithm is the best one -- even better than Yahoo! Search, which I use regularly for socio-political reasons.

    I will give you an example. If you search news (i.e., either Google News [google.com] or Yahoo! News [yahoo.com]) for stories about the recent federal action (by Washington) involving Chinese companies and Iranians weapons improved by Chinese technology, you will discover that one of the popular news articles about this topic comes from the "New York Times". Several other newspapers redistributed the Times article, written by David Sanger (spelling?).

    I read that article, but I also read articles from less popular Web news sites: e.g. "Taipei Times". The "Taipei Times" article does mention that a Taiwanese company was also implicated in the sale of weapons technology to Taiwan. Yet, "New York Times" article made no mention of this fact.

    Is the "Taipei Times" telling the truth? It claims that Ecoma Enterprise Company, a Taiwanese company, was one of the culprits.

    At this point, I fired up both Yahoo! Search and Google. Only on Google was I successful in locating the the ORIGINAL source of the information about American penalties against the 7 Chinese companies and the 1 Taiwanese company [gpo.gov]. The information is on page 133 of the "Federal Register" (volume 70, number 1). So, I discovered that the "Taipei Times" was telling the truth.

    Guess how long I took on Google to find this information? 5 minutes. I kid you not. Even though I hate Google's employment practices, I am quite impressed with their technology.

    Using Yahoo! Search, I was not able to locate the desired information.

    Apparently, Google has an algorithm that, although it is unsupervised (i.e. without the kind of human interaction that corrupts Yahoo! Search), it captures the notion of what the typical person wants to find. The Google algorithm, dare I say "it", is on the verge of acquiring human sentience. THAT is, indeed, impressive.

    Pray to Buddha that the middle name of the CEO is not "666" or Beelzebub. Just kidding.

  • by G4from128k (686170) on Saturday January 29 2005, @05:08PM (#11515845)
    Although very clever, NGD (Normalized Google Distance) misses alll higher-order relationships and does not even distinguish between different categories of pairwise relationships. For example, NGD might assume that "Bush" & "Iraq" had the same relationship as "Slashdot" & "Geek" because the two word pairs co-occur with similar frequencies.

    More interesting are analyses on n-Tuples (co-occurences and orderings of n-words at a time). Anyone who does ER (Entity-Relationship) diagrams for relational databases will appreciate that many relationships involve multiple entities that are decomposable into pairwise relationships.

    Another limit is that Google is atrocious on its estimates of the number of hits. The actual number of hits is only fraction (about 60%?) of the estimated from my experience. This suggests that Google has a pairwise estimator built in that may be only partially empirical. If Google simply reports an estimated number of hits based on products of probabilities, then their is no information about the pair in the NGD. Obviously, these scientists have gotten useful results, but NGD may not be as good an estimate of the co-occurence of the words as the scientists assume.
    • You are right that Google may be performing estimation and this could effect results and I don't really know what sort of rounding they do at this time. Perhaps more will become apparent. But your other assertion about no higher order statistics is incorrect. see the earlier Clustering by Compression paper for more info. Quickly, the reason is as follows:
      • I use NGD to convert arbitrarily-large lists of search-terms into feature-vectors of arbitrary dimension. The only limit to this is the max query len
      • Thank you for the reply. I'm glad your work generalizes to longer search-term lists. Like so many other /. readers, I did not take the time to read your preprint before posting.

        I've often wondered if one can use simple pair-wise distance estimates to reconstruct a polytope or distorted simplex for the set of items within a multidimensional space. In theory, an N-object system, with non-zero pairwise distances, requires (N-1) dimensions. But in practice, many real systems don't fill the space -- being
  • Is it my imagination or is this essentially a new flavor of Kabbalah with the same strengths and weaknesses?
  • by Arngautr (745196) on Saturday January 29 2005, @05:30PM (#11515971)
    I wrote a program that gathered, analyzed and used word pair frequency data (various situational pairings). It needs more raw data, but shows a lot of promise. I opted to not use literature, as that often has archaic and purposefully awful word usage. Some of the issues involved include case, like Fall vs fall, I chose to ignore case, grammatical structure, needs to integrate with a grammar checker. Coupling this with a thesaurus is my eventual goal, this leads to some obvious difficulties, though it has potential rewards. I had considered google, and have run a few tests using it, but that solution was too simple, and not quite as powerful in the long run. Just had to share, sorry to waste your time.
    • Just had to share, sorry to waste your time.

      I accept your apology for relating relevant information about the subject matter of the article.

      For future reference, to avoid this, it helps not to read article. If you must read it, you can always pick out a short phrase and take it out of context. If you are absolutely at a loss on how to comment on a story with presenting useful/interesting information, generally you can get away with "FRIsT POST!!!" or one of the popular Slashdot memes.

      Don't worry,

    • Why not use Wikipedia? The database is downloadable in its entirety, quite large, and contains plenty of great information about topics from advanced mathematics to pop culture; all in quite down-to-earth normal language written and refined by normal people. I think Wikipedia ought to be a tremendously great resource for computer learning research.
  • by saddino (183491) on Saturday January 29 2005, @07:18PM (#11516654)
    My company develops a data mining program for OS X (theConcept [mesadynamics.com]) that uses Google (or other search engines) to provide links to data for mining.

    For example, searching on Google for "tom cruise" brings up pages upon pages of links, but -- from a cursory glance at the results -- it is impossible to learn anything about Tom Cruise unless one visits those results.

    Our software visits each of those results (for example, the first 100) and looks for the most significant keywords and phrases used over all the data. As you might expect, these typically end up being the names of people (e.g. Nicole Kidman, Penelope Cruz) or movies (e.g. Top Gun, Color of Money) that are associated with Tom Cruise. As far as our software goes, this is ample for doing keyphrase analysis.

    But the problem with deriving any additional meaning from the Internet web space is this: the biases that exist due to the very reasons for mentioning Tom Cruise (namely those things he is famous for) simply outweigh -- by a wide margin -- any other quite relevant interesting data about Tom Cruise. So, in fact, the web, in general, is an awful corpus of valid semantic data.

    If you want a rough model of popular ideas then perhaps Google and the web en masse is useful (it is for our software). But if you want any real meaning at all you come to the same conclusion that has given rise to sites like Wiki: the web, to be blunt, has a whole lot of shit in it. Coming up with a perfect (and rational) filter is quite a task.
  • by Anonymous Coward
    They are developing an open source tool http://complearn.sourceforge.net/ [sourceforge.net] that will hopefully integrate the algorithm they describe. Right now it's only supporting one of their previous algorithms. More about this in the above link and section 5 of the paper.
  • I've perused the abstract and skimmed the body of the paper. They're fine. But the title is misleading: Automatic Meaning Discovery Using Google.

    Their software has discovered meaning no more than paper has when the lexicographer is done writing her dictionary. Meaning is not the grouping of symbols.

    For systems that step towards encoding meaning as human brains do, consider the Neural Theory of Language [berkeley.edu].

  • If given perfect information about the relationships between concepts, you could derive a very intellegent machine. TAke a human for example..

    A baby hears the word mom spoken by his mom. Gradually, the baby knows there is a relationship between that sound and a smily face.

    The child, growing up, starts to see relationships. Intense pain, which is rare, when correlated with a hot stove, has strong meaning in his mind.

    Everything is learned initially through correlations. The advantage of human bei
    • It'll be intelligent the day it returns the value:

      Google isn't very good anymore, is it?

      TWW

    • Intelligence is not just knowing _absolute_ semantic meaning - e.g. that a cow is a cow and grass is grass. And being able to group grass with other grasses and cows with other bovine animals.

      It's being able to understand the statement that cow is to grass in a similar way that balleen whales are to krill.

      And then now knowing something about krill from that even if you didn't know what krill was at all.

      It's not just knowing the "absolute value" of the meaning - or even that these two objects are linked o
    • the AC actually isn't far off.

      In english what they are trying to do is define a word by context. For example go input a single word in google and you will get all the various contexts in which it is used.

      Then by using some algo. ( serious academic handwaving here ) you place the meaning of word via context as determined for google. Thus effectively you create the potential for a program that could distinguish between there and their and do it across languages. It could also translate sayins like, the spir
      • W3C's OWL [w3c.org] standard is a "language" to mark-up information to make it more meaningful to machines. Machines can draw conclusions to what a word means by context. So even if two words are the same, they may not mean the same and the computer can draw that conclusion based on the context. It's all a part of W3C's Semantic Web initiative. There is research dedicated to query languages for these kinds of files.