Software modernization often relies on natural-language specifications recovered from an existing implementation. Incorrect or missing requirements can lead to defects in the modernized system. We introduce fidelity probes to check a specification against the code and guide its revision. Each probe pairs a question about program behaviour with a reference answer derived from the code. A language model answers the question using only the specification, and the fraction of agreeing answers defines fidelity. Disagreements flag conflicting claims or missing information and guide proposed corrections and additions to the requirements. An LLM generates probes directly from code or phrases facts selected through control-flow, data-flow, and call-graph analysis. We use an observability rule to focus probe questions on behaviour that the modernized system is intended to preserve, including user-visible outputs, changes to stored business data, and interactions with other systems. We revise the specification using fresh probes and evaluate each version on a fixed held-out set. A repair-regression model describes how new failures can offset the gains from repairs. On CardDemo, held-out fidelity improves from 0.59 to 0.89, exceeding free-form revision from source code. We also evaluate the method on industrial systems and public documentation, and assess probe quality and reported defects through human reviews and comparison with an independent requirements audit.
SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction
Beihang University(北京航空航天大学);Shanghai Jiao Tong University(上海交通大学);Minzu University of China(中央民族大学);Peking University(北京大学);Zhongguancun Academy(中关村科学院)
Societal Alignment Frameworks Can Improve LLM Alignment
ETH Zurich(苏黎世联邦理工学院);Mila, McGill University(麦吉尔大学米尔人工智能实验室);University of Cambridge(剑桥大学);Columbia University(哥伦比亚大学);University of Toronto, Google DeepMind(多伦多大学与DeepMind);McGill University, ServiceNow(麦吉尔大学与ServiceNow);Google DeepMind(谷歌DeepMind);University of Utah(犹他大学);King's College London(伦敦国王学院);Johns Hopkins University(约翰霍普金斯大学);Mila, McGill University, ServiceNow(麦吉尔大学米尔人工智能实验室与ServiceNow)
Tongji University(同济大学);Shanghai Innovation Institute(上海创新研究院);Department of Critical Care Medicine, Shanghai East Hospital, Tongji University School of Medicine(同济大学医学院附属上海东方医院重症医学科);Harbin Institute of Technology(哈尔滨工业大学)
RadioDiff-FS: Physics-Informed Manifold Alignment in Few-Shot Diffusion Models for High-Fidelity Radio Map Construction
State Key Laboratory of ISN and School of Telecommunications Engineering, Xidian University(信息与通信工程国家重点实验室和西安电子科技大学电信工程学院);School of Physics, Xidian University(西安电子科技大学物理学院);Department of Electrical and Computer Engineering, University of Waterloo(滑铁卢大学电气与计算机工程系)