Selective Memory Sharing Flashcards

(20 cards)

1
Q

What problem does selective memory sharing solve in multi-agent systems?

A

It gives a specialist agent the context it needs without dumping the entire history (noise, cost, distraction).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the core idea of selective memory sharing?

A

Use the LLM to choose which memory items are relevant to a specific task, then share only those.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is selective memory sharing different from basic message passing?

A

Message passing shares only a task and returns a final answer; selective sharing also sends a curated subset of relevant context.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why assign a unique ID to each memory item (e.g., mem_0, mem_1)?

A

So the LLM can reference memories cheaply and precisely without rewriting their contents.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is “IDs first, then retrieval” an efficient design?

A

The LLM outputs short IDs (cheap output), and code fetches the full memory text for those IDs (reliable inflation).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of forcing the LLM to output a JSON object for selection?

A

It makes selection machine-checkable (selected IDs + reasoning) and reduces ambiguity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the two key outputs in the selection schema in this lesson?

A

selected_memories (IDs to include) and reasoning (why they were chosen).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why preserve the LLM’s selection reasoning in memory?

A

It creates an audit trail explaining what context was shared and why.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the main safety benefit of selecting by ID instead of rewriting memory?

A

The model can’t “edit” facts in the memory; it can only choose which existing items to include.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What happens after the LLM selects memory IDs?

A

The system builds a filtered memory containing only those items and runs the specialist agent with that filtered memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does the delegated agent receive in this pattern?

A

A focused “mini-memory” containing only task-relevant items, not the whole history.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What gets added back to the original agent’s memory after the call?

A

The selection reasoning plus the invoked agent’s results (so the system can trace what happened).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In the budget-review example, what kinds of memories get selected?

A

Cost estimates, cost breakdown, and the request to reduce cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In the budget-review example, what kinds of memories are excluded as irrelevant?

A

Timeline/deadline updates and general discussion that doesn’t affect the budget question.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why is LLM-based selection better than rule-based filtering in many cases?

A

It can understand meaning and implications, not just keywords or rigid patterns.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a key adaptability advantage of LLM-based selection?

A

It can handle many task types without changing the filtering code each time.

17
Q

When is selective memory sharing especially valuable?

A

When the second agent needs context, but full memory would overwhelm it or waste tokens.

18
Q

What is the “recap” list of memory-sharing patterns in this module?

A

Message passing, memory reflection, memory handoff, and selective memory sharing.

19
Q

What is the simplest decision question for choosing a memory-sharing pattern?

A

“How much context does the second agent actually need to do good work?”

20
Q

What additional decision questions help pick the right pattern?

A

Do we need the delegate’s process, should history be preserved, and do we need to filter sensitive info.