Picture of Dan Fu

Dan Fu

Computer Scientist. Software Engineer. Ballroom Dancer.

About Me

I'm a first-year Computer Science PhD student at Stanford. I'm interested in doing research that brings cutting-edge systems research together with cutting-edge AI research. In the past, I've also done some research on influencing agents for flock formation. This fall, through Stanford's first-year rotation program, I'm working with Kayvon Fatahalian.

In 2018, I graduated from Harvard with an AB and an SM in Computer Science, cum laude with highest thesis honors. When I'm not working on school work or other projects, I spend most of my free time ballroom dancing.

Publications
Influencing Flock Formation in Low-Density Settings
Daniel Y. Fu, Emily S. Wang, Peter M. Krafft, Barbara J. Grosz
International Conference on Autonomous Agents and Multi-Agent Systems (AAMAS), 2018
Design of Influencing Agents for Flocking in Low-Density Settings
Daniel Y. Fu
Undergraduate Senior Thesis (Harvard University), 2018
Orexinergic Neurotransmission in Temperature Responses to Methamphetamine and Stress: Mathematical Modeling as a Data Assimilation Approach
Abolhassan Behrouzvaziri, Daniel Fu, Patrick Tan, Yeonjoo Yoo, Maria V. Zaretskaia, Daniel E. Rusyniak, Yaroslav I. Molkov, Dmitry V. Zaretsky
Published in PLOS ONE on May 20, 2015
Chaos and Robustness in a Single Family of Genetic Oscillatory Networks
Daniel Fu, Patrick Tan, Alexey Kuznetsov, Yaroslav I. Molkov
Published in PLOS ONE on March 25, 2014
Research
Influencing Agents for Flock Formation in Low-Density Settings, 2017-2018

In flocking, local sensing from individual agents results in collective behavior that appears coordinated. In the interest of learning how to control flocking behavior, recent work in the multiagent systems literature has explored the use of influencing agents for guiding flocking agents to face a certain direction. Existing work has large focused on simulation settings of small areas with toroidal shapes; in such settings, agent density is high, so interactions are common, and flock formation occurs easily. In this project, we study flocking environments with lower agent density with rarer interactions. We find that behaviors which have worked well in high-density conditions are often less effective in lower density environments. We use these insights to propose new influencing agent behaviors, which we dub “follow-then-influence”; agents act like normal members of the flock to achieve positions that allow for control and then exert their influence. We presented this work as a full paper at AAMAS 2018. In an undergraduate thesis, we also explored using genetic algorithms to evolve influencing agent behaviors. The code for all the experiments can be found on Github.

Automatically Scalable Computation, 2016-2017

The ASC project seeks to create a powerful, practical automatic parallelization runtime by using machine learning to predict future states of a program and running speculative executions from those states. If the main program hits any of the predicted states, ASC can speed up execution by skipping the main program to the end of the speculative execution. Prior work has shown that this approach is promising, but did not actually manage to achieve speedup on native hardware, since it the main program on an emulator. We have been working on making this approach work on native hardware and have submitted a paper to ASPLOS '18.

Verifying Information Confidentiality in HotCRP, Spring 2017

HotCRP is a conference submission and review system with complex information flow policies and an expressive search capability. As a result, optimizing the search process is technically difficult and can result in information leaks if the optimization process returns either more or fewer papers than the unoptimized process. In particular, optimizations that transfer query burden across a sanitization pass can be especially problematic. In this project, we tackle this problem using formal verification. We develop a formal model of information flow in HotCRP and use it to model different information flow policies and optimizations in HotCRP. We ultimately use our framework to prove that the optimizations do not leak information.

Using Compression to Speed Up Image Classification, Fall 2016

In this project, we speed up neural-network based image classification by using compression to reduce the input dimension of images. We use the discrete cosine transform, the same technique that underlies the JPEG standard, to compress images to a fraction of their size and feed the compressed images to some simple neural networks used for image classification. We find that we can achieve major speedups (ranging from 2x to 10x) in exchange for a modest hit in accuracy.

Information Provenance Clocks, Spring 2016

How often do vector clocks falsely report mis-ordered events and unnecessarily force a distributed system to slow down? Can we reduce the false positive rate by introducing more granular schema? In this research project, we explore the relationship between the granularity of vector clocks and the percentage of time that distributed systems spend waiting for their various components to catch up with each other.

SimpleTimingPwn, Fall 2015

In this research project, we demonstrate that a rogue application can evade dynamic information flow analysis and leak sensitive information using an extremely simple timing channel implemented in roughly 10 lines of Java code.

Modeling Effects of Meth on Temperature, 2013-2014

We develop mathematical models to understand the complex response of body temperature to methamphetamine and use our models to separate out the individual components of the response. We further analyze the ways that this response changes when orexinergic neurotransmission is inhibited. Published May 2015; 2013 Siemens Competition Semifinalist project; presented at CNS 2013 Paris.

Dynamics of Genetic Oscillatory Networks, 2012-2013

We analyze a family of delay differential equations used to model genetic oscillatory networks, and use our findings to develop two new mathematical methods for analyzing such models. Published March 2014; 2012 Siemens Competition 2nd Place project.

Software Projects
Google Internship, Summer 2017

In Summer 2017, I conducted a machine learning/data science project for the Google Flights team to try to predict flight arrival times using a mix of historical data and live positional data. I built a few models (including two unique ML models) and trained and evaluated them. I ended up with some models that could outperform official airline estimates in many cases.

Ballroom Matchmaker, Fall 2016

For the final project of an AI class I took in fall 2016, I helped build a ballroom matchmaker program to intelligently form partnerships in a rookie class. We treated the task as a local search problem with a complex cost function. We are hopeful that this tool will help make the lives of future HBDT rookie captains much easier. A writeup with the details of our approach and some interesting findings is available here.

Ballroom Runthroughs Script, Summer 2016

When I was the Captain of the Harvard Ballroom team, I wrote a dead-simple Python script to help me run competitive rounds. The only requirement I had was that it had to run on my computer, so it has hard dependencies on afplay (to play songs from the command line), sox (to program in fadeouts in songs), and say (this is a weaker dependency, but I liked to have the script yell at me when it was time to start a new round). As a result, it is OS X only, but I thought I'd put it online in case anyone else found it useful.

Google Internship, Summer 2016

I had two main projects when I was working with the Google My Business Android team at Google in 2016: a research project to extend and evaluate an image classifier to automatically categorize uploaded images, and a development project to integrate a newsfeed to drive increases in daily active users. While neither project made it to production, the work I did helped inform major product decisions (including the decision to move away from classifying images in the first place).

Tamr Internship, Summer 2015

When I was at Tamr, I worked on two main projects - augmenting the main product to handle a new use case for a client, and working on Tamr on Google Cloud Platform prior to its launch. My first project eventually led to a major deal with the client, and my second project helped the product launch successfully, leading to sales leads for both Tamr and GCP.

Interactive Intelligence Internship, Summer 2014

At Interactive Intelligence, I built the Interaction Speech Tuner, a full-stack web application to tune Interactive Intelligence's automated speech recognition system.

DyKnow Internship, Summer 2013

When I was at DyKnow, I helped build an analytics feature in the DyKnow web app to allow teachers to track student participation and understanding over time. I also integrated the new web app with Google Drive and Dropbox to make it easier for teachers to upload lesson plans.

ScoreZone, Summer 2011

When I was a freshman in high school, I built a sports app for students to report live game results to the whole school. In an age before schools had learned what to do with social media, it was very popular among parents who didn't want to wait to find out how their kids had played.

Teaching
CS 152: Programming Languages - Spring 2018
Teaching Fellow
CS 61: Systems Programming and Machine Organization - Fall 2015, 2016, 2017
Teaching Fellow