Docsity

Learning Algorithms and Prototype-Based Classification, Schemes and Mind Maps of Construction

Toggle sidebar
bg1
Clustering and
Prototype Based Classification
vorgelegt von
Diplom-Informatikerin
Sambu Seo
Falkult¨at IV-Elektrotechnik und Informatik
der Technischen Universit¨at Berlin
Institut f¨ur Softwaretechnik und Theoretische Informatik
zum Erlangen des akademischen Grades
Doktor der Naturwissenschaft
(Dr. rer. nat.)
genehmigte Dissertation
Promotionsausschuss:
Vorsitzender: Prof. Dr. O. Hellwich
Berichter: Prof. Dr. K. Obermayer
Berichter: Prof. Dr. T. Scheffer
Tag der wissenschaftlichen Aussprache: 7. November 2005
Berlin 2005
D 83
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Learning Algorithms and Prototype-Based Classification and more Schemes and Mind Maps Construction in PDF only on Docsity!

Clustering and

Prototype Based Classification

vorgelegt von

Diplom-Informatikerin

Sambu Seo

Falkult¨at IV-Elektrotechnik und Informatik

der Technischen Universit¨at Berlin

Institut f¨ur Softwaretechnik und Theoretische Informatik

zum Erlangen des akademischen Grades

Doktor der Naturwissenschaft

(Dr. rer. nat.)

genehmigte Dissertation

Promotionsausschuss:

Vorsitzender: Prof. Dr. O. Hellwich

Berichter: Prof. Dr. K. Obermayer

Berichter: Prof. Dr. T. Scheffer

Tag der wissenschaftlichen Aussprache: 7. November 2005

Berlin 2005

D 83

II

.

III

Contents

VIII

List of Figures

  • 1 Introduction
    • 1.1 Cogito Ergo Sum
    • 1.2 Organization of the thesis
      • 1.2.1 Outline of Part I
      • 1.2.2 Outline of Part II
    • 1.3 List of Symbols of Part I
    • 1.4 List of Symbols of Part II
  • 2 Prototype Based Classification
    • 2.1 Classification
    • 2.2 Classification Using the Bayesian Decision Rule
    • 2.3 K-Nearest Neighbor Classification
    • 2.4 Nearest Prototype Classifier
    • 2.5 Learning Vector Quantization
    • 2.6 Two Motivations for NPC
    • 2.7 New Approaches for NPC
  • 3 Soft Nearest Prototype Classification (SNPC)
    • 3.1 Cost Function and Learning Rule: General Case
    • 3.2 SNPC Based on a Gaussian Mixture Ansatz
    • 3.3 The ’Window Rule’
    • 3.4 Numerical Experiments for Toy Examples
    • 3.5 Summary
  • 4 Soft LVQ Based on Likelihood Ratio (SLVQ-LR)
    • 4.1 Cost-Function and Learning Rule: General Case
    • 4.2 Cost-Function and Learning Rule: Gaussian Mixture Ansatz
    • 4.3 The Window Rule
    • 4.4 Hard Classification: The Winner-Takes-All Case
    • 4.5 Summary
  • 5 Robust Soft LVQ (RSLVQ)
    • 5.1 Cost-Function and Learning Rule: General Case
    • 5.2 Cost-Function and Learning Rule: Gaussian Mixture Ansatz
    • 5.3 Hard Classification
    • 5.4 Summary
  • 6 Relation to Other Work VI
    • 6.1 Generalized Probabilistic Descent (GPD) methods
    • 6.2 Generalized Learning Vector Quantization
    • 6.3 LVQ Maximizing Hypothesis Margin Through Loss Function
    • 6.4 Summary and Discussion
      • 6.4.1 Summary of NPC Based on a GM Model
      • 6.4.2 Summary of LVQ Based on Cost Function Minimization
      • 6.4.3 Discussion
  • 7 Numerical Experiments
    • 7.1 Design of the Experiments
      • 7.1.1 Data Sets
      • 7.1.2 Initialization of Prototypes
      • 7.1.3 Learning Rate
      • 7.1.4 σ^2 Annealing Schedule
      • 7.1.5 Termination of the Algorithms
    • 7.2 Experimental Results
      • 7.2.1 letter
      • 7.2.2 pendigits
    • 7.3 Dynamic Hyper Parameter Scaling
      • 7.3.1 Motivation
      • 7.3.2 Design for the Experiment
      • 7.3.3 Experiment Results
    • 7.4 Comparison to Support Vector Machines
    • 7.5 Summary
  • 8 Clustering and Embedding
    • 8.1 Clustering of Data
    • 8.2 Distance-Based Clustering
    • 8.3 Clustering of Matrix Data
      • 8.3.1 Matrix Data
      • 8.3.2 Clustering of Matrix Data
    • 8.4 Embedding
    • 8.5 Grouping and Embedding of Data Object based on Rate Distortion Theory
      • 8.5.1 Clustering
      • 8.5.2 Embedding and Visualization with Self-Organizing Maps
  • 9 Clustering and Embedding of Pairwise Data
    • 9.1 Introduction
    • 9.2 Derivation of the Pairwise Clustering Method
    • 9.3 Structural Transitions in Pairwise Clustering
    • 9.4 Optimization Using Deterministic Annealing
    • 9.5 Optimization Using an Incremental Splitting Method
    • 9.6 Preferred Implementation of Pairwise Clustering
    • 9.7 Embedding and Visualization of Pairwise Data
    • 9.8 Application to Real World Data
      • 9.8.1 Protein Data Set
      • 9.8.2 DNA Microarray Data VII
  • 10 Clustering and Embedding for Co-occurrence Data
    • 10.1 Analysis of Co-occurrence Data
    • 10.2 Derivation of Topographic Information Bottleneck
    • 10.3 Application to the Document Data Set
  • 11 Summary
  • A
    • A.1 Derivation of eq. (3.19)
    • A.2 The gradient of log p p((x,yx,y¯|T|T )) w.r.t. θl
    • A.3 The gradient of log p p(x,y(x|T|T ) ) w.r.t. θl
    • A.4 The Gradient of ls(xt, T ) w.r.t. θ
    • A.5 Learning Rate
    • A.6 Optimal Hyper Parameters for the Data Set Letter
    • A.7 Optimal Hyper Parameters for the Data Set pendigits
    • A.8 Scaling Schedule for Dynamic Hyper Parameter Scaling
  • B
    • B.1 ΓI : Calculation of the Derivative of E lsβ w.r.t. Emtβ
    • B.2 ΓH : Calculation of the Derivative of E lsβ w.r.t. Emtβ
    • B.3 Calculation of the Derivative of the Lagrangian L 1 w.r.t. P 1 (l|xt)
    • B.4 Calculation of the Derivative of the Lagrangian L 2 w.r.t. P 1 (l|xt)
  • 2.1 Nearest Prototype Classification
  • 2.2 Active Region of LVQ 2.1 for different width parameters ω
  • 3.1 Summary of the SNPC method.
    • different prototype configurations. 3.2 Active areas for different values of the width parameter σ^2 and for two
  • 3.3 SNPC applied to two 1D toy problems.
  • 3.4 SNPC with annealing applied to a 2D toy problem.
  • 4.1 Loss and update factor of the SLVQ-LR algorithm for different σ
  • 4.2 Summary of the SLVQ-LR method.
  • 5.1 Summary of the RSLVQ method.
  • 5.2 Loss and update factor of the RSLVQ algorithm for different σ^2 (I)
  • 5.3 Update factor of the RSLVQ algorithm for different σ^2 (II)
  • 6.1 Loss and update factor of the GPD algorithm for different η.
  • 6.2 Loss and update factor of the GLVQ algorithm for different η(t) = 0. 1 , 10.
  • 6.3 Broken linear loss function with different η.
  • 7.1 The performance of different LVQ algorithms on the data set letter.
  • 7.2 The performance of different LVQ algorithms on the data set pendigits.
    • of σ 7.3 Performance of soft LVQ algorithms with dynamic scaling and selection
    • lection of ω 7.4 Performance of different LVQ algorithms with dynamic scaling and se-
    • and dynamic scaling of ω and σ 7.5 Performance of the SLVQ-LR algorithm with a combination of selection
    • scaling of the hyper parameters on the data set pendigits. 7.6 Performance of different LVQ algorithms with selection and dynamic
  • 8.1 Matrix data.
  • 8.2 Clustering by minimizing rates.
  • 8.3 Topographic clustering of matrix data.
  • 9.1 Structural changes and phase transitions for the pairwise clustering method.
    • the toy data set shown in fig. 9.1. 9.2 Result of the fixed point iteration, eq. (15), for the matrix ΓH and for

Chapter 1

Introduction

1.1 Cogito Ergo Sum

In the 17th century the founder of modern philosophy, Ren´e Descartes (1596-1650), inferred his existence from the fact that he was thinking, which includes doubting, understanding, conceiving, affirming, denying, willing, imaging and feeling. This shows that thinking is an essential ability, and being able to think is a necessary condition for a human being. All thinking processes require the ability for distinction, ordering and abstraction, which all involve classification and categorization. Throughout human history, both the objects to be classified and categorized, as well as the human ability to classify and categorize them get increasingly complex, the one influencing the other. This development of the mind required an increasing level of abstraction. The notion of categorization can already be found in the philosophy of Aristotle (384-348 B.C.), whose concept of ’essential and accidental properties’ corresponds to the differences of objects between and within categories. Man has always invented tools to assist him in the task of classification and cat- egorization, the most recent being the computer. Nowadays, computers are found everywhere, from microchips in washing machines or talking rice-cookers, to robots exploring Mars or the moons of Jupiter. Humankind has long been dreaming of ’cap- turing’ human intelligence within a machine, an idea which has inspired numerous novels and movies (e.g. the robot-novels by Asimov and Polanksi’s movie ’A.I.’). Such systems are still far beyond reality. However, in the last few decades the construction of learning machines has become an important object of scientific research. Already in the 1950s learning and adaptive systems were investigated, giving rise to the view of learning as an adjustment of model parameters. This inspired the first works on artificial neural networks. Rosenblatt (1958) studied single layer networks, called them perceptrons and applied them to classification tasks. However, percep- trons could only classify data sets which are linearly separable (Minsky and Papert (1969)). A major breakthrough in the field of neural networks came in the 1980s, with the availability of more powerful computers. This lead to algorithms like Hopfield net- works (Hopfield (1987)) and the Back-propagation algorithm for learning multi-layer- perceptrons, which stepped beyond the limitations of single layer networks. Another important milestone of the 1980s was the development of self-organizing maps (Koho- nen (1982b,a)), using competitive learning. In the 1990s, a new class of very efficient

1

2 Chapter 1. Introduction

algorithms, the support-vector-machines (Vapnik (1995, 1998)), were developed, based on discoveries previously made in statistical learning theory. Further details on the history of machine learning can for example be found in (Haykin (1994); Duda et al. (2001); Ripley (1996)). Presently, the still ongoing increase in computational power, accompanied by the collection of huge data bases, increases the need and at the same time provides the resources for automatic algorithms which discover structure in the data. This development is an example of how scientific and technological progress are closely intertwined. Computer technology has also had a profound impact on most other scientific fields. A prominent example is biomedical image analysis, in which either the images them- selves or some depicted objects have to be classified. Because of the large amounts of image data, automatic algorithms need to be developed to assist in this often very tedious task. Furthermore, the information technological advance basically revolution- ized molecular biology, which gave rise to the field of bio-informatics. The immense amounts of data gathered for example by sequencing machines, in an effort to under- stand the human genome, has made the need for advanced data mining techniques quite obvious. Another breakthrough has occurred with respect to data transfer and communication. Internet and web-based technologies have lead to gigantic pools of information, which are highly linked and dynamically growing. However useful, the informational overload has again caused some other problems: Looking for a certain bit of information has become a task like finding the needle in a haystack. This calls for advanced algorithms for filtering and information retrieval. Closely connected to this is the task of text categorization, in which similarities between documents or web-pages, based on their topics, have to be found. This list could be continued much longer; the field of applications which make use of automatic techniques for classification and categorization, be it supervised or unsupervised, is huge and still growing. In this thesis, a number of new machine learning algorithms were developed and applied to several of the above-mentioned fields.

1.2 Organization of the thesis

This thesis consists of two parts. In the first part, I derive three novel learning algo- rithms for learning of nearest prototype (NP) classifiers based on a Gaussian mixture model. The performance of the algorithms is investigated and compared to other NP classifiers derived from different cost functions and to support vector machines. In the second part, clustering and embedding algorithms for pairwise data are derived based on rate distortion theory. Furthermore, the information bottleneck method is extended using the source coding framework such that it preserves the topographic relation between the clusters.

1.2.1 Outline of Part I

In this part, I introduce three new nearest prototype classification (NPC) algorithms and compare them to another three extensions of the LVQ algorithms. Chapter 2 can be seen an introduction to part I. It contains a short review of the Bayesian decision rule, K nearest neighbor classification and the LVQ algorithm. It motivates the use of nearest

4 Chapter 1. Introduction

Lagrangian against the constraint, is considered. Furthermore, I suggest an improve- ment using a ’growing’ algorithm which incrementally increases the number of clusters until an optimal value is reached. In chapter 10 an algorithm for the embedding of co-occurrence data is derived using the SOM method, which breaks the permutation symmetry of the clustering problem. The performance of the methods will be assessed using several toy and real world data sets. Chapter 11 contains a summary and a discussion. The main contributions of this part are published in Seo and Obermayer (2004).

1.3. List of Symbols of Part I 5

1.3 List of Symbols of Part I

Symbol Meaning x, xi primary data points y, yi labels of data points x and xi y ¯ set of class labels which differ from y θm m-th prototype cm label of m-th prototype X set of primary data points I set of class label, normally set of indices S training data set T set of labeled prototypes N number of training data points D dimensionality of x M number of prototypes Ny number of classes E cost function ls loss function δ(a) delta function: = 1, if a is true else 0 P (l) prior probability of component l of the mixture model P (l|x) assignment probability of data point x to component l Py (l|x) assignment probability of data point x to component l with correct label Py¯ (l|x) assignment probability of data point x to component l with incorrect label p(x|l) conditional density function f (xi, θl) basis function of normalized exponential conditional density function p(x|T ) probability density of data point x given model T p(x, y|T ) conditional probability density that a data point x is generated by the correct class label y p(x, y¯|T ) conditional probability density that a data point x is generated by the incorrect class label 6 = y σ^2 uniform width of all components σ^2 l width of component l. α, α∗^ learning rate of online learning d(a, b) distance between two data points in the same space Lc likelihood that data points are generated by mixture model for correct class Lu likelihood that data points are generated by mixture model for incorrect class Lr likelihood ratio ω width parameter of window rule, LVQ, SLVQ-LR, LVQ-LR η window parameter of distance based LVQ algorithms η(t) function of learning time t of generalized LVQ

Part I

Nearest Prototype Classification

based on Gaussian Mixtures