Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern for probes that can react to generator/detector responses #1064

Open
leondz opened this issue Jan 10, 2025 · 0 comments
Open

Pattern for probes that can react to generator/detector responses #1064

leondz opened this issue Jan 10, 2025 · 0 comments
Labels
architecture Architectural upgrades probes Content & activity of LLM probes

Comments

@leondz
Copy link
Collaborator

leondz commented Jan 10, 2025

Summary

Establish a pattern for probes that can queue prompts based on existing output.

Motivation

Currently most probes build a single batch of prompts. We want to focus on adaptive approaches which may involve looking at LLM responses to some initial prompts, or even to the detection results over those initial prompts. While a few probes do this today, it's time to establish a pattern for how to do this efficiently as we integrate more adaptive probes.

Basic example

Let's construct base classes or an infrastructure plan for:

  • Probes that enqueue more prompts based on generator output from prior prompts
  • Probes that enqueue more prompts based on detector results over prior prompts

There are already some examples in atkgen and topic` respectively.

@leondz leondz added architecture Architectural upgrades probes Content & activity of LLM probes labels Jan 10, 2025
@leondz leondz added this to the 25.02 Efficiency milestone Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Architectural upgrades probes Content & activity of LLM probes
Projects
None yet
Development

No branches or pull requests

1 participant