arXiv:2610.35403cs.AIOct 2026

Manuscript Offprint

arXiv:2610.35403

NeSySpec: Neuro-Symbolic Technical Intelligence for Auditing Engineering Specifications with an Application to Aircraft

Pier Mattia Basciano, Gianvito Antenori, Cristiano Andolfi, Giovanni Farina, Salvatore Monteleone

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Engineers who audit a declared specification of an engineered system need to know which physical constraints it respects, which it violates, which field was altered and how to correct it. NeSySpec is an integrated and interpretable neuro-symbolic audit framework, built on Logic Tensor Networks, that answers these questions in one pipeline. Its axioms encode the physical relations of the domain as differentiable graded predicates whose tolerances are learned from a fleet of real records; from the same degrees, it diagnoses the violated constraint, identifies the altered field by abduction, proposes a minimum-change correction and ties image evidence to the parts it describes, abstaining exactly where evidence is missing, and returns all of it in one verification report. We validate NeSySpec on 107 aircraft types, with 16 test aircraft of 9 families held out of training, on specification records paired with ground photographs and satellite imagery and on synthetic errors: generated corruptions, edits labeled from the edit alone and deliberate falsifications. NeSySpec combines all the assessed audit outputs in one pipeline, which no learned, rule-based, solver-based, neuro-symbolic or language-model comparator does; on the test aircraft none is ahead of it in the macro-F1 of its constraint verdicts, in naming the violated constraint and the altered field or in the repair error, and it is competitive in record and image-pair detection. Its diagnosis names the violated constraint in 94.2% of corrupted test records, against 79.5% for classical Fellegi-Holt diagnosis, and on edits labeled from the edit alone, without retraining, abduction finds the altered field in 59.3% of records, against 30.6% for minimum-cardinality localization with random tie-breaking. Only the knowledge base, the visual predicates, the corruption generator and the data are specific to the domain.

Keywords: Engineering Specification Auditing; Neuro-Symbolic Artificial Intelligence; Logic Tensor Networks; Constraint-Based Diagnosis; Explainable Anomaly Detection; Reverse Engineering; Technical Intelligence; Multimodal Consistency

License. This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/). Third-party photographs reproduced in the figures are excluded from this license.

1 Introduction

Certification, maintenance and procurement engineers work with engineered systems they did not design and reverse-engineer them from declared specifications of masses, dimensions, ratings and performance. A record can be incomplete, inconsistent, valid for another variant or misreported, and public knowledge bases hold wrong numerical values [1]; the errors of a record propagate into the performance models it feeds [2]. Auditing such records falls within the scope of civil technical intelligence, which gathers and assesses information about technologies and technical products [3,4]. Technical intelligence increasingly draws on open sources [5,6]. For aircraft, photographs and satellite imagery can

Table 1: Acronyms.

AcronymMeaningAcronymMeaning
AUROCarea under the receiver operating characteristic curveMLPmultilayer perceptron
BCEbinary cross-entropyMLP-SHAPgrouped SHAP attributions of the residual MLP
CADcomputer-aided designMTOWmaximum take-off mass
CAMclass activation mapNeSyneuro-symbolic artificial intelligence
CFDcomputational fluid dynamicsOEWoperating empty mass
FAAFederal Aviation AdministrationPGDprojected gradient descent
FEMfinite element methodPSLprobabilistic soft logic
FPRfalse-positive rateRRRRight for the Right Reasons
ISAInternational Standard AtmosphereSAMSegment Anything Model
LENLogic Explained NetworksSHAPShapley additive explanations
LTNLogic Tensor NetworksSMTsatisfiability modulo theories
MCARmissing completely at randomSVMsupport vector machine
MICEmultivariate imputation by chained equationsTPRtrue-positive rate

also help verify the visually observable attributes reported in the specifications [7, 8]. We use reverse engineering in a first-approach sense: inferring which physical relations a declared specification and, when available, its image respect or violate, which field departs from them and which value restores them. Table 1 lists the acronyms.

Learned methods, from anomaly detectors to tabular foundation models and language models, score each record [9–11], with field-level attributions [12]. Statistical data editing and consistency-based diagnosis identify violated constraints and the fields implicated in those violations, based on bounds set by experts [13, 14]. Neuro-Symbolic Artificial Intelligence (NeSy) integrates learning with explicit knowledge and reasoning [15, 16], also surveyed for advanced air mobility [17], and can learn such bounds from data together with the constraints they delimit. To our knowledge, no previous work provides and evaluates together the outputs that such an audit needs, from the violated constraint and the altered field to part-grounded image evidence and a report (Table 2).

We present NeSySpec, an integrated and interpretable neuro-symbolic framework for auditing engineering specifications, built on Logic Tensor Networks (LTN) [19]: trained on fleet data, it determines through its logical axioms which physical constraints a declared record respects and which it violates, and returns a verification report (Figures 1 and 5). Its graded predicates measure each physical, definitional or regulatory relation by its residual against bands learned from the training fleet, and cross-modal axioms compare the fields with what a vision module reads. Masked quantification gives NeSySpec exact abstention on missing evidence: each verdict reduces to the constraints that the available evidence makes checkable, and the report lists every undeclared field with the constraints it leaves unchecked. The audit proceeds from detection to diagnosis and repair. It first scores the record using a masked mean of constraint violation degrees. This overall verdict can then be traced back to individual constraints, with the largest violation degree identifying the most violated constraint. An abductive search over single-field changes then localizes the altered field. Finally, a minimum-change repair searches for the smallest adjustment that restores coherence. A grounding axiom encourages each visual head to place its class-activation evidence on the part its predicate describes, so that the report ties image evidence to parts.

We validate NeSySpec on 107 aircraft, with specification records, FGVC-Aircraft photographs [7] and RarePlanes satellite imagery [8], holding 16 test aircraft of 9 families out of training, and evaluate constraint verdicts and diagnosis, field localization and repair, record coherence, missing evidence and absent images, the grounding of the visual axioms and robustness to deliberate falsification, on errors labeled by the corruption generator and on errors labeled from the edit alone (Section 4). The constraint verdicts reach a macro-F1 of 0.795 on generator labels and, without retraining, 0.575 on intervention labels, above a network trained with the DL2 loss on the same residuals and targets, the like-for-like neuro-symbolic test, and find every labeled violation in 0.934 of generator-labeled test corruptions against 0.522 for that network, with micro precision on par on test and lower on the

Figure

Figure 1: Overview of the NeSySpec pipeline.

unseen class (Section 4.2, Appendix G.1). The largest-violation key identifies the violated constraint in 0.942 of generator-labeled test corruptions, outperforming Fellegi–Holt, solver-based and rule-based diagnosis, DL2 applied to the declared fields, and a prompted language model. Abduction then traces the error to an individual field, correctly identifying the altered field in 0.593 of independently labeled errors. By comparison, minimum-cardinality localization reaches 0.306 with random tie-breaking and 0.453 with oracle tie-breaking; a sizing-regression residual also reaches 0.453 (Figure 6). The record verdict detects incoherent records at a test AUROC of 0.979 on generator labels, and on satellite pairs the multimodal verifier, which names the contradicted axiom, detects incoherent record-image pairs at 0.994 over all pair types, against 0.748 for a prompted vision-language model (Section 4.4). Table 5 lines these results up. No comparator returns every output of the audit, and on the test aircraft no comparator is ahead of NeSySpec in the macro-F1 of the constraint verdicts, in naming the violated constraint and the altered field or in the repair error on the altered field; in record and pair detection, learners on the residuals and late fusions are close to it and in some settings rank higher (Section 4.1).

Among the approaches evaluated here - the DL2 method on the declared fields, the network trained with the DL2 loss on the same residuals read per constraint, a constraint-layer repair ordering, LTN ablations, solver and rule diagnosis and prompted language and vision-language models -, NeSySpec is, to our knowledge, the most suitable neuro-symbolic framework for auditing engineering specifications: it provides and evaluates together the seven outputs of Table 2, from constraint verdicts and field localization to part-grounded image evidence and a verification report. Its logic contributes more to the physical audit than to record classification. Training its knowledge base through Real Logic (the differentiable formulation of first-order fuzzy logic underlying LTN [19]) improves detection over the same knowledge base left at its initial values. Detection also improves as more knowledge is encoded, a trend shared by a residual MLP using the same constraints (Section 4.8). Only the knowledge base, visual predicates, corruption generator and data of NeSySpec are aircraft-specific, so another engineered system enters through these four parts (Appendix A).

The contributions of this work are:

  • An integrated and interpretable neuro-symbolic audit framework on Logic Tensor Networks whose graded residual-aware axioms, trained on fleet data, give each physical constraint of a declared engineering specification a held, violated or masked verdict and derive from these verdicts the altered field, a repair proposal, an exact accounting of missing evidence, part-grounded visual evidence and a verification report;

• A verification protocol that re-estimates the priors from training records, refits the generator oracle without test or out-of-distribution aircraft, labels errors independently of the generator, reads the held and violated verdicts against per-constraint labels and stress-tests the verdicts against falsification and human part annotations;

  • A comparative study of rule-based and solver-based methods, models trained with constraint losses, language and vision-language models, and residual learners, all using the same physical knowledge base (Table 5). NeSySpec identifies the violated constraint more often than classical diagnosis, DL2 applied to the declared fields, and a prompted language model. It also identifies the altered field more often than minimum-cardinality localization with random tie-breaking and produces a repair proposal from the same violation degrees (Figure 6);

  • A deployment map (Table 6) that assigns each audit question to the output of NeSySpec that answers it, including its optional rank-then-explain alarm and critical-field alert.

The remainder of this paper is organized as follows. Section 2 reviews background and related works. Section 3 presents the NeSySpec framework in full. Section 4 reports experimental results. Section 5 concludes with directions for future work. Appendix A describes how to port NeSySpec to other engineered systems.

References (89)