Search arXiv⌕ Search

arXiv subjects

Dimitrios Andreakis

Publications and source records attributed to Dimitrios Andreakis.

2 recordsLinked to original sources

Can Small Language Models Be Fine-Tuned to Reliably Reason about Cardinal Directions?

Cohn and Blackwell (2024, 2025) found that small language models achieve substantially lower accuracy than large language models on cardinal direction reasoning tasks. This capability gap poses a substantial barrier to deploying spatially-aware autonomous agents on resource-constrained edge devices (e.g., real-time embodied robotics and local navigation agents). In this paper, we investigate whether small language models can be fine-tuned to reliably perform cardinal direction reasoning. Through a controlled, 11-part diagnostic ablation study on the benchmark of Cohn and Blackwell (2024) (hereafter referred to as the COSIT-CD benchmark), we evaluate a 1-billion-parameter model (gemma-3-1b-it) to reverse-engineer its spatial learning mechanics. We discover that text-based small language models do not possess an inherent capacity for cardinal direction reasoning; rather, their spatial deduction relies heavily on discrete syntactic pattern matching. We demonstrate that while In-Context Learning and generic spatial datasets (StepGame) fail to bridge this reasoning gap, targeted weight updates can teach the model to correctly apply conflicting spatial rules and ignore irrelevant vocabulary. Ultimately, we define the "Minimum Viable Dataset", a rigorously curated framework designed to isolate the exact syntactic thresholds required for cardinal direction reasoning. By explicitly mapping these syntactic structures, our model trained on this dataset achieves 100.00% accuracy on the COSIT-CD benchmark, demonstrating that reliable, domain-specific spatial logic can be embedded directly into highly constrained architectures. All scripts, datasets, and experimental results are publicly available at our GitHub repository (https://github.com/EncodedMind/Can-Small-Language-Models-reason-about-cardinal-directions).

cs.CL↗

Shape optimization of light structures with general Hooke's laws

For the minimum-compliance shape optimization problem it was established recently [\textit{Duke Math.\ J.} 172 (2023), 43--103] that a sequence of approximately optimal shapes of exact volume \(\e\) converges to a limiting generalized shape, which is represented by a possibly diffuse probability measure, as \(\e \todown 0\). This generalized shape minimizes the so-called light-structures compliance functional, which --- as conjectured by Bouchitté --- is expressed in terms of a relaxed integrand, reflecting that optimal shapes must only involve ``lower-dimensional'' structures, like the Michell-type trusses that are well known in the engineering domain. However, the aforementioned result only applies for the simplest isotropic quadratic energy density, that is, the squared Frobenius norm, in dimensions two and three. The present work extends the relaxation result to the entire class of (isotropic or anisotropic) elasticity tensors and to any dimension, thus solving Bouchitté's conjecture in full generality. Since the previous work relied on explicit formulas for the relaxed integrands (due to Allaire, Kohn, and Strang), which are not available in the general case, several new arguments and substantial modifications of the original approach are required. We also significantly simplify and streamline other parts of the original argument, in addition to clarifying some related statements in the literature.

math.AP↗