OraclePhys Framework Improves LLM Fine-Tuning for Structural Mechanics

Mingyu Li, Guorui Song, Jing Lin, Haoqian Wang· August 19, 2026 View original

Key takeaways

  • The format of fine-tuning labels critically determines what an LLM learns in specialized domains.
  • OraclePhys provides a systematic framework for fine-tuning LLMs on structural mechanics.
  • Explicitly written or score-filtered answers are more effective than reward-weighted scores for installing capabilities.
  • Fine-tuned LLMs can achieve expert-level performance in complex engineering tasks.

Who benefits

EngineeringAerospaceManufacturingConstructionAI/ML Development

Summary

OraclePhys is a systematic framework for fine-tuning large language models (LLMs) on structural mechanics, featuring an exactly-graded benchmark, a supervision dataset, and a controlled training study. It reveals that the label's answer form, not bit count, determines what fine-tuning teaches, enabling an 8B LLM to reach data-precision frontier performance.

A new framework named OraclePhys has been developed to systematically fine-tune large language models (LLMs) for structural mechanics tasks. This framework comprises three core components: OraclePhys-Bench, a benchmark that provides exact, oracle-scored evaluations for structural mechanics problems without human labeling; OraclePhys-30K, a supervision dataset offering seven distinct answer forms for byte-identical structure descriptions; and a controlled study examining how different answer forms and verifier roles impact training. The study yielded two significant findings. Firstly, the specific format of the answer label, rather than its data size, critically dictates what the fine-tuning process imparts to the LLM. For instance, a ranking objective can instill an out-of-distribution forward model, while scalar objectives offer only partial understanding, and boolean objectives show no detectable learning. This distinction persists across different physics domains and model families. Secondly, the research indicates that explicitly written or score-filtered answers are effective in building this capability, whereas advantage-weighted scores (like GRPO) improve reward but fail to statistically differentiate the model from its initial state on unseen physics problems. The fine-tuned 8B LLM, the first of its kind for spatial structural response, achieved performance at the data-precision frontier, surpassing other frontier LLMs and matching specialist levels.

Why it matters

This research offers crucial insights into effective LLM fine-tuning strategies for specialized technical domains, particularly engineering. It demonstrates how careful design of training data and objectives can unlock expert-level performance, moving LLMs beyond general knowledge to precise, domain-specific problem-solving.

How to implement this in your domain

  1. 1Design fine-tuning datasets for specialized LLM applications with careful consideration of the answer format and objective function.
  2. 2Develop domain-specific benchmarks with automated, oracle-based grading to accurately assess LLM performance without human bias.
  3. 3Experiment with different answer forms (e.g., ranking, scalar, vector) in your fine-tuning process to understand their impact on model capabilities.
  4. 4Prioritize explicit, well-structured answers in supervision datasets over reward-based methods for installing complex domain knowledge.
  5. 5Apply these principles to fine-tune LLMs for other engineering or scientific disciplines requiring precise, quantitative reasoning.

Original post by Mingyu Li, Guorui Song, Jing Lin, Haoqian Wang

"arXiv:2608.17162v1 Announce Type: new Abstract: What a language model internalizes from fine-tuning is usually diagnosed after the fact. We make it an experimental variable. OraclePhys is a systematic fine-tuning framework with three components: OraclePhys-Bench, an exactly-grade…"

View on X

Originally posted by Mingyu Li, Guorui Song, Jing Lin, Haoqian Wang on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Engineering & DevTools