Shan-Hung Wu 吳尚鴻

Associate Professor, CS, NTHU
Email: shwu [AT]
Phone/Fax: +886-3-5742961, Office: Delta 603
Address: No. 101, Sec. 2, Kuang-Fu Rd., Hsinchu, Taiwan 30013


  • The website for the course CS565600 Deep Learning is now online.

  • Our NIPS'16 Spotlight Video is out.

  • Our latest research results appear in NIPS'16 and SIGMOD'16. Congratulations to DataLab members!

  • My lab is recruiting graduate students who have passion in:

    • (Deep) Machine Learning;
    • Big Data Management;
    • App Startup & Growth Hacking.

    Prospective students are welcome to have a discussion with me to better understand our topics and projects. Please send me an email with your resume (including your transcript and past projects) first to arrange the meeting time.


I am currently an associate professor at the Department of Computer Science, National Tsing Hua University (NTHU), Taiwan. Since 2016, I also serve as Division Director for the Division of Academic Information System, Computer & Communication Center of NTHU. My research interests include:

  • Machine Learning (in particular, Transfer Learning);
  • NewSQL Database Systems and Big Data Management;
  • App and Web Intelligence.

I received the Ph.D. degree in Electrical Engineering from the National Taiwan University, Taiwan (2005/09 - 2009/02). Before joining NTHU in 2010, I was a senior research scientist at Telcordia Technologies Inc. (formerly Bellcore) during 2004 and 2010.

I am also a programmer. At my leisuref, I write of some interesting software.


See DBLP for the boring list of my publications.

Machine Learning

  • Ting-Yu Cheng, Kuan-Hua Lin, Xinyang Gong, Kang-Jun Liu, and Shan-Hung Wu, "Learning User Perceived Clusters with Feature-Level Supervision," in Advances In Neural Information Processing Systems (NIPS), December 2016

    * NIPS is a top conference in the field of Machine Learning.

    Semi-supervised clustering algorithms have been proposed to identify data clusters that align with user perceived ones via the aid of side information such as seeds or pairwise constrains. However, traditional side information is mostly at the instance level and subject to the sampling bias, where non-randomly sampled instances in the supervision can mislead the algorithms to wrong clusters. In this paper, we propose learning from the feature-level supervision. We show that this kind of supervision can be easily obtained in the form of perception vectors in many applications. Then we present novel algorithms, called Perception Embedded (PE) clustering, that exploit the perception vectors as well as traditional side information to find clusters perceived by the user. Extensive experiments are conducted on real datasets and the results demonstrate the effectiveness of PE empirically.

    PDF Sup. Dataset

  • Yan-Fu Liu, Cheng-Yu Hsu, and Shan-Hung Wu, "Non-Linear Cross-Domain Collaborative Filtering via Hyper-Structure Transfer," in Proc. of the 32nd Int'l Conf. on Machine Learning (ICML), July 2015

    * ICML is a top conference in the field of Machine Learning.

    The Cross Domain Collaborative Filtering (CDCF) exploits the rating matrices from multiple domains to make better recommendations. Existing CDCF methods adopt the sub-structure sharing technique that can only transfer linearly correlated knowledge between domains. In this paper, we propose the notion of Hyper-Structure Transfer (HST) that requires the rating matrices to be explained by the projections of some more complex structure, called the hyper-structure, shared by all domains, and thus allows the non-linearly correlated knowledge between domains to be identified and transferred. Extensive experiments are conducted and the results demonstrate the effectiveness of our HST models empirically.

    PDF Sup.

  • Shan-Hung Wu, Hao-Heng Chien, Kuan-Hua Lin, and Philip S. Yu, "Learning the Consistent Behavior of Common Users for Target Node Prediction across Social Networks," in Proc. of the 31st Int'l Conf. on Machine Learning (ICML), June 2014

    In this work, We study the target node prediction problem: given two social networks, identify those nodes/users from one network (called the source network) who are likely to join another (called the target network, with nodes called target nodes). Although this problem can be solved using existing techniques in the field of cross domain classification, we observe that in many realworld situations the cross-domain classifiers perform sub-optimally due to the heterogeneity between source and target networks that prevents the knowledge from being transferred. In this paper, we propose learning the consistent behavior of common users to help the knowledge transfer. We first present the Consistent Incidence Co-Factorization (CICF) for identifying the consistent users, i.e., common users that behave consistently across networks. Then we introduce the Domain-UnBiased (DUB) classifiers that transfer knowledge only through those consistent users. Extensive experiments are conducted and the results show that our proposal copes with heterogeneity and improves prediction accuracy.

    PDF Sup.

Big Data Management and NewSQL Database systems

  • Shan-Hung Wu, Tsai-Yu Feng, Meng-Kai Liao, Shao-Kan Pi, and Yu-Shan Lin, "T-Part: Partitioning of Transactions for Forward-Pushing in Deterministic Database Systems," in Proc. of the 2016 ACM Int'l Conf. on Management of Data (SIGMOD), June 2016

    * ACM SIGMOD is a top conference in the field of Database Systems and Big Data Management.

    Deterministic database systems, a type of NewSQL database systems, have been shown to yield high throughput on a cluster of commodity machines while ensuring the strong consistency between replicas, provided that the data can be well-partitioned on these machines. However, data partitioning can be suboptimal for many reasons in real-world applications. In this paper, we present T-Part, a transaction execution engine that partitions transactions in a deterministic database system to deal with the unforeseeable workloads or workloads whose data are hard to partition. By modeling the dependency between transactions as a T-graph and continuously partitioning that graph, T-Part allows each transaction to know which later transactions on other machines will read its writes so that it can push forward the writes to those later transactions immediately after committing. This forward-pushing reduces the chance that the later transactions stall due to the unavailability of remote data. We implement a prototype for T-Part. Extensive experiments are conducted and the results demonstrate the effectiveness of T-Part.


App and Web Intelligence

  • Shan-Hung Wu, Man-Ju Chou, Chun-Hsiung Tseng, Yuh-Jye Lee, Kuan-Ta Chen, "Detecting In-Situ Identity Fraud on Social Network Services: A Case Study on Facebook," in IEEE Systems Journal, to appear

    With the growing popularity of Social Networking Services (SNSs), increasing amounts of sensitive information are stored online and linked to SNS accounts. The obvious value of SNS accounts gives rise to the identity fraud problem--unauthorized, stealthy use of SNS accounts. For example, anxious parents may use their children's SNS accounts to spy on the children's social interaction; or husbands/wives may check their spouses' SNS accounts if they suspect infidelity. Stealthy identity fraud could happen to anyone and seriously invade the privacy of account owners. However, there is no known defense against such behavior when an attacker, possibly an acquaintance of the victim, gets access to the victim's computing devices. In this paper, we propose to extend to use of continuous authentication to detect the in-situ identity fraud incidents, which occurs when the attackers use the same accounts, the same devices and IP addresses as the victims. Using Facebook as a case study, we show that it is possible to detect such incidents by analyzing SNS users' browsing behavior. Our experiment results demonstrate that the approach can achieve higher than 80% detection accuracy within 2 minutes, and over 90% after 7 minutes of observation time.


  • Shan-Hung Wu, Ching-Chan Wu, Wing-Kai Hon, and Kang G. Shin, "Rendezvous for Heterogeneous Spectrum-Agile Devices," in Proc. of the 33rd Int'l Conf. on Computer Communications (INFOCOM), April 2014

    * IEEE INFOCOM is a top conference in the field of Networking and Applications.

    Cognitive radio (CR) is intended to meet the exponentially growing demand for spectrum by allowing for opportunistic utilization of idle legacy channels. Rendezvous, where two radios complete handshaking in an idle channel, is a key step for “stranger” (unknown to each other) CRs to start communication. However, none of existing algorithms guarantee rendezvous for heterogeneous or stranger CRs with different spectrum-sensing capabilities, in spite of the fact that (i) a wide variety of mobile devices are equipped with heterogeneous radios and (ii) there are numerous applications requiring efficient rendezvous for heterogeneous radios/CRs. In this paper, we propose a new channel hopping algorithm, called Heterogeneous Hopping (HH), that guarantees rendezvous without assuming existence of a universal channel set that can be sensed by all radios. HH is realized with a two-layer design that harmonizes the fixed-short-cycle and parity-alignment techniques we propose here, in order to guide CRs to rendezvous in two complementary situations resulting from the different capabilities of mobile wireless devices. To best of our knowledge, HH is the first channel-hopping scheme that guarantees rendezvous between heterogeneous radios. Our in-depth evaluation has shown HH to be significantly faster than simple extensions of existing schemes. Moreover, the latter cannot guarantee successful rendezvous, either.


Professional Activities


  • Program Chair of the 21st International Conference on Extending Database Technology (EDBT) Demo Track, March, 2018
  • PC member of the 2017 ACM Int'l Conf. on Information and Knowledge Management (CIKM)
  • PC member of the 2017 ACM Int'l Conf. on Management of Data (SIGMOD) Demo
  • Program Chair of the 2016 Conference on Technologies and Applications of Artificial Intelligence (TAAI), November 2016
  • PC member of the 2014 International Conference on Computing, Networking and Communications (ICNC), February 2014
  • PC member of the 2013 Conference on Technologies and Applications of Artificial Intelligence (TAAI), December 2013
  • PC member of the 33rd International Conference on Distributed Computing Systems (ICDCS), July 2013
  • PC member of the 9th International Conference on Mobile Web Information Systems (MobiWIS), August 2012
  • PC member of the 10th IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA), July 2012
  • PC member of the 9th IEEE International Symposium on Parallel and Distributed Processing with Applications (ISPA), May 2011
  • PC member of the 1st Doctoral Symposium on Data Mining (DSDM), in conjunction with the 15th Pacific-Asia Conference on Knowledge Discovery and Data Mining (PAKDD), May 2011
  • Reviewer of NIPS, ICML, KDD, CIKM, ICDM, PVLDB, ICDE, INFOCOM, SODA, ICDCS, MM, to name a few


  • "Big Data behind Small Apps," in AI Forum 2016, AEARU-CSWT 2016

    The marketplace for mobile apps is very crowded and competitive today. Many developers take the "start from small" strategy to gradually acquire the early adopters from a niche and find the product-market-fit. However, this strategy leads to some general misconception that gaining popularity requires the founders to have profound experience in marketing and/or resources.

    In this talk, I share my personal experience in running some apps using a scientific approach speaking above the data collected by the apps. Technically, we found that some of the data analysis tasks are more challenging than the well-known "V's" barriers of big data analytics. Commercially, we show that innovative execution/marketing strategies aided by specialized machine learning techniques are a key for driving unfair business advantage.


  • "Asymmetric Support Vector Machines: A Tutorial," in AI Forum 2010

    This is a tutorial of my work published in KDD'08. Many practical applications of classification require the classifier to produce a very low false-positive rate. Although the Support Vector Machine (SVM) has been widely applied to these applications due to its superiority in handling high dimensional data, there are relatively little effort other than setting a threshold or changing the costs of slacks to ensure the low false-positive rate. In this paper, we propose the notion of Asymmetric Support Vector Machine (ASVM) that takes into account the false-positives and the user tolerance in its objective. Such a new objective formulation allows us to raise the confidence in predicting the positives, and therefore obtain a lower chance of false-positives. We study the effects of the parameters in ASVM objective and address some implementation issues related to the Sequential Minimal Optimization (SMO) to cope with large-scale data. An extensive simulation is conducted and shows that ASVM is able to yield either noticeable improvement in performance or reduction in training time as compared to the previous arts.



  • New Faculty Research Award, NTHU, 2015
  • Outstanding Research Award, EECS, NTHU, 2014
  • Outstanding Teaching Award, EECS, NTHU, 2013
  • IBM Ph.D. Fellowship Award, 2008 (70/575 worldwide)
  • Microsoft Student Elite, 2003 (in representative of National Taiwan University)
  • Silver Medal, MobileHero Software Contest, Industrial Development Bureau, Ministry of Economic Affairs, Taiwan (awarded NT$500,000)


Teaching is my first priority. I spent lots of time on preparing the course materials and wish every student can get the best of the topics covered. Therefore, most of my courses give heavy loads. Please make sure you reserve enough time before taking them. If you have any question or suggestion about my courses, please feel free to send me an email.


  • Deep Learning

    This class introduces the concepts and practices of deep learning. The course consists of three parts. In the first part, we give a quick introduction of classical machine learning and review some key concepts required to understand deep learning. In the second part, we discuss how deep learning differs from classical machine learning and explain why it is effective in dealing with complex problems such as the image and natural language processing. Various CNN and RNN models will be covered. In the third part, we introduce the deep reinforcement learning and its applications.

    This course also gives coding labs. We will use Python 3 as the main programming language throughout the course. Some popular machine learning libraries such as Scikit-learn and Tensorflow will be used and explained in detials.

    Fall 2017

  • Web & App Programming

    This course presents hands-on labs for students to be familiar with the web and app development process, techniques, and tools. Students are asked to build real, useful applications (websites and/or mobile apps) accessible to the public.

    The classes are divided into three parts. First, we give a primer to common web technologies such as HTTP, HTML, CSS, and Javascript. We cover different programming paradigms, including the OOP and functional programming. Handy tools such as Git are covered to get students familiar with the project-based and team-based development. In the second part, we introduce modern web development techniques such as React, Redux, Node.js, and Firebase and some reusable templates from Bootstrap and Reactstrap that speed up the development process. Last, we extend our horizon to the mobile development landscape by introducing the React Native. We also give case studies on how to leverage Machine Learning and Data Mining algorithms to convert raw user data into the app intelligence.

    Spring 2017

  • Cloud Databases

    This course provides an overview of the current database management systems in the cloud, and explains how they are different from traditional database systems. The goal is to get students familiar with some well-known implementations like NoSQL databases, Google BigTable, Google MegaStore, and Google Spanner etc., and more importantly, to help students make better decisions on the design tradeoffs when configuring/building their own database systems given a particular set of target applications (tenants) in mind.

    Spring 2017

  • Machine Learning (Advanced)

    This is an advanced course on machine learning. We will introduce the deep generative models and more engineering aspects of machine learning. In addition, we will cover the reinforcement learning and how it can leverage the game theory and deep learning to interact with the environments better.

    Detailed syllabus will be announced later.

    Past: Spring 2011-2012, Fall 2013-2015

  • App Entrepreneurship and Implementation

    Past: Spring 2013-2014


To members: please join this group first.

I am very lucky to be able to work with many smart and creative students in DataLab. Our lab locates at Delta 723 and 724. People are nice there (although busy sometimes). Please feel free to stop by and chat with us to know more about our projects.


I like to turn ideas into real things. At my leisure, I write code with my students to transform our research results into fun and easy-to-use software that benefits the general audience:


ElaSQL is a distributed relational database system prototype that aims to offer high scalability, high availability, and elasticity to the on-line transaction processing (OLTP) applications.


VanillaDB is a collection of simple-to-read, fast, and extensible database system components aiming to lower the barrier of new-system prototyping and/or learning the database internals.


Flora is an app that helps you stay focused on a task with your friends. It's a companion to the Forest app initiated by a former DataLab member Shao-Kan Pi.


  1. Shan-Hung Wu, Shao-Kan Pi, Thing-Yu Cheng, "Method and System for One-Time Connection," U.S. Patent App. No. US-14/710,599 (assignee: NTHU, pending)
  2. Shan-Hung Wu, Meng-Kai Liao, Shao-Kan Pi, Yu-Shan Lin, "Deterministic Database System and Data Transferring Method Thereof," U.S. Patent App. No. US-14/693,903 (assignee: NTHU, pending)
  3. Shan-Hung Wu, Cheng-Yu Hsu, You-Jhih Wong, "Method and Electronic Device for Rating Outfit," U.S. Patent App. No. US-14/601,256 (assignee: NTHU, pending)
  4. Shan-Hung Wu, Meng-Ren Chen, "Method, Server, and Apparatus for Lecture Feedback," U.S. Patent App. No. US-14/583,202 (assignee: NTHU, pending)
  5. Shan-Hung Wu, Shao-Kan Pi, Ting-Yu Cheng, "Electronic Apparatus and Soft Locking Method Thereof," U.S. Patent App. No. US-14/576,171 (assignee: NTHU, pending)
  6. Shan-Hung Wu, Chung-Min Chen, and Ming-Syan Chen, "An Asymmetric and Asynchronous Energy Conservation Protocol for Vehicular Networks," U.S. Patent, No. 8,428,514 (assignee: Telcordia Technologies Inc.)