Modeling relationships to solve complex problems efficiently

The German philosopher Fredrich Nietzsche once said that “invisible threads are the strongest ties.” One could think of “invisible threads” as tying together related objects, like the homes on a delivery driver’s route, or more nebulous entities, such as transactions in a financial network or users in a social network.

Computer scientist Julian Shun studies these types of multifaceted but often invisible connections using graphs, where objects are represented as points, or vertices, and relationships between them are modeled by line segments, or edges.

Shun, a newly tenured associate professor in the Department of Electrical Engineering and Computer Science, designs graph algorithms that could be used to find the shortest path between homes on the delivery driver’s route or detect fraudulent transactions made by malicious actors in a financial network.

But with the increasing volume of data, such networks have grown to include billions or even trillions of objects and connections. To find efficient solutions, Shun builds high-performance algorithms that leverage parallel computing to rapidly analyze even the most enormous graphs. As parallel programming is notoriously difficult, he also develops user-friendly programming frameworks that make it easier for others to write efficient graph algorithms of their own.

“If you are searching for something in a search engine or social network, you want to get your results very quickly. If you are trying to identify fraudulent financial transactions at a bank, you want to do so in real-time to minimize damages. Parallel algorithms can speed things up by using more computing resources,” explains Shun, who is also a principal investigator in the Computer Science and Artificial Intelligence Laboratory (CSAIL).

Such algorithms are frequently used in online recommendation systems. Search for a product on an e-commerce website and odds are you’ll quickly see a list of related items you could also add to your cart. That list is generated with the help of graph algorithms that leverage parallelism to rapidly find related items across a massive network of users and available products.

Campus connections

As a teenager, Shun’s only experience with computers was a high school class on building websites. More interested in math and the natural sciences than technology, he intended to major in one of those subjects when he enrolled as an undergraduate at the University of California at Berkeley.

But during his first year, a friend recommended he take an introduction to computer science class. While he wasn’t sure what to expect, he decided to sign up.

“I fell in love with programming and designing algorithms. I switched to computer science and never looked back,” he recalls.

That initial computer science course was self-paced, so Shun taught himself most of the material. He enjoyed the logical aspects of developing algorithms and the short feedback loop of computer science problems. Shun could input his solutions into the computer and immediately see whether he was right or wrong. And the errors in the wrong solutions would guide him toward the right answer.

“I’ve always thought that it was fun to build things, and in programming, you are building solutions that do something useful. That appealed to me,” he adds.

After graduation, Shun spent some time in industry but soon realized he wanted to pursue an academic career. At a university, he knew he would have the freedom to study problems that interested him.

Getting into graphs

He enrolled as a graduate student at Carnegie Mellon University, where he focused his research on applied algorithms and parallel computing.

As an undergraduate, Shun had taken theoretical algorithms classes and practical programming courses, but the two worlds didn’t connect. He wanted to conduct research that combined theory and application. Parallel algorithms were the perfect fit.

“In parallel computing, you have to care about practical applications. The goal of parallel computing is to speed things up in real life, so if your algorithms aren’t fast in practice, then they aren’t that useful,” he says.

At Carnegie Mellon, he was introduced to graph datasets, where objects in a network are modeled as vertices connected by edges. He felt drawn to the many applications of these types of datasets, and the challenging problem of developing efficient algorithms to handle them.

After completing a postdoctoral fellowship at Berkeley, Shun sought a faculty position and decided to join MIT. He had been collaborating with several MIT faculty members on parallel computing research, and was excited to join an institute with such a breadth of expertise.

In one of his first projects after joining MIT, Shun joined forces with Department of Electrical Engineering and Computer Science professor and fellow CSAIL member Saman Amarasinghe, an expert on programming languages and compilers, to develop a programming framework for graph processing known as GraphIt. The easy-to-use framework, which generates efficient code from high-level specifications, performed about five times faster than the next best approach.

“That was a very fruitful collaboration. I couldn’t have created a solution that powerful if I had worked by myself,” he says.

Shun also expanded his research focus to include clustering algorithms, which seek to group related datapoints together. He and his students build parallel algorithms and frameworks for quickly solving complex clustering problems, which can be used for applications like anomaly detection and community detection.

Dynamic problems

Recently, he and his collaborators have been focusing on dynamic problems where data in a graph network change over time.

When a dataset has billions or trillions of data points, running an algorithm from scratch to make one small change could be extremely expensive from a computational point of view. He and his students design parallel algorithms that process many updates at the same time, improving efficiency while preserving accuracy.

But these dynamic problems also pose one of the biggest challenges Shun and his team must work to overcome. Because there aren’t many dynamic datasets available for testing algorithms, the team often must generate synthetic data which may not be realistic and could hamper the performance of their algorithms in the real world.

In the end, his goal is to develop dynamic graph algorithms that perform efficiently in practice while also holding up to theoretical guarantees. That ensures they will be applicable across a broad range of settings, he says.

Shun expects dynamic parallel algorithms to have an even greater research focus in the future. As datasets continue to become larger, more complex, and more rapidly changing, researchers will need to build more efficient algorithms to keep up.

He also expects new challenges to come from advancements in computing technology, since researchers will need to design new algorithms to leverage the properties of novel hardware.

“That’s the beauty of research — I get to try and solve problems other people haven’t solved before and contribute something useful to society,” he says.

The Friday Roundup – Capturing and Maintaining Audio Quality

Level Up Your Audio Quality Although these days the built-in mics on decent cameras and even smart phones are getting better they still leave a lot to be desired. In most cases at the affordable consumer level those mics have to be all things to all…

What is ChatGPT Canvas? The Alternative to Claude Artifacts

OpenAI has recently introduced an impressive feature called ChatGPT Canvas. Unlike the normal chat window we’ve grown accustomed to, ChatGPT Canvas offers a more robust and collaborative environment for tackling sophisticated projects. While other AI platforms like Claude have introduced similar concepts such as Claude Artifacts,…

Laura Lewis and Jing Kong receive postdoctoral mentoring award

MIT professors Laura Lewis and Jing Kong have been recognized with the MIT Postdoctoral Association’s Award for Excellence in Postdoctoral Mentoring. The award is given annually to faculty or other principal investigators (PIs) whose current and former postdoctoral scholars say they stand out in their efforts to create a supportive work environment for postdocs and support postdocs’ professional development.

This year, the award identified exceptional mentors in two categories. Lewis, the Athinoula A. Martinos Associate Professor in the Institute for Mechanical Engineering and Science and the Department of Electrical Engineering and Computer Science (EECS), was recognized as an early-career mentor. Kong, the Jerry McAfee (1940) Professor In Engineering in the Research Laboratory of Electronics and EECS, was recognized as an established mentor.

“It’s a very diverse kind of mentoring that you need for a postdoc,” said Vipindev Adat Vasudevan, who chaired the Postdoctoral Association committee organizing the award. “Every postdoc has different requirements. Some of the people will be going to industry, some of the people are going for academia… so everyone comes with a different objective.”

Vasudevan presented the award at a luncheon hosted by the Office of the Vice President for Research on Sept. 25 in recognition of National Postdoc Appreciation Week. The annual luncheon, celebrating the postdoctoral community’s contributions to MIT, is attended by hundreds of postdocs and faculty.

“The award recognizes faculty members who go above and beyond to create a professional, supportive, and inclusive environment to foster postdocs’ growth and success,” said Ian Waitz, vice president for research, who spoke at the luncheon. He noted the vital role postdocs play in advancing MIT research, mentoring undergraduate and graduate students, and connecting with colleagues from around the globe, while working toward launching independent research careers of their own. 

“The best part of my job”

Nomination letters for Lewis spoke to her ability to create an inclusive and welcoming lab. In the words of one nominator, “She invests considerable time and effort in cultivating personalized mentoring relationships, ensuring each postdoc in her lab receives guidance and support tailored to their individual goals and circumstances.”

Other nominators commented on Lewis’ ability to facilitate collaborations that furthered postdocs’ research goals. Lewis encouraged them to work with other PIs to build their independence and professional development, and to develop their own research questions, they said. “I was never pushed to work on her projects — rather, she guided me towards finding and developing my own,” wrote one.

Lewis’ lab explores new ways to image the human brain, integrating engineering with neuroscience. Improving neuroimaging techniques can improve our understanding of the brain’s activity when asleep and awake, allowing researchers to understand sleep’s impact on brain health.

“I love working with my postdocs and trainees; it’s honestly the best part of my job,” Lewis says. “It’s important for any individual to be in an environment to help them grow toward what they want to do.”

Recognized as an early-career mentor, Lewis looks forward to seeing her postdocs’ career trajectories over time. Group members returning as collaborators come back with fresh ideas and creative approaches, she says, adding, “I view this mentoring relationship as lifelong.”

“No ego, no bias, just solid facts”

Kong’s nomination also speaks to the lifelong nature of the mentoring relationship. The 13 letters supporting Kong’s nomination came from past and current postdocs. Nearly all touched on Kong’s kindness and the culture of respect she maintains in the lab, alongside high expectations of scientific rigor.

“No ego, no bias, just solid facts and direct evidence,” wrote one nominator: “In discussions, she would ask you many questions that make you think ‘I should have asked that to myself’ or ‘why didn’t I think of this.’”

Kong was also praised for her ability to take the long view on projects and mentor postdocs through temporary challenges. One nominator wrote of a period when the results of a project were less promising than anticipated, saying, “Jing didn’t push me to switch my direction; instead, she was always glad to listen and discuss the new results. Because of her encouragement and long-term support, I eventually got very good results on this project.”

Kong’s lab focuses on the chemical synthesis of nanomaterials, such as carbon nanotubes, with the goal of characterizing their structures and identifying applications. Kong says postdocs are instrumental in bringing new ideas into the lab.

“I learn a lot from each one of them. They always have a different perspective, and also, they each have their unique talents. So we learn from each other,” she says. As a mentor, she sees her role as developing postdocs’ individual talents, while encouraging them to collaborate with group members who have different strengths.

The collaborations that Kong facilitates extend beyond the postdocs’ time at MIT. She views the postdoctoral period as a key stage in developing a professional network: “Their networking starts from the first day they join the group. They already in this process establish connections with other group members, and also our collaborators, that will continue on for many years.”

About the award

The Award for Excellence in Postdoctoral Mentoring has been awarded since 2022. With support from Ann Skoczenski, director of Postdoctoral Services in the Office of the VPR, and the Faculty Postdoctoral Advisory Committee, nominations are reviewed on four criteria:

  • excellence in fostering and encouraging professional skills development and growth toward independence;
  • ability to foster an inclusive work environment where postdoctoral mentees across a diversity of backgrounds and perspectives are empowered to engage in the mentee-mentor relationship;
  • ability to support postdoctoral mentees in their pursuit of a chosen career path; and
  • a commitment to a continued professional mentoring relationship with mentees, beyond the limit of the postdoctoral term.

The Award for Excellence in Postdoctoral Mentoring provides a celebratory lunch for the recipient’s research group, as well as the opportunity to participate in a mentoring seminar or panel discussion for the postdoctoral community. Last year’s award was given to Jesse Kroll, the Peter de Florez Professor of Civil and Environmental Engineering, professor of chemical engineering, and director of the Ralph M. Parsons Laboratory.

The Proliferation and Problem of the ✨ Sparkles ✨ Icon

Kate Kaplan hits on something over at Nielsen Norman Group’s blog that’s been bugging me:

The challenge with this icon is sparkle ambiguity: Participants in our recent research study generally agreed that it represented something a little special

The Proliferation and Problem of the ✨ Sparkles ✨ Icon originally published…

Iccha Sethi, Vice President of Engineering at Vanta – Interview Series

Iccha Sethi is Vice President of Engineering at Vanta, the leading Trust Management Platform, where she leads initiatives focused on enhancing security and compliance automation. Previously, she was an engineering leader at GitHub where she oversaw a multi-product portfolio including Actions, Hosted Runners, Codespaces, Packages, Pages,…

TransAgents: A New Approach to Machine Translation for Literary Works

Translating literary classics like War and Peace into other languages often results in losing the author’s unique style and cultural nuances. Addressing this longstanding challenge in literary translation is essential to preserving the essence of works while making them accessible globally. TransAgents introduces a pioneering approach…