SlideShare a Scribd company logo
AN ADAPTIVE NEURAL NETWORK-BASED
 METHOD FOR TILE REPLACEMENT IN A WEB
              MAP CACHE
  Ricardo García, Juan Pablo de Castro, María Jesús Verdú,
      Elena Verdú, Luisa M. Regueras and Pablo López

        Higher Technical School of Telecommunications Engineering
                          University of Valladolid

Santander, Spain, June 20-23, 2011
CONTENTS

   Web Map Services

   Tiled Map Services

   Web Proxy Cache

   Neural Network Cache Replacement Policy
WEB MAP SERVICES

Clients                       Server    GetMap parameters:
                                         Layers
                                         Styles
            GetCapabilities
                                         Coordinate
                                          Reference System
                                         Bbox
           GetMap
                                         Width
                                         Height
                                         Format
                                         Transparent
                                         BgColor
  Map images are generated on the fly    Exceptions
                                         Tile
       flexible, but not scalable
                                         Elevation
TILED MAP SERVICES

   Bounding box and scales are                    Coarse

    constrained to discrete tiles                  resolution
                                                                Level 0




   Community specifications:
       WMS Tile Caching (WMS-C)
       Web Map Tile Service (WMTS)
                                      Detailed
   Propietary specifications:        resolution
                                                                          Level l
       Microsoft Bing Maps
       Nasa World Wind
       Google Maps
PROXY WEB CACHE

  Clients
                              Proxy Cache   WMS Server
            GetCapabilities                              DataStore


            GetMap
BRUTE-FORCE APPROACH
   Caching the whole map can include millions
    of tiles
     Huge storage requirements
     ↑↑ Start-time to generate all the content



   Many GIS providers lack storage resources

   There are map services which update the
    cartography very often
PARTIAL CACHE

   When the cache runs out of space it is
    necessary to determine which tiles should be
    replaced by the new ones

   The cache replacement algorithm proposed in
    this work uses a neural network to estimate the
    probability that a request of a tile occurs before
    a certain period of time.
TRAINING DATA

 Trace requests from three public nation-wide
  tiled web map services in Spain: Cartociudad,
  IDEE-Base and PNOA.
 1th – 7th March 2010
     Cartociudad:25.922 reqs
     IDEE-Base: 94.520 reqs

     PNOA: 186.672 reqs

   Only cacheable requests considered
HEATMAPS
REQUESTS DISTRIBUTION
NEURAL NETWORK PARAMETERS
Parameter                  Value
Architecture               Feed-forward Multilayer Perceptron
Inputs                     3 (recency, frequency, size)
Hidden layers              2
Neurons per hidden layer   3
Output                     1 (probability of a future request)
Activation functions       Log-sigmoid in hidden layers, Hyperbolic tangent sigmoid in
                           output layer
Error function             Minimum Square Error (mse)
Training algorithm         Backpropagation with momentum
Learning method            Supervised learning
Weights update mode        Batch mode
Learning rate              0.05
Momentum constant          0.2
NEURAL NETWORK INPUTS
NEURAL NETWORK TARGET




 During the training process, a training record is associated
  with a boolean target (0 or 1) which indicates whether the
  same tile is requested again or not in window

 Once trained, the neural network output will be a real value
  in the range [0,1] that must be interpreted as the probability
  of receiving a successive request of the same tile within the
  time window.
SIMULATION RESULTS
              IDEE-Base



Cartociudad




                          PNOA
PROXY CACHE SIMULATION
CONCLUSIONS

 Serving pre-generated map image tiles from a
  server-side cache has become a popular way of
  distributing map imagery on the Web
 Storage needs are often prohivitive which
  forces the use of partial caches
 A feed-forward multilayer perceptron can
  effectively take replacement decisions based
  on recency, frequency and size of map requests
THANK YOU!




             ricgar@tel.uva.es

More Related Content

PPT
Improvement of Spatial Data Quality Using the Data Conflation
PDF
Map making for Cartographers
PDF
mod-geocache / mapcache - A fast tiling solution for the apache web server
PDF
Optimizing your Map Services
PDF
Advanced Map Caching Topics
PDF
State of the Art Web Mapping with Open Source
PDF
FOSS4G2011 Report
Improvement of Spatial Data Quality Using the Data Conflation
Map making for Cartographers
mod-geocache / mapcache - A fast tiling solution for the apache web server
Optimizing your Map Services
Advanced Map Caching Topics
State of the Art Web Mapping with Open Source
FOSS4G2011 Report

Similar to An Adaptive Neural Network-Based Method for Tile Replacement in a Web Map Cache (20)

PPT
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
PPT
Sharing the Openness of the Maps via FOSS4G and the Web
PPT
Web enabling your survey business ppt version
PPTX
Building good web_maps, Esri, Joris Bak
PDF
Map visualisation
PPT
The 21st Century Harvard Map
PDF
NCGIC The Geospatial Revolution
PPT
Geoservices Activities at EDINA
PPTX
CartoService: A Web Service Framework for Quality On-Demand Geovisualisation
PDF
Location based solutions maps & your location
KEY
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
KEY
Don't let maps cramp your style - Prague
KEY
Patch Maps
PPT
Maps, mashups and metadata:geospatial standards for access and retrieval
PDF
iMap 4.0 Effective Management of Spatial Information
PDF
GIS in the Rockies Geospatial Revolution
PDF
neurisa_11_09_rosenthal
PDF
neurisa_11_09_rosenthal
PPTX
Internet-enabled GIS Using Free and Open Source Tools
PDF
Making Web Maps Beautiful & Different with TileMill
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
Sharing the Openness of the Maps via FOSS4G and the Web
Web enabling your survey business ppt version
Building good web_maps, Esri, Joris Bak
Map visualisation
The 21st Century Harvard Map
NCGIC The Geospatial Revolution
Geoservices Activities at EDINA
CartoService: A Web Service Framework for Quality On-Demand Geovisualisation
Location based solutions maps & your location
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Don't let maps cramp your style - Prague
Patch Maps
Maps, mashups and metadata:geospatial standards for access and retrieval
iMap 4.0 Effective Management of Spatial Information
GIS in the Rockies Geospatial Revolution
neurisa_11_09_rosenthal
neurisa_11_09_rosenthal
Internet-enabled GIS Using Free and Open Source Tools
Making Web Maps Beautiful & Different with TileMill
Ad

More from Beniamino Murgante (20)

PDF
Analyzing and assessing ecological transition in building sustainable cities
PDF
Smart Cities: New Science for the Cities
PDF
The evolution of spatial analysis and modeling in decision processes
PDF
Smart City or Urban Science?
PDF
Involving citizens in smart energy approaches: the experience of an energy pa...
PPTX
Programmazione per la governance territoriale in tema di tutela della biodive...
PDF
Involving Citizens in a Participation Process for Increasing Walkability
PDF
Presentation of ICCSA 2019 at the University of Saint petersburg
PPTX
RISCHIO TERRITORIALE NEL GOVERNO DEL TERRITORIO: Ricerca e formazione nelle s...
PDF
Presentation of ICCSA 2017 at the University of trieste
PPT
GEOGRAPHIC INFORMATION – NEED TO KNOW (GI-N2K) Towards a more demand-driven g...
PPTX
Focussing Energy Consumers’ Behaviour Change towards Energy Efficiency and Lo...
PPTX
Socio-Economic Planning profiles: Sciences VS Daily activities in public sector 
PPT
GEOGRAPHIC INFORMATION – NEED TO KNOW (GI-N2K) Towards a more demand-driven g...
PPT
Garden in motion. An experience of citizens involvement in public space regen...
PPT
Planning and Smartness: the true challenge
PDF
GeoSDI: una piattaforma social di dati geografici basata sui principi di INSP...
PPT
Murgante smart energy
PPT
Informazione Geografica, Città, Smartness
PPT
Tecnologie, Territorio, Smartness
Analyzing and assessing ecological transition in building sustainable cities
Smart Cities: New Science for the Cities
The evolution of spatial analysis and modeling in decision processes
Smart City or Urban Science?
Involving citizens in smart energy approaches: the experience of an energy pa...
Programmazione per la governance territoriale in tema di tutela della biodive...
Involving Citizens in a Participation Process for Increasing Walkability
Presentation of ICCSA 2019 at the University of Saint petersburg
RISCHIO TERRITORIALE NEL GOVERNO DEL TERRITORIO: Ricerca e formazione nelle s...
Presentation of ICCSA 2017 at the University of trieste
GEOGRAPHIC INFORMATION – NEED TO KNOW (GI-N2K) Towards a more demand-driven g...
Focussing Energy Consumers’ Behaviour Change towards Energy Efficiency and Lo...
Socio-Economic Planning profiles: Sciences VS Daily activities in public sector 
GEOGRAPHIC INFORMATION – NEED TO KNOW (GI-N2K) Towards a more demand-driven g...
Garden in motion. An experience of citizens involvement in public space regen...
Planning and Smartness: the true challenge
GeoSDI: una piattaforma social di dati geografici basata sui principi di INSP...
Murgante smart energy
Informazione Geografica, Città, Smartness
Tecnologie, Territorio, Smartness
Ad

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PPTX
Tartificialntelligence_presentation.pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Machine Learning_overview_presentation.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Electronic commerce courselecture one. Pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Big Data Technologies - Introduction.pptx
Tartificialntelligence_presentation.pptx
1. Introduction to Computer Programming.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Machine Learning_overview_presentation.pptx
Encapsulation theory and applications.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Getting Started with Data Integration: FME Form 101
Programs and apps: productivity, graphics, security and other tools
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Electronic commerce courselecture one. Pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectral efficient network and resource selection model in 5G networks
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

An Adaptive Neural Network-Based Method for Tile Replacement in a Web Map Cache

  • 1. AN ADAPTIVE NEURAL NETWORK-BASED METHOD FOR TILE REPLACEMENT IN A WEB MAP CACHE Ricardo García, Juan Pablo de Castro, María Jesús Verdú, Elena Verdú, Luisa M. Regueras and Pablo López Higher Technical School of Telecommunications Engineering University of Valladolid Santander, Spain, June 20-23, 2011
  • 2. CONTENTS  Web Map Services  Tiled Map Services  Web Proxy Cache  Neural Network Cache Replacement Policy
  • 3. WEB MAP SERVICES Clients Server GetMap parameters:  Layers  Styles GetCapabilities  Coordinate Reference System  Bbox GetMap  Width  Height  Format  Transparent  BgColor Map images are generated on the fly  Exceptions  Tile flexible, but not scalable  Elevation
  • 4. TILED MAP SERVICES  Bounding box and scales are Coarse constrained to discrete tiles resolution Level 0  Community specifications:  WMS Tile Caching (WMS-C)  Web Map Tile Service (WMTS) Detailed  Propietary specifications: resolution Level l  Microsoft Bing Maps  Nasa World Wind  Google Maps
  • 5. PROXY WEB CACHE Clients Proxy Cache WMS Server GetCapabilities DataStore GetMap
  • 6. BRUTE-FORCE APPROACH  Caching the whole map can include millions of tiles  Huge storage requirements  ↑↑ Start-time to generate all the content  Many GIS providers lack storage resources  There are map services which update the cartography very often
  • 7. PARTIAL CACHE  When the cache runs out of space it is necessary to determine which tiles should be replaced by the new ones  The cache replacement algorithm proposed in this work uses a neural network to estimate the probability that a request of a tile occurs before a certain period of time.
  • 8. TRAINING DATA  Trace requests from three public nation-wide tiled web map services in Spain: Cartociudad, IDEE-Base and PNOA.  1th – 7th March 2010  Cartociudad:25.922 reqs  IDEE-Base: 94.520 reqs  PNOA: 186.672 reqs  Only cacheable requests considered
  • 11. NEURAL NETWORK PARAMETERS Parameter Value Architecture Feed-forward Multilayer Perceptron Inputs 3 (recency, frequency, size) Hidden layers 2 Neurons per hidden layer 3 Output 1 (probability of a future request) Activation functions Log-sigmoid in hidden layers, Hyperbolic tangent sigmoid in output layer Error function Minimum Square Error (mse) Training algorithm Backpropagation with momentum Learning method Supervised learning Weights update mode Batch mode Learning rate 0.05 Momentum constant 0.2
  • 13. NEURAL NETWORK TARGET  During the training process, a training record is associated with a boolean target (0 or 1) which indicates whether the same tile is requested again or not in window  Once trained, the neural network output will be a real value in the range [0,1] that must be interpreted as the probability of receiving a successive request of the same tile within the time window.
  • 14. SIMULATION RESULTS IDEE-Base Cartociudad PNOA
  • 16. CONCLUSIONS  Serving pre-generated map image tiles from a server-side cache has become a popular way of distributing map imagery on the Web  Storage needs are often prohivitive which forces the use of partial caches  A feed-forward multilayer perceptron can effectively take replacement decisions based on recency, frequency and size of map requests
  • 17. THANK YOU! ricgar@tel.uva.es