# PowerFix: Physics-Guided Iterative Repair for LLM-Assisted Power Converter Design

> PowerFix diagnoses flyback design failures, compiles authorized edits, and accepts them only after required engineering checks pass. On a 96-task flyback benchmark, its group-weighted verified repair rate was 78.7%, versus 30.1% for the strongest LLM baseline; run budgets differed.

- arXiv: https://arxiv.org/abs/2611.33712
- Authors: Can Wang, Shi Qiu, Fanfan Lin
- Published: 2026-11-27
- Topic: Agents
- Visual carousel: https://instaxiv.com/p/2611.33712
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## A converter repair must pass every required check

**78.7%** group-weighted VRSR vs strongest baseline: 30.1%

## PowerFix starts from a failed flyback design

**Target-only fix:** A patch can clear its reported violation yet leave another required check failing, or introduce one.

**Full regression:** It checks target failures plus checks affected by each edit; in this study, every candidate faced the full eight-point regression and was committed only if all checks passed.

VRSR counts target fixes that also pass the full regression.

## A four-stage loop ties failures to verified patches

![Figure 1](https://cdn.instaxiv.com/figures/2611.33712/figure1.webp)

Follow the arrows from failure characterization to graph-guided diagnosis, constrained repair generation, and isolated validation; validation evidence can guide replanning. (Figure 1)

## What happens between a failure and a commit

1. **Record the failure**: Record each failed metric, condition, observed and required values, and supporting evidence.
2. **Trace physical causes**: The fixed flyback PowerDiagGraph links failed metrics through physical quantities to causes, fields, and allowed routes; ambiguous evidence prompts targeted diagnostic simulation.
3. **Compile permitted edits**: The LLM orders allowed routes; a deterministic compiler turns the choice into authorized field-level edits.
4. **Validate before commit**: Validate a copy against all required static, analytical, and circuit checks. If any fail, keep the baseline and use evidence to replan.

## The gain survives full-regression scoring

**Strongest of 3 LLM baselines:** 30.1% group-weighted VRSR on 96 flyback tasks: 72 single faults, 12 coupled, 12 held-out natural.

**PowerFix, R=0:** 78.7% group-weighted VRSR, a 48.6 percentage-point gain.

Each fault group weighs equally; tasks, model family, database and checks match, but budgets were not compute-matched.

## A coupled fault can hide behind its first symptom

![Figure 3](https://cdn.instaxiv.com/figures/2611.33712/figure3.webp)

Within the 12 coupled-fault tasks, PowerFix verified 11. These tasks combine interacting faults, so the first visible violation may not identify the underlying design error. (Figure 3)

## In the R=0 ablation, validation changes the handoff

**No isolated validation:** A design is returned for all 96 tasks; the external scorer finds 22 that fail the full engineering regression.

**Validated ablation:** Under its own protocol, the full system verifies 77 tasks (72.7% VRSR) and withholds 19 unrepaired outputs.

Removing validation lowers VRSR by 3.7 points, but sends 22 failing designs downstream.

## Replanning helps, but extra rounds add simulation work

![Figure 6](https://cdn.instaxiv.com/figures/2611.33712/figure6.webp)

Here R counts replanning rounds. Across 96 tasks, R=3 raises group-weighted VRSR to 88.4% (91/96 raw) from 78.7% at R=0. At R=5, no more tasks verify; workflow simulations rise from 22.13 to 35.79 per task. (Figure 6)

## What these flyback results do not establish

- **Offline flyback scope**: Results are offline and limited to flyback; hardware performance and transfer to another converter topology have not been tested.
- **Narrow natural-failure sample**: The 12 natural tasks come from one design generator and are a held-out log set, not a random sample of its failures.
- **Encoded checks can miss requirements**: A pass covers encoded checks, not every real-world requirement; supplier lead time is one example the framework may miss.
- **Budget and model provenance**: Budgets differ: PowerFix used about four times Tool Agent workflow simulations; a shared endpoint and requested alias are recorded for only 24 of 96 primary tasks.

Best used when: Use it after a flyback design fails validation, with engineer sign-off and hardware checks before release.

## Key takeaways

- The key shift is from clearing a symptom to requiring a verified full-regression pass.
- After a flyback design fails validation, PowerFix can return a verified patch or reject one for engineer review.
- The next test is whether simulation-verified repairs predict hardware performance and transfer beyond flyback.

## Links

- arXiv: https://arxiv.org/abs/2611.33712
- PDF: https://arxiv.org/pdf/2611.33712

## Citation

```bibtex
@article{wang2026powerfix,
  title   = {PowerFix: Physics-Guided Iterative Repair for LLM-Assisted Power Converter Design},
  author  = {Wang, Can and Qiu, Shi and Lin, Fanfan},
  journal = {arXiv preprint arXiv:2611.33712},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.33712}
}
```
