See-Saw Generative Mechanism for Scalable Recursive Code Generation with Generative AI

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Vsevolodovna, Ruslan Idelfonso Magaña
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916485455151104
author Vsevolodovna, Ruslan Idelfonso Magaña
author_facet Vsevolodovna, Ruslan Idelfonso Magaña
contents The generation of complex, large-scale code projects using generative AI models presents challenges due to token limitations, dependency management, and iterative refinement requirements. This paper introduces the See-Saw generative mechanism, a novel methodology for dynamic and recursive code generation. The proposed approach alternates between main code updates and dependency generation to ensure alignment and functionality. By dynamically optimizing token usage and incorporating key elements of the main code into the generation of dependencies, the method enables efficient and scalable code generation for projects requiring hundreds of interdependent files. The mechanism ensures that all code components are synchronized and functional, enabling scalable and efficient project generation. Experimental validation demonstrates the method's capability to manage dependencies effectively while maintaining coherence and minimizing computational overhead.
format Preprint
id arxiv_https___arxiv_org_abs_2411_10861
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle See-Saw Generative Mechanism for Scalable Recursive Code Generation with Generative AI
Vsevolodovna, Ruslan Idelfonso Magaña
Machine Learning
Artificial Intelligence
Software Engineering
68T05 (Primary) 68T50, 68N99(Secondary)
I.2.6; I.2.7; D.2.2
The generation of complex, large-scale code projects using generative AI models presents challenges due to token limitations, dependency management, and iterative refinement requirements. This paper introduces the See-Saw generative mechanism, a novel methodology for dynamic and recursive code generation. The proposed approach alternates between main code updates and dependency generation to ensure alignment and functionality. By dynamically optimizing token usage and incorporating key elements of the main code into the generation of dependencies, the method enables efficient and scalable code generation for projects requiring hundreds of interdependent files. The mechanism ensures that all code components are synchronized and functional, enabling scalable and efficient project generation. Experimental validation demonstrates the method's capability to manage dependencies effectively while maintaining coherence and minimizing computational overhead.
title See-Saw Generative Mechanism for Scalable Recursive Code Generation with Generative AI
topic Machine Learning
Artificial Intelligence
Software Engineering
68T05 (Primary) 68T50, 68N99(Secondary)
I.2.6; I.2.7; D.2.2
url https://arxiv.org/abs/2411.10861