When rule-based models need to count

Similar documents
8.5. Solving Equations II. Goal Solve equations by balancing.

ICC WORLD TWENTY ( WORLD CUP-2014 )- A CASE STUDY

Extensible Detection and Indexing of Highlight Events in Broadcasted Sports Video

Catenary Analysis and Calculation Method of Track Rope of Cargo Cableway with Multiple Loads

A SECOND SOLUTION FOR THE RHIND PAPYRUS UNIT FRACTION DECOMPOSITIONS

This report presents an assessment of existing and future parking & traffic requirements, for the site based on the current development proposal.

Patrick Boston (Leeds University) and Mark Chapman (Edinburgh University)

number in a data set adds (or subtracts) that value to measures of center but does not affect measures of spread.

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING, THE UNIVERSITY OF NEW MEXICO ECE-238L: Computer Logic Design Fall Notes - Chapter 6.

Footwork is the foundation for a skilled basketball player, involving moves

SPH4U Transmission of Waves in One and Two Dimensions LoRusso

THE EFFECTS OF COUPLED INDUCTORS IN PARALLEL INTERLEAVED BUCK CONVERTERS

GENETICS 101 GLOSSARY

Basic Gas Spring Theory

The structure of the Fibonacci numbers in the modular ring Z 5

Human-Robot Interaction: Group Behavior Level

ELIGIBILITY / LEVELS / VENUES

ASSESSMENT SCORING SYSTEM OF ROAD SAFETY INFRASTRUCTURE

Non-Harmony Notes GRADE 6 MUSIC THEORY

A Comparison of MOEA/D, NSGA II and SPEA2 Algorithms

ELIGIBILITY / LEVELS / VENUES

HERKIMER CENTRAL SCHOOL DISTRICT Herkimer Elementary School 255 Gros Boulevard Herkimer, New York 13350

SIMULATION OF THE VESSEL TRAFFIC SCHEDULE IN THE STRAIT OF ISTANBUL

ELIGIBILITY / LEVELS / VENUES

EQUIPEX NAOS WP5 : Deep oxygen floats in the North- Atlantic

n UL Listed and FM Approved for n Solenoid control n Quick pressure relief valve 73Q n Pressure sustaining & reducing valve 723

Precautions for Total Hip Replacement Patients Only

MST 121: Supplementary resource material for Chapter A1, Sequences

Equipment. Rackets are fragile. Handle the shuttlecocks carefully and only by their rubber tips.

ELIGIBILITY / LEVELS / VENUES

2) What s the Purpose of Your Project?

Representing polynominals with DFT (Discrete Fourier Transform) and FFT (Fast Fourier Transform) Arne Andersson

Sequential parimutuel games

Available online at ScienceDirect. Procedia Engineering 113 (2015 )

The Analysis of Bullwhip Effect in Supply Chain Based on Strategic Alliance

Parsers. Introduction to Computational Linguistics: Parsing Algorithms. Ambiguity refresher. CFG refresher. Example: search space for top-down parser

Brian Hayes. A reprint from. American Scientist. the magazine of Sigma Xi, the Scientific Research Society

securing your safety

PERFORMANCE TEAM EVALUATION IN 2008 BEIJING OLYMPIC GAMES

Series 600 Accessories

Travel Demand Management Implementation in Bandar Lampung

ELIGIBILITY / LEVELS / VENUES

A Comparative Investigation of Reheat In Gas Turbine Cycles

Held under the sanction of USA Swimming, issued by North Carolina Swimming, Inc. Sanction No. NC11117

Chapter 9, Part B Hypothesis Tests

Influences of Teaching Styles and Motor Educability on Learning Outcomes of Volleyball

PENALIZED LOGISTIC REGRESSION TO ASSESS NFL QUARTERBACK PERFORMANCE

Our club has a rich history that dates back to the turn of the 20th century.

THE LATENT DEMAND METHOD

A LIBRARY OF HVAC COMPONENT MODELS FOR USE IN AUTOMATED DIAGNOSTICS. Peng Xu, Philip Haves, Dimitri Curtil Lawrence Berkeley National Laboratory

7.0 Nonmotorized Facilities

Computation of the inviscid drift force caused by nonlinear waves on a submerged circular cylinder

Simulation Study of a Bus Signal Priority Strategy Based on GPS/AVL and Wireless Communications

IRS ISSUES PROPOSED REGULATIONS FOR COMPARATIVE EFFECTIVENESS RESEARCH FEES

Introduction to Algorithms 6.046J/18.401J/SMA5503

Lecture 13a: Chunks. Announcements. Announcements (III) Announcements (II) Project #3 Preview 4/18/18. Pipeline of NLP Tools

Policy sensitivity analysis of Karachi commuters

Load Calculation and Design of Roller Crowning of Truck Hub Bearing

Obstacle Avoidance for Visually Impaired Using Auto-adaptive Thresholding on Kinect s Depth Image

"The twisting movement of any hoof should, for physiological reasons, not be hindered by Shoeing." (Lungwitz 1884)

Capacity of Shared-Short Lanes at Unsignalised Intersections

Active Travel The Role of Self-Selection in Explaining the Effect of Built Environment on Active Travel

Introductory Rules of Officiating Small Sided Games Under 6 &Under 8 HANDBOOK

10 th International Congress of the International Maritime Association of the Mediterranean (IMAM), Rethymno, Crete, May 2002

Seated valves (PN 16) VF 2-2-way valve, flange VF 3-3-way valve, flange

A Data Envelopment Analysis Evaluation and Financial Resources Reallocation for Brazilian Olympic Sports

JOBST Elvarex Soft. Made for compliance

Modelling Integrated Waste Management System of the Czech Republic

DAMAGE ASSESSMENT OF FIBRE ROPES FOR OFFSHORE MOORING

Characterization of Refrigeration System Compressor Performance

Research Article. Relative analysis of Taekwondo back kick skills biomechanics based on 3D photograph parsing. Mingming Guo

Impacts of Typhoon on Wave Height at Bangkhuntien Shoreline

SYMMETRY AND VARIABILITY OF VERTICAL GROUND REACTION FORCE AND CENTER OF PRESSURE IN ABLE-BODIED GAIT

Welcome to the world of the Rube Goldberg!

AN ESTIMATION OF INTER-ZONAL BUS DEMAND ON COLOMBO - KALUTARA TRANSPORT CORRIDOR

Kentucky SCL National Core Indicators Data

Electrooculogram Signals Analysis for Process Control Operator Based on Fuzzy c-means

(612)

n Mix of public, private and NGO respondents Overview n Understanding Walking & Biking Trips n Informing Project Development through:

Real time lane departure warning system based on principal component analysis of grayscale distribution and risk evaluation model

WIND TUNNEL EXPERIMENT ON THE EFFECT OF WIND ON SMOKE EXHAUST SYSTEMS FOR A HIGH RISE BUILDING

1 Main Board. 24 dots characters: 48 Columns

CLASS: XI: MATHEMATICS

M3P. Safety Data Sheet TABLE OF CONTENTS IDENTIFICATION OF THE SUBSTANCE/MIXTURE AND OF THE COMPANY/UNDERTAKING 2 SECTION 2 HAZARDS IDENTIFICATION 2

VIEW FROM ZILKER PARK TWO EXPRESS LANES IN EACH DIRECTION + A DOWNTOWN DIRECT CONNECTION

Changes rules and evolution of results in judo, an analysis: of the 2012 and 2016 Olympic Games and 2015 and 2017 World Championships.

University of California, Los Angeles Department of Statistics. Measures of central tendency and variation Data display

DFC NIST DIGITAL MASS FLOW CONTROLLERS. DFC with optional LCD readout PROG RS485. Programmable Mass Flow Controller with Digital Signal Processing

Hazard Identificaiton of Railway Signaling System Using PHA and HAZOP Methods

Current as of September 20, 2013 (red items are new entries since last TAAHC meeting)

Draft White-tailed Deer Management Policy for Ontario

MINNESOTA DEER MANAGEMENT

Traffic conflicts at roundabouts: risk analysis under car-following conditions

A Different View on TBM Face Equilibrium in Permeable Ground

Controlling noise at work

Mischa Salkind-Pearl Oceans:

Highway Capacity and LOS. Reading Assignment: pgs

TIME DOMAIN SIMULATIONS OF A COUPLED PARAMETRICALLY EXCITED ROLL RESPONSE IN REGULAR AND IRREGULAR HEAD SEAS

The Prediction of Dynamic Strain in Leaf-Type Compressor Valves With Variable Mass and Stiffness

The Real Thing?: Representing the Bullfight and Spain in Death in the Afternoon by Peter Messent

Transcription:

Whe rule-based models eed to cout Pierre Boutillier, Ioaa Cristescu To cite this versio: Pierre Boutillier, Ioaa Cristescu. Whe rule-based models eed to cout. [Research Reort] Harvard Medical School. 2017. HAL Id: hal-01572177 htts://hal.archives-ouvertes.fr/hal-01572177 Submitted o 4 Aug 2017 HAL is a multi-disciliary oe access archive for the deosit ad dissemiatio of scietific research documets, whether they are ublished or ot. The documets may come from teachig ad research istitutios i Frace or abroad, or from ublic or rivate research ceters. L archive ouverte luridisciliaire HAL, est destiée au déôt et à la diffusio de documets scietifiques de iveau recherche, ubliés ou o, émaat des établissemets d eseigemet et de recherche fraçais ou étragers, des laboratoires ublics ou rivés.

SASB 2017 Whe rule-based models eed to cout Pierre Boutillier 1 Ioaa Cristescu 2 Fotaa Lab Harvard Medical School Bosto, USA Abstract Rule-based modelers dislike direct eumeratio of cases whe more efficiet meas of eumeratio are available. We reset a extesio of the Kaa laguage which attaches to agets a otio of level. We detail two ecodigs that are more cocise tha the former ractice. Rule-based laguages are a well-established framework for modelig roteirotei iteractios. Kaa [2,1] is a rule-based laguage relyig o site-grahs. The odes of sitegrahs are called agets. Agets iteract by bidig/ubidig through sites. Sites are bidig resources, each site is art of at most oe edge. A model i Kaa cosists of a set of grah rewrite rules with rates. A rule describes a otetial iteractio give a cotext. Rates rereset robability to fire. I a biological cotext, it is ofte the case that a otio of iteral state (such as active, methilated,... ) is required i order to describe ossible iteractios. I Kaa, sites are equied with iteral states, facilitatig the modelig efforts of the user. However, as show i the followig sectios a more systematic ecodig of iteral states is ossible. Aother commo ractice is to attach a level to agets ad make a iteractio sesitive o the level of its articiatig agets. We roose here a laguage extesio to store, test ad chage levels exlicitly. Moreover, we reset a ecodig of levels that iduce a liear (i umber of levels) blow u of the umber of rules. This is i cotrast to revious ecodigs, which iduce a exoetial blow u i the umber of rules. 1 Email: Pierre Boutillier@hms.harvard.edu 2 Email: Ioaa Cristescu@hms.harvard.edu This aer is electroically ublished i Electroic Notes i Theoretical Comuter Sciece URL: www.elsevier.com/locate/etcs

1 Whe eumeratio is ecessary The followig motivatig examle [4] demostrates a tyical roblem i which levels are ecessary: KaiC roteis have 6 ideedet hoshorylatio sites. (De)hoshorylatio of every site is ideedet. The more sites are hoshorylated, the bigger the robability that KaiC bids KaiA is. A tyical way to deal with this examle cosist i exlicitly ecodig rules for the iteral states of the sites of iterest. However, doig so iduces a exoetial blow-u i the umber of rules (i the umber of levels). The BNGL [3] laguage itroduces a otio of idistiguishable sites. i.e. oe ca defie a aget with sites that all have the same ame. Cosequetly, a sigle rule to secify that k sites (out of ) are hoshorylated is eough. Moreover, the umber of secies is also reduced. Still, there are exoetially may ways to go from oe level to aother ad eumeratio is ecessary to faithfully resect the dyamics of the system. We ow show that addig a sytactic layer to Kaa that offers suort for coutig will avoid the exlosio i the umber of rules. 2 Ecodig couters I Kaa, agets are tyed ad their sigature is give. I the extesio we are resetig, couters are art of a aget s sigature ad the uer boud of the couter has to be secified. Exteded rules ca test couter values ( equals ad bigger tha ). They ca also modify their value (icrease, decrease or assig a ew value). Lastly, levels ca be used i the rates of the rules. We ow reset two ossible ways of ecodig couters. 2.1 Uary umbers We defie a ew aget tye with 2 sites ad. A chais of k + 1 agets deotes a couter with value k. Agets equied with couters are ecoded as agets with a extra site for each couter, which is used to bid to a chai A c of agets. For examle, i the figure o the right, a aget A has a couter c set to 1 3. Testig whether a couter is equal to k cosists i checkig whether there is a chai of k + 1 agets. A greater tha k test checks whether there is a chai k + 1 agets, where the site of the last aget does ot matter. 3 Reresetig level 0 by a chai of legth 1 meas that we do ot have to make a secial case for it i the rules! 2

A couter is icremeted by addig agets betwee the aget ad its chai. The rule deicted o the right icremets c of A by oe. Removig the begiig of the chai decreases the level. A c It is imortat to stress that couter modificatios are ideedet of its value as the ecodig oly maiulates the begiig of a chai. I our ecodig, a rule whose rate deeds o levels is exaded ito several rules, oe for each level. This oeratio imoses the user-defied uer boud o the levels. Creatio of agets with levels also creates the ecessary chai of to rereset the levels. Deletio is more roblematic: the chai of is discoected from the deleted aget, but ot deleted. A ossible solutio is to collect free chais of by usig a rule that says that agets with their sites free are deleted at ifiite seed. 2.2 Ruler A secod ecodig allows tests smaller tha i additio of equal ad greater tha, but is also more verbose ad icreases the size of states. As before, couters are ecoded as a chai of agets. I this ecodig however, a aget has 3 sites: ad to form chais but also a, which is where the other agets bid. Every aget with a a couter bouded by has attached a chai of A c (always). The value of the couter is give by which aget it is boud to o site a. For a examle, i the figure o the right, a aget A has a couter c set to 1. Sice site ad are distict, a directio ca be attached to the chai of. The level is 0 if the aget is boud to the bottom of the chai, ad it is if it is boud to the to. Icremetig/decremetig the levels are imlemeted by slidig o the chai. Testig whether a level is equal or greater tha k cosists of isectig the chai of below the coectio to the aget. Whereas isectig the legth of the chai above the coectio to the aget eables to test if the level is smaller tha a value k. 3 Coclusios While fairly trivial, ecodig couters i the Kaa simulator has greatly simlified some of the models writte by the Kaa team. However, it comes with two drawbacks. First, there is a comutatioal cost (maily i term of memory maagemet) to sythetize ad degrade agets. Secodly, the simulator works with a lai Kaa model. There is a imlemetatio cost to go back from the lai Kaa model to the user-writte model, which is ecessary whe givig feedback to the 3

user (for examle, dumig the curret state of the system). As a result, we la to imlemet a ative treatmet of the couters i the Kaa simulator. Aother directio for future work is the static detectio of overflow for couters. Curretly, the maximal level of the couter has to be declared by the user. Nevertheless, this meas the rules have to be writte such that they ca ever icrease a level beyod the defied boudary. The level of the couter ca be checked by static aalysis usig iterval comutatio, but for the meatime we have simly added watchdogs that dyamically raise the alarm if the site of a level becomes free, or if a chai of that is too log aears. Refereces [1] Pierre Boutillier, Jérôme Feret, ad Jea Krivie. Kaa ad KaSim develomet age. htt://kaalaguage.org. [2] Vicet Daos, Jérôme Feret, Walter Fotaa, Russell Harmer, ad Jea Krivie. Rule-based modellig, symmetries, refiemets. I Formal Methods i Systems Biology, First Iteratioal Worksho, FMSB 2008, Cambridge, UK, Jue 4-5, 2008. Proceedigs, ages 103 122, 2008. [3] James R. Faeder, Michael L. Bliov, ad William S. Hlavacek. Rule-Based Modelig of Biochemical Systems with BioNetGe, ages 113 167. Humaa Press, Totowa, NJ, 2009. [4] Susa S Golde. Itegratig the circadia oscillator ito the life of the cyaobacterial cell. I Cold Srig Harbor symosia o quatitative biology, volume 72, ages 331 338. Cold Srig Harbor Laboratory Press, 2007. 4