Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Repository files navigation

WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts

Project PagearXivHugging Face

WebRISE is a benchmark for evaluating whether MLLM-generated web artifacts actually work, rather than only look plausible. WebRISE compiles task requirements into Interaction Contract Graphs (ICGs) of observable UI states, user-intent transitions, and DOM/visual assertions, then evaluates generated HTML pages through browser execution.

Overview

WebRISE targets executable, interactive web artifacts generated from multimodal specifications. It evaluates behavior at the level of requirement-induced state transitions, supporting diagnosis of explicit user-facing functions and implicit product-level constraints such as state synchronization, boundary feedback, stale-state cleanup, and state preservation.

The released benchmark includes:

  • 442 web tasks across diverse domains and scenarios.
  • 5 input modalities: Text, Markdown, Sketch, Image, and Video.
  • 5,495 interaction transitions.
  • 5,271 requirement checks.
  • Contract-guided browser evaluation with DOM and visual evidence.

Benchmark Design

  • Requirement-induced state contracts: Each task is represented by an ICG that links explicit and implicit requirements to observable states, user-intent transitions, DOM/visual assertions, and coverage mappings.
  • Contract-guided adaptive execution: The ICG specifies what to verify, while an adaptive browser agent decides how to execute each transition on diverse generated pages.
  • Implementation-agnostic observations: The agent acts over indexed DOM observations instead of fixed CSS selectors, reference DOM paths, or hand-written scripts.
  • DOM/visual dual oracle: DOM assertions capture process and element-level evidence, while visual postconditions verify user-visible state changes from screenshots.
  • Diagnostic metrics: WebRISE reports state reachability, transition validity, explicit/implicit requirement coverage, and auxiliary visual quality diagnostics.

Main Results

Each modality cell reports T / R / V, where T is transition validity, R is overall requirement coverage, and V is the auxiliary visual score.

ModelTextMDSketchImageVideoOverall
Qwen3.6-35B-A3B26.8 / 30.5 / 78.215.5 / 19.2 / 80.841.2 / 45.4 / 77.046.6 / 49.6 / 71.749.5 / 52.2 / 72.850.5
Qwen3.5-122B-A10B38.0 / 41.2 / 56.842.5 / 45.9 / 72.038.0 / 42.3 / 74.040.2 / 43.8 / 70.742.8 / 47.1 / 71.351.1
Qwen3.5-27B36.3 / 40.0 / 59.941.7 / 45.5 / 72.138.6 / 42.7 / 76.842.6 / 46.7 / 70.643.1 / 46.9 / 71.851.7
Qwen3.5-397B-A17B45.7 / 49.2 / 64.851.1 / 54.5 / 75.746.8 / 50.5 / 78.948.4 / 51.4 / 72.849.3 / 52.8 / 72.157.6
Kimi-K2.548.5 / 51.9 / 68.957.0 / 59.6 / 73.847.8 / 50.4 / 79.956.9 / 59.1 / 72.658.6 / 60.3 / 72.961.2
Qwen3.6-27B47.9 / 50.9 / 75.357.5 / 60.1 / 83.050.4 / 53.3 / 87.255.2 / 57.8 / 74.154.2 / 57.2 / 74.162.5
Kimi-K2.644.6 / 47.3 / 83.151.7 / 54.9 / 87.147.8 / 51.5 / 86.358.5 / 60.4 / 73.263.7 / 65.4 / 73.563.3
Claude Opus 4.643.3 / 45.5 / 56.654.3 / 56.3 / 73.952.3 / 55.0 / 72.257.7 / 59.5 / 70.252.6 / 54.9 / 70.758.3
Gemini 3 Flash44.7 / 48.2 / 71.950.0 / 54.1 / 79.346.1 / 49.3 / 85.454.1 / 57.5 / 72.445.6 / 48.5 / 70.858.5
Claude Opus 4.748.8 / 50.9 / 68.354.5 / 56.5 / 76.249.7 / 52.4 / 77.457.0 / 58.5 / 70.565.0 / 66.1 / 72.761.6
Gemini 3.1 Pro50.7 / 53.6 / 69.758.9 / 61.5 / 79.252.2 / 54.9 / 84.854.5 / 57.1 / 72.252.0 / 54.9 / 71.661.9
Qwen3.6-Plus49.3 / 51.9 / 68.251.7 / 54.6 / 74.553.8 / 56.4 / 86.357.5 / 59.4 / 73.861.7 / 63.4 / 74.862.5
GPT-5.459.7 / 61.4 / 78.460.5 / 62.2 / 79.857.8 / 60.3 / 86.660.0 / 62.1 / 71.563.1 / 64.8 / 73.766.8
GPT-5.560.3 / 62.3 / 85.664.4 / 66.1 / 83.360.6 / 62.9 / 86.161.8 / 63.4 / 74.165.6 / 66.3 / 73.969.1

Repository Structure

.
├── generation/
│ ├── icg_pipeline.py
│ └── gen_input/
├── inference/
│ └── generate_html.py
├── evaluation/
│ ├── eval_agentmode.py
│ ├── dom_observation.py
│ ├── dom_assert.py
│ ├── dom_scorer.py
│ ├── scorer.py
│ ├── metrics.py
│ ├── test_assets/
│ └── browser-use/
├── requirements.txt
└── .env.example

Dataset

The WebRISE data release is hosted on Hugging Face:

Download the dataset with the Hugging Face CLI:

hf download IIGroup/WebRISE \
--repo-type dataset

The dataset is organized as:

<DATASET_DIR>/
├── requirements_full.json
└── data/
└── <TASK_ID>/
├── icg.json
├── <artifact>.html
└── ...

Setup

git clone https://github.com/IIGROUP/WebRISE.git
cd WebRISE
pip install -r requirements.txt
python -m playwright install chromium
cp .env.example .env

Set API keys and judge model options in .env or in your shell. Common settings include:

OPENAI_API_KEY=your_api_key
OPENAI_BASE_URL=your_optional_base_url
MODEL_NAME=your_generation_model
WEBRISE_DATA_ROOT=path/to/dataset/data
WEB_EVAL_MODEL_AGENT=your_agent_model
WEB_EVAL_MODEL_SCORER=your_scoring_model

Run Model Inference

Generate HTML artifacts from released modality inputs:

MODEL_NAME=your_model_name \
WEBRISE_DATA_ROOT=path/to/dataset/data \
TASK_MODE_FILTER=TASK_ID:Text \
python inference/generate_html.py

By default, outputs are written to:

inference_outputs/<RUN_NAME>/<MODEL>/<MODALITY>/

Run Evaluation

Evaluate a generated HTML artifact against its ICG:

python evaluation/eval_agentmode.py \
--html path/to/generated.html \
--icg path/to/icg.json \
--output eval_runs/example

You can also use the lightweight shell wrapper:

bash evaluation/eval_agentmode.sh \
path/to/generated.html \
path/to/icg.json

Utilities: Build Input Modalities

The released dataset already contains modality inputs. These scripts are mainly useful when regenerating or auditing modality assets.

DATA_ROOT=path/to/dataset/data
TASK_ID=your_task_id
python generation/gen_input/build_text_md_sketch_inputs.py \
--data-root "$DATA_ROOT" \
--tasks "$TASK_ID"
python generation/gen_input/build_image_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT"
python generation/gen_input/build_video_inputs.py \
"$TASK_ID" \
--data-root "$DATA_ROOT" \
--passed-only

Citation

If you use WebRISE in your research, please cite our paper:

@misc{meng2026webriserequirementinducedstateevaluation,
title={WebRISE: Requirement-Induced State Evaluation for MLLM-Generated Web Artifacts}, author={Yuxin Meng and Yuhan Suo and Junjie Wang and Yuhan Sun and Yiyao Yu and Ruixu Zhang and Ruining Hu and Yubin Wang and Shouwei Ruan and Bin Wang and Yuxiang Zhang and Yujiu Yang},
year={2026},
eprint={2606.03220},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2606.03220}, }

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages