Web4AI: Intent-Driven Evolutionary Self-Adaptation of Web Applications with Large Language Models

LLMs combined with evolutionary search can discover improved programs when a precise fitness function is available, but web applications rarely have one: their goals are stated in business terms, trade off against each other, and are bounded by requirements that must never be violated. We present Web4AI, in which operators declare objectives and constraints in a small intent language; a compiler translates each intent into a constrained multi-objective fitness specification; an LLM-guided evolutionary engine proposes code variants; and a safety envelope of tests, static checks, staged rollout with non-inferiority testing, and automatic rollback governs what reaches users. We define the language's syntax and semantics, map it onto the MAPE-K self-adaptation loop, analyze risks such as metric gaming and evolutionary drift, and specify an evaluation protocol.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-25
DOI
https://doi.org/10.5281/zenodo.22967462
Primary Topic
Software Testing and Debugging Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
preprint

Web4AI: Intent-Driven Evolutionary Self-Adaptation of Web Applications with Large Language Models

Shubham Jha
Zenodo (CERN European Organization for Nuclear Research)
Software Testing and Debugging Techniques
preprint

Web4AI: Intent-Driven Evolutionary Self-Adaptation of Web Applications with Large Language Models

Shubham Jha
preprint en

Abstract

LLMs combined with evolutionary search can discover improved programs when a precise fitness function is available, but web applications rarely have one: their goals are stated in business terms, trade off against each other, and are bounded by requirements that must never be violated. We present Web4AI, in which operators declare objectives and constraints in a small intent language; a compiler translates each intent into a constrained multi-objective fitness specification; an LLM-guided evolutionary engine proposes code variants; and a safety envelope of tests, static checks, staged rollout with non-inferiority testing, and automatic rollback governs what reaches users. We define the language's syntax and semantics, map it onto the MAPE-K self-adaptation loop, analyze risks such as metric gaming and evolutionary drift, and specify an evaluation protocol.

Zenodo (CERN European Organization for Nuclear Research)
Peace, Justice and strong institutions
Software Testing and Debugging Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.