OccamLLM: Fast and Exact Language Model Arithmetic in a Single Step
–Neural Information Processing Systems
Language model systems often enable LLMs to generate code for arithmetic operations to achieve accurate calculations. However, this approach compromises speed and security, and fine-tuning risks the language model losing prior capabilities. We propose a framework that enables exact arithmetic in *a single autoregressive step*, providing faster, more secure, and more interpretable LLM systems with arithmetic capabilities. We use the hidden states of a LLM to control a symbolic architecture that performs arithmetic.
Neural Information Processing Systems
Dec-25-2025, 05:42:56 GMT
- Technology: