Multi-Agent Debate and Agent Forest pipeline variants#2
Draft
tamara-kostova wants to merge 8 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--pipeline_mode debate): three MedGemma advocate agents argue on behalf of CNN, BiomedCLIP, and SAM3 outputs; a fourth MedGemma instance judges. Supports 1–3 rounds where advocates see the prior verdict and counter-argue. Replaces theverification + reporttail.--pipeline_mode forest): N role-specialized MedGemma instances (radiologist, conservative, emergency, differential) independently diagnose the scan; majority vote + confidence-weighted tiebreaking produces the consensus routing decision. Replaces the singletriagenode; all downstream nodes unchanged.agent_forest(N ∈ {1, 3, 4}) anddebate_rounds(R ∈ {1, 2, 3}).forest_voting_analysis(dissent rate vs. accuracy) anddebate_round_analysis(verdict stability vs. ECE).evaluate.pyextended to capturedissent_rate,vote_fraction,debate_rounds_completed,debate_round_changedper sample.