• Aucun résultat trouvé

Toward Word Embedding for Personalized Information Retrieval

N/A
N/A
Protected

Academic year: 2021

Partager "Toward Word Embedding for Personalized Information Retrieval"

Copied!
5
0
0

Texte intégral

(1)

HAL Id: ujm-01377080

https://hal-ujm.archives-ouvertes.fr/ujm-01377080

Submitted on 6 Oct 2016

HAL is a multi-disciplinary open access

archive for the deposit and dissemination of

sci-entific research documents, whether they are

pub-lished or not. The documents may come from

teaching and research institutions in France or

abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est

destinée au dépôt et à la diffusion de documents

scientifiques de niveau recherche, publiés ou non,

émanant des établissements d’enseignement et de

recherche français ou étrangers, des laboratoires

publics ou privés.

Toward Word Embedding for Personalized Information

Retrieval

Nawal Ould Amer, Philippe Mulhem, Mathias Géry

To cite this version:

(2)

Toward Word Embedding

for Personalized Information Retrieval

Nawal OULD AMER

Université de Grenoble LIG laboratory, MRIM group

Grenoble, France

[email protected]

Philippe MULHEM

CNRS

LIG laboratory, MRIM group Grenoble, France

[email protected]

Mathias GÉRY

Université de Saint-Étienne Hubert Curien Laboratory

Saint-Étienne, France

[email protected]

ABSTRACT

This paper presents preliminary works on using Word Em-bedding (word2vec) for query expansion in the context of Personalized Information Retrieval. Traditionally, word em-beddings are learned on a general corpus, like Wikipedia. In this work we try to personalize the word embeddings learn-ing, by achieving the learning on the user’s profile. The word embeddings are then in the same context than the user in-terests. Our proposal is evaluated on the CLEF Social Book Search 2016 collection. The results obtained show that some efforts should be made in the way to apply Word Embedding in the context of Personalized Information Retrieval.

CCS Concepts

•Information systems → Personalization;

Keywords

Word Embedding, word2vec, Personalization, Social Book Search, Query expansion

1.

INTRODUCTION

Recent works investigate the use of Word Embedding for enhancing IR effectiveness [1, 3, 8] or classification [5]. Word Embedding [7] is the generic name of a set of NLP-related learning techniques that seek to embed representations of words, leading to a richer representation: words are repre-sented as vectors of more elementary components or fea-tures. Similarly to Latent Semantic Analysis (LSA) [2], Word Embedding maps the words to low-dimensional (w.r.t. vocabulary size) vectors of real numbers. For example, two vectors −→t0 and −→t1, corresponding to the words t0 and t1, are close in a N-dimensional space if they have similar con-texts and vice-versa, i.e. if the concon-texts in turn have similar words [4]. In this vector space of embedded words, the cosine similarity measure is classically used to identify words

occur-Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the owner/author(s).

Neu-IR’16 SIGIR Workshop on Neural Information Retrieval, July 21, 2016, Pisa, Italy

c

2016 Copyright held by the owner/author(s). ACM ISBN . . . $00.00

DOI:

ring in similar contexts. In addition, the arithmetic opera-tions between vectors reflect a type of semantic-composition, e.g. bass + guitar = bass guitar [10].

In this paper, we present an approach using Word Em-bedding for Personalized Information Retrieval. The goal of our works is to provide clues about the following questions: • Can Word Embedding be used for query expansion in

the context of social collection ?

• Can Word Embedding be used to personalize query expansion?

The first question is motivated by our participation in the CLEF Social Book Search task in 2016 (similar to the Social Book Search task in 2015 [6]). Our concern was related to the fact that the topics provided contain non-topical terms that may impact the usage of Word Embedding.

The second question tackles more specifically the usage of Word Embedding when the learning is based on the user’s profile in order to select personalized words for query ex-pansion. The idea is to select words that occur in the same context as the terms of the query. We compare then Word Embedding learned on the whole collection of Social Book Search, called the Non Personalized Query Expansion, ver-sus Word Embedding learned on the user’s profiles, called the Personalized Query Expansion.

The paper is organized as follows: Section 2 presents the proposed approach. The experiments on the official CLEF Social Book Search collection are presented and discussed in Section 3, and the results are commented in Section 4. We conclude this work in Section 5.

2.

PERSONALIZED QUERY EXPANSION

2.1

User Modeling

In the context of Social Book Search, each user is rep-resented by his catalog (i.e. set of books) and other infor-mation such as tags and the ratings that he assigns to the books [6]. All these information describe the interests of the user.

(3)

The profile of u, noted pu, is then represented by the set of words in du:

pu= {w1, w2, w3, ..., wn} (1)

2.2

Term Filtering

As stated before, Word Embedding can potentially be help-ful in the selection of terms related to the query. Usually, embedded terms are used for query expansion, as extensions of one of the query term. Despite the effectiveness of Word Embedding to select embedded terms, it could happen that their use for query expansion decreases the effectiveness of the system.

In fact, if an extended term is a noisy term (because of its ambiguity for instance, or because it is not a topical term of the query), then the set of its resulting word embeddings will increase the non-topical noise in the extended query. For example, in the queries (taken from the topics of Social Book Search 2016) “Help! I Need more books”, “New releases from authors that literally make you swoon...” or “Favorite Christmas Books to read to young children”, the majority of theses words are not useful for expansion, like “new, good, recommend, make, you, etc.”. Therefore, these words need to be filtered out of the queries before the expansion pro-cess. We chose to remove all the adjectives words from the queries. To do that, we use an English stop-adjective list in addition to the standard English stop-list.

Then, from a user query q = {t1, t2, ..., tm}, we note qf = {t1, t2, ..., to} the filtered query.

2.3

Word Embedding Selection

Once we have a filtered query qf as described above (cf. subsection 2.2), we select the top-k word embeddings to be used as extensions. This selection is achieved in three steps for each term t of the filtered query qf:

i) Building a set of word embeddings for t using the co-sine similarity between t and all words in the training corpus;

ii) Filtering out from the set of word embeddings of i) the terms that have the same stem than t using English Porter Stemmer, in order to avoid overemphasizing the variations of t;

iii) Selecting the top-k word embeddings of t from the fil-tered set of word embeddings of ii).

Then, the output of the selection of word embeddings is:

W ordEmbeddingw2v(qf) =        em t11, em t12, ..., em t1k, em t21, em t22, ..., em t2k, ... em to1, em tm2, ..., em tok        (2) Where W ordEmbeddingw2v(qf) denotes the function that returns a set of word embedding for a given filtered query qf, and em tij denotes the jth element of the top-k word embeddings of ti.

2.4

Ranking Model

The final expanded query qnewis the union of the original user query q and the word embeddings set as follow:

qnew= q ∪ W ordEmbeddingw2v(qf) (3)

The score for each document d according to the expanded query qnew and the user u is computed according to a clas-sical Language Model with Dirichlet smoothing.

3.

EXPERIMENTS

3.1

Dataset

Our experiments are conducted on Social Book Search dataset [6].

• Documents: The documents collection consists of 2.8 millions of books descriptions with meta-data from Amazon and LibraryThing. Each document is rep-resented by book-title, author, publisher, publication year, library classification codes and user-generated content in the form of user ratings and reviews.1 • Users: The collection provides profiles of 120 users.

Each user is described by his catalog (i.e. a set of books), tags, and rating.

• Queries: The collection contains 120 user queries. Due to the nature of the queries, we chose 28 queries for our experiments: these queries have topical content (i.e. a classical IR system has then chances to get relevant results) and the profile of the query issuer is not empty.

3.2

Learning of Word Embedding

Here, we describe the process of learning word vectors (see section 1). We use two training sets.

• The first one is called The Non Personalized Cor-pus: the train is built on the whole Social Book Search Corpus.

• The second one is called The Personalized Corpus: we build a personalized train corpus for each user. The training process is the same for the two corpora:

1. Non Personalized Corpus train process:

We train word2vec [7] on the Social Book Search cor-pus. word2vec represents each word w of the train-ing set as a vector of features, where this vector is supposed to capture the contexts in which w appears. Therefore, we chose the Social Book Search corpus to be the training set, as the training set is expected to be consistent with the data on which we want to test. To construct the training set from the corpus, we simply concatenate the content of all the documents, with-out any particular pre-processing such as stemming or stop-words removal, except some text normalization and cleaning operations such as lower-case normaliza-tion, removing HTML tags, etc. The concatenated document is the input training set of word2vec. The size of the training set is ∼ 12.5GB; it contains 2.3 billions words, and the vocabulary size is about 600K. The training parameters of word2vec are set as fol-lows:

• continuous bag of words model instead of the skip-gram (word2vec options: cbow=1);

1

(4)

• the output vectors size or the number of features of resulting word-vectors is set to 500 (word2vec options: size=500);

• the width of the word-context window is set to 8 (word2vec options: window=8);

• the number of negative samples is set to 25 (word2vec options: negative=25).

2. Personalized Corpus train process:

For this corpus, each user is described as a document du (containing the documents belonging to his cata-log, cf. Section 2.1) and we train word2vec on each user document duusing the same process than the Non Personalized Corpus train process.

3.3

Parameters and Tested Configurations

The ranking model is achieved using the Language Model with Dirichlet smoothing. All documents are retrieved using Terrier search engine [9] with µ = 50.

We compare the following variations:

1. Query filtering: the query is filtered or not, by re-moving the stop-word and the adjectives as stated in section 2.2;

2. Query expansion: the query is expanded or not us-ing the Word Embeddus-ing function;

3. Personalization: the query is personalized (using the Personalized Corpus) or not (using the Non Personal-ized Corpus).

The tested configurations are presented in Table 3.3. Configuration Query filtering Expansion Conf1 (baseline) Original (q)

-Conf2 Filtered (qf) -Conf3 Filtered (qf) Non Personalized Conf4 Filtered (qf) Personalized Conf5 Original (q) Non Personalized Conf6 Original (q) Personalized

Table 1: Tested configurations

4.

RESULTS

In this section, we present and comment the results of the above configurations. All of these configurations lead to quite low MAP values, but this is consistent with the official CLEF Social Book Search results.

4.1

Query Filtering

Table 4.1 reports the Mean Average Precision (MAP), Mean Reciprocal Rank (MRR), and precision at 10 docu-ments (P@10) evaluation measures obtained with the con-figuration Conf1 (without query filtering and without query expansion) and the configuration Conf2(with query filtering and without query expansion). As we can see, filtering the query terms with the stop-adjective list improves the MAP values, but surprisingly nor the MRR neither the P@10. The choice of filtering the adjectives may be not the most effec-tive way to deal with noisy terms.

Configuration MAP MRR P@10 Conf1(q, No QE) 0.0266 0.1478 0.0464 Conf2 (qf, No QE) 0.0309 0.1436 0.0393 Table 2: With vs without query filtering

4.2

Personalized Query Expansion (with

fil-tering)

Figure 1 reports the MAP effectiveness over the number of word embeddings. As we can see, in most of the cases the non personalized approach outperforms the personalized approach. The personalized approach shows a better result only when the word embeddings are limited to the top-2 terms. We also remark that both the two approaches un-derperfom the filtered non expanded approach Conf2, which shows that inadequate words are added. For Conf3, we see that adding more that 8 terms lead to better results, which is not really the case to the personalized configuration Conf4 where the MAP evolution is quite flat. In this case, no added term seems to play a positive role.

Figure 1: Non Personalized vs Personalized Query Expansion (with filtering)

4.3

Personalized Query Expansion (without

fil-tering)

The figure 2 reports the MAP value evolution over the number of word embeddings for the configurations Conf5 (non personalized query expansion, without filtering) and the Conf6 (personalized query expansion, without filtering). As we can see, in most of the cases, the non personalized approach outperforms the personalized one. However, these two curves in figure 2 behave quite differently: the person-alized approach is better only when adding the top-1 and top-2 words, leading to consider that the first two person-alized terms are interesting, whereas the non personperson-alized expansion behaves better and better as the number of terms increases, leading to consider that “good” terms (according to the user) appear in the non personalized case.

4.4

Discussion

The figure 3 reports the MAP value over the number of word embeddings for the six configurations. As we can see, the results of the configurations: 1) Conf3 and Conf5, and 2) Conf4 and Conf6 are quite similar.

(5)

Figure 2: Personalized Query Expansion (without filtering)

Figure 3: All Configurations together

(Conf1 and Conf2) have still the best results, and outper-form all the configurations with query expansion (i.e. Conf3, Conf4, Conf5 and Conf6).

As presented above, in most of the cases, the expanded approach fails to improve results. We may explain these re-sults by the quality of the corpus. In fact, the documents collection describes the reviews of users for books. There-fore, it’s still difficult to extract the context of terms and select the similar terms in the similar context.

The personalized Word Embedding fails to improve the results comparing to any configurations. We first can ex-plain the results by the same quality problem than for the documents collection. In fact, the user is represented by the documents that appear in his catalog. So, these documents present the reviews of the user about the books. Secondly, the learning of word2vec is effective if a large amount of data is available. However, the users’ profiles correspond to short documents. Therefore, the amount of learning data may not reach the limit under which no convergence is pos-sible for word2vec.

5.

CONCLUSION

The focus of this paper was to study the integration of word embeddings for the Social Book Suggestion task of CLEF 2016, according to non-personalized and to person-alized query expansion.

We found that the nature of the queries poses a great chal-lenge to an effective use of Word Embedding in this context. Future works may help to better understand this behavior.

The second point is related to the fact that the personal-ization using word embeddings did not lead to good results. The reasons could be multiple: the quality of the descrip-tion of the user’s profiles, the lack of data that we get to describe the profile which does not allow word embeddings to be used effectively. Here also, future works may help to find solutions to these problems. Especially, is it possible to counteract this limitation by adding other inputs (user neighbors for instance)? This question is largely open for now.

Acknowledgements. This work is supported by the ReSPIr project of the r´egion Auvergne Rhˆone-Alpes.

6.

REFERENCES

[1] M. Almasri, C. Berrut, and J. Chevallet. A comparison of deep learning based query expansion with pseudo-relevance feedback and mutual

information. In European Conference on IR Research, ECIR 2016, Padua, Italy, pages 709–715, 2016. [2] S. Deerwester, S. T. Dumais, G. W. Furnas, T. K.

Landauer, and R. Harshman. Indexing by latent semantic analysis. Journal of the American Society for Information Science, 41(6):391–407, 1990.

[3] D. Ganguly, D. Roy, M. Mitra, and G. J. Jones. Word embedding based generalized language model for information retrieval. In Conference on Research and Development in Information Retrieval, SIGIR’15, pages 795–798, New York, USA, 2015.

[4] Y. Goldberg and O. Levy. word2vec explained: deriving mikolov et al.’s negative-sampling

word-embedding method. CoRR, abs/1402.3722, 2014. [5] Y. Kim. Convolutional neural networks for sentence

classification. CoRR, abs/1408.5882, 2014.

[6] M. Koolen, T. Bogers, M. G¨ade, M. A. Hall, H. C. Huurdeman, J. Kamps, M. Skov, E. Toms, and D. Walsh. Overview of the CLEF 2015 social book search lab. In Conference and Labs of the Evaluation Forum, CLEF’15, pages 545–564, Toulouse, France, 2015.

[7] T. Mikolov, K. Chen, G. Corrado, and J. Dean. Efficient estimation of word representations in vector space. CoRR, abs/1301.3781, 2013.

[8] E. Nalisnick, B. Mitra, N. Craswell, and R. Caruana. Improving document ranking with dual word embeddings. In Conference Companion on World Wide Web, WWW’16 Companion, pages 83–84, Monteal, Quebec, Canada, 2016.

[9] I. Ounis, G. Amati, V. Plachouras, B. He, C. Macdonald, and C. Lioma. Terrier: A High Performance and Scalable Information Retrieval Platform. In SIGIR’06 Workshop on Open Source Information Retrieval, OSIR’06), 2006.

Références

Documents relatifs

We now generate ∆, the contribution of recommender system, using as input, for each primary user: (1) the rank ordered list of similar users, (2) the similarity score of each

We compare the perceived usefulness of general descriptions, publication metadata, user reviews and tags in focused and open-ended search tasks, based on data gathered in the

In this approach four parameters have to be fixed : The number x of top ranked books used to build the query’s tag profile, the weight given to each tag in query’s profile,

The notion of using a source to obtain information is captured in PMLs SourceUsage class, which serves to record the event of information assertion that can also be a general case

This paper describes our approach on “Information Extrac- tion from Microblogs Posted during Disasters” as an attempt in the shared task of the Microblog Track at Forum for

We are de- scribing in this paper our participation to Task 3: Patient-Centered Information Retrieval which aims to evaluate the effectiveness of information retrieval sys- tems

i Need more books”, “Can you recommend a good thesaurus?”, “New releases from authors that literally make you swoon...” or “Favorite Christmas Books to read to young

Figure 3, 4, 5 shows the architecture of our system. The preprocessing module includes stop-word filtering and stemming. We use an open source search engine, Lucene, as our