Session 2 · Graphs & human interaction

How AI understands relationships and interactions

Who would you invite to build a project with you?

Students collaborating around a shared table
Photo · WashU Olin Business School

Who would you pair up?

Asha builds web interfaces. Her sensor-dashboard project needs help with data.

Each line means two students have worked together.

Pick a teammate for Asha

Would you choose a familiar collaborator, a complementary skill, or a bit of both?

Mira and Kabir have worked together.

From choosing a teammate to working together

The same story gives us four ways to use AI.

Graph Intelligence

A graph stores who did what with whom

Graph Intelligence uses the relationships in your data to answer questions and find patterns.

The pieces

Node · A student, project, or another entity.

Edge · A relationship, such as two students working together.

Feature · Information attached to a node or edge, such as a skill or the date of a collaboration.

Two kinds of links

Ashacollaborated withDev
Ashacontributed to →Sensor dashboard
The first link is mutual. The contribution link has a direction.

Count the people they both know

A simple graph rule ranks candidates by how many collaborators they share with Asha.

Follow Asha’s links to Dev and Isha, then look for candidates connected to them.

Shared collaborators

Adding that edge increases Mira’s count by one. The rule gives no extra weight to her data skills.

The edge changes with the problem

Recommendations

Viewer → watched → FilmFilm → belongs to → Genre

Use viewing history and film relationships to find titles someone might like.

Knowledge graphs

City → located in → CountryCountry → uses → Currency

Follow linked facts to answer a question that spans several entities.

Fraud investigation

Account A → used → DeviceAccount B → used → Device

Surface connected accounts that an analyst can investigate.

Stanford · Machine Learning with Graphs

Graph Neural Networks

What can a student learn from their neighbors?

A GNN updates each node’s representation using its own features and information from connected nodes.

Read the node

Mira has data skills.

Aggregate messages

Combine skill signals from Dev and Kabir.

Score a match

A learned scoring layer uses the resulting features for Asha’s project.

A node representation, often called an embedding, is a list of numbers a model can use to make a prediction. Cornell · GNNs and message passing

Watch the messages reach a node

In one round, each collaborator sends a 1 for hardware experience or a 0 otherwise.

The arrows run from the direct collaborators into the selected student.

This view includes the revealed Mira–Dev link. The mean summarizes hardware experience in the immediate neighborhood.

How far does a message travel?

After a second round, a neighbor can pass on information it received in the first round.

Filled nodes are one hop away. Dashed outlines indicate newly reached two-hop nodes.

Example path · Asha → Dev → Mira. Two rounds let Mira’s information reach Asha through Dev.

Which teammate ranks highest?

Compare the common-collaborator rule with a tiny one-hop graph model trained on fictional examples.

Common collaborators

The bar shows the number of shared collaborators.

Learned graph score

The score uses the candidate’s data skill and the mean hardware signal from direct collaborators.

Teaching model · fixed mean aggregation and a learned scoring layer fit on 200 synthetic training examples.

How would we test the recommendation?

A model should rank useful future matches using only the information available at the time.

Earlier projects

Build the graph

Use skills and collaborations known before the cutoff.

At the cutoff

Rank candidates

Produce a shortlist with the graph rule and the learned model.

Later projects

Check the shortlist

Compare how often a later successful match appeared in the top three.

Check newcomers separately. A student with few recorded collaborations can still have the skill a project needs.

Social AI

When should the assistant speak?

Asha and Mira are working together. A social AI assistant uses interaction cues to decide when and how to participate.

A useful answer can still be an interruption if it arrives in the middle of someone’s thought.

Mathur et al. · Social intelligence in AI agents

Two students working together at a computer
Photo · Monmouth University

Try the conversation timeline

Choose a moment. Would you wait, ask a question, or offer help?

Asha“The reading jumps…” 0.4 spause Mira“On every sample?” Asha“Can you help?”
Illustrative conversation. The timeline shows the order of turns.

The same pause can mean three things

The previous turn and the task help us choose what to do with a pause.

Thinking

“Give me a second to check.”

Wait. The speaker asked for time.

Handing over a turn

“Mira, what do you think?”

Let Mira answer. The question names the next speaker.

Asking for input

“Assistant, can you help us debug?”

Offer a next step. The team invited the assistant in.

Affective AI

What might the learner be feeling?

Affective AI looks for emotional cues and uses them to decide how to respond. The cues can support several interpretations.

Words

“I’ve tried that three times.” The learner describes repeated effort.

Delivery

A slower pace or a longer pause can change how the words come across.

Task context

The same compile error appeared on the last three attempts.

One possible response. “Would you like a hint, or a moment to keep trying?”

MIT Media Lab · Affective Computing

Same words, different delivery

Play both versions of the same line. What changed between them?

Clip A

“I’m fine.”

Steady pace · 0.7 seconds

Clip B

“I’m fine.”

Slower pace with a pause · 1.5 seconds

Synthetic audio exercise. The waveforms share a time scale. What would help you interpret the pause?

What does each input add?

Try combining text, audio, and task context. Each input answers a different question.

Words

“I’m fine.” The learner hasn’t explicitly asked for a hint.

Audio

A longer pause tells us about delivery.

Task context

Three attempts produced the same error.

Carnegie Mellon · Multimodal Machine Learning

How should a tutor respond when it’s unsure?

Start from what happened and let the learner tell you what would help.

Observe

The dashboard still shows the same error.

Ask

“Would a hint about the sensor input help?”

Adapt

Offer the hint if invited. Keep the learner in control of the next step.

Discuss how the same expression or delivery can be read differently across people and settings. Research on variability in emotional expressions

What could run on the phone?

Connect back to Session 1. Different parts of the same product can run in different places.

On the phone

Follow the current turn

Detect speech and pauses locally. Decide whether to wait or ask before sending anything more.

Microphone → speech timing → wait or prompt

Shared service

Find a teammate

A service can look up the collaboration graph using the participating students’ shared project and skill information.

Project needs → graph query → candidates

Session 1 · Edge AI and TinyML

One project, three decisions

Before the session

Suggest a teammate

The graph and the GNN help surface Mira’s data skills and collaborators.

As they work

Follow the conversation

The assistant waits while Asha is speaking and listens for an invitation to help.

When they get stuck

Offer a hint

The repeated error gives the tutor a concrete place to start. Asha can choose what happens next.

Discussion and Q&A

Which signal would you trust?

Try redesigning one decision from the teammate and tutor demos.

Graph learning

How would you recommend a student who has the right skills and no recorded collaborators yet?

Social interaction

What should an assistant do when two people pause at the same time?

Affective cues

How would you test whether an optional hint helps when words and tone suggest different things?

Revisit the teammate graph ↑ · Revisit turn-taking ↑ · Revisit the audio clips ↑