Showing posts with label research. Show all posts
Showing posts with label research. Show all posts

2/23/2009

Prototype!!!!

I just finished my prototype last night
(I shall finished it earlier, but I am just too lazy~"~)

try this online

the data set is the abstract of the vis week papers during 1990 to 2008.


2/09/2009

Sankey Diagram

在我苦思好久怎麼解決表現relationship問題的時候

偉大的Chris提出了一個超棒的想法:Sankey Diagram

剛好可以解決我的問題!!!


然後他說我的東西結合Sankey Diagram大概就像Theme River結合Sankey Diagram

應該還滿有價值的(撒花花~~)

但是我最好不要讓它變得太application

朝這兩個圖的概念結合起來應該是比較可行的方向!!(筆記)

12/22/2008

Google Distance

paper: link
My presentation slides: link 

(p.s. 紅色部份是我還是非常不了解的地方)
這篇paper讓我覺得很有趣的地方是它用了資訊理論的encoding概念去計算出term 的semantic 關係。往常在semantic組討論到的大致上不外乎是based on  "ontology are us "的方法,藉由tag 跟tag 的co-occurence關係推論出tag跟tag間的relation。

在開始提什麼是google distance之前,要先複習一下一些編碼基礎,因為我沒有修過計算理論(汗顏) 所以我只能先就我了解的部份還有與這篇paper相關的部份大概說明一下。

第一個要提到的概念是entropy,在information theory 中,亂度越大,表示需要用越多byte去描述它。

而我們的目標是要想辦法找出一個編碼方式,用盡可能短的資料量來描述我們的data。在此,有一個名詞叫Kolmogorov complexity(詳細說明請見wikipedia 中文 英文),它表示了對一個字所需的資料量。我們需要注意的是為了達到盡可能少的資料量,越常出現的東西,就應該用盡量短的編碼來描述它。另外,在編碼時我們還需要計算不同term之間的distance,也就是Information Distance , E(x,y)。它被定義成: 
E(x,y) = K(x,y)-min(K(x),K(y))
p.s. 這邊我暫時查不到為什麼要算編碼,剛剛請教學姊的結果,學姊也只說印象中似乎是encoding跟decoding的過程中要用到

另外我還可以Normalized distance,使得E界於0~1之間:
Normalized Information Distance = [K(x,y)-min(K(x),K(y))] / max(K(x),K(y))
(p.s. 這邊的距離指的是編碼後兩個term距root的距離,理論上相關的字會被放在附近)

但是因為Kolmogorov complexity需要global的data,在實際情況下無法直接計算,所以我們可以用某個可以計算的Compressor, C來取代。在這裡可以想像我們是用了抽樣的方式來間接的取得K(x)的值。

抽樣的方法有很多,這篇paper提出的方式就是把整個WWW當作一個超大的database,然後利用google來做抽樣的工作。所以把C換成google之後,對一個term, x 它出現的mass probablity function , L(x)  = |x|/M,   (M = |Omega|  , Omega = Univeral. ) 
接下來我們可以去算2個term, x & y共同出現的機率。

定義Google Code(why they defined the form??)
G(x) = G(x,x) , G(x,y) = log 1/g(x,y)
g(x) = g(x,x), g(x,y) = L(x and y) M /N = |x and y|/M

就可以得到
Normalized Google Distance = [G(x,y)-min(G(x),G(y))]/max(G(x),G(y))

但是算出這個要怎麼知道(確定)這個距離跟semantic意思有關呢?在paper 裡面並沒有直接提到,不過它們將這個距離與WordNet比較,發現有87%的相似度!!!比較的方法如下:
先從wordnet裡面挑部份字跟category出來,計算它們的similarity後用SVM train model,train好了以後再另外丟新的字下去分類,再看看是否分得正確。

11/24/2008

The problem should always asked...

what is infovis 
what is the difference between infovis and visualization
how visualization can help us

10/08/2008

Filtering

隨著餵進去的資料越來越多
我發現force-directed的limitation已經出現了

丟了900個點,跑起來超級慢T.T
因為900個點畫出來也很亂,所以好的作法是node進來要先作簡單的filtering
把node的個數filter到適合畫面呈現的node數


不過現在對filtering還沒有想法,還是要乖乖再去survey一下!

9/23/2008

attribute to be displayed

1. weight
2. degree
3. relation(belongs to, relates to)

改版demo

Demo link

覺得還是flash做出來的效果比java好,所以就把程式改成flash版了

不過初版還少很多東西

1. clustering algorithm →不知道用哪一個clustering比較好,目前implement的很沒有效率,點多很容易就炸,但我又要限制在3組內儘可能大…所以實在不知道要用哪一個演算法比較好

2. group issue → 想要有階層架構,如果單就一個人的tag的資料來呈現,hierarchy的效果不是那麼明顯,但如果使用group的階層又怕會有一字多義造成階層錯誤的情況。

3. remove overlap: 參考[Using Spring Algorithms to Remove Node Overlapping] 的作法來移除重疊的點。這篇主要的原理是以變動的k來調整edge的長度


4. 另一大目標:標示出"使用者自訂字",例如我自己會把課程網站都加上一個標籤叫course,把研究相關的都加上一個research,要怎麼從tag裡面找到這種對使用者有特別意義的詞呢?


9/18/2008

result - for more tags

寫好了界接delicious的版本
暫時不會再有sample量太小的問題,但卻出現了更大的問題T.T



只有86個點,看起來還ok



100個點看起來也還可以接受



209個點畫面就已經爆掉了


所以接下來要調整的目標應該是把部份tag再做clustering
目前有兩個方向:
一是直接對data作處理!這邊應該要往semantic來做:

二是對graph作處理,上次剛好有找到一篇相關的paper:
A Framework of Filtering, Clustering and Dynamic Layout Graphs for Visualization

semantic的話應該要結合conceptNet跟之前學姊們parse下來的delicious data
graph的話就要先念完paper才知道可不可行了,雖然它在introduction裡有提到他們寫好一個demo的framework, 但google卻沒有相關的resource可以先測試效果好不好。

不過目前最想先做的是把現在的版本重新implement成flex版,然後一些之前偷懶用人家已經implement好的資料再tune過,之後要繼續發展才會更迅速。

9/17/2008

Brief Summary of What I am goint to do

I would like to focus my study on "Tag querry visualization". In fact, most tag querry system such as word cloud doesn't really match human's need. When the number of tag increases, the more difficult to find out the exact document via tag. 

Therefore, I wish the query system must be based on "The strategy of Human Tag". 
So, it's more about psychology, and I'm going to take the couse this semester. 

Moreover, i would like to display tags with their relation.  The relation may be based on semantic meaning. Therefore, machine learning is also important class to take for me. 

Finally, to render the view,  I'll need to learn more about graph drawing. 

These are three main task for me in this semester. 

7/30/2008

MA Reading Memo 7/30

Intelligent Techniques for Web Personalization(link)
使用者不用明確說出他們的需求,就可以提供使用者所需的資訊

The Personalization Process

數學符號代表:
Assume
n Items, each can be described as a s dimensional vector, i(j) : { b(j,1), b(j,2), ..., b(j,s) }
m Users,each can be described as a t dimensional vector, u(k): {a(k,1), a(k,2),..., a(k,t) }
I(u,k) : 沒有被User u(k) rated過的item集合
I(r,k) : 已經被User u(k) rate 過的item集合
The goal is to suggest Item i(j) belongs to I(u,k) and would interest User u(k).

Step:
  1. Collect Data:
    ‧data 必須是attributable
    ‧web上收集的資料往往包含許多需要被去除的noise
    ‧在IBM的分析中,發現user往往會願意多填一些資料,來提高系統的準確性。
  2. Build user-centric data model : 有很多方法可以表示data model,ex. vector, ontology, aggregate usage profile, ...
  3. Evaluation: 常用converage, mean absolute error及ROC sensitvity。
  4. Deployment: 常見有scalability的issue,希望可以real-time產生recommendation。
  5. all steps need to be monitored

通常推荐的方式可以分成兩大類:
Prediction Task:預測其他未被user rate過的item的rate值
Selection Task: 選擇N個最相關且未被rate過的item給user

Classifications of Approaches to Personalization
Individual Vs Collaborative

  1. Individual : 使用content-based filtering systems,用item的內容及user自己的rate來推荐。
    優點:可以建構在client side,因此比較不會有privacy issue
    缺點:完全based on使用者自己之前的推荐,不會有"意外"發現其他interest的可能,而且必須確保推荐過的item本身可以access到。
  2. Collaborative: collaborative(Social) filtering,不使用item的內容,而使用user及其neighborhood的rate來決定是否推荐一篇article
    缺點:new item and new user rating problem
    優點:參考individual的缺點XD
Reactive Vs Proactive
  1. Reactive:需要user提供feedback,例如:rate所推荐的東西是不是符合需求。
  2. Proactive: user的feedback並不是影響推荐item的主因,它用其他"學"到的information來做推荐,如amazon。
User Vs. Item Information

  1. Item Related Information: 包含item descriptions 及 product/ domain ontology,通常用來處理unstructured data與item 的關聯。ex. 用keyword來描述document.
  2. User Related Information: 包含rating record, past user behaviour,少部份會採用demographic data(不易收集,且較item-based及user behavior不精確。)
  3. Hybrid: 因為兩個各有優缺點,所以有些system兩種方式都同時採用。

Memory Based Vs. Model Based

  1. Memory Based(lazy learning): 在query 進來當下才generalize(online)
    ex. 傳統CF及content based filtering
    缺點:scalability
    優點:可以反映user interest的變化
  2. Model Based(eager learning):在query進來之前已經建好model(offline)
    ex. item-based CF

Client Side Vs Server Side

  1. Client side: 資料儲存在client端
    缺點:只適用Individual model
    優點:可以在不同web site access data(但也要先知道怎麼拿client side的資料才行啊!)
  2. Server side: 資料儲存在server端
    優點:適用 Individual model及Collaborative Model,而且拿自己存的資料比較容易

Data

  • Explicit data: 因為是user自己提供的,有時user會考量到privacy issue而提供較不精確的資料。
  • Implicit data: 比較容易觀察到positive的Info,但negative observation往往很有用
    (ex. last.fm上次討論到的一首歌才聽了一下就換下一首歌,不過last.fm沒有紀錄下來)

Personalization Techniques

Issues
(一些比較trivial的我就直接略過了)

The Cold Start and Latency Problem

  1. New user problem: 新進使用者沒有history資料
  2. Cold Start problem:在collaborative system initial時,所有的user都沒有history
  3. New item (Latency) problem: 新的item缺乏rating資料

解決方法是利用Hybrid來取得一些額外的information

Data Sparseness
Item的數量會稀釋了user history data 佔總量的百分比 造成難以尋找similar user
解決方法:Item partitioning (domain specific)、Item clustering、Gauge set of items(指定某些必須要rate的item) ,簡單的說就是使用替代資料(domain, cluster)取代item。

Scalability:
user及item的數量太大,而使得memory based system無法負荷

Privacy


Recommendation List Diversity
:
研究顯示diversification有positive effect(accuracy不高也沒關係),所以該如何在diversity與accuracy之間取得平衡?

Adapting to User Context:
無法將user與系統的previous interactions視為context也無法explicitly measure context,

Using Domain Knowledge
Managing the Dynamics in User Interests
Robustness
Trust

Evaluation of Personalization Systems

User Satisfaction: ex.
  • RFM: Recency- When was the last order? , Frequency - How many orders have they placed with us? Monetary Value - What is the value of their orders?
  • life-time value
  • recommendation uptake
Accuracy: ex.
Coverage: 推荐系統可以推荐出的universe 的百分比
Utility: ex. novelty
Explainability:
Robustness: prediction stability, power of an attack
Performance and Scalability: response time

7/29/2008

OntoVis

website: link
paper: link

這是馬匡六教授在2006年IEEE Transactions on Visualization and Computer Graphics中發表的一套系統。

以social network為例,傳統的social network圖中, 往往使用Node表示actor,edge表示relationship,node上或edge上的attribute則是運用色彩、大小…各種屬性來比較。這種方法在分析attribute上的種類數量少時,非常的清楚(如圖1),然而一旦種類多了,就會讓畫面看來顯得凌亂,而且容易混淆!


圖1:利用顏色呈現各node的群組關係(圖片為我之前做tag cloud的測試設計圖)


而馬教授提出的以虛擬點呈現attribute的作法卻可以解決這個問題。對Ontovis(馬教授開發的系統)而言,attribute的value可以是一個"virtual node"。舉例而言,假定我們有4個組織的資訊,當我們想要看出有幾個組織位於希臘,那可以把"希臘"這個所在地的value設為一個virtual node,而得到圖2,從圖2可以看出來,4個組織都與Greece的node相連,可見這4個組織都位在Greece。


圖2: Greece與4個組織相連。


這種作法同時結合了filtering,還可以同時清楚的了解屬性間的異同,例如同上面的例子,我想要知道在Greece中的組織,有哪些分別是屬於anti-globalization及Leftist,我可以分別將這兩個attribute及Greece加入virtual node中,然後透過edge的關聯找出我想要的資訊。(p.s.這個例子跟paper中提及的figure 1(c)有些微不同,paper中例子的目的是要找出相異的attribute,而這個例子則是要找出有A屬性的Node們,在B屬性的分佈狀況)



此外,在Social Network中,常常會有兩個node間有多條Path可達,為了方便分析,圖3將一些不相關的node filter掉,僅保留相關的node們的資訊




圖3 將多餘的info 移除前後比較

OntoVis另外一個特色是利用Node的大小表現"Connectivity",因為這也是Social network中很常用來判斷一個節點的importance。因為OntoVis的Layout採用FDL,然而FDL並未考慮到Node size,所以他有使用一些refinement來處理tag的overlapping

7/23/2008

MA Reading Memo 7/23

Tag-based Social Interest Discovery (paper)
->證明user-generated tag比keyword 好用

目前在social network中 discover interests的方法:
 (1) user-centric: 從user的relation上找到common的object,如:facebook

 (2) object-centric: 從global的network中找到所有有common object,如:del.icio.us
 在object-centric中,relation的關係可能很弱或不明顯

資料來源:del.icio.us,430萬筆tag,20萬個user,140萬筆URL(過濾掉非英語及非HTML file的object)
分析發現:
1. [figure 1]大部份的url只會被少數人bookmark,只有少部份的URL比較popular
2. [figure 2]大部份的user很不主動(一般人僅有少於30個的bookmark)
3. [figure 3]user會選擇的tag有高度集中性(i.e.有Popular Tag)
4. [figure 4, 5] Tag 在過濾掉一些noise(ex. idf 太高的值)之後,可以的cover大部份的keyword
5. [figure 6] tag數量雖然會隨著bookmark此URL數量的增加而增加,但過一定數字後就會趨向一個穩定的數字
6. [figure 7] tag 可以cover document的比率,40%的網頁內容可以被tag完全cover(顯示大部份user還是傾向於從文章中取出相關字來做tag)
7. ISID(Internet social interest discovery) clustering:
對所有Post,找出裡面含有同樣topic(tag set)的user set 跟url set
8. [figure 9,10] 分別用tag 及keyword 來跑ISID clustering後的結果發現,用數量比較少的tag仍然可以有接近keyword的效果,所以顯示用tag來代替keyword search應該是make sense的!

Some Questions Dicussed Today
1. for figure 1,2,3 : the definition of the x-axis and y-axis is confused.
2. the definition of support in this paper is wrong. correct definition list belowed(referenced: wiki)

Association rule learning (link on wiki)
ex. 去超市買東西時:買了{洋蔥,馬鈴薯}→也會買{牛肉}

基本名詞定義:
Definition: X => Y , where X,Y包含於I and X∩Y = Φ
(Assume I = collection of n items, D = collection of m transactions)

SUPP(X) = X/m ,在m次transaction中,出現X狀況的機率
Conf(X=>Y) = SUPP(X∪Y)/SUPP(X) : Confidence, 在 X發生時,發生X∪Y的機率
lift(X=>Y) = SUPP(X∪Y) / [SUPP(X) * SUPP(Y)]
Conv(X=>Y) = [1-SUPP(Y)]/ [1-Conf(X=>Y)]

7/20/2008

List

Vizster, UCINet, JUNG, GUESS, Prefuse, Pajek

Social Network Engine Comparison
http://en.wikipedia.org/wiki/Comparison_of_social_networking_software

Vizster



Vizster是一套專門用來呈現Social Network 的Visualization tool,其特色如下:
1. 用2D的Force Directed Layout 來表現Social Network,
2. 可以觀測egocentric的SN
3. 提供即時的群組分析(可以指定群組的大小),群組演算法 - Newman’s community identification algorithm
4. 提供搜尋功能,可以尋找特定Node或attribute
5. X-Ray Mode:呈現不同屬性的比較
6. Accessibilty:
(1) 標示出有相連的節點
(2) 找出任兩個節點相通的中繼點




Egocentric View



X- Ray Mode: 用節點的顏色呈現各節點同一屬性值的比較


Cluster - 自動分群,將同一群組以同色背景呈現


顯示任兩節點間的中繼點

Demo 影片:http://www.cs.berkeley.edu/~jheer/vizster/vizster.wmv

★My Comments

1. 一次只針對同一個attribute的比較
2. Cluster雖然可以動態的決定群組大小,但是一般user很難明確知道自己想要分的群組範圍,所   
 以必須把各個size都試過後才能決定
3. FDL沒有解決節點重疊的問題
4. 呈上,因為FDL位置的重疊 與 群組用底色呈現,導致有些節點在視覺上被誤判群組
5. 沒有解決 multi-group的問題

7/13/2008

Watching Your Work

從 Social Media Research Blog 看到的
http://www.typepad.com/t/trackback/2871784/31192558


總是覺得自己的時間不知道為什麼就不見了嗎?試試用這支script看看平常的自己到底都在幹什麼吧!我猜我自己的一定就是在日劇跟笨版間不見的~>.<~







P.S. 它是用python寫的唷

7/08/2008

Many eyes

http://services.alphaworks.ibm.com/manyeyes/app

Manyeyes提供了不同的visualization views, 讓使用者可以上傳檔案(檔案格式),建立自己的Visualizations。雖然現在網路上有很多類似的visualization tools,但是目前survey到的很少有整合這麼多visualizations。


這個網站是IBM實驗室的產物,所以他們也根據使用者上傳的資料型態,選擇的visualization tools…等做了個分析,投稿在2007 IEEE Infovis上[Many Eyes: A Site for Visualization at Internet Scale]。

7/02/2008

Memo of Social Network

KeyTerms

CF
http://en.wikipedia.org/wiki/Collaborative_filtering

TFIDF
http://en.wikipedia.org/wiki/TFIDF

7/01/2008

Brief Memo of MA Reading 07/02

1. Baumann, S., Bassoli, A., Jung, B., & Wisniowski, M. (2007). BluetunA: Let Your Neighbour Know What Music You Like. Conference on Human Factors in Computing Systems (CHI '07) (pp. 1941-1946). San Jose, CA, USA: ACM.


  • Exchange music info via bluetooth
  • Instead of exchange music file, such as mp3, wma...
  • BlutetunA exchange Only playlist, favorite song list
  • "People may be glad to share those info to find someone near by to talk"
  • "less Private Issue" - No ID info.

→ I think that making a face-to-face talk is more offened @"@