프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions

AuXSpec: 실행 가능한 사후조건으로 프로그램 명세를 autoformalize하는 학습

  • 연구 문제 Lean 명세 작성은 느리고 전문성이 필요해 형식 검증 확장의 병목이 됩니다.
  • 연구 방법 선언적 postcondition과 실행 가능한 postcondition을 짝지어 테스트 케이스를 직접 실행하고, 이를 보상으로 강화학습합니다.
  • 주요 결과 AUXSPEC-27B-RL은 AUXSPEC-Test에서 SpecGen pass@4를 14.3%에서 84.3%로 높였고, Verina에서 SpecGen pass@1 91.9%를 기록했습니다.

명세 생성의 병목과 검증 피드백 문제

Lean에서 형식 명세를 쓰는 일은 느리고 전문성이 많이 필요하여, 형식적으로 올바른 코드를 확장하는 데 큰 병목이 됩니다. 자연어 문제로부터 명세를 자동 형식화하는 접근은 유망하지만, 생성된 명세가 의도한 동작을 담았는지 확인할 확장 가능한 피드백이 필요합니다. 기존 방법은 명시적 증명이나 별도로 구현한 코드와 대응 증명에 의존해 비용이 큽니다. 저자들은 이 피드백을 싸게 얻는 방법을 찾는 것을 문제로 설정합니다.

선언적 postcondition과 실행 가능한 짝

AUXSPEC은 각 문제마다 선언적 postcondition과 Lean에서 직접 평가되는 실행 가능한 postcondition을 함께 둡니다. 실행 가능한 쪽은 decidable 인스턴스가 있으면 type class resolution으로 얻고, 없으면 별도로 정의한 뒤 두 postcondition이 유효 입력에서 같다는 동등성 정리를 증명합니다. 이렇게 하면 테스트 케이스를 개별 증명 없이 Lean에서 실행하여 보상으로 쓸 수 있습니다. 합성 파이프라인은 문제별 계획 뒤 명세, 실행 가능한 postcondition, 구현을 단계별로 생성하고 검증하며 실패하면 수정합니다.

Figure 7: Use of the decidable form in SpecGen samples, with counts out of 1,200 above the bars (left), and
compile rates of the decidable form against other f…

Figure 7 . Use of the decidable form in SpecGen samples, with counts out of 1,200 above the bars (left), and compile rates of the decidable form against other forms (right).

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 30쪽에서 그림 영역을 추출했습니다.
Figure 12: Data synthesis pipeline for AUXSPECon a running example. Stages (1) to (3) synthesize the postcondition, the executable
postcondition, and the imple…

Figure 12 . Data synthesis pipeline for AUXSPECon a running example. Stages (1) to (3) synthesize the postcondition, the executable postcondition, and the implementation under separate plans, and stage (4) assembles the components with the theorem statements.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 36쪽에서 그림 영역을 추출했습니다.
Figure 17: (a) Executable postconditions that pass all checks at the first attempt, by route. (b) Reasons that the decidable form does not apply

Figure 17 . (a) Executable postconditions that pass all checks at the first attempt, by route. (b) Reasons that the decidable form does not apply.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 42쪽에서 그림 영역을 추출했습니다.
Figure 19: Cumulative acceptance rate of each component over repair rounds on the 3,037 synthesized problems. The implementation depends
most on repair, with 6…

Figure 19 . Cumulative acceptance rate of each component over repair rounds on the 3,037 synthesized problems. The implementation depends most on repair, with 64.3% accepted at the first attempt.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 44쪽에서 그림 영역을 추출했습니다.
Table 37: Postcondition equivalence proofs by form of the executable postcondition, where the decidable form has proof length 0 and the
separate definitions a…

Table 37 . Postcondition equivalence proofs by form of the executable postcondition, where the decidable form has proof length 0 and the separate definitions a median of 112 lines. Proof length was measured as the number of lines added to the problem file, and the last column indicates the number of proofs in which the validity hypothesis is used.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 49쪽에서 그림 영역을 추출했습니다.

SFT와 강화학습 보상 설계

expert iteration으로 SFT 데이터를 19.5K 샘플까지 늘린 뒤, Qwen3.8-27B 등을 강화학습합니다. 보상은 형식, 컴파일, 테스트 실행, 테스트 정렬, 비항진성, 전체 품질의 여섯 단계 progressive reward로 주어지며, 실패한 단계의 값을 보상으로 주고 모든 단계를 통과하면 1을 줍니다. 비항진성 값은 0.1, 테스트 실행 실패는 0.2로 둡니다. 알고리즘은 DAPO를 확장하여 배치 표준편차로 advantage를 정규화하고, 실패 rollout을 다시 쓰는 self-repair 과제를 함께 학습합니다.

Table 2: Input and output of each task. Broken is the rejected output that a repair task revises, and Diagnostics are the compiler errors and
failed test cases…

Table 2 . Input and output of each task. Broken is the rejected output that a repair task revises, and Diagnostics are the compiler errors and failed test cases of that output. Test layers check the output (Table 7 in Appendix A.2).

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Table 3: Number of problems and samples for each source. Problems are those used for SFT or RL, and SFT, RL and AUXSPEC-Test share
no problem. Difficulty follo…

Table 3 . Number of problems and samples for each source. Problems are those used for SFT or RL, and SFT, RL and AUXSPEC-Test share no problem. Difficulty follows the labels of each source, and an LLM judge assigns the 1,484 problems without a label, including all Aizu problems (Appendix C). RL tasks are pairs of a problem and a task.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.
Table 7: Test layers with the component under test and the error detected

Table 7 . Test layers with the component under test and the error detected.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.
Table 8: Supervised fine-tuning settings

Table 8 . Supervised fine-tuning settings.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.
Table 9: Reinforcement learning settings

Table 9 . Reinforcement learning settings.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.
Table 13: Rounds of expert iteration. A chain is 1 refinement run on 1 problem and task

Table 13 . Rounds of expert iteration. A chain is 1 refinement run on 1 problem and task.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.
Table 18: Generation groups with nonzero reward variance under the progressive reward and under a binary reward that requires all stages,
scored on the rollout…

Table 18 . Generation groups with nonzero reward variance under the progressive reward and under a binary reward that requires all stages, scored on the rollouts of the whole run of each model. A binary reward has zero variance in every group without a passing rollout.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.
Table 19: Reward and fraction of rollouts (%) for each outcome of the progressive reward in SpecGen (left) and CodeGen (right), each with
the repair task, over…

Table 19 . Reward and fraction of rollouts (%) for each outcome of the progressive reward in SpecGen (left) and CodeGen (right), each with the repair task, over the whole run of each model. 1Only in the repair tasks, which otherwise share the outcomes and values, with the reward of a repair rollout scaled down from 1 in the first round to 0.8 in the last.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 25쪽에서 그림 영역을 추출했습니다.
Table 21: Partial progress during RL. The advantage of partial progress turns negative from the listed fraction, which refers to full-score
rollouts in a whole…

Table 21 . Partial progress during RL. The advantage of partial progress turns negative from the listed fraction, which refers to full-score rollouts in a whole group of 16, replayed on the 27B rollouts. The effect of slow implementations comes from the 27B run, with fractions over 20-step windows of CodeGen rollouts. A repair round from an enumerative specification succeeds when the repaired output is a declarative specification that passes all stages, counted over all repair rounds started from enumerative specifications (336 for the 27B model and 480 for the 9B model).

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 26쪽에서 그림 영역을 추출했습니다.
Figure 4: Advantage of stages in the 27B run, SpecGen in the top row (a1 to c1) and CodeGen in the bottom row (a2 to c2). (a) Mean advantage
against the number…

Figure 4 . Advantage of stages in the 27B run, SpecGen in the top row (a1 to c1) and CodeGen in the bottom row (a2 to c2). (a) Mean advantage against the number of passing rollouts in a group of 16, replayed on the same rollouts with the value of one stage changed. (b) Groups by the number of passing rollouts in each period of training. (c) Advantage of each stage per period under the final values, with boxes at the 25th and 75th percentiles, whiskers at the 10th and 90th percentiles and diamonds at the mean.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 27쪽에서 그림 영역을 추출했습니다.
Figure 11: Training rollouts by reward outcome for AUXSPEC-9B-RL and the 3 variants, one row per run, on SpecGen (left) and CodeGen
(right), from the first fai…

Figure 11 . Training rollouts by reward outcome for AUXSPEC-9B-RL and the 3 variants, one row per run, on SpecGen (left) and CodeGen (right), from the first failed stage to passing all stages, with a 5-step moving average, up to step 150. The variant without self-repair draws more training prompts per step than the other runs, and Table 26 compares the runs after approximately the same number of training prompts.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 34쪽에서 그림 영역을 추출했습니다.

AUXSPEC-Test와 Verina 결과

AUXSPEC-Test에서 AUXSPEC-27B-RL은 SpecGen pass@4를 기반 모델의 14.3%에서 84.3%로 높였습니다. 9B 모델은 0.7%에서 82.7%로 올랐습니다. 범위 밖 벤치마크 Verina에서는 27B 모델이 SpecGen pass@1 91.9%를 기록하여 비교한 베이스라인을 앞섰습니다. 이 결과는 원래 프롬프트와 Verina의 기준 평가 조건에서 얻은 값이며, 테스트 케이스를 프롬프트에 포함하면 수치가 달라집니다.

Table 4: Main results on AUXSPEC-Test.Boldindicates the best result for each metric and underline the second best. Green numbers in
parentheses show the gain i…

Table 4 . Main results on AUXSPEC-Test.Boldindicates the best result for each metric and underline the second best. Green numbers in parentheses show the gain in points over the backbone of the same size.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Table 5: Out-of-domain evaluation on Verina without and with test cases in the prompt. The setting without test cases follows the default of
Verina. Bold, unde…

Table 5 . Out-of-domain evaluation on Verina without and with test cases in the prompt. The setting without test cases follows the default of Verina. Bold, underlines and green numbers as in Table 4. † indicates results reported in the original paper (Ye et al., 2026b) and scored by the same Verina evaluator, which are available only without test cases in the prompt. VeriSpecGen-4B and VeriSpecGen-30B-A3B are the SFT No-Test models of VeriSpecGen fine-tuned from Qwen3-4B-Instruct-2507 and Qwen3-Coder-30B-A3B, respectively. Italic values are pass@10 in place of pass@4 and are not underlined.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.
Figure 5: SpecGen pass@kon AUXSPEC-Test of AUXSPEC-27B-SFT and AUXSPEC-27B-RL

Figure 5 . SpecGen pass@kon AUXSPEC-Test of AUXSPEC-27B-SFT and AUXSPEC-27B-RL.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.
Table 22: SpecGen problems of AUXSPEC-Test solved within 256 samples by AUXSPEC-27B-SFT and AUXSPEC-27B-RL

Table 22 . SpecGen problems of AUXSPEC-Test solved within 256 samples by AUXSPEC-27B-SFT and AUXSPEC-27B-RL.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 28쪽에서 그림 영역을 추출했습니다.

검증 범위와 남은 오류

동등성 정리가 증명되어도 두 postcondition이 같은 오해를 담을 수 있습니다. 전문가 검토는 AUXSPEC-Test 300개 가운데 9개의 그런 명세 오류를 찾았습니다. 한편 SpecGen 승인 출력을 전문가가 검토한 결과, 발견된 오류는 모두 유효 입력 조건인 validity predicate에서 나왔습니다. 생성된 구현에 대한 정확성 증명은 요구하지 않았으며, 이 연구의 승인 기준은 테스트 케이스와 판정기에 의존합니다.

Table 29: Verdicts of the judges on components that compile and pass the test layers of the component. A problem counts as rejected when at
least 1 verdict on…

Table 29 . Verdicts of the judges on components that compile and pass the test layers of the component. A problem counts as rejected when at least 1 verdict on the problem is a rejection.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 42쪽에서 그림 영역을 추출했습니다.
Table 39: Statement errors found by proof attempts, where the postcondition accounts for 19 of 31 problems and the precondition for 3. A
problem was counted un…

Table 39 . Statement errors found by proof attempts, where the postcondition accounts for 19 of 31 problems and the precondition for 3. A problem was counted under each component that was changed by the repair, and one problem was counted twice.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 51쪽에서 그림 영역을 추출했습니다.
Table 40: Postcondition equivalence theorems of accepted SpecGen outputs on AUXSPEC-Test, one output per model and problem. The 2 RL
models are a census. For t…

Table 40 . Postcondition equivalence theorems of accepted SpecGen outputs on AUXSPEC-Test, one output per model and problem. The 2 RL models are a census. For the other models, 40 outputs left open by the fixed tactics go to the proving loop, and the estimated mismatch applies the counterexample rate among them to all open outputs.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 52쪽에서 그림 영역을 추출했습니다.
Table 42: Errors confirmed by human review and, for 1 problem, by the correctness proof, where 20 of 23 component errors are in the
postcondition or the implem…

Table 42 . Errors confirmed by human review and, for 1 problem, by the correctness proof, where 20 of 23 component errors are in the postcondition or the implementation and none is in the executable postcondition. Each percentage is taken over the problems of the row, and a problem with errors in 2 components is counted once among the problems with errors.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 53쪽에서 그림 영역을 추출했습니다.
Table 43: Specification errors in the test split by detection, where review and proving overlap on 3 of 14 problems. Review only means the
postcondition equiva…

Table 43 . Specification errors in the test split by detection, where review and proving overlap on 3 of 14 problems. Review only means the postcondition equivalence theorem had been proved against the wrong statement, and proof attempt only means the review missed the error.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 53쪽에서 그림 영역을 추출했습니다.
Table 44: Expert review of automatically accepted SpecGen outputs of the reported RL checkpoints

Table 44 . Expert review of automatically accepted SpecGen outputs of the reported RL checkpoints.

원문 · CC BY 4.0 · Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng · AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions · 원문 그림 인용 · 원본 PDF 54쪽에서 그림 영역을 추출했습니다.

논문 정보

저자
Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 16일
등록일
2026년 11월 18일
수정일
2026년 11월 16일
버전
v1
arXiv
2611.21421
분류
cs.SE · cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Formal specifications define intended program behavior and underpin verification, but writing them in theorem provers such as Lean is slow and expertise-intensive, making specification a major bottleneck to scaling formally correct code. Autoformalization from natural-language problems is promising, yet training specification models requires scalable feedback on whether generated specifications capture intended behavior. Prior approaches obtain this feedback through explicit proofs or separately implemented code with formal correspondence proofs, both expensive. We introduce AuXSpec, a Lean framework that pairs declarative postconditions with executable counterparts, obtained through type class resolution when possible and otherwise defined separately with an equivalence proof. Test cases can then evaluate declarative specifications by execution, letting us use agreement as a reinforcement-learning reward. Using AuXSpec, we synthesize 3,037 LeetCode problems and expand training to 19.5K samples through expert iteration on Codeforces. Experiments show that training Qwen3.5-9B and Qwen3.8-27B with the execution-based reward improves SpecGen pass@4 on AuXSpec-Test 0.7% $\to$ 82.7% and 14.3% $\to$ 84.3%, and the 27B model outperforms all frontier models. On the out-of-domain Verina benchmark with its original prompts, both models improve 7.0% $\to$ 90.5% and 21.9% $\to$ 90.5% and surpass VeriSpecGen-30B-A3B, the prior state of the art among open-source specification models, on pass@1 (theirs 47.6% vs. ours 73.7% and 84.5%) and pass@4 (theirs 63.9% at pass@10 vs. ours 90.5%). We release the weights of the trained 9B and 27B models and the 3,037 problems with test cases, including the 300-problem AuXSpec-Test benchmark with expert review and correctness proofs for future evaluation. Models and data: https://huggingface.co/collections/eth-algopt/auxspec. Website: https://auxspec.org

원문 인용

Haocheng Wang, Weixuan Yuan, Florian Hübler, Yinya Huang, Zhijiang Guo, Sorrachai Yingchareonthawornchai, Rasmus Kyng (2026). AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions. arXiv:2611.21421v1. https://arxiv.org/abs/2611.21421v1

BibTeX
@misc{wang2026auxspec,
  title = {{AuXSpec: Learning to Autoformalize Program Specifications via Executable Postconditions}},
  author = {Haocheng Wang and Weixuan Yuan and Florian Hübler and Yinya Huang and Zhijiang Guo and Sorrachai Yingchareonthawornchai and Rasmus Kyng},
  year = {2026},
  eprint = {2611.21421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21421v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입