SKILLOPT / SEARCHQA / RUN 01

SkillOpt: 反射式文本梯度与验证门禁机制演化全轨迹 (Reflective Linear Optimization)

Ten optimization steps. One accepted revision. Every proposed change, preserved.

01 / Evolution timeline

Select a step to inspect its gate decision and candidate. Scores below are retained validation scores; time is per step.

02 / Score trajectory

Hover or focus a point for its exact score; click to inspect the step.

03 / What actually changed

Concise, canonical answers

Step 1 replaces the empty template with minimal entity extraction, redundant category removal, and canonical naming. Quote fragments are treated as missing-word clues.

Evidence: skills/skill_v0001.md · Concise & Canonical Answer Extraction

Passage evidence and clue constraints

The accepted skill adds structured trivia lookup, target entity checks, and multi-anchor matching across passages. These are evidence-selection rules; no explicit passage-filtering rule or new <answer> tag instruction appears in the accepted diff.

The <answer> parser already exists in skillopt/envs/searchqa/evaluator.py.

04 / Materialized version comparator

Compare any retained snapshots. Rejected candidates are available separately below. − red = removed; + green = added.

05 / Step inspector

Candidate vs. incoming retained skill

Exact source artifacts

06 / Evidence & reproducibility

Scores recomputed from unique result rows; baseline/final test IDs, questions and gold answers match exactly. Candidate validation populations match the initial selection population. No evaluation was rerun.

Protocol and coverage
Source files & SHA-256 fingerprints

Hard accuracy uses normalized exact match; answer extraction reads the last <answer> tag, with a last-line fallback. Training rollout batches differ by step. Validation and test are separate populations; the test score evaluates the selected best skill. Model and generation settings are recorded configuration, not independently attested server identity.

一次 Step 的全流程 / Single optimization step

Follow the pipeline from a batch of model responses to the validation gate. Select each phase for details.

01 →目标模型采样推理 (Rollout Inference with Current Skill Sₜ)

The target model answers a batch of training questions using the current skill prompt St. Responses and trajectories become evidence for the update.

02 →预测结果硬/软切分 (Outcome Partitioning into D⁺ and D⁻)

Normalized exact match (hard score) partitions results into successes D+ and failures D−. Soft F1 supplies partial-credit information; it does not itself define this partition.

03 →错题根因反思与原子编辑 (Analyst LLM Root Cause Diagnosis & Atomic Rule Proposals)

Analyst LLMs reflect on failure trajectories, and can also analyze successes, to propose rule patches. Examples include host intro meta-text, redundant category nouns, distractors and articles.

04 →跨题目补丁去重与合成 (Merge LLM Patch Synthesis & Budget Control)

A merge LLM consolidates and deduplicates proposed edits, resolving conflicts with failure-driven patches prioritized and respecting the edit budget.

05 →候选技能提示词物化 (Candidate Skill Materialization S′ = Sₜ ⊕ ΔS)

Apply merged edits to produce a candidate skill S′ = S ⊕ ΔS. In fine-grained mode, individual atomic edits are applied and evaluated sequentially.

06 ✓门控评估与分支流转 (Selection Gate: SkillOpt Linear Accept/Reject vs. SkillVine AGBU Coarse/Fine-Grained Rescue)

Evaluate the candidate on the selection validation set. The gate decides which skill survives; a skipped step can end before candidate evaluation.

SkillOpt · linear gate
Accept when the candidate exceeds the current score; update the historical best only if it also exceeds the best. Otherwise reject, or skip when no viable patch is produced.
SkillVine · branching + AGBU
Trunk accepted → coarse branch updates; trunk rejected → sequential fine-grained branch filtering. Each accepted atomic edit must pass its selection gate. Steps 2, 5 and 6 retained filtered edits.

This is a conceptual step lifecycle; branches can choose different parents and run their own rollouts. Source: trainer.py, skillvine.py, reflect.py, aggregate.py and evaluation/gate.py.