논문 해설
Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates
학습된 네트워크 최적화 대리 모델에 대한 솔버 인정 메타모픽 테스팅
- 연구 문제 학습된 최적화 대체 모델은 같은 문제를 다르게 표현한 입력에 대해 서로 다른 예측을 낼 수 있으며, 그 차이가 반올림인지 구조적 비일관성인지 해의 오류인지 구별하기 어렵습니다.
- 연구 방법 문제를 보존하는 입력 변환을 정의하고 기준 솔버로 허용된 쌍만 검사한 뒤, 변환을 되돌려 정렬된 예측을 비교하여 수치 임계값과 대조합니다.
- 주요 결과 GridSFM-Open은 시험한 13개 관계 각각을 적어도 한 그리드에서 위반하며 무작위 가중치 모델도 대부분 비슷하게 실패합니다. POMO와 DIFUSCO에서도 위반이 관찰되었고 연결 성분별 정규화는 시험한 그래프에서 DIFUSCO의 일부 위반을 제거했습니다.
정답 없이 일관성을 검사하는 문제
학습된 최적화 대리모델은 같은 문제를 다르게 표현한 입력에 대해 서로 다른 예측을 낼 수 있습니다. 버스 번호를 바꾸거나 선로 표의 행 순서를 바꾸면 문제의 물리적 의미는 같지만 예측이 달라질 수 있습니다. 모든 예측을 기준 솔버의 정답과 비교하는 방식은 비용이 크므로, 이 논문은 정답 해를 매번 계산하지 않고도 입력 변환에 대한 출력 일관성을 검사하는 메타모픽 테스트를 다룹니다. 핵심 어려움은 차이가 반올림 오차인지, 입력 인코딩에 따른 구조적 비일관성인지, 아니면 실제 해의 오류인지를 구별하는 데 있습니다. 여러 최적해가 존재하면 서로 다른 예측이 모두 올바를 수 있으므로, 불일치 자체만으로 어느 쪽이 틀렸는지 결론내릴 수 없습니다.
문제를 보존하는 관계와 되돌리기 연산
이 방법은 저장 인코딩을 문제 P(d)로 바꾸는 데이터-문제 사상에서 출발합니다. 관계는 적격 조건, 입력 변환 T, 출력 대응 ρT의 세 부분으로 정의됩니다. 변환된 입력의 모든 최적해를 ρT로 되돌렸을 때 원래 문제의 최적해가 되어야 하며, 목적 함수 값은 알려진 오프셋 κT(d)만큼 달라질 수 있습니다. 예를 들어 번호 재부여는 출력을 원래 번호로 되돌리고, 독립 부분문제를 더하는 변환은 그 부분문제를 제거해 되돌립니다. 기준 기울기가 임의로 정해지는 경우에는 정규화 연산 C가 두 출력의 기준을 맞춥니다. 관계는 보존 방식에 따라 A, B, C, D 등급으로 나뉩니다. A는 번호와 행 순서처럼 물리 문제를 그대로 둔 변환이고, B는 분할이나 패딩처럼 구조를 바꾸지만 되돌린 해가 원래 최적해로 환원되는 변환입니다.
C는 입력 배율을 바꾸어 학습 분포 밖으로 이동시키므로 주요 결과에서 제외됩니다. D는 최적해를 바꾸지 않는 비활성 필드나 목적 상수의 편집입니다.
허용 판정과 수치 임계값
관계가 정의되더라도 실제 샘플에서 구현이 잘못되거나 반올림으로 성질이 깨질 수 있으므로, 이 방법은 샘플을 쓰기 전에 허용 판정을 거칩니다. 두 입력을 모두 기준 솔버로 풀어 해가 얻어지고, 오프셋을 반영한 목적 함수 값이 일치하며, 독립 제약 검사가 통과해야 합니다. 허용된 샘플에 대해서만 정렬된 예측 차이를 계산하며, 채널별 평균의 최댓값이 10의 −6제곱을 넘거나 개별 성분의 최댓값이 10의 −5제곱을 넘으면 셀을 실패로 판정합니다. 이 임계값은 float32에서 반올림 차이와 구조적 차이를 분리하도록 미리 정한 값입니다. 정밀도를 바꾼 재실행에서 36개 쌍은 반올림 차이로, 17개 쌍은 구조적 차이로 분류되었습니다.
Proposition 3에 따르면 허용된 샘플의 반올림을 넘는 불일치는 같은 물리 문제에 대한 인코딩 의존성, 연결된 문제 사이의 비일관성, 또는 비활성 필드에 대한 민감성 중 하나를 보여 줍니다. 그러나 두 최적해가 모두 맞을 수 있으므로 이 자체가 어느 예측이 틀렸다고 증명하지는 않습니다.

Fig. 1 . From a relation to a test: admission re-solves both inputs to check the sampled transformation, and the verdict compares aligned predictions with the floor. Admission evidence depends on the solver’s guarantees.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.
Fig. 2 . Precision calibration separates 36 round-off and 17 structural model– relation pairs. Axes show worst-channel means for the same draws in float32 and float64. Dashed and dotted lines mark the respective floors ( 10−6, 10−12). The shaded quadrants, where the precision-specific verdicts would disagree, are empty. Five pairs from the float32-only released checkpoints are not plotted.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.그리드 대리모델의 위반과 무작위 가중치 대조
GridSFM-Open은 다섯 그리드에서 시험된 13개 관계 각각을 적어도 한 그리드에서 위반합니다. 그중 12개 관계는 임계값의 두 배를 넘는 위반을 보입니다. 같은 실패 패턴은 학습되지 않은 무작위 가중치 GridSFM에서도 대부분 나타나며, R0를 제외하면 공개 모델의 실패와 일치합니다. 따라서 이 실패들 중 일부는 학습 과정 없이도 입력 인코딩 설계에서 생겨날 수 있습니다. 무작위 가중치 LUMINA도 같은 방식으로 실패를 보입니다. 다만 무작위 가중치 실험은 실패가 학습을 필요로 하지 않는다는 점을 보여 줄 뿐, 학습이 실패를 줄이는지 또는 어떤 설계 요소가 원인인지를 직접 말하지는 않습니다.
메커니즘 대조군 14개에서는 인덱스 민감 특징이 R1 실패를, 저장 방향이 R3 실패를 만드는 것으로 나타났습니다.

Fig. 3 . Numbers give failing grids over evaluated grids. Color shows the largest max(δmean/10−6, δmax/10−5) on a logarithmic scale capped at 105, with white indicating all pass. Outlined GENCO cells fail only through float32 round-off. The float64 column counts relations that still fail after precision reruns. ≈ marks a deciding draw within twice the floor. The bottom row counts mechanism controls failing on case14 or case500.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Fig. 6 . Three relations cover the five identified mechanisms. Each column re-enables one mechanism in canonical GridSFM or LUMINA. A filled mark means the relation passes with the repair and fails without it. A × means the canonical variant already fails. The three marks represent case14, case118, and case500. Stars identify the two minimum covering sets.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.라우팅과 MIS로의 확장
POMO는 TSP에서 단일 패스 추론의 회전·반사 위반율이 20개 도시에서 12.7%이고 100개 도시에서 89.5%입니다. 같은 모델의 평균 최적성 차이는 0.023%, 0.126%, 0.348%로 작지만, 방향 의존성은 빈번하게 나타납니다. aug×8은 회전과 반사를 모두 평가해 이 위반을 줄이지만, 합 공존 관계인 M3와 M4 위반은 남습니다. DIFUSCO의 MIS 실험에서는 분리합집합 관계 위반율이 35.6%입니다. 이 위반은 그래프 구성요소를 합칠 때 최종 점수를 전체 정점에 대해 정규화하는 방식에서 생긴 것으로 분석되었습니다. 연결 성분 안에서 정규화하는 사후 개입은 시험한 그래프에서 이 위반을 제거하지만, 그 개입은 사후에 설계된 것이므로 일반 해법으로 확정되지는 않습니다.
CVRP에서 POMO는 relabel 관계를 모두 통과하지만 rotate/reflect와 twin 관계를 자주 위반합니다.

Fig. 7 . Violation rates over admitted draws. Trained models are POMO aug ×1 (TSP, CVRP) and DIFUSCO (MIS). Heuristic baselines are nearest neighbor, nearest-feasible neighbor, and greedy minimum degree. Random-weight rates pool three seeds for TSP and CVRP, while MIS shows three seeds. POMO aug×8 removesrotate/reflectfailures up to float32 ties but leavesM3,M4, andtwinfailures. Post hoc ( †) component normalization removes DIFUSCO’spad andunionviolations. CVRP references are heuristic.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.개입의 효과와 품질 확인
GridSFM의 소스 패치와 정규 행 순서는 R1과 R2의 위반을 낮추거나 제거합니다. 정규 행 순서를 적용한 GridSFM은 네 그리드 모두에서 R2 위반을 0으로 만듭니다. 그러나 이러한 개입이 정확도와 실현 가능성을 보존한다는 근거는 모든 그리드에서 확보되지 않았습니다. 정확도와 실현 가능성의 비열등성은 그리드와 측정별로 따로 판정되었으며, 일부 조합에서만 통과합니다. 따라서 일관성 복구와 품질 보존은 별도의 확인 대상으로 다루어야 합니다.

Fig. 4 . Consistency on each target relation by variant, measured by the largest worst-channel mean over 60 admitted draws per grid. Filled markers fail the verdict rule, and leftmost points are exact zeros. GridSFM variants are cumulative. Fine-tuned GridSFM shows the worst of 3 seeds.†: post hoc.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Fig. 5 . Consistency repair does not establish preserved quality everywhere. Markers give ratios of means across scenarios to the released model’s means. Caps show one-sided 95% upper limits, and the dashed line marks the 1.10 non-inferiority margin. Accuracy shows the channel with the largest upper limit per variant and grid. Fine-tuned GridSFM also shows its worst seed. n/a denotes an undefined ratio because the baseline mean is zero. Operating-limit violations use absolute p.u.
원문 · CC BY 4.0 · Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran · Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.최적해 범위와 적용 한계
Proposition 4는 정렬된 예측 사이의 불일치 δ와 최적해 집합 안 두 정렬 최적해 사이의 거리 상한 D를 사용하여, 한 예측이 모든 정렬 최적해에서 적어도 (δ−D)/2 떨어져 있음을 말합니다. 이 하한을 실제 그리드에 적용하려면 D를 추정해야 하며, 이 연구에서는 다중 시작 IPOPT로 얻은 해 범위를 사용했습니다. 이 추정은 발견되지 않은 최적해가 범위를 넓히지 않는다는 조건에서만 유효합니다. 실패한 released-model 셀 중 100개 중 100개에서 측정된 불일치가 해 범위의 100배를 넘었고, 완화 기반 범위는 일부 셀에서만 양의 추정 오차를 주었습니다. 반면 이 실험은 프로토콜의 비용과 기존 정확도 점검보다의 효율을 비교하지 않았으며, 정밀도 임계값도 보편적인 반올림 한계를 제공하지 않습니다.
논문 정보
- 저자
- Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 11월 6일
- 등록일
- 2026년 11월 9일
- 수정일
- 2026년 11월 6일
- 버전
- v1
- arXiv
- 2611.08837
- 분류
- cs.AI · cs.LG
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
Equivalent encodings of an optimization problem can produce different learned predictions. Interpreting these differences requires accounting for numerical error and multiple optima. We construct metamorphic tests for optimization solver surrogates with explicit eligibility conditions, output alignment, and numerical thresholds. Reference-solver agreement and independent constraint checks determine which sampled pairs enter the audit. We study alternating-current optimal power flow (AC-OPF), the traveling salesman problem (TSP), the capacitated vehicle routing problem (CVRP), and maximum independent set (MIS). Across five grids, GridSFM-Open violates each of 13 relations on at least one grid, and 12 by more than twice the threshold. Randomly initialized copies of the grid models fail nearly the same relations, so the failures do not require training. Source patches and input canonicalization remove selected discrepancies, but no intervention establishes preserved accuracy and feasibility within the declared margin on every grid. In routing, Policy Optimization with Multiple Optima (POMO) has a single-pass rotation/reflection violation rate that rises from 12.7% to 89.5% between 20 and 100 cities. Graph-Based Diffusion Solvers for Combinatorial Optimization (DIFUSCO) violates the MIS disjoint-union relation on 35.6% of draws. Post hoc normalization within connected components removes these violations on the tested graphs. These findings support reporting metamorphic consistency alongside optimality, feasibility, and accuracy, and validating repair quality separately from consistency.
원문 인용
Vineet Jagadeesan Nair, Stephen Peng, Arun Ravindran (2026). Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates. arXiv:2611.08837v1. https://arxiv.org/abs/2611.08837v1
BibTeX
@misc{nair2026solver,
title = {{Solver-Admitted Metamorphic Testing of Learned Network Optimization Surrogates}},
author = {Vineet Jagadeesan Nair and Stephen Peng and Arun Ravindran},
year = {2026},
eprint = {2611.08837},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.08837v1}
}