• No results found

Increasing our Ignorance’ of Language: Identifying Language Structure in an Unknown ‘Signal’

N/A
N/A
Protected

Academic year: 2020

Share "Increasing our Ignorance’ of Language: Identifying Language Structure in an Unknown ‘Signal’"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

In:

Proceedings of CoNLL-2000 and LLL-2000,

pages 25-30, Lisbon, Portugal, 2000.

Increasing our Ignorance of Language: Identifying Language

Structure in an U n k n o w n 'Signal'

J o h n E l l i o t t a n d E r i c A t w e l l a n d B i l l W h y t e

C e n t r e for C o m p u t e r Analysis of L a n g u a g e a n d Speech, School of C o m p u t e r Studies U n i v e r s i t y of Leeds, Leeds, Yorkshire, LS2 9 J T E n g l a n d

{ j r e , e r i c , b i l l w } ¢ s c s . l e e d s . a c . u k

A b s t r a c t

This paper describes algorithms and software developed to characterise and detect generic intelligent language-like features in an input signal, using natural language learning tech- niques: looking for characteristic statistical "language-signatures" in test corpora. As a first step towards such species-independent language-detection, we present a suite of pro- grams to analyse digital representations of a range of data, and use the results to extrap- olate whether or not there are language-like structures which distinguish this data from other sources, such as music, images, and white noise. Outside our own immediate NLP sphere, generic communication techniques are of par- ticular interest in the astronautical community, where two sessions are dedicated to SETI at their annual International conference with top- ics ranging from detecting E T technology to the ethics and logistics of message construction (E1- liott and Atwell, 1999; Ollongren, 2000; Vakoch, 2000).

1 I n t r o d u c t i o n

A useful thought experiment is to imagine eavesdropping on a signal from outer space. How can you decide that it is a message be- tween intelligent life forms? We need a 'lan- guage detector': or, to p u t it more accu- rately, something that separates language from non-language. But what is special about the language signal that separates it from non- language? Is it, indeed, separable?

The problem goal is to separate language from non-language without dialogue, and learn something about the structure of language in the passing. The language may not be h u m a n

(animals, aliens, computers...), the perceptual space can be unknown, and we cannot assume h u m a n language structure but must begin some- where. We need to approach the language signal from a naive viewpoint, in effect, increasing our ignorance and assuming as little as possible.

Given this standpoint, an informal descrip- tion of 'language' might include that it:

• has structure at several interrelated levels • is not r a n d o m

• has g r a m m a r

• has letters/characters, words, phrases and sentences

• has parts of speech • is recursive

• has a theme with variations • is aperiodic b u t evolving • is generative

• has transformation rules • is designed for communication

• has Zipfian type-token distributions at sev- eral levels

Language as a 'signal'

• has some signalling elements (a 'script') • has a hierarchy of signalling elements?

('Words', 'phrases' etc.) • is serial?

• is correlated across a distance of several sig- nalling elements applying at various levels in the hierarchy

• is usually not truly periodic is quasi-stationary?

is non-ergodic?

(2)

statistical clues such as entropy, "chunking" to find character bit-length and boundaries, and matching against a Zipfian type-token distribu- tion for "letters" and "words".

2 I d e n t i f y i n g S t r u c t u r e a n d t h e ' C h a r a c t e r S e t '

The initial task, given an incoming bit-stream, is to identify if a language-like structure ex- ists and if detected what are the unique pat- terns/symbols, which constitute its 'character set'. A visualisation of the alternative possible byte-lengths is gleaned by plotting the entropy calculated for a range of possible byte-lengths (fig 1).

In 'real' decoding of unknown scripts it is ac- cepted that identifying the correct set of dis- crete symbols is no mean feat (Chadwick, 1967). To make life simple for ourselves we assume a digital signal with a fixed number of bits per character. Very different techniques are re- quired to deal with audio or analogue equivalent waveforms (Elliott and Atwell, 2000; Elliott and Atwell, 1999). We have reason to believe that the following m e t h o d can be modified to relax this constraint, b u t this needs to be tested fur- ther. The task then reduces to trying to iden- tify the number of bits per character. Given the probability of a bit is Pi; the message entropy of a string of length N will be given by the first order measure:

E = S U M [ P i l n P i ] ; i = 1, N

If the signal contains merely a set of r a n d o m dig- its, the expected value of this function will rise monotonically as N increases. However, if the string contains a set of symbols of fixed length representing a character set used for commu- nication, it is likely to show some decrease in entropy when analysed in blocks of this length, because the signal is 'less r a n d o m ' when thus blocked. Of course, we need to analyse blocks that begin and end at character boundaries. We simply carry out the measurements in sliding windows along the data. In figure 1, we see what happens when we applied this to samples of 8-bit ASCII text. We notice a clear drop, as predicted, for a bit length of 8. Modest progress t h o u g h it may be, it is not unreason- able to assume that the first p i e c e o f ev- i d e n c e for t h e p r e s e n c e o f l a n g u a g e - l i k e

s t r u c t u r e , w o u l d b e t h e i d e n t i f i c a t i o n o f a l o w - e n t r o p y , c h a r a c t e r s e t w i t h i n t h e sig- nal.

The next task, still below the stages normally tackled by NLL researchers, is to chunk the in- coming character-stream into words. Looking at a range of (admittedly h u m a n language) text, if the text includes a space-like word-separator character, this will be the most frequent charac- ter. So, a plausible hypothesis would be that the most frequent character is a word-separator1; then plot type-token frequency distributions for words, and for word-lengths. If the distribu- tions are Zipfian, and there are no significant 'outliers' (very large gaps between 'spaces' sig- nifying very long words) t h e n we have evidence corroborating our space hypothesis; this also corroborates our byte-length hypothesis, since the two are interdependent.

3 I d e n t i f y i n g ' W o r d s '

Again, work by crytopaleologists suggests that, once the character set has been found, the sep- aration into word-like units, is not trivial and again we cheat, slightly: we assume that the language possesses something akin to a 'space' character. Taking our entropy measurement de- scribed above as a way of separating characters, we now try to identify which character repre- sents 'space'. It is not unreasonable to believe that, in a word-based language, it is likely to be one of the most frequently used characters.

(3)

fort in a communication act. Conversely, re- sults obtained similar to the 'flatter' distribu- tions above, when using the most frequent char- acter, is likely to indicate the absence of word separators in the signal.

To ascertain whether the word-length fre- quency distribution holds for language in gen- eral, multiple samples from 20 different lan- guages from Indo-European, Bantu, Semitic, Finno-Ugrian and Malayo-Polynesian groups were analysed (fig 3). Using statistical measures of significance, it was found that most groups fell well within 5- only two individual languages were near exceeding these limits - of the pro- posed H u m a n language word-length profile (E1- liott et al., 2000).

Z i p f ' s l a w is a s t r o n g i n d i c a t i o n o f l a n g u a g e - l i k e b e h a v i o u r . I t c a n b e u s e d t o s e g m e n t t h e s i g n a l p r o v i d e d a ' s p a c e ' c h a r a c t e r e x i s t s . However, we should not assume Zipf to be an infallible language detec- tor. Natural p h e n o m e n a such as molecular dis- tribution in yeast DNA possess characteristics of power laws (Jenson, 1998). Nevertheless, it is worth noting, that such non-language posses- sors of power law characteristics generally dis- play distribution ranges far greater t h a n lan- guage with long repeats far from each other (Baldi and Brunak, 1998); characteristics de- tectable at this level or at least higher order entropic evaluation.

4 I d e n t i f y i n g ' P h r a s e - l i k e ' c h u n k s Having detected a signal which satisfies cri- teria indicating language-like structures at a physical level (Elliott and Atwell, 2000; Elliott and Atwell, 1999), second stage analysis is re- quired to begin the process of identifying inter- nal grammatical components, which constitute the basic building blocks of the symbol system. With the use of embedded clauses and phrases, humans are able to represent an expression or description, however complex, as a single com- ponent of another description. This allows us to build up complex structures far beyond our oth- erwise restrictive cognitive capabilities (Minsky, 1984). W i t h o u t committing ourselves to a for- mal phrase structure approach, (in the Chom- skian sense) or even to a less formal 'chunk- ing' of language (Sparkle Project, 2000), it is this universal hierarchical structure, evident in

all h u m a n languages a n d believed necessary for any advanced communicator, that constitutes the next phase in our signal analysis (Elliott a n d Atwell, 2000). It is from these 'discovered' ba- sic syntactic units that analysis of behavioural trends a n d inter-relationships a m o n g s t termi- nals a n d non-terminals alike can begin to unlock the encoded internal grammatical structure a n d indicate candidate parts of speech. T o do this,

w e m a k e use of a particular feature c o m m o n to

m a n y k n o w n languages, the 'function' words, w h i c h occur in corpora with approximately the s a m e statistics. T h e s e tend to act as bound- aries to fairly self-contained semantic/syntactic 'chunks.' T h e y can be identified in corpora by their usually high frequency of occurrence a n d cross-corpora invariance, as opposed to 'con- tent' words w h i c h are usually less frequent a n d m u c h m o r e context dependent.

N o w suppose the function words arrived in a text independent of the other words, then they w o u l d have a Poisson distribution, with s o m e long tails (distance between successive function

words.) B u t this is N O T w h a t happens. In-

stead, there is empirical evidence that function w o r d separation is constrained to within short limits, with very few m o r e than nine words apart (see fig 4). W e conjecture that this is highly suggestive of chunking.

5 C l u s t e r i n g i n t o

s y n t a c t i c o - s e m a n t i c c l a s s e s

Unlike traditional natural language process- ing, a solution cannot be assisted using vast amounts of training data with well-documented 'legal' syntax and semantic interpretation or known statistical behaviour of speech cate- gories. Therefore, at this stage we are endeav- ouring to extract the syntactic elements with- out a 'Rossetta' stone and by making as few as- sumptions as possible. Given this, a generic sys- tem is required to facilitate the analysis of be- havioural trends amongst selected pairs of ter- minals and non-terminals alike, regardless of the target language.

(4)

tween pairs of words or parts of speech, as a pre- cursor to deducing general principles for 'typing' and clustering into syntactico-semantic lexical classes. Linguists have long known that collo- cation and combinational patterns are charac- teristic features of natural languages, which set t h e m apart (Sinclair, 1991). Speech and lan- guage technology researchers have used word- bigram and n-gram models in speech recogni- tion, and variants of PoS-bigram models for Part-of-Speech tagging. In general, these mod- els focus on immediate neighbouring words, but pairs of words may have bonds despite sepa- ration by intervening words; this is more rele- vant in semantic analysis, eg Wilson and Rayson (1993), Demetriou (1997). We sought to in- vestigate possible bonding between type tokens (i.e., pairs of words or between parts of speech tags) at a range of separations, by m a p p i n g the

correlation profile

between a pair of words or tags. This can be c o m p u t e d for given word-pair type (wl,w2) by recording each word-pair token (wl,w2,d) in a corpus, where d is the distance or number of intervening words. T h e distribution of these word-pair tokens can be visualised by plotting d (distance between w l and w2) against frequency (how many (wl,w2,d) tokens found at this distance). Distance can be negative, mean- ing that w2 occurred

be/ore

w l and for any size window (i.e., 2 to n). In other words, we postu- late that it might be possible to deduce part-of- speech membership and, indeed, identify a set of part-of-speech classes, using the joint proba- bility of words themselves. But is this possible? One test would be to take an already tagged corpus and see if the parts-of-speech did indeed fall into separable clusters.

Using a five thousand-word extract from the LOB corpus (Johansson et al., 1986) to test this tool, a number of parts-of-speech pairings were analysed for their cohesive profiles. The arbi- trary figure of five thousand was chosen, as it b o t h represents a sample large enough to re- flect trends seen in samples much larger (with- out loosing any valuable data) and a sample size, which we see as at least plausible when analysing ancient or extra-terrestrial languages where data is at a premium.

Figure 5 shows the results for the relationship between a pair of content and function words, so identified by looking at their cross-corpus statis-

tics. It can be seen that the function word has a high probability of preceding the content word but has no instance of directly following it. At least metaphorically, the graph can be consid- ered to show the 'binding force' between the two words varying with their separation. We are looking at how this m e t a p h o r might be used in order to describe language as a molecular struc- ture, whose 'inter-molecular forces' can be re- lated to part-of-speech interaction and the de- velopment of potential semantic categories for the unknown language.

Examining language in such a manner also lends itself to summarising ('compressing') the behaviour to its more notable features when forming profiles. Figure 6 depicts a 3D repre- sentation of results obtained from profiling VB- tags with six other major syntactic categories; figure 7 shows the m a i n syntactic behavioural features found for the co-occurrence of some of the major syntactic classes ranging over the cho- sen window of ten words.

(5)

yse/annotate human language in a way which human experts would approve of (eg phrase- chunking corresponding to a human linguist's parsing of English text); but algorithms which recognise language-like structuring in a poten- tially much wider range of digital data sets. 6 S u m m a r y a n d f u t u r e

d e v e l o p m e n t s

To summarise, our achievements to date include - a method for splitting a binary digit-stream into characters, by using entropy to diagnose byte-length; - a method for tokenising unknown character-streams into words of language; - an approach to chunking words into phrase- like sub-sequences, by assuming high-frequency function words act as phrase-delimiters; - a vi- sualisation tool for exploring word-combination patterns, where word-pairs need not be imme- diate neighbours but characteristically combine despite several intervening words.

So far, our approaches have involved working with languages with which we are most familiar and, to a certain extent, making use of linguistic 'knowns' such as pre-tagged corpora. It is early days yet and we make no apology for this initial approach. However, we feel that by deliberately reducing our dependence on prior knowledge ('increasing our ignorance of language') and by treating language as a 'signal', we might be con- tributing a novel approach to natural language processing which might ultimately lead to a bet- ter, more fundamental understanding of what distinguishes language from the rest of the sig- nal universe.

R e f e r e n c e s

P. Baldi and S. Brunak. 1998. Bioinformatics - The

Machine Learning Approach. MIT press, Cam-

bridge Massachusetts.

J. Chadwick. 1967. The Decipherment of Linear B.

Cambridge University Press.

George Demetriou. 1997. PhD thesis. School of Computer Studies, University of Leeds.

John Elliott and Eric Atwell. 1999. Language in sig- nals: the detection of generic species-independent intelligent language features in symbolic and oral communications. In Proceedings of the 50th In-

ternational Astronautical Congress. paper IAA-

99-IAA.9.1.08, International Astronautical Feder- ation, Paris.

John Elliott and Eric Atwell. 2000. Is there any- body out there?: The detection of intelligent

and generic language-like features. Journal of the

British Interplanetary Society, 53:1/2:13-22.

John Elliott, Eric Atwell, and Bill Whyte. 2000. Language identification in unknown signals.

In Proceedings of COLING'2000 International

Conference on Computational Linguistics. Saar-

bruecken.

H. Jenson. 1998. Self Organised Criticality. Cam- bridge University Press.

Stig Johansson, Eric Atwell, Roger Garside, and Geoffrey Leech. 1986. The Tagged LOB

corpus: users' manual. Bergen University,

Norway: ICAME, The Norwegian Comput- ing Centre for the Humanities. Available from http://www.hit.uib.no/icame/lobman/lob- cont.html.

Fred Karlsson, Atro Voutilainen, Juha Heikkila, and Arto Anttila. 1995. Constraint Grammar: a language-independent system for parsing unre-

stricted text. Berlin: Mouton de Gruyter.

Geoffrey Leech, Roger Garside, and Eric Atwell. 1983. The automatic grammatical tagging of the lob corpus. ICAME Journal, 7:13-33.

Christopher Manning and Hinrich Schutze. 1999.

Foundations of Statistical Natural Language Pro-

cessing. Cambridge: MIT Press.

M. Minsky. 1984. Why Intelligent Aliens will be In-

telligible. Cambridge University Press.

Alexander Ollongren. 2000. Large-size message con- struction for eti. In Proceedings of the 50th In-

ternational Astronautical Congress. paper IAA-

99-IAA.9.1.09, International Astronautical Feder- ation, Paris.

Sparkle Project. 2000. http://www.ilc.pi.cnr.it/spa rkle/wp 1-prefinal/node25.html.

John Sinclair. 1991. Corpus, concordance, colloca-

tion describing English language. Oxford Univer-

sity Press.

Doug Vakoch. 2000. Communicating scientifi- cally formulated spiritual principles in interstel- lar messages. In Proceedings of the 50th Inter-

national Astronautical Congress. paper IAA-99-

IAA.9.1.10, International Astronautical Federa- tion, Paris.

Andrew Wilson and Paul Rayson. 1993. The au- tomatic content analysis of spoken discourse. In C. Souter and E. Atwell, editors, Corpus based

computational linguistics. Rodopi, Amsterdam.

G.K. Zipf. 1949. Human Behaviour and The Prin-

ciple of Least Effort. Addison Wesley Press, New

(6)

I

Entropy

8 7 6 5 4 3 2 1

Figure 1

Language

I I I I I I

4 5 6 7 8 9

4 0 0

350 "~" 300

[image:6.596.70.541.86.706.2]

~ 250 20O 150 IO0 5O O

Figure 2: Candidate word-length distributions

usin~ the 3 most freouent charaelers.

Entropy profile as an indicator of character bit-length

MulUple samples from Indo-European, Bantu, Semitic, Fin no- Ug rian. and M~ayo-Polyne$ian language groups

25.00

2 0 . 0 0

=o 15.oo - £ ~ "

,,.

5.00 ~,t:;~

',~%~,~

Figure 3

Word length

F ~ q u e n c y

Fig are 4

Function Word separation in English.

I[ll,,.

3 4 5 6 7 8 9

Number of words between candidate functional words

i laa -.--t . . . f o a l ...q . . .

9 t ~ . - 4 . . . J t o o ,. ,. ~ .. . . 6 a l . . . 4 . . . l ~ t o :- .. . . 4

. . . [

Correlation profile tbr word pair

i Figure 5 I

... ... 1 ...

. . I

t

... i ... i ...

... t ...

i-

ill ... i J~, ...

P(w I !'unctional~w2 coalcn:) I

t m q u e n ~

Figure 6: VB-tag profile

Figure 7 C n o u n C n o u n

[3, ~,3

Jj

13.

Rb Z, Xs

Prep 6", )~2

Cc 6", ~3:4

Vb X2

Art

13"

Jj Rb Prep Cc Vb Art

6" ~'2 13" 13', ~6 6, ~'2 6, ~'2

[3 6, ~,5,9 ~'2 ~2,4 6 6, ~,3

~7 [3 13" 6, ~9 13 ~2

~2 6*, ~7 6, ~'3 ~'3 Z*,~9 [3

[3 13, 26 ~,4 Z ~,5 13"

k2

13

13"

6, z9

z

13.

13" 6, ~,3,8 Z, ~,2 Z* Z Z, ~4

Figure

Figure 2: Candidate word-length distributions usin~ the 3 most freouent charaelers.

References

Related documents