Make Plan-Execute recovery evidence-driven and safely bounded - #432
Make Plan-Execute recovery evidence-driven and safely bounded#432HemVadgama wants to merge 3 commits into
Conversation
2b33a1b to
6de9221
Compare
|
@ShuxinLin What is plan for this PR? |
6de9221 to
fea5106
Compare
DhavalRepo18
left a comment
There was a problem hiding this comment.
Hi Hem,
We will review this feature, but you need to provide a technical report on why escalation is important.
What benefits does it bring?
Signed-off-by: Hem Vadgama <vadgama.hem@gmail.com>
Signed-off-by: Hem Vadgama <vadgama.hem@gmail.com>
Signed-off-by: Hem Vadgama <vadgama.hem@gmail.com>
fea5106 to
4ee5fc4
Compare
|
@DhavalRepo18 The plan is to make escalation an evidence-driven recovery and safety layer for Plan-Execute, rather than an extra verifier triggered by broad heuristics. The updated design has three outcomes:
In the strongest matched diagnostic, scenario 3 remained a strict failure, but the redesigned runner stopped unsupported downstream work and reduced usage from 22,863 to 16,536 tokens and from 7 to 4 LLM calls. The evaluation also uncovered and fixed a scorer false positive. The final small-sample result was 2/3 strict passes, without claiming a statistically established accuracy improvement. I've included the implementation, controlled evaluation harness, regression coverage, and technical report in the updated PR. Feedback on the scope and safety boundaries would be useful. |
Summary
Adaptive behavior remains opt-in; default Plan-Execute behavior is unchanged.
Evidence
The final redesigned run passed the two locally answerable count scenarios and explicitly failed the unsupported scenario: 2/3 strict passes. This is not presented as a statistically established accuracy improvement.
The strongest matched diagnostic was scenario 3. Baseline and redesigned execution both received a strict score of 0, but redesigned execution recorded the root failure, blocked four dependants, made no downstream calls after the missing prerequisite, and used 16,536 tokens and four LLM calls versus 22,863 tokens and seven calls.
Scenario 2 separately demonstrated bounded pre-call repair: an unadvertised argument was rejected before tool execution and repaired once. A current baseline also passed that scenario, so this is mechanism evidence rather than an accuracy claim.
The evaluation also exposed a scorer false positive: a failure message mentioning
Step 1was incorrectly accepted as scalar answer1. The parser and regression coverage now require an explicit final count.Verification
git diff --checkpassedNo additional WatsonX evaluation was run during the history refresh.
Limitations
Conditions used independently generated plans and one run per condition. The evidence supports better grounding, selectivity, bounded recovery, and explicit failure handling—not a causal or statistically reliable benchmark-accuracy claim.
Related to #360