PyTorchKR Papers

최신 논문

총 711편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2611.27013v2eess.SY

Loop-OPF: Solver-Informed Learning for Optimal Power Flow with Inference-Time Topology Adaptivity

Learning for optimal power flow (OPF) has recently been advocated to accelerate OPF solutions by using a pre-trained neural network (NN) to predict directly from given inputs such as the load demand. However, existing learning-for-OPF methods largely fall short of ensuring the optimality and feasibility of their predictions. They also struggle to adapt at inference time to unseen topology scenarios, such as those caused by line or generator outages. This work puts forth Loop-OPF, a solver-informed NN that builds its layers from the iterations of the primal-dual hybrid gradient (PDHG) method. Under standard convexity and regularity conditions on DC-OPF, the resultant fixed-point output of Loop-OPF is thus optimal and feasible. To speed up PDHG across diverse OPF scenarios, Loop-OPF learns certain PDHG parameters in a self-supervised manner, without any OPF solution labels. We adopt the deep equilibrium (DEQ) framework for training so that the memory cost does not grow with the number of layers. As the grid topology enters every layer as an input, the same trained Loop-OPF directly adapts to unseen contingencies without retraining. Numerical tests on the IEEE 300-bus and PEGASE 1354-, 2869-, and 9241-bus networks have demonstrated the accuracy and topology adaptivity of the proposed Loop-OPF over competing learning-for-OPF methods.

arXiv:2605.04375v3eess.SY

Experiment-as-Code Labs: A Declarative Stack for AI-Driven Scientific Discovery

To unleash the full potential of AI for Science, we must untether the agents from a purely digital environment. The agent's ability to control and explore in real-world labs is essential because the physical lab remains foundational to scientific discovery. While some tasks can be performed on a computer (e.g., data analysis, running simulated experiments), Eureka moments could occur at any time while operating lab instruments (e.g., when a scientist notices unexpected clues, intuition may prompt a real-time course change). Although autonomous labs are on the rise, which expose programmable APIs to control scientific instruments via software, bridging the gap between increasingly powerful AI agents and automated lab equipment requires innovation that draws insights from computer systems. We propose a new paradigm called ``Experiment-as-Code (EaC) Labs,'' where a core concept is to encode experiments as declarative configurations that can be compiled down to device-level APIs. AI agents come up with hypotheses and experiments, written as an ensemble of declarative configurations. The systems layer performs program analysis, safety checks, resource assignment, and job orchestration. Finally, programmatic experimentation occurs via actuating the device APIs. This is a general stack that is science-, lab-, and instrument-independent, representing a novel synthesis across the physical, systems, and intelligence layers to unleash the next breakthrough in AI for Science.

arXiv:2603.06354v3cs.LG

Frequency-Structured Hamiltonian Neural Network for Multi-Timescale Dynamics

Learning coupled fast and slow dynamics accurately remains challenging for structure-preserving neural models. Hamiltonian Neural Networks preserve a learned Hamiltonian, but their neural parameterizations are susceptible to spectral bias, which favors slowly varying components and can leave fast oscillations poorly resolved. We introduce the Frequency-Structured Hamiltonian Neural Network (FS-HNN), which organizes Hamiltonian learning across temporal frequency scales. FS-HNN learns Hamiltonian components from frequency-filtered views of observed trajectories and combines them nonlinearly into a single scalar Hamiltonian. This enables the model to represent interactions across timescales while conserving the learned energy in continuous time. For PDEs, FS-HNN represents Hamiltonian components as neural functionals and learns a spatial operator, using orthogonal projection to conserve the learned energy. Experiments on ODE and PDE benchmarks spanning nonlinear oscillators, coupled lattices, shallow water flows, and dispersive waves show that FS-HNN improves long-horizon rollout accuracy over existing baselines, with accompanying gains in physical-energy fidelity.

arXiv:2611.31127v1eess.SY

Data-Driven Identification of Uncertainty Sets with Conformance Guarantees

Formal verification and controller synthesis require accurate models. Conformance relations specify the required accuracy of a model such that properties established for the model carry over to the target system. Existing methods for establishing them from measured data are typically restricted to a single relation, a specific model class, or a downstream verification algorithm. We present ConfID, a unified framework that establishes reachset, trace, and simulation conformance with respect to measured traces by identifying uncertainty sets for a given, possibly nonlinear nominal model. Unmodeled effects are thus captured by nondeterminism rather than by refining the nominal dynamics. For all three conformance relations, the identification is a linear program that minimizes the size of the reachable sets; only its constraints depend on the relation. We further derive distribution-free bounds on the probability that the identified models are conformant for unseen behaviors. Experiments on simulated and real-world data evaluate the models identified for the three relations, confirm the guarantees, and show that these models cover unseen behaviors more reliably than baselines, with comparable or smaller sets.

arXiv:2611.31026v1eess.SY

Self-Supervised Learning for Soft-Constrained AC-OPF in Multiphase Distribution Systems

This paper presents a self-supervised learning framework for fast, soft-constrained AC optimal power flow (OPF) in unbalanced multiphase distribution systems. The soft AC-OPF objective balances operating cost, renewable energy curtailment, and penalties for violating operating limits. A neural network predicts distributed energy resource (DER) setpoints conditioned on operating conditions, switch configurations, and objective weights. The predicted setpoints are then processed through a DER projection and differentiable AC power flow to enforce device limits and network equalities. The framework is trained by directly minimizing the AC-OPF objective, without optimal-solution labels. Experiments on 123-, 240-, and 906-bus systems yield mean objective gaps of 0.32%, 0.92%, and 0.56%, respectively, relative to IPOPT, across wide operating ranges. Across these systems and the evaluated high-load/low-generation and low-load/high-generation scenarios, the largest mean gap is 1.04%, with mean speedups of 58-5272 times relative to IPOPT.

arXiv:2611.31012v1cs.AI

Triage Accuracy of Jev and Open-Weight System One Decision Models and Their Use for Early Emergency Recognition in Symptom-Assessment Applications

Laypeople increasingly use large language models (LLMs) for triage advice, but LLMs answer in variable free text, which makes it hard to evaluate them for use in medical devices. Decision models, which assign a probability to each predefined triage category, may be easier to evaluate. To test their triage accuracy, we evaluated 16 decision models (14 open-weight, 2 proprietary) on 233 synthetic and 10,000 real-world cases, yielding 163,728 total assessments. The best models triaged 72.1% of synthetic cases correctly and agreed with an existing algorithm in 56.1% of real-world cases. They were more promising for recognising emergencies early: given only demographics, chief complaints, risk factors and red-flag answers, the best model reached an AUROC of 0.87. At a 5% error margin, it could decide for or against emergencies for about half of users. Decision models should therefore not replace triage engines but could shorten symptom assessments at setting-specific error margins.

arXiv:2611.30387v1cs.LG

IP-GNO: An Inductive Physics-Informed Graph Neural Operator for Automated Distribution System State Estimation

Distribution System State Estimation (DSSE) is a crucial tool for real-time monitoring, operation, and control of the new-age distribution systems (DSs) due to intensified voltage fluctuations and operational uncertainties introduced by volatile power injection at the nodes. Existing GNN-based approaches generally exhibit limited generalization across networks with different sizes and topologies, making zero-shot cross-grid transfer to unseen DSs a significant challenge. To overcome the aforementioned challenges, this article proposes an Inductive Physics-Informed Graph Neural Operator (IP-GNO) for scalable and transferable DSSE. The proposed framework frames complex bus voltage estimation as an operator-learning problem inspired by the Neumann series expansion of the inverse bus admittance matrix. An admittance-parameterized kernel, incorporating a self-admittance gate in the zeroth-order term and a persistent source-injection skip connection across network layers, captures the underlying electrical dependencies. Additionally, a Physics-Embedded Tree Encoding (PETE) scheme introduces five grid-size-invariant positional features derived from path impedance and a DC-linearized phase-angle prior. A sine-cosine output formulation is further employed to address phase-angle periodicity and ensure stable training. The proposed IP-GNO module is evaluated on two small (IEEE 33- and 69-bus), two medium (IEEE 123- and 136-bus), and one large (2522-bus) sized DSs. Particularly, its zero-shot cross-grid generalization capability is investigated by training the model exclusively on the IEEE 33-bus system and directly evaluating it on four unseen distribution networks of different sizes without retraining or fine-tuning. A detailed comparative analysis with the existing state-of-the-art DSSE tools proves the superiority of IP-GNO, enabling scalable DSSE across heterogeneous DSs.

arXiv:2611.30020v1cs.AI

Automated Neural Network Auditing (ANNA) for Energy Market Settlements: A Machine and Reinforcement Learning-Based Approach

The integration of segmented energy markets into Independent System Operators (ISOs) like CAISO and MISO has increased settlement complexity. Automated transaction processing creates challenges for evaluating accuracy, compliance, and financial integrity. Traditional rule-based manual auditing is inefficient, error-prone, and cannot handle the data volume from automated markets.This research proposes Automated Neural Network Auditing (ANNA), a machine and reinforcement learning framework for settlement auditing via anomaly prioritization. ANNA integrates statistical anomaly detection, K-Nearest Neighbors (KNN), clustering, and Deep Q-Network (DQN) reinforcement learning to flag potentially anomalous transactions from historical market data. The approach is evaluated as an analyst-support tool for prioritizing transactions needing further audit review.ANNA was tested against traditional statistical methods, clustering-based techniques, and supervised/reinforcement learning models. The study used three years of CAISO settlement data over 63 million source records across 32 charge codes and multiple counterparties. After preprocessing, approximately 2.9 million labeled transactions formed the working dataset, with model-specific subsets used for training and evaluation. Performance was assessed using precision, recall, computational efficiency, and false-negative detection.ANNA outperforms traditional methods by identifying hidden relationships in settlement data, while standard deviation thresholds, K-Means, KNN, and Q-Learning performed poorly across key metrics. The result is a scalable solution integrating machine and reinforcement learning for automated auditing of energy market settlements, contributing computationally efficient anomaly prioritization to settlement-auditing workflows.

arXiv:2611.29100v1eess.SY

Neural Costate Guidance for Autonomous Cislunar Low-Thrust Trajectory Generation

Future missions will benefit from onboard autonomous low-thrust trajectory generation to correct deviations from the nominal flight path caused by navigation errors and thruster outages. Onboard computing resources rarely allow the solution of a cold-started, long-duration nonconvex optimal control problem, especially in dynamically challenging regions such as the cislunar to translunar corridor of the Earth-Moon system. This paper develops data augmentation and training techniques that enable a neural network to predict accurate initial costates of the indirect method. A recovery trajectory is then built from repeated network queries in a computationally efficient guidance algorithm. Training data are produced by the backward generation of optimal examples method, extending prior approaches to the circular restricted three-body problem. A novel anchor trajectory approach is developed to cover the relevant state space, and costate rescaling and a Hamiltonian loss term are used to improve learning. The method is demonstrated on Earth-Moon transfers from a high Earth orbit to halo orbits about L1 and L2. Under navigation errors and thruster outages, a spacecraft reaches the target orbit more often with the proposed method than with nominal-trajectory tracking or fully numerical reoptimization. Onboard computation is reduced by more than an order of magnitude compared with reoptimization.

arXiv:2611.28915v1cs.NE

Which Model Belongs in the Loop? Evaluating Fitness Functions for Network Topology Optimization with a Quality-Diversity Algorithm

Network topology optimization (NTO) can reduce redispatch cost by rerouting power flows in transmission systems. To approach NTO, a complex combinatorial problem, gradient-free optimization algorithms that leverage diversity have shown promising results. These algorithms rely on frequent evaluations of candidate topologies by fitness functions. Recent work has shown that fast DC power flow-based fitness functions can serve this purpose. However, DC power flow fitness functions can misjudge the cost and feasibility of topologies, potentially leading to wrong operational decisions. Understanding the impact of fitness function accuracy on optimization performance is therefore crucial. This study compares the optimization performance of four fitness functions based on DC and AC power flow and on DC and AC optimal power flow. Furthermore, we propose a ranking-based metric to estimate the optimization performance of a fitness function on a curated dataset. Case studies cover the IEEE 118-bus case with 50 congested operating points and a 793-bus case for validation. Results show that optimal power flow-based fitness functions perform better in the optimization loop than power flow-based ones. Additionally, the results indicate that the metric can predict the optimization performance order of the fitness functions, but only if the distribution shift between the curated dataset and the search path of the optimization is small.

arXiv:2611.28585v1cs.RO

AsyncMixVLA: Runtime Asynchronous Robot Policy Switching for Adaptation to Dynamic Environments

Vision-language-action (VLA) models translate visual observations and language instructions into robot actions, enabling general-purpose robotic control. However, environmental perturbations, such as objects moving during execution, can undermine their reliability. Different policies exhibit complementary failures under mid-rollout perturbations, motivating selective switching between policies for recovery. Such switching can stall the robot during inference of the newly invoked policy or, if performed asynchronously, act on stale observations. We present AsyncMixVLA, an adaptive inference framework for proactive, asynchronous switching across heterogeneous VLA policies. A learned trigger balances recovery potential against intervention harm to selectively escalate to a higher-compute policy. AsyncMixVLA overlaps its inference with committed outgoing actions and aligns its context to the anticipated takeover state. On LIBERO-Long with mid-rollout perturbations, AsyncMixVLA improves perturbed task success from 69.5% to 77.1% over the lightweight policy. It achieves 84.9% overall success, comparable to 84.5% for synchronous switching, while reducing median exposed handoff latency from 226.5 ms to 0.1 ms. Without retraining or recalibration, it achieves 75.1% success across three unseen perturbation families, compared with 71.3% for the stronger constituent policy in aggregate.

arXiv:2611.28411v1cs.RO

ScaleEvals: Scaling Generalist Policy Evaluation through Reset-Free Autonomous Play

Real-world evaluation of generalist robot policies is bottlenecked by manual resets, human grading, and small fixed task suites with limited diagnostic coverage. We present ScaleEvals, a scalable reset-free protocol that evaluates policies through continuous physical play across a robot fleet. A VLM AutoPrompter generates scene-grounded tasks with difficulty estimates, language prompts, and skill tags, enabling performance analysis across diverse rollouts. A VLM AutoGrader assesses task progress, achieving 90.7% agreement with human graders. Scores are aggregated via a soft-win Bradley-Terry model, while tag-stratified ANOVA provides interpretable capability diagnostics. Across 3,000+ physical autonomous rollouts on DROID and YAM, ScaleEvals achieves 23.0 net rollouts/hr per station while reducing active human labor by 98%. By ranking five SOTA generalist policies, ScaleEvals correlates with held-out manual evaluation ranking on DROID (r=0.94, rho=0.90, p=0.018), and remains internally consistent on a second embodiment, YAM (r=0.839, rho=0.80). Beyond aggregate rankings, we observe behavioral compositionality: recombining verb-, skill-, and object-conditioned evidence predicts policy order on unseen prompts. Across 10 tasks and 240 prospective physical rollouts, we recover three-policy orderings of 96% pairwise concordance, demonstrating ScaleEvals can predict not just which policy leads, but where rankings reverse.

arXiv:2611.28289v1cs.RO

Intervention-Robust VLA: Diverse Demonstrations for Robot Deployment with Safety Filters

Vision-Language-Action models (VLAs) have shown strong potential for learning complex robotic behaviors from demonstrations. However, learning safe behavior directly from data requires extensive coverage of safety-critical situations, which is often impractical in real-world settings. Test-time safety filters provide an alternative by correcting unsafe actions during deployment, but these interventions can drive the robot into states poorly covered by the training data, thereby degrading task performance. We introduce InteR-VLA, an intervention-robust framework for VLAs that leverages diverse task-completing demonstrations to broaden task-relevant state coverage and maintain competence under safety interventions. By better aligning the training distribution with safety-filtered deployment under the same data budget, our approach mitigates intervention-induced distribution shift while preserving task performance. Real-world experiments across in-distribution and out-of-distribution settings show that InteR-VLA maintains safety, increases Safe Success Rate up to 90% from 0% for nominal policies, and consistently outperforms nominal-data training on both evaluated VLAs.

arXiv:2611.28274v1cs.RO

Neural Fidelity Calibration for Informative Sim-to-Real Adaptation

Deep reinforcement learning (RL) can transfer agile robot skills from simulation to the real world, but closing the sim-to-real gap by domain randomization requires expert physics knowledge, and simulator calibration from real data typically targets a few hand-picked parameters. Even then, simulators miss real-world effects, and environments reconstructed from onboard perception inherit sensing errors that limit policy improvement. We propose Neural Fidelity Calibration (NFC), which uses conditional flow matching to calibrate simulator physical parameters and residual fidelity domains online during deployment. Residual fidelity captures sim-to-real dynamics discrepancies and perception-induced environment uncertainty. NFC operates in a latent space so that realistic environments can be sampled from the inferred posterior for real-to-sim policy fine-tuning. The framework is informative: the pretrained policy is fine-tuned only when an anomaly is detected, sequential NFC seeds its proposal from the simulation-pretrained estimator, and a hallucination policy modulates posterior uncertainty following optimism in the face of uncertainty. NFC attains the most accurate posteriors among established simulation-based inference methods on five robots with up to 39 physical parameters and a 128x128 residual terrain. On a wheeled robot with a broken wheel axle deployed on snow, mud, and wet grass, NFC raises success on rough terrain from 26% to 70% and reduces orientation jerk by 88%. Code and videos will be released upon publication.

arXiv:2611.20402v2cs.RO

쿠프만 제어 보장을 로봇에서 성립시키기

Making Koopman Control Guarantees Hold on Robots

Koopman operator theory lets linear controllers handle nonlinear robots: an encoder lifts the state into a latent space with approximately linear dynamics, on which LQR or MPC is designed. A controller that stabilizes the latent model, however, may fail to stabilize the real nonlinear system. Stability is analyzed on latent rollouts, where the linear model propagates its own predictions, but on the robot the nonlinear dynamics produce each next state, which the controller re-encodes at every step. We prove that latent stability transfers to the robot when the latent model reproduces the true closed-loop dynamics to first order on the embedding's tangent space at the target. We also derive a margin for approximate matching and show that an open-loop stable latent model cannot match the plant's linearization at an unstable equilibrium. We propose Tangent-Invariant Koopman (TIK), which estimates a local plant linearization from offline transitions and builds first-order matching to it into the Koopman matrices. At the target, TIK's feedback gain equals the LQR gain of this linearization, and a bilinear input term models state-dependent actuation during large maneuvers. On four simulated open-loop unstable benchmarks, all 40 Standard Koopman controllers stabilize their latent models but are locally unstable on the real system, whereas all 40 TIK controllers stabilize it. An offline stability test with empirical curvature estimates identifies the stable TIK controllers on two cart-pole systems but is inconclusive under high noise. Given explicit model-error and curvature bounds, an invariant terminal set guarantees constraint satisfaction under local feedback after entry. TIK reaches 88% success in constrained cart-pole swing-up with a 0.25 ms planning budget and controls simulated seven-joint arms within 1~5 ms per step.

arXiv:2511.10296v2eess.SY

Fault Detection in Solar Thermal Systems using Probabilistic Reconstructions

Solar thermal systems (STS) present a promising avenue for low-carbon heat generation, with a well-running system providing heat at minimal cost and carbon emissions. However, STS can exhibit faults due to improper installation, maintenance, or operation, often resulting in a substantial reduction in efficiency or even damage to the system. As monitoring at the individual level is economically prohibitive for small-scale systems, automated monitoring and fault detection should be used to address such issues. Recent advances in data-driven anomaly detection, particularly in time series analysis, offer a cost-effective solution by leveraging existing sensors to identify abnormal system states. Here, we apply probabilistic reconstruction-based anomaly detection to the publicly available PaSTS dataset of operational domestic STS, which features real-world complexities and diverse fault types. We combine an LSTM-based Variational Autoencoder with heteroscedastic uncertainty estimation and evaluate it exclusively on systems unseen during training. Our experiments show that reconstruction-based methods detect faults in domestic STS both qualitatively and quantitatively. Our model achieves the best generalisation to unseen systems among all evaluated methods, while a rescaled PCA reconstruction baseline remains competitive on pooled threshold-free metrics. An ablation shows that heteroscedastic uncertainty estimation drives the gain in cross-system generalisation. Finally, we discuss the engineering overhead required to unlock these improvements and make a case for simple deep learning models.

arXiv:2509.12458v4cs.RO

Neural 3D Object Reconstruction with Small-Scale Unmanned Aerial Vehicles

Miniaturized Uncrewed Aerial Vehicles (UAVs) can access indoor and hard-to-reach spaces, but severe constraints on payload and autonomy have limited their use in demanding tasks such as high-quality 3D reconstruction. We introduce a novel system architecture that enables autonomous, high-fidelity 3D scanning of static objects with sub-100 gram UAVs. Our core innovation lies in a closed-loop active viewpoint selection framework specifically tailored for ultra-constrained micro-platforms, advancing beyond standard static or offline active reconstruction methods. The framework establishes a dual-reconstruction pipeline that creates a real-time (RT) feedback loop between data capture and flight control. A near-RT process uses Structure-from-Motion (SfM) to generate an instantaneous point-cloud of the object. A systematic trajectory adaptation algorithm analyzes the model quality on the fly and dynamically adapts the UAV's trajectory based on parameterized spatial partitioning to intelligently capture new images of poorly covered areas, ensuring comprehensive acquisition. For the final, high-fidelity output, a non-RT pipeline employs a Neural Radiance Fields (NeRF)-based Neural 3D Reconstruction (N3DR) approach, fusing SfM-derived camera poses with precise external location data, evaluated across both radio-based Ultra Wideband (UWB) and visual motion-capture setups, to correct sensor noise and achieve superior accuracy. We implemented and validated this architecture using Crazyflie 2.1 UAVs. Our experiments, conducted in both single- and multi-UAV configurations show that algorithmic dynamic trajectory adaptation consistently improves reconstruction quality over static flight paths. This work demonstrates a scalable and autonomous solution that unlocks the potential of miniaturized UAVs for fine-grained 3D reconstruction, a capability previously reserved for much larger platforms.

arXiv:2505.20370v2eess.SY

Learning mechanical systems from real-world data using discrete forced Lagrangian dynamics

We introduce a data-driven method for learning the equations of motion of mechanical systems directly from position measurements. This is particularly relevant in system identification tasks where only positional information is available, such as motion capture, pixel data or low-resolution tracking. Our approach takes advantage of the discrete Lagrange-d'Alembert principle and the forced discrete Euler-Lagrange equations to construct a physically grounded model of the system's dynamics. We decompose the dynamics into conservative and non-conservative components, which are learned separately using feed-forward neural networks. In the absence of external forces, our method reduces to a variational discretization of the action principle naturally preserving the symplectic structure of the underlying Hamiltonian system. We validate our approach on a variety of synthetic and real-world datasets, demonstrating its effectiveness compared to baseline methods. In particular, we apply our model to (1) measured human motion data and (2) latent embeddings obtained via an autoencoder trained on image sequences. We demonstrate that we can faithfully reconstruct and separate both the conservative and forced dynamics, yielding interpretable and physically consistent predictions

arXiv:2611.27794v1stat.ME

Energy-preserving Bayesian model reduction: closed-form structured posteriors and probabilistic stability certificates for quadratic operator inference

Bayesian operator inference learns reduced-order models (ROMs) with polynomial structure from state data and returns a closed-form Gaussian posterior over the reduced operators. That posterior is unconstrained, so it gives positive probability to operators with unbounded dynamics, and current practice controls this only through finite-horizon simulation tests on a few samples. We show that energy preservation of the quadratic operator is a set of linear equality constraints, which can be imposed exactly inside the Bayesian formulation without losing the closed form. In particular, the constrained posterior follows from one Kalman-type update of the unconstrained one, and its samples are obtained exactly, by the same correction applied to unconstrained draws. Under this structure, global boundedness for all initial conditions and bounded inputs reduces to a linear matrix condition on the symmetric part of the linear operator. The simulation test is then replaced by a probabilistic stability certificate: the posterior probability that the ROM is globally bounded, estimated with exact confidence bounds; the posterior restricted to certified models is then sampled exactly by rejection. For energy-conserving systems, the linear part can be constrained to be skew-symmetric as well: every draw then grows at most linearly in time, and conserves energy exactly when unforced. On a forced viscous Burgers' equation, the Korteweg-de Vries equation and a two-dimensional viscous Burgers' equation, every sample of the constrained posterior integrates to a bounded trajectory, where up to all unconstrained draws diverge, and beyond the observation window the former is also the more accurate of the two.

arXiv:2611.27489v1cs.AI

Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI

Robots can be controlled to perform tasks with guaranteed correctness when the task instructions are stated in a formal language. Large language models (LLMs) have been widely used to allow users to provide such instructions in natural language (NL), by translating NL into formal language. When deploying such translators on a robot, however, we face limited computing and energy resources, while offloading computation or data to the cloud may be infeasible or undesirable. Yet an LLM is a general-purpose text generator, whereas a formula in a fixed formal language fragment follows a well-defined syntax. We therefore ask whether text generation is needed at all. For the formal language of linear temporal logic (LTL), we show that this translation can instead be broken down into answering a set of questions with pre-defined answers. We then construct a System-One model, a recent class of NL-based classifier, to provide such answers and enable us to translate a natural language instruction into an LTL instruction. On three benchmarks, our translator matches or exceeds the accuracy of the best local LLMs available, at up to one order of magnitude lower runtime and energy consumption. We show that it generalizes to unseen atomic propositions and temporal patterns.