Repositório UNIFEI UNIFEI - Campus 1: Itajubá PPG - Programas de Pós Graduação Teses
Use este identificador para citar ou linkar para este item: https://repositorio.unifei.edu.br/jspui/handle/123456789/4467
Registro completo de metadados
Campo DCValorIdioma
dc.creatorSOUZA, Alex Fernandes de-
dc.date.issued2026-08-06-
dc.identifier.citationSOUZA, Alex Fernandes de. In-context learning versus trained models: generative AI and machine learning for surface roughness prediction in dry Ti-6Al-4V turning. 2025. 83 f. Dissertação (Mestrado em Engenharia de Produção) – Universidade Federal de Itajubá, Itajubá, 2025.pt_BR
dc.identifier.urihttps://repositorio.unifei.edu.br/jspui/handle/123456789/4467-
dc.description.abstractSurface roughness Ra is a critical quality indicator in dry turning of Ti-6Al-4V titanium alloy, a material widely used in aerospace and biomedical applications. Empirical powerlaw models remain the industrial standard but cannot represent interaction effects or non-linear responses. Machine learning offers greater flexibility, yet its deployment is constrained by small experimental datasets and the need for rigorous validation protocols. Large language models represent an alternative predictive paradigm, potentially encoding implicit knowledge of machining physics that may support quantitative prediction through in-context learning alone. This work compares five predictive models, comprising two conventional mathematical approaches (Power Law and RSM) and three machine learning models (SVR, Gaussian Process Regression, and XGBoost), against three LLMs (Claude Sonnet 4.5, GPT-4o-mini, and Gemini 3 Flash Preview) for Ra prediction in Ti-6Al- 4V turning. A Central Composite Design with k = 3 factors and two carbide inserts of distinct nose radii yielded N = 38 observations. The conventional and ML models were evaluated under nested LOOCV with 5-fold grid search where applicable. LLMs were accessed via API at temperature zero under two prompting strategies, few-shot and chain-of-thought, across three independent runs, with results reported as mean ± standard deviation. Claude Sonnet 4.5 in few-shot mode achieved the best overall performance (RMSE = 0.288 ± 0.016 μm, R2 = 0.985), outperforming SVR, the best trained model (RMSE = 0.341 μm), by 16% without task-specific training or fine-tuning. The effect of prompting strategy was model dependent: few-shot prompting outperformed chain-ofthought for Claude and GPT, whereas Gemini CoT achieved a substantially lower mean RMSE than Gemini FewShot but exhibited markedly greater run-to-run variability. This variability was especially pronounced for Gemini CoT, whose RMSE ranged from 0.31 to 0.99 μm across identical executions. The results show that a capable LLM supplied with well-structured experimental demonstrations can surpass optimised trained models for Ra prediction without task-specific training, while also demonstrating that predictive performance and stability depend strongly on both model architecture and prompting strategy.pt_BR
dc.languageengpt_EN
dc.publisherUniversidade Federal de Itajubápt_BR
dc.rightsAcesso Abertopt_BR
dc.subjectSurface roughness predictionpt_BR
dc.subjectTi-6Al-4V turningpt_BR
dc.subjectMachine learningpt_BR
dc.subjectLarge language modelspt_BR
dc.subjectIn-context learningpt_BR
dc.subjectFew-shot promptingpt_BR
dc.subjectCross-validationpt_BR
dc.titleIn-context learning versus trained models: generative AI and machine learning for surface roughness prediction in dry Ti-6Al-4V turningpt_BR
dc.typeTesept_BR
dc.date.available2026-08-26-
dc.date.available2026-08-26T17:26:54Z-
dc.date.accessioned2026-08-26T17:26:54Z-
dc.creator.Latteshttp://lattes.cnpq.br/5633654726100239pt_BR
dc.contributor.advisor1SOUZA, Antônio Carlos Zambroni de-
dc.contributor.advisor1Latteshttp://lattes.cnpq.br/4860175234818683pt_BR
dc.contributor.advisor-co1NETO VERRI, Filipe Alves-
dc.contributor.advisor-co1Latteshttp://lattes.cnpq.br/0145582312635382pt_BR
dc.publisher.countryBrasilpt_BR
dc.publisher.departmentIEPG - Instituto de Engenharia de Produção e Gestãopt_BR
dc.publisher.programPrograma de Pós-Graduação: Doutorado - Engenharia de Produçãopt_BR
dc.publisher.initialsUNIFEIpt_BR
dc.subject.cnpqCNPQ::ENGENHARIAS::ENGENHARIA DE PRODUCAOpt_BR
Aparece nas coleções:Teses

Arquivos associados a este item:
Arquivo Descrição TamanhoFormato 
Tese_2026031.pdf5,52 MBAdobe PDFVisualizar/Abrir


Os itens no repositório estão protegidos por copyright, com todos os direitos reservados, salvo quando é indicado o contrário.