AI for user-centered digital maps using open data
Varinot, Lilian
Promotor(s) :
Marée, Raphaël
Date of defense : 7-Sep-2026/8-Sep-2026 • Permalink : http://hdl.handle.net/2268.2/27075
Details
| Title : | AI for user-centered digital maps using open data |
| Translated title : | [fr] L'IA pour des cartes numériques centrées sur l'utilisateur utilisant des données ouvertes |
| Author : | Varinot, Lilian
|
| Date of defense : | 7-Sep-2026/8-Sep-2026 |
| Advisor(s) : | Marée, Raphaël
|
| Committee's member(s) : | Huynh-Thu, Vân Anh
Louveaux, Quentin
|
| Language : | English |
| Number of pages : | 71 |
| Keywords : | [en] Large Language Model, [en] retrieval-augmented generation [en] vector tiles [en] MapLibre [en] natural language processing [en] OpenStreetMap cartography [en] local privacy-preserving LLM |
| Discipline(s) : | Engineering, computing & technology > Computer science |
| Target public : | Researchers Professionals of domain Student |
| Complementary URL : | https://github.com/SkyFreazz/Master_Thesis |
| Institution(s) : | Université de Liège, Liège, Belgique |
| Degree: | Master en sciences informatiques, à finalité spécialisée en "computer systems security" |
| Faculty: | Master thesis of the Faculté des Sciences appliquées |
Abstract
[en] Digital maps are rarely neutral: every provider decides, once and for all, what to show, what to hide, and how to draw it, producing a single "one-size-fits-all" visual style regardless of who is looking or why. Vector tiles theoretically remove the technical barrier to restyling a map instantly, on demand, since the geographic data and its visual representation are already decoupled; in practice, authoring a new style still requires manually editing a JSON stylesheet that can run to hundreds of individual layers, a task users cannot reasonably perform for themselves. This thesis investigates whether a locally-hosted, privacy-preserving Large Language Model (LLM) can close that gap: given a natural-language request such as "make the parks a vivid green" or "I want to focus on soft mobility, hide the motorways", can an AI system reliably translate it into a valid, correctly targeted edit of a real MapLibre style, without sending any data off the user's own machine?
This work is the styling half of a two-person collaborative thesis; a partner thesis handles the natural-language-to-Overpass-query half of the same pipeline. Three architectures were designed, benchmarked, and progressively discarded before arriving at a working solution. A naive Full Rewrite strategy, asking the model to regenerate the entire style file, and a lighter State Patching strategy, asking it to output only a minimal list of add/update/delete actions, both perform acceptably on small, artificially reduced style files, but both fail silently once pointed at the project's actual reference style (osm-liberty.json, roughly 70,000 characters): the model stops reading the input past an early cutoff and completes the response from generic conventions memorized during training, producing a document that is syntactically perfect and completely disconnected from the real data it was supposed to edit. This finding, that "the JSON is valid" cannot be trusted as a proxy for "the answer is correct" once a style file grows past a toy size, motivated this thesis's main contribution: a Targeted Retrieval-Augmented Generation architecture that first extracts keywords and an explicit intent from the user's request, then algorithmically retrieves only the small subset of style layers actually relevant to it, and only then asks the LLM to generate an edit, constrained to that narrow subset rather than the full 70,000-character file.
A reproducible, five-criterion evaluation protocol (syntactic validity, schema validity, targeting accuracy, visual fidelity, and graceful degradation under out-of-schema requests) was built and applied across a 28-prompt suite spanning easy to hard, additive to suppressive, and explicit to adversarial phrasing. On the consumer-grade hardware used throughout this thesis (a 4,GB VRAM laptop GPU, a budget model released in 2016), the selected local model, qwen2.5-coder:7b, reaches a median response time of 52 seconds (mean 137 seconds; the gap between the two reflects a long tail of slow, harder prompts) and scores a flat, zero-variance result on nearly every explicit, additive request, with its remaining errors concentrated specifically in suppressive and implicit, scenario-based requests, a narrow, identifiable gap rather than a general quality shortfall. A larger local model (14B parameters, benchmarked at N=1 per prompt for latency reasons rather than the protocol's usual five, a limitation this thesis states explicitly rather than treating its slightly higher score as statistically established) and a commercial cloud model (Gemini 3.5 Flash Lite) were benchmarked under the exact same architecture to probe whether the remaining gap reflects a limit of the model or a limit of the architecture: the 14B model's latency alone, roughly eight times higher and prohibitive on this hardware, rules it out regardless of its exact quality; the cloud model closes most of the remaining gap, quantifying, on the same task, what is gained and what is deliberately given up (privacy, offline capability, zero running cost) by choosing a local-first design.
File(s)
Document(s)
AI_for_user_centered_digital_maps_using_open_data.pdf
Description:
Size: 8.49 MB
Format: Adobe PDF
Cite this master thesis
The University of Liège does not guarantee the scientific quality of these students' works or the accuracy of all the information they contain.

Master Thesis Online

