Structural-Ambiguity-Aware Translation from Natural Language to Signal Temporal Logic

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Fushimi, Kosei, Serizawa, Kazunobu, Ikemoto, Junya, Hashimoto, Kazumune
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918417354719232
author Fushimi, Kosei
Serizawa, Kazunobu
Ikemoto, Junya
Hashimoto, Kazumune
author_facet Fushimi, Kosei
Serizawa, Kazunobu
Ikemoto, Junya
Hashimoto, Kazumune
contents Signal Temporal Logic (STL) is widely used to specify timed and safety-critical tasks for cyber-physical systems, but writing STL formulas directly is difficult for non-expert users. Natural language (NL) provides a convenient interface, yet its inherent structural ambiguity makes one-to-one translation into STL unreliable. In this paper, we propose an \textit{ambiguity-preserving} method for translating NL task descriptions into STL candidate formulas. The key idea is to retain multiple plausible syntactic analyses instead of forcing a single interpretation at the parsing stage. To this end, we develop a three-stage pipeline based on Combinatory Categorial Grammar (CCG): ambiguity-preserving $n$-best parsing, STL-oriented template-based semantic composition, and canonicalization with score aggregation. The proposed method outputs a deduplicated set of STL candidates with plausibility scores, thereby explicitly representing multiple possible formal interpretations of an ambiguous instruction. In contrast to existing one-best NL-to-logic translation methods, the proposed approach is designed to preserve attachment and scope ambiguity. Case studies on representative task descriptions demonstrate that the method generates multiple STL candidates for genuinely ambiguous inputs while collapsing unambiguous or canonically equivalent derivations to a single STL formula.
format Preprint
id arxiv_https___arxiv_org_abs_2603_28426
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Structural-Ambiguity-Aware Translation from Natural Language to Signal Temporal Logic
Fushimi, Kosei
Serizawa, Kazunobu
Ikemoto, Junya
Hashimoto, Kazumune
Computation and Language
Symbolic Computation
Signal Temporal Logic (STL) is widely used to specify timed and safety-critical tasks for cyber-physical systems, but writing STL formulas directly is difficult for non-expert users. Natural language (NL) provides a convenient interface, yet its inherent structural ambiguity makes one-to-one translation into STL unreliable. In this paper, we propose an \textit{ambiguity-preserving} method for translating NL task descriptions into STL candidate formulas. The key idea is to retain multiple plausible syntactic analyses instead of forcing a single interpretation at the parsing stage. To this end, we develop a three-stage pipeline based on Combinatory Categorial Grammar (CCG): ambiguity-preserving $n$-best parsing, STL-oriented template-based semantic composition, and canonicalization with score aggregation. The proposed method outputs a deduplicated set of STL candidates with plausibility scores, thereby explicitly representing multiple possible formal interpretations of an ambiguous instruction. In contrast to existing one-best NL-to-logic translation methods, the proposed approach is designed to preserve attachment and scope ambiguity. Case studies on representative task descriptions demonstrate that the method generates multiple STL candidates for genuinely ambiguous inputs while collapsing unambiguous or canonically equivalent derivations to a single STL formula.
title Structural-Ambiguity-Aware Translation from Natural Language to Signal Temporal Logic
topic Computation and Language
Symbolic Computation
url https://arxiv.org/abs/2603.28426