RAP: A Dataset for Paper-to-Poster Generation via Declarative Markup from Human-Crafted Exemplars
Haonan Han, Yukang Lin, Minliang Lin, Haoxian Tan, Jun-Yan He, Rui Yang, Zhi-Qi Cheng, Jie Hu, Guanglu Wan, Xiu Li
cs.CV
2026-10-16
RAP turns 25,435 NeurIPS, ICML, and ICLR pairs into refillable HTML. On 150 held-out papers, slot filling hits FDiD 306.79, 18.7% under P2P, and leads diversity.
A conference poster has to summarize a paper, lock that summary into a fixed page, and implement it as code a browser can render. The only source is the paper itself. That makes the task a direct test of visual coding: a long document goes in, and one readable page of markup comes out.
Existing sets are too small or too shallow for that test. Paper2Poster has 100 pairs and P2PEval 121, and both score outputs with a VLM judge or a human checklist. SciPostGen reaches 18,097 pairs but stops at boxes, OCR, and figure links. P2PInstruct is larger and does include HTML, yet the markup is written by a model. Human posters cannot be retrieved as a design library, and they cannot supervise a generator with a render you can compare to the original.
RAP pairs accepted papers from NeurIPS, ICML, and ICLR, 2022 to 2026. OpenReview supplies the PDF or supplementary LaTeX and the author-uploaded poster. The match yields 25,435 pairs: 11,256 from NeurIPS, 8,504 from ICLR, and 5,675 from ICML. Each paper is tagged in a taxonomy of 15 domains, 20 tasks, and 39 methods, and gets a short summary of the introduction. The held-out test set has 150 papers, 10 per domain, and those posters stay out of the template bank.
Derendering turns a poster image into typed HTML slots in four steps. A fine-tuned LayoutLMv3 boxes titles, body text, figures, tables, formulas, and captions, then marks each box as text, image, or decoration. PaddleOCR counts lines in each text box. Pixel font size is box height divided by line count, times 0.8, where 0.8 leaves room for line spacing, and that number is written straight into CSS. A multimodal model sees only the original image and writes a design note: palette, type, ornaments, plus per-region density, reading order, and emphasis. Code places an absolutely positioned div on every box. Image regions use crops of the source poster. Text regions stay empty except for the font size. A second model pass reads the poster, fills the words, and adds decorative CSS. With Claude-Opus-4.6 as the backbone, reconstruction reaches SSIM 0.7896 and layout mIoU 0.6897.
PosterRAG does not train. A parser emits domain, task, method, a narrative summary, and the figures and tables. Retrieval keeps templates with the same three labels, then reranks them by how the introduction frames the contribution, so a gap-then-fix paper lands on a template with the same arc. A last scorer rates density, figure-to-text ratio, and finish from 1 to 5. With no user preference it picks the candidate nearest the neutral middle. The mapper may replace, keep, or clear the text and images inside slots. Column widths, colors, type, and decoration stay as the human designer left them. A reviewer renders the page and fixes whatever visual defects remain.
The training track fine-tunes Qwen3.8-27B, then runs GRPO. On the paper side only the method, experiments, and conclusion are kept, cut to a layout budget. Figures, tables, and equations get ids and nearby captions, then match slots on the reference poster by visual features and geometry. Uncertain matches are left empty. The instruction restates palette and composition in prose and adds a layout spec parsed from the ground-truth HTML: column count, order, and block geometry, without the poster sentences or the tags. Sampled HTML must render. The reward is a validity gate times a mix of a rule score, weight 0.4, and a VLM score, weight 0.6. Rules check clipping, overlap, boxes off the canvas, empty regions, and bad figures. Gemini-3.8-Flash scores the render against the reference poster for completeness and for how close the columns and style are.
The test is the 150 held-out papers. Every agent call in every method uses Claude-Opus-4.6. Diversity is the mean pairwise LPIPS, DINOv2 cosine distance, and DISTS among generated posters. Higher means the set varies more. Human-likeness is FID and FDiD between that set and the full RAP collection of human posters. Lower means closer. FDiD uses DINOv2 features instead of Inception, so column geometry moves it more.
| Method | LPIPS / DINO / DISTS | FID / FDiD |
| NanoBanana Pro | 0.5695 / 0.2364 / 0.2231 | 24.25 / 483.97 |
| P2P | 0.5761 / 0.2847 / 0.2340 | 33.24 / 377.25 |
| Paper2Poster | 0.5547 / 0.1138 / 0.2107 | 81.59 / 1156.73 |
| PosterGen | 0.4131 / 0.2710 / 0.2527 | 133.83 / 682.27 |
| Image guidance | 0.5584 / 0.0877 / 0.2246 | 77.11 / 1267.84 |
| HTML slot fill | 0.6471 / 0.4443 / 0.3490 | 23.75 / 306.79 |
HTML slot filling is best on all five. FDiD is 306.79, 18.7% under P2P at 377.25, the best baseline on that metric. DINOv2 distance is 0.4443, against 0.2847 for P2P and 0.1138 for Paper2Poster, whose posters look alike. FID 23.75 sits next to NanoBanana Pro at 24.25. That system emits a raster image, and its FDiD is still 483.97. In the same retrieval setup, switching the reference from a poster image to HTML drops FDiD from 1,267.84 to 306.79.
Post-training is a different task. The model also receives a design request and a layout spec.
| Model | LPIPS / DINO / DISTS | FID / FDiD |
| GPT-6-Astra | 0.5704 / 0.2093 / 0.2369 | 27.64 / 341.64 |
| Kimi-K3 | 0.5856 / 0.1974 / 0.2445 | 27.94 / 340.50 |
| Gemini-3.1-Pro | 0.5956 / 0.1983 / 0.2365 | 41.49 / 408.05 |
| Claude-Opus-5 | 0.6414 / 0.2320 / 0.2728 | 21.56 / 289.49 |
| Qwen3.8-27B | 0.6284 / 0.2579 / 0.2680 | 32.44 / 465.00 |
| SFT | 0.6599 / 0.2784 / 0.2892 | 28.00 / 326.24 |
| SFT+RL | 0.6925 / 0.2735 / 0.2944 | 23.42 / 306.94 |
SFT improves all five metrics over base Qwen3.8-27B. RL moves FID/FDiD from 28.00/326.24 to 23.42/306.94, raises LPIPS and DISTS, and trims DINOv2 distance from 0.2784 to 0.2735. LPIPS 0.6925 and DISTS 0.2944 are the highest among the models in the table. FID and FDiD still trail Claude-Opus-5 at 21.56 and 289.49. In the qualitative example the base model leaves large empty regions. Both tuned models fill the three columns named in the instruction.
On derendering, the detector does most of the work. Without layout detection, mIoU is 0.0652 and FDiD is 977.20. LayoutLMv3 moves those to 0.5236 and 93.48. OCR plus the design note reaches mIoU 0.6897 and FDiD 61.71. Gemini-3.1-Pro has the higher SSIM, 0.8076 against 0.7896 for Claude-Opus-4.6. Claude still leads layout mIoU and FDiD, so the rest of the pipeline uses it.
Raster posters from an image generator cannot be edited as text, and HTML written from scratch drifts with the model. RAP turns author posters into slots you can search. PosterRAG replaces words and figures for a new paper and leaves color and columns on the template. The same triplets supervise SFT and provide a reward computed after rendering.
The fit is batch production when the new paper sits near one already in the bank. The bank is only these three ML conferences. If the domain, task, and method tags miss, the first filter can empty the candidate list. There is no described fallback for that miss.
Post-training saves the filling step. In the qualitative example the user instruction already fixes canvas size, the three column ratios, title size, and colors. The model has to place the text and figures completely inside that spec.
The main table does not measure faithfulness to the paper. FID, FDiD, and pairwise distances ask how spread out the posters are and how close the set sits to human posters. A wrong number or the wrong figure can still score well. The VLM reward does include faithfulness. That term is never reported on its own.
The reference distribution for PosterRAG is the same 25,435 posters that supply the templates. Test papers are held out. The conference style is not. Keeping a retrieved HTML scaffold pulls FDiD down. Image guidance lands at 1,267.84, about four times the slot-filling FDiD, so seeing the poster image does not transfer the geometry. Large pairwise distances mostly reflect how varied the templates already are.
All 150 test papers come from the same three venues. Ablations of the reward terms are in the appendix, and the main text does not say how far each term moves the score. Layout mIoU is 0.69, and slot text is read off the poster by a model, so recognition errors become SFT targets. Placement is absolute. When a slot overflows, the mapper rewrites to capacity and then replaces, keeps, or clears. Extra sentences do not flow into the next column.