US20190097912A1 - Weight initialization for random neural network reinforcement learning - Google Patents
Weight initialization for random neural network reinforcement learning Download PDFInfo
- Publication number
- US20190097912A1 US20190097912A1 US15/718,901 US201715718901A US2019097912A1 US 20190097912 A1 US20190097912 A1 US 20190097912A1 US 201715718901 A US201715718901 A US 201715718901A US 2019097912 A1 US2019097912 A1 US 2019097912A1
- Authority
- US
- United States
- Prior art keywords
- nodes
- node
- weight
- inhibitory
- connected device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/08—Learning-based routing, e.g. using neural networks or artificial intelligence
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/049—Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/092—Reinforcement learning
Definitions
- the present disclosure relates to Random Neural Networks and using Random Neural Network techniques for path selection in network routing.
- Optimal route/path selection in Software Defined Networks may be based on network performance metrics, such as delay, jitter, packet loss ratios, bandwidth, and others.
- Systems for providing route selection rely on performance management probes and local Key Performance Indicators (KPIs) to make path selection decisions based on a preset policy that compares Service Level Agreement (SLA) data and KPIs against predefined thresholds and watermarks.
- SLA Service Level Agreement
- Machine learning provides an alternate approach for optimal route selection.
- Machine learning optimal route selection involves building a predictive model for the routing logic that is capable of optimizing the path selection process without relying on complex policies and pre-configured thresholds.
- the machine learning logic monitors the performance metrics and local KPIs to refine its predictions as it learns.
- FIG. 1 illustrates a first network environment providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment.
- FIG. 2 illustrates a directed graph utilized in providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment.
- FIG. 3 illustrates a second network environment providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment.
- FIG. 4 illustrates a flowchart illustrating a process for providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment.
- FIG. 5 illustrates a graph of test results for network path selection that used related art weight initialization techniques to optimize path latency.
- FIG. 6 illustrates a graph of test results for network path selection that used the weight initialization techniques of the present disclosure to optimize path patency, according to an example embodiment.
- FIG. 7 illustrates a graph of test results for network path selection that used related art weight initialization techniques to optimize jitter.
- FIG. 8 illustrates a graph of test results for network path selection that used the weight initialization techniques of the present disclosure to optimize jitter, according to an example embodiment.
- FIG. 9 illustrates a block diagram of a network device configured to provide weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment.
- a plurality of paths through a network are determined for transmitting a packet from a source device to a destination device.
- the paths are modelled as nodes in a Random Neural Network, each node corresponding to a path and a reward is calculated for each of the nodes.
- An excitatory weight and an inhibitory weight are determined for each of the nodes in the Random Neural Network.
- the excitatory weight is set directly proportional to the reward corresponding to the node for which the excitatory weight is being determined, and the inhibitory weight is set inversely proportional to the reward corresponding to the node for which the inhibitory weight is being determined.
- a potential is determined for each of the nodes based upon the excitatory and inhibitory weights.
- a path corresponding to the node with a highest potential is selected, and the packet is transmitted over the selected path.
- FIG. 1 depicted therein is a network environment 100 configured to provide network routing functions using Reinforcement Learning using the weight initialization techniques described herein.
- four network connected devices 105 a - d are arranged within environment 100 .
- the selection of the paths may be modelled as a Random Neural Network (RNN) that utilizes Reinforcement Learning.
- RNN Random Neural Network
- This modelling may be performed by a centralized controller, such as Software Defined Network (SDN) controller 115 or at source network connected device 105 a.
- SDN controller 115 may provide information to network connected device 105 a, such as network parameters and/or network performance details, which may be used by network connected device 105 a in performing the modelling.
- an RNN is constructed per source node/destination node pair.
- the RNN is a mathematical model inspired from biology and represented as a directed graph.
- the directed graph includes nodes which represent the possible paths between the source node and destination node.
- the nodes are interconnected via links to form the neural network.
- Each link has a pair of weights associated with it: positive (excitatory) weight, and negative (inhibitory) weight. These weights control the potential of every node through a system of non-linear equations.
- the potential of the node in the context of the present disclosure, represents the probability that the corresponding path is the best-path for the purpose of route selection.
- FIG. 2 Illustrated in FIG. 2 is an example RNN 200 that takes the form of a directed graph and corresponds to the network paths illustrated in FIG. 1 .
- Node 215 a corresponds to path 115 a from FIG. 1
- node 215 b corresponds to path 115 b from FIG. 1
- node 215 c corresponds to path 115 c from FIG. 1 .
- the connections between the nodes include weights, excitatory weights “w+” and inhibitory weights “w ⁇ ”.
- weights represent the rates at which these spikes are sent from one node to another. Accordingly, weight “w ba ⁇ ” represents the rate at which node 215 b sends “excitation spikes” to node 215 a when node 215 b is “firing” and weight “w ba ⁇ ” represents the rate at which node 215 b sends “inhibition spikes” to node 215 a when node 215 b is “firing.” Similarly, weight “w ab + ” represents the rate at which node 215 a sends “excitation spikes” back to node 215 b and weight “w ab ”” represents the rate at which node 215 a sends “inhibition spikes” back to node 215 b.
- the probability or potential of a particular node “firing” (which in this case will represent the selection of the path associated with the node) is determined by summing all of the incoming excitatory weights to the node, summing all of the incoming inhibitory weights to the node, and comparing these relative values. The node with the highest potential would then be selected as the path to handle the packet to be sent.
- the potential q for a node i may be calculated according to the following equations:
- ⁇ i and ⁇ i are constant parameters for the node i.
- path 110 a of FIG. 1 would be selected to transmit the packet. If node 215 b is determined to have the highest potential, path 110 b of FIG. 1 would be selected to transmit the packet. If node 215 c is determined to have the highest potential, path 110 c of FIG. 1 would be selected to transmit the packet.
- the results of sending the packet over a particular node are used to adjust the weights.
- the directed graph begins to select the optimal node for each packet. More specifically, an objective or goal is defined that should be met for transmission of a packet. This goal may be, for example, the selection of a path that meets a particular bandwidth, latency, shortest path, jitter or other network parameter value. If the path selected by the directed graph satisfies the objective, the node associated with the path is “rewarded” for its correct prediction by increasing the excitatory weights of links leading to the node, and reducing the inhibitory weights of those same links.
- the selected path misses the objective, then it is “punished” by decreasing the excitatory weights and increasing the inhibitory weights of links leading to the node corresponding to the path in the directed graph.
- the weights associated with the node may be readjusted as follows if the selected path met the object or goal:
- T is the decision threshold (e.g., an exponential average of the desired latency value, bandwidth value, jitter value, shortest path, etc.) at time t
- R(t) is a measured reward value at the time t
- N is the total number of nodes in the directed graph.
- the weights associated with the selected node may be readjusted as follows if the selected path did not meet the object or goal:
- T ( t+ 1) F*T ( t )+(1 ⁇ F )* R ( t ) (7)
- T(t) is the decision threshold at time t
- R(t) is the measured reward value at time t
- F is a forgetfulness coefficient ranging between 0 and 1. A larger value of F means that more importance will be given to more recent observations.
- the excitation weights to the node are increased and inhibitory weights to the node are decreased, thereby making it more likely that the path associated with the node will be selected again in the future.
- the excitation weights to the node are decreased and the inhibitory weights to the node are increased, thereby making it less likely that the path associated with the node will be selected again in the future.
- Random initialization is widely accepted in the industry to yield acceptable convergence time.
- the initial weights are selected randomly based on some distribution function (uniform, normal, Gaussian, Xavier, etc.) that takes into account the number of stages and fan-out of nodes in the directed graph. Selecting static constant values for the initial weights is a degenerate case of this technique.
- the techniques of the present disclosure utilize a strategy to initialize the link weights so as to jump-start the learning algorithm in a state that approximates as much as possible the converged state.
- the techniques described herein also set up the initial probability distribution of the nodes in the RNN such that the node with the highest reward ends up with the highest initial probability (i.e. potential), the node with the lowest reward ends up with the lowest initial potential, and the node whose rewards are in between have proportionally distributed potentials in between the two bounds.
- the potential of a node at a given time t is directly proportional to the sum of excitatory weights at time t and inversely proportional to the sum of inhibitory weights at time t.
- the techniques described herein provide initial link weight assignments such that the excitatory weights are directly proportional to the node's reward, whereas the inhibitory weights are inversely proportional to the reward.
- the techniques described herein may also satisfy the constraint that the sum of initial inhibitory weights should not be equal to zero, otherwise the system of non-linear equations to solve the potential values of the nodes will not converge.
- the above technique yields a family of equations that can be used to initialize the link weights, which follow the aforementioned strategy and meet the constraint.
- a node's reward is calculated as 1 /latency. More specifically, as noted above, the reward is generally made directly proportional to the parameter being optimized.
- the goal is to minimize latency, meaning the parameter being optimized is the inverse of latency.
- the reward would be calculated as 1 /jitter.
- the reward would be set directly proportional to the parameter.
- w ab + is the excitatory link weight from node a to node b
- w ab ⁇ is the inhibitory link weight from node a to node b
- R b is the initial reward of node b
- R max is the maximum initial reward value among all nodes.
- the reward parameter R in the weight initialization/update functions may be mapped to any networking metric, such as jitter, packet loss ratio, latency, available bandwidth, path length, or any other metric as long as the metric in question exhibits over time the statistical properties of an anti-persistent stochastic process.
- the weight initialization techniques described herein may be applied to any RNN modeling of anti-persistent stochastic processes.
- Other such anti-persistent stochastic processes that may be modeled using RNN techniques and initialized according to the techniques described herein may include:
- network environment 300 is a Software Defined Wide Area Network (SD-WAN) that utilizes logical overlays that allow disparate physical networks 305 a - c to be treated as a single logical network.
- SD-WAN Software Defined Wide Area Network
- Network connected devices 315 a - c are edge nodes at each of physical networks 305 a - c, respectively.
- path 320 a which directly connects network connected device 315 a to network connected device 315 b via the Internet 330 without using the logical overlay network
- path 320 b which connects to network connected device 315 b via network connected device 315 c using the logical overlay network.
- the techniques described herein may be particularly applicable to such a network environment. Specifically, for the combination of source network connected device 315 a and destination network connected device 315 b a directed graph may be constructed, such as directed graph 200 of FIG. 2 . Though, because network environment 300 includes two possible paths between network connected devices 315 a and 315 b, the resulting directed graph will have two nodes as opposed to the three nodes of directed graph 200 of FIG. 2 .
- the value of the initial latency associated with each of paths 320 a and 320 b is measured.
- An initial reward for every node in the directed graph is calculated based upon the calculated latency for each of paths 320 a and 320 b.
- the value of the highest initial reward i.e. least latency among candidate paths
- the link weights of the nodes in the directed graph are initialized such that the following conditions are met:
- Reinforcement Learning may then be performed to optimize the weights and path selection provided by the directed graph. These operations may take place at controller 325 , or they may take place at network connected device 315 a so long as network connected device 315 a is provided with network parameter data that permits network connected device 315 a to generate the directed graph and initialize the weight values as described above. This network parameter data may be provided to network connected device 315 a by controller 325 .
- Process begins at operation 405 in which a plurality of paths through a network are determined. This plurality of paths are for transmitting a packet from a source network connected device to a destination network connected device. For example, operation 405 may determine that paths 110 a - c represent the possible paths between network connected devices 105 a and 105 b from FIG. 1 , or operation 405 may determine that paths 320 a and 320 b represent the possible paths between network connected devices 315 a and 315 b from FIG. 3 .
- the plurality of paths are modeled as a plurality of nodes in a Random Neural Network.
- Each node in the Random Neural Network corresponds to one of the plurality of paths determined in operation 405 , and a reward is calculated for each node in the Random Neural Network.
- the plurality of paths may be modeled using an RNN modeling technique, such as those used to model network environment 100 of FIG. 1 as directed graph 200 of FIG. 2 .
- an excitatory weight and an inhibitory weight in the Random Neural Network are determined. According to the example embodiment of FIG. 4 , the weights are determined for each of the plurality of nodes in the Random Neural Network.
- Determining the excitatory weights comprises setting the excitatory weights directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and determining the inhibitory weights comprises setting the inhibitory weights inversely proportional to reward for the node of the plurality of nodes for which the inhibitory weight is being determined.
- the determined excitatory weights and inhibitory weights may be the initial excitatory weights and inhibitory weights assigned to the nodes of the RNN model.
- the RNN of process 400 may seek to optimize latency. Accordingly, the reward calculated for each node in operation 410 would be based on the latency of the path associated with the node.
- the reward would be calculated as being directly proportional to 1/latency.
- the excitatory weights are set to be directly proportional to the reward (i.e., directly proportional to 1/latency)
- the inhibitory weights are set to be inversely proportional to the reward (i.e., inversely proportional to 1/latency).
- a potential for each of the plurality of nodes is determined based upon the excitatory weights and inhibitory weights for the plurality of nodes, and in operation 425 a path through the network corresponding to the node with a highest potential is selected. Finally, in operation 430 , the packet is transmitted over the path corresponding to the node with the highest potential.
- FIGS. 5 and 6 depicted therein are two graphs for the same network environment.
- FIG. 5 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were randomly assigned.
- FIG. 6 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were assigned using the techniques described herein. More specifically, both FIGS. 5 and 6 represent graphs of path latency versus time, as the graphs were created for tests which performed RNN modeling and Reinforcement Learning that sought to minimize path latency.
- the solid lines 505 and 605 in each graph, respectively, represent the actual least latency path through the network that could have been achieved.
- the shading on the x-axis, 515 and 615 , respectively, represent the error between or difference between the selected path and the actual least latency path through the network.
- FIGS. 7 and 8 depicted therein are two graphs for the same network environment.
- FIG. 7 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were randomly assigned.
- FIG. 8 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were assigned using the techniques described herein. More specifically, both FIGS. 7 and 8 represent graphs of jitter versus time, as the graphs were created for tests which performed RNN modeling and Reinforcement Learning that sought to minimize jitter.
- the solid lines 705 and 805 in each graph, respectively, represent the jitter value for the actual lowest jitter path through the network that could have been achieved.
- the shading 710 and 810 about the solid lines 705 and 805 represent the jitter value of the path actually selected by the RNN. As can be seen in these two figures, networks were able to more successfully select a path closer to the actual lowest jitter path when utilizing the techniques described herein.
- implementation of the techniques described herein provides a real and measurable improvement to the functioning of a computer network.
- the techniques described herein result in a network that more accurately sends packets over the optimal path, which results in network performances gains.
- the techniques described herein are applied to shortest path length, packet loss rate, and other network parameters, similar measurable performance gains are achieved. Improving network performance is a fundamental technical problem faced in the technical field of computer networking. The techniques described herein provide a particular improvement addressing this technical problem.
- the computer system 901 may be programmed to implement a computer based device, such as a network controller, network connected device, or physical network edge device described above with reference to FIGS. 1-4 .
- the computer system 901 includes a bus 902 or other communication mechanism for communicating information, and a processor 903 coupled with the bus 902 for processing the information. While the figure shows a single block 903 for a processor, it should be understood that the processors 903 represent a plurality of processing cores, each of which can perform separate processing.
- the computer system 901 also includes a main memory 904 , such as a random access memory (RAM) or other dynamic storage device (e.g., dynamic RAM (DRAM), static RAM (SRAM), and synchronous DRAM (SD RAM)), coupled to the bus 902 for storing information and instructions to be executed by processor 903 .
- main memory 904 may be used for storing temporary variables or other intermediate information during the execution of instructions by the processor 903 .
- the computer system 901 further includes a read only memory (ROM) 905 or other static storage device (e.g., programmable ROM (PROM), erasable PROM (EPROM), and electrically erasable PROM (EEPROM)) coupled to the bus 902 for storing static information and instructions for the processor 903 .
- ROM read only memory
- PROM programmable ROM
- EPROM erasable PROM
- EEPROM electrically erasable PROM
- the computer system 901 also includes a disk controller 906 coupled to the bus 902 to control one or more storage devices for storing information and instructions, such as a magnetic hard disk 907 , and a removable media drive 908 (e.g., floppy disk drive, read-only compact disc drive, read/write compact disc drive, compact disc jukebox, tape drive, and removable magneto-optical drive).
- the storage devices may be added to the computer system 901 using an appropriate device interface (e.g., small computer system interface (SCSI), integrated device electronics (IDE), enhanced-IDE (E-IDE), direct memory access (DMA), or ultra-DMA).
- SCSI small computer system interface
- IDE integrated device electronics
- E-IDE enhanced-IDE
- DMA direct memory access
- ultra-DMA ultra-DMA
- the computer system 901 may also include special purpose logic devices (e.g., application specific integrated circuits (ASICs)) or configurable logic devices (e.g., simple programmable logic devices (SPLDs), complex programmable logic devices (CPLDs), and field programmable gate arrays (FPGAs)), that, in addition to microprocessors and digital signal processors may individually, or collectively, are types of processing circuitry.
- ASICs application specific integrated circuits
- SPLDs simple programmable logic devices
- CPLDs complex programmable logic devices
- FPGAs field programmable gate arrays
- the processing circuitry may be located in one device or distributed across multiple devices.
- the computer system 901 may also include a display controller 909 coupled to the bus 902 to control a display 910 , such as a cathode ray tube (CRT), Liquid Crystal Display (LCD) or other now known or hereinafter developed display technologies, for displaying information to a computer user.
- the computer system 901 may include input devices, such as a keyboard 911 and a pointing device 912 , for interacting with a computer user and providing information to the processor 903 .
- the pointing device 912 for example, may be a mouse, a trackball, or a pointing stick for communicating direction information and command selections to the processor 903 and for controlling cursor movement on the display 910 .
- a printer may provide printed listings of data stored and/or generated by the computer system 901 .
- the computer system 901 performs a portion or all of the processing steps of the process in response to the processor 903 executing one or more sequences of one or more instructions contained in a memory, such as the main memory 904 .
- a memory such as the main memory 904 .
- Such instructions may be read into the main memory 904 from another computer readable medium, such as a hard disk 907 or a removable media drive 908 .
- processors in a multi-processing arrangement may also be employed to execute the sequences of instructions contained in main memory 904 .
- hard-wired circuitry may be used in place of or in combination with software instructions. Thus, embodiments are not limited to any specific combination of hardware circuitry and software.
- the computer system 901 includes at least one computer readable medium or memory for holding instructions programmed according to the embodiments presented, for containing data structures, tables, records, or other data described herein.
- Examples of computer readable media are compact discs, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash EPROM), DRAM, SRAM, SD RAM, or any other magnetic medium, compact discs (e.g., CD-ROM), or any other optical medium, punch cards, paper tape, or other physical medium with patterns of holes, or any other medium from which a computer can read.
- embodiments presented herein include software for controlling the computer system 901 , for driving a device or devices for implementing the process, and for enabling the computer system 901 to interact with a human user.
- software may include, but is not limited to, device drivers, operating systems, development tools, and applications software.
- Such computer readable storage media further includes a computer program product for performing all or a portion (if processing is distributed) of the processing presented herein.
- the computer code devices may be any interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs), Java classes, and complete executable programs. Moreover, parts of the processing may be distributed for better performance, reliability, and/or cost.
- the computer system 901 also includes a communication interface 913 coupled to the bus 902 .
- the communication interface 913 provides a two-way data communication coupling to a network link 914 that is connected to, for example, a local area network (LAN) 915 , or to another communications network 916 such as the Internet.
- the communication interface 913 may be a wired or wireless network interface card to attach to any packet switched (wired or wireless) LAN.
- the communication interface 913 may be an asymmetrical digital subscriber line (ADSL) card, an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of communications line.
- Wireless links may also be implemented.
- the communication interface 913 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
- the network link 914 typically provides data communication through one or more networks to other data devices.
- the network link 914 may provide a connection to another computer through a local area network 915 (e.g., a LAN) or through equipment operated by a service provider, which provides communication services through a communications network 916 .
- the local network 914 and the communications network 916 use, for example, electrical, electromagnetic, or optical signals that carry digital data streams, and the associated physical layer (e.g., CAT 5 cable, coaxial cable, optical fiber, etc.).
- the signals through the various networks and the signals on the network link 914 and through the communication interface 913 , which carry the digital data to and from the computer system 901 maybe implemented in baseband signals, or carrier wave based signals.
- the baseband signals convey the digital data as unmodulated electrical pulses that are descriptive of a stream of digital data bits, where the term “bits” is to be construed broadly to mean symbol, where each symbol conveys at least one or more information bits.
- the digital data may also be used to modulate a carrier wave, such as with amplitude, phase and/or frequency shift keyed signals that are propagated over a conductive media, or transmitted as electromagnetic waves through a propagation medium.
- the digital data may be sent as unmodulated baseband data through a “wired” communication channel and/or sent within a predetermined frequency band, different than baseband, by modulating a carrier wave.
- the computer system 901 can transmit and receive data, including program code, through the network(s) 915 and 916 , the network link 914 and the communication interface 913 .
- the network link 914 may provide a connection through a LAN 915 to a mobile device 917 such as a personal digital assistant (PDA) laptop computer, or cellular telephone.
- PDA personal digital assistant
- These techniques provide for path selection with improved accuracy, show a decrease in incorrect change predictions, and an increase in correct change predictions.
- the techniques described herein are provided as a method comprising: determining a plurality of paths through a network for transmitting a packet from a source network connected device to a destination network connected device; modelling the plurality of paths as a plurality of nodes in a Random Neural Network, wherein each of the plurality of nodes corresponds to one of the plurality of paths and a reward is calculated for each of the nodes of the plurality of nodes; determining an excitatory weight and an inhibitory weight for each of the plurality of nodes in the Random Neural Network, wherein determining the excitatory weight comprises setting an excitatory weight directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and wherein determining the inhibitory weight comprises setting the inhibitory weight inversely proportional to the reward corresponding to the node of the plurality of nodes for which the inhibitory weight is being determined; determining a potential for each of the plurality of nodes based upon the exc
- an apparatus comprising: a network interface configured to communicate over a network; and one or more processors, wherein the one or more processors are configured to: determine a plurality of paths through the network for transmitting a packet from a source network connected device to a destination network connected device; model the plurality of paths as a plurality of nodes in a Random Neural Network, wherein each of the plurality of nodes corresponds to one of the plurality of paths and a reward is calculated for each of the nodes of the plurality of nodes; determine an excitatory weight and an inhibitory weight for each of the plurality of nodes in the Random Neural Network, wherein determining the excitatory weight comprises setting an excitatory weight directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and wherein determining the inhibitory weight comprises setting the inhibitory weight inversely proportional to the reward corresponding to the node of the plurality of nodes for which the inhibitory weight is being determined; determine
- a tangible, non-transitory computer readable storage medium encoded with instructions is provided.
- the instructions when executed, are operable or cause one or more processors to: determine a plurality of paths through a network for transmitting a packet from a source network connected device to a destination network connected device; model the plurality of paths as a plurality of nodes in a Random Neural Network, wherein each of the plurality of nodes corresponds to one of the plurality of paths and a reward is calculated for each of the nodes of the plurality of nodes; determine an excitatory weight and an inhibitory weight for each of the plurality of nodes in the Random Neural Network, wherein determining the excitatory weight comprises setting an excitatory weight directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and wherein determining the inhibitory weight comprises setting the inhibitory weight inversely proportional to the reward corresponding to the node of the plurality of nodes for which the inhibitory weight is being
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Biomedical Technology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
- The present disclosure relates to Random Neural Networks and using Random Neural Network techniques for path selection in network routing.
- Optimal route/path selection in Software Defined Networks, including Software Defined Wide Area Networks (SD-WAN), may be based on network performance metrics, such as delay, jitter, packet loss ratios, bandwidth, and others. Systems for providing route selection rely on performance management probes and local Key Performance Indicators (KPIs) to make path selection decisions based on a preset policy that compares Service Level Agreement (SLA) data and KPIs against predefined thresholds and watermarks.
- Machine learning provides an alternate approach for optimal route selection. Machine learning optimal route selection involves building a predictive model for the routing logic that is capable of optimizing the path selection process without relying on complex policies and pre-configured thresholds. The machine learning logic monitors the performance metrics and local KPIs to refine its predictions as it learns.
-
FIG. 1 illustrates a first network environment providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment. -
FIG. 2 illustrates a directed graph utilized in providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment. -
FIG. 3 illustrates a second network environment providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment. -
FIG. 4 illustrates a flowchart illustrating a process for providing weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment. -
FIG. 5 illustrates a graph of test results for network path selection that used related art weight initialization techniques to optimize path latency. -
FIG. 6 illustrates a graph of test results for network path selection that used the weight initialization techniques of the present disclosure to optimize path patency, according to an example embodiment. -
FIG. 7 illustrates a graph of test results for network path selection that used related art weight initialization techniques to optimize jitter. -
FIG. 8 illustrates a graph of test results for network path selection that used the weight initialization techniques of the present disclosure to optimize jitter, according to an example embodiment. -
FIG. 9 illustrates a block diagram of a network device configured to provide weight initialization for use with Random Neural Network modeling and Reinforcement Learning, according to an example embodiment. - In one example, a plurality of paths through a network are determined for transmitting a packet from a source device to a destination device. The paths are modelled as nodes in a Random Neural Network, each node corresponding to a path and a reward is calculated for each of the nodes. An excitatory weight and an inhibitory weight are determined for each of the nodes in the Random Neural Network. The excitatory weight is set directly proportional to the reward corresponding to the node for which the excitatory weight is being determined, and the inhibitory weight is set inversely proportional to the reward corresponding to the node for which the inhibitory weight is being determined. A potential is determined for each of the nodes based upon the excitatory and inhibitory weights. A path corresponding to the node with a highest potential is selected, and the packet is transmitted over the selected path.
- With reference made to
FIG. 1 , depicted therein is anetwork environment 100 configured to provide network routing functions using Reinforcement Learning using the weight initialization techniques described herein. As illustrated, four network connected devices 105 a-d are arranged withinenvironment 100. For a packet being sent from network connecteddevice 105 a to network connecteddevice 105 b throughnetwork 102, there are three possible paths for the packet: apath 110 a that goes directly fromnode 105 a tonode 105 b, apath 110 b that utilizes interveningnode 105 c, and apath 110 c that utilizes interveningnode 105 d. In order to select between these three possible paths 110 a-c, the selection of the paths may be modelled as a Random Neural Network (RNN) that utilizes Reinforcement Learning. This modelling may be performed by a centralized controller, such as Software Defined Network (SDN)controller 115 or at source network connecteddevice 105 a. When the modelling is performed at network connecteddevice 105 a,SDN controller 115 may provide information to network connecteddevice 105 a, such as network parameters and/or network performance details, which may be used by network connecteddevice 105 a in performing the modelling. - According to the techniques described herein, an RNN is constructed per source node/destination node pair. The RNN is a mathematical model inspired from biology and represented as a directed graph. The directed graph includes nodes which represent the possible paths between the source node and destination node. The nodes are interconnected via links to form the neural network. Each link has a pair of weights associated with it: positive (excitatory) weight, and negative (inhibitory) weight. These weights control the potential of every node through a system of non-linear equations. The potential of the node, in the context of the present disclosure, represents the probability that the corresponding path is the best-path for the purpose of route selection.
- Illustrated in
FIG. 2 is an example RNN 200 that takes the form of a directed graph and corresponds to the network paths illustrated inFIG. 1 .Node 215 a corresponds to path 115 a fromFIG. 1 ,node 215 b corresponds to path 115 b fromFIG. 1 , andnode 215 c corresponds to path 115 c fromFIG. 1 . The connections between the nodes include weights, excitatory weights “w+” and inhibitory weights “w−”. When modelled as an RNN, it is assumed that each node receives “excitation spikes” and “inhibition spikes” from the nodes to which it is connected, as this is how neurons operate in a neural network. The weights represent the rates at which these spikes are sent from one node to another. Accordingly, weight “wba −” represents the rate at whichnode 215 b sends “excitation spikes” tonode 215 a whennode 215 b is “firing” and weight “wba −” represents the rate at whichnode 215 b sends “inhibition spikes” tonode 215 a whennode 215 b is “firing.” Similarly, weight “wab +” represents the rate at whichnode 215 a sends “excitation spikes” back tonode 215 b and weight “wab”” represents the rate at whichnode 215 a sends “inhibition spikes” back tonode 215 b. The probability or potential of a particular node “firing” (which in this case will represent the selection of the path associated with the node) is determined by summing all of the incoming excitatory weights to the node, summing all of the incoming inhibitory weights to the node, and comparing these relative values. The node with the highest potential would then be selected as the path to handle the packet to be sent. - According to certain example embodiments of RNN models, the potential q for a node i may be calculated according to the following equations:
-
q i=λ+(i)/[r(i)+λ−(i) (1) -
where -
λ+(i)=Σj q j w ji ++Λi, ζ−(i)<Σi q j w ji −+λi, (2) - and Λi and λi are constant parameters for the node i.
- If
node 215 a is determined to have the highest potential,path 110 a ofFIG. 1 would be selected to transmit the packet. Ifnode 215 b is determined to have the highest potential,path 110 b ofFIG. 1 would be selected to transmit the packet. Ifnode 215 c is determined to have the highest potential,path 110 c ofFIG. 1 would be selected to transmit the packet. - In a Reinforcement Learning strategy, the results of sending the packet over a particular node are used to adjust the weights. As the weights are adjusted over time, the directed graph begins to select the optimal node for each packet. More specifically, an objective or goal is defined that should be met for transmission of a packet. This goal may be, for example, the selection of a path that meets a particular bandwidth, latency, shortest path, jitter or other network parameter value. If the path selected by the directed graph satisfies the objective, the node associated with the path is “rewarded” for its correct prediction by increasing the excitatory weights of links leading to the node, and reducing the inhibitory weights of those same links. On the other hand, if the selected path misses the objective, then it is “punished” by decreasing the excitatory weights and increasing the inhibitory weights of links leading to the node corresponding to the path in the directed graph. For example, the weights associated with the node may be readjusted as follows if the selected path met the object or goal:
-
- where T is the decision threshold (e.g., an exponential average of the desired latency value, bandwidth value, jitter value, shortest path, etc.) at time t, R(t) is a measured reward value at the time t, and N is the total number of nodes in the directed graph.
- The weights associated with the selected node may be readjusted as follows if the selected path did not meet the object or goal:
-
- The decision threshold T(t) discussed above is calculated based on an exponential average of past observations of the reward value:
-
T(t+1)=F*T(t)+(1−F)*R(t) (7) - where T(t) is the decision threshold at time t, R(t) is the measured reward value at time t and F is a forgetfulness coefficient ranging between 0 and 1. A larger value of F means that more importance will be given to more recent observations.
- A path is deemed to have met the object or goal when R(t)>=T(t), and to have not met the object or goal when R(t)<T(t). As illustrated above, when the path meets the goal, the excitation weights to the node are increased and inhibitory weights to the node are decreased, thereby making it more likely that the path associated with the node will be selected again in the future. On the other hand, if the path does not meet the goal, the excitation weights to the node are decreased and the inhibitory weights to the node are increased, thereby making it less likely that the path associated with the node will be selected again in the future. Specifically, for a second packet to be sent from
node 105 a ofFIG. 1 tonode 105 b ofFIG. 1 , the potentials fornodes 215 a-c of directedgraph 200 ofFIG. 2 will be recalculated. Due to the adjustment of the weights as described above, it may be more or less likely that the same node will be selected again. As this process proceeds through a serious of iterations, the path selection provided by directedgraph 200 ofFIG. 2 will approach an optimal solution. - Absent from the discussion above was an indication of how the initial values for the weights “w+” and “w−” are selected. The problem of weight initialization for neural networks has been studied extensively, especially for RNNs that use supervised learning. Related art techniques utilize two classes of initialization techniques: (1) random initialization and (2) initialization based on statistical analysis of data.
- Random initialization is widely accepted in the industry to yield acceptable convergence time. In this approach, the initial weights are selected randomly based on some distribution function (uniform, normal, Gaussian, Xavier, etc.) that takes into account the number of stages and fan-out of nodes in the directed graph. Selecting static constant values for the initial weights is a degenerate case of this technique.
- Statistical initialization only works with supervised learning. It involves running the data through a statistical or geometric analysis to find optimal values for the initial weights. It is criticized for its complexity and for being time-consuming. Of course, a prerequisite is the availability of training data sets.
- The techniques of the present disclosure utilize a strategy to initialize the link weights so as to jump-start the learning algorithm in a state that approximates as much as possible the converged state. The techniques described herein also set up the initial probability distribution of the nodes in the RNN such that the node with the highest reward ends up with the highest initial probability (i.e. potential), the node with the lowest reward ends up with the lowest initial potential, and the node whose rewards are in between have proportionally distributed potentials in between the two bounds.
- By way of background, the potential of a node at a given time t is directly proportional to the sum of excitatory weights at time t and inversely proportional to the sum of inhibitory weights at time t. Accordingly, the techniques described herein provide initial link weight assignments such that the excitatory weights are directly proportional to the node's reward, whereas the inhibitory weights are inversely proportional to the reward. The techniques described herein may also satisfy the constraint that the sum of initial inhibitory weights should not be equal to zero, otherwise the system of non-linear equations to solve the potential values of the nodes will not converge. The above technique yields a family of equations that can be used to initialize the link weights, which follow the aforementioned strategy and meet the constraint.
- The following example embodiment applies the techniques of the present disclosure to a directed graph which attempts to minimize path latency. It is to be understood that other routing objectives may be accommodated with no change to the proposed solution, or minor changes which base the reward on the network parameter to be optimized. In attempting to optimize latency, a node's reward is calculated as 1/latency. More specifically, as noted above, the reward is generally made directly proportional to the parameter being optimized. Here, the goal is to minimize latency, meaning the parameter being optimized is the inverse of latency. Similarly, for a parameter like jitter in which one would attempt to minimize jitter, the reward would be calculated as 1/jitter. For a different parameter, such as bandwidth, for which optimization would represent a maximum value of the parameter, the reward would be set directly proportional to the parameter.
- In order to implement the techniques described herein, the following operations may be performed:
-
- 1. The excitatory weights may be initialized to be directly proportional to the node's reward,
- 2. The inhibitory weights may be initialized to be inversely proportional to the reward.
- 3. The sum of initial inhibitory weights should not be equal to zero otherwise the system of non-linear equations to solve the potential values of the nodes will not converge.
- Implementing the above operations allows for a family of equations that may be used to initialize the link weights. Implementing the above may result in the following specific example embodiment of the techniques described herein:
-
- The value of the initial latency associated with every candidate path is measured.
- The initial reward for every node is calculated based upon the calculated latency for each path.
- The value of the highest initial reward (i.e. least latency among candidate paths) is determined.
- The link weights of the nodes in the RNN are initialized per the two equations below:
-
w ab − =R b+1 (8) -
w ab −=(R max −R b)/R max+1 (9) - where wab + is the excitatory link weight from node a to node b, wab − is the inhibitory link weight from node a to node b, Rb is the initial reward of node b, and Rmax is the maximum initial reward value among all nodes. When the weights are applied according to the equations above, it was found that the RNN's overall prediction accuracy increased from 88% to 92% compare to an equivalent network whose initial weights were randomly assigned. The volume of incorrect change predictions (i.e. the best path changes in the network, but the RNN is not able to predict the change correctly) improved by 38%. The volume of correct change predictions (i.e. the best path changes in the network and the RNN correctly predicts the change) increased by 160%.
- The reward parameter R in the weight initialization/update functions may be mapped to any networking metric, such as jitter, packet loss ratio, latency, available bandwidth, path length, or any other metric as long as the metric in question exhibits over time the statistical properties of an anti-persistent stochastic process. In fact, the weight initialization techniques described herein may be applied to any RNN modeling of anti-persistent stochastic processes. Other such anti-persistent stochastic processes that may be modeled using RNN techniques and initialized according to the techniques described herein may include:
-
- Brain imaging segmentation techniques;
- Still image compression techniques;
- Adaptive video compression techniques; and
- Learning and reproduction of color techniques, among others.
- With reference now made to
FIG. 3 , depicted therein is anexample network environment 300 to which the techniques described herein may be particularly applicable. As illustrated inFIG. 3 ,network environment 300 is a Software Defined Wide Area Network (SD-WAN) that utilizes logical overlays that allow disparate physical networks 305 a-c to be treated as a single logical network. Network connected devices 315 a-c are edge nodes at each of physical networks 305 a-c, respectively. Due to the presence of the logical overlay, there are two options for sending traffic between source network connecteddevice 315 a and destination network connecteddevice 315 b:path 320 a which directly connects network connecteddevice 315 a to networkconnected device 315 b via the Internet 330 without using the logical overlay network; andpath 320 b which connects to networkconnected device 315 b via network connecteddevice 315 c using the logical overlay network. Because the selection and utilization of two such network paths may be modeled as an anti-persistent stochastic process, the techniques described herein may be particularly applicable to such a network environment. Specifically, for the combination of source network connecteddevice 315 a and destination network connecteddevice 315 b a directed graph may be constructed, such as directedgraph 200 ofFIG. 2 . Though, becausenetwork environment 300 includes two possible paths between network connected 315 a and 315 b, the resulting directed graph will have two nodes as opposed to the three nodes of directeddevices graph 200 ofFIG. 2 . - If latency is being optimized, the value of the initial latency associated with each of
320 a and 320 b is measured. An initial reward for every node in the directed graph is calculated based upon the calculated latency for each ofpaths 320 a and 320 b. The value of the highest initial reward (i.e. least latency among candidate paths) is determined and the link weights of the nodes in the directed graph are initialized such that the following conditions are met:paths -
- 1. The excitatory weights are initialized to be directly proportional to the node's reward,
- 2. The inhibitory weights are initialized to be inversely proportional to the node's reward, and
- 3. The sum of initial inhibitory weights should not be equal to zero otherwise the system of non-linear equations to solve the potential values of the nodes will not converge.
- Reinforcement Learning may then be performed to optimize the weights and path selection provided by the directed graph. These operations may take place at
controller 325, or they may take place at network connecteddevice 315 a so long as network connecteddevice 315 a is provided with network parameter data that permits network connecteddevice 315 a to generate the directed graph and initialize the weight values as described above. This network parameter data may be provided to networkconnected device 315 a bycontroller 325. - With reference now made to
FIG. 4 , depicted therein is a flowchart illustrating aprocess 400 for performing the techniques described herein. Process begins atoperation 405 in which a plurality of paths through a network are determined. This plurality of paths are for transmitting a packet from a source network connected device to a destination network connected device. For example,operation 405 may determine that paths 110 a-c represent the possible paths between network connected 105 a and 105 b fromdevices FIG. 1 , oroperation 405 may determine that 320 a and 320 b represent the possible paths between network connectedpaths 315 a and 315 b fromdevices FIG. 3 . - In
operation 410, the plurality of paths are modeled as a plurality of nodes in a Random Neural Network. Each node in the Random Neural Network corresponds to one of the plurality of paths determined inoperation 405, and a reward is calculated for each node in the Random Neural Network. In other words, the plurality of paths may be modeled using an RNN modeling technique, such as those used to modelnetwork environment 100 ofFIG. 1 as directedgraph 200 ofFIG. 2 . Inoperation 415, an excitatory weight and an inhibitory weight in the Random Neural Network are determined. According to the example embodiment ofFIG. 4 , the weights are determined for each of the plurality of nodes in the Random Neural Network. Determining the excitatory weights comprises setting the excitatory weights directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and determining the inhibitory weights comprises setting the inhibitory weights inversely proportional to reward for the node of the plurality of nodes for which the inhibitory weight is being determined. The determined excitatory weights and inhibitory weights may be the initial excitatory weights and inhibitory weights assigned to the nodes of the RNN model. Using the discussion above regarding latency, the RNN ofprocess 400 may seek to optimize latency. Accordingly, the reward calculated for each node inoperation 410 would be based on the latency of the path associated with the node. Specifically, the reward would be calculated as being directly proportional to 1/latency. Accordingly, the excitatory weights are set to be directly proportional to the reward (i.e., directly proportional to 1/latency), and the inhibitory weights are set to be inversely proportional to the reward (i.e., inversely proportional to 1/latency). - In operation 420 a potential for each of the plurality of nodes is determined based upon the excitatory weights and inhibitory weights for the plurality of nodes, and in operation 425 a path through the network corresponding to the node with a highest potential is selected. Finally, in
operation 430, the packet is transmitted over the path corresponding to the node with the highest potential. - With reference now made to
FIGS. 5 and 6 , depicted therein are two graphs for the same network environment.FIG. 5 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were randomly assigned.FIG. 6 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were assigned using the techniques described herein. More specifically, bothFIGS. 5 and 6 represent graphs of path latency versus time, as the graphs were created for tests which performed RNN modeling and Reinforcement Learning that sought to minimize path latency. The 505 and 605 in each graph, respectively, represent the actual least latency path through the network that could have been achieved. Thesolid lines 510 and 610 about theshading 505 and 605, respectively, represent the latency of the path actually selected. Finally, the shading on the x-axis, 515 and 615, respectively, represent the error between or difference between the selected path and the actual least latency path through the network. As can be seen in these two figures, networks were able to more successfully select a path closer to the actual least latency path when utilizing the techniques described herein.solid lines - With reference now made to
FIGS. 7 and 8 , depicted therein are two graphs for the same network environment.FIG. 7 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were randomly assigned.FIG. 8 represents data indicating path selection performance using RNN techniques in the network environment in which the initial excitatory and inhibitory weights were assigned using the techniques described herein. More specifically, bothFIGS. 7 and 8 represent graphs of jitter versus time, as the graphs were created for tests which performed RNN modeling and Reinforcement Learning that sought to minimize jitter. The 705 and 805 in each graph, respectively, represent the jitter value for the actual lowest jitter path through the network that could have been achieved. Thesolid lines 710 and 810 about theshading 705 and 805, respectively, represent the jitter value of the path actually selected by the RNN. As can be seen in these two figures, networks were able to more successfully select a path closer to the actual lowest jitter path when utilizing the techniques described herein.solid lines - As illustrated through a comparison of
FIGS. 5 and 6 andFIGS. 7 and 8 , respectively, implementation of the techniques described herein provides a real and measurable improvement to the functioning of a computer network. As shown inFIGS. 5-8 , the techniques described herein result in a network that more accurately sends packets over the optimal path, which results in network performances gains. When the techniques described herein are applied to shortest path length, packet loss rate, and other network parameters, similar measurable performance gains are achieved. Improving network performance is a fundamental technical problem faced in the technical field of computer networking. The techniques described herein provide a particular improvement addressing this technical problem. - With reference now made to
FIG. 9 , illustrated therein is acomputer system 901 upon which the embodiments presented may be implemented. Thecomputer system 901 may be programmed to implement a computer based device, such as a network controller, network connected device, or physical network edge device described above with reference toFIGS. 1-4 . Thecomputer system 901 includes abus 902 or other communication mechanism for communicating information, and aprocessor 903 coupled with thebus 902 for processing the information. While the figure shows asingle block 903 for a processor, it should be understood that theprocessors 903 represent a plurality of processing cores, each of which can perform separate processing. Thecomputer system 901 also includes amain memory 904, such as a random access memory (RAM) or other dynamic storage device (e.g., dynamic RAM (DRAM), static RAM (SRAM), and synchronous DRAM (SD RAM)), coupled to thebus 902 for storing information and instructions to be executed byprocessor 903. In addition, themain memory 904 may be used for storing temporary variables or other intermediate information during the execution of instructions by theprocessor 903. - The
computer system 901 further includes a read only memory (ROM) 905 or other static storage device (e.g., programmable ROM (PROM), erasable PROM (EPROM), and electrically erasable PROM (EEPROM)) coupled to thebus 902 for storing static information and instructions for theprocessor 903. - The
computer system 901 also includes adisk controller 906 coupled to thebus 902 to control one or more storage devices for storing information and instructions, such as a magnetichard disk 907, and a removable media drive 908 (e.g., floppy disk drive, read-only compact disc drive, read/write compact disc drive, compact disc jukebox, tape drive, and removable magneto-optical drive). The storage devices may be added to thecomputer system 901 using an appropriate device interface (e.g., small computer system interface (SCSI), integrated device electronics (IDE), enhanced-IDE (E-IDE), direct memory access (DMA), or ultra-DMA). - The
computer system 901 may also include special purpose logic devices (e.g., application specific integrated circuits (ASICs)) or configurable logic devices (e.g., simple programmable logic devices (SPLDs), complex programmable logic devices (CPLDs), and field programmable gate arrays (FPGAs)), that, in addition to microprocessors and digital signal processors may individually, or collectively, are types of processing circuitry. The processing circuitry may be located in one device or distributed across multiple devices. - The
computer system 901 may also include adisplay controller 909 coupled to thebus 902 to control adisplay 910, such as a cathode ray tube (CRT), Liquid Crystal Display (LCD) or other now known or hereinafter developed display technologies, for displaying information to a computer user. Thecomputer system 901 may include input devices, such as akeyboard 911 and apointing device 912, for interacting with a computer user and providing information to theprocessor 903. Thepointing device 912, for example, may be a mouse, a trackball, or a pointing stick for communicating direction information and command selections to theprocessor 903 and for controlling cursor movement on thedisplay 910. In addition, a printer may provide printed listings of data stored and/or generated by thecomputer system 901. - The
computer system 901 performs a portion or all of the processing steps of the process in response to theprocessor 903 executing one or more sequences of one or more instructions contained in a memory, such as themain memory 904. Such instructions may be read into themain memory 904 from another computer readable medium, such as ahard disk 907 or aremovable media drive 908. One or more processors in a multi-processing arrangement may also be employed to execute the sequences of instructions contained inmain memory 904. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions. Thus, embodiments are not limited to any specific combination of hardware circuitry and software. - As stated above, the
computer system 901 includes at least one computer readable medium or memory for holding instructions programmed according to the embodiments presented, for containing data structures, tables, records, or other data described herein. Examples of computer readable media are compact discs, hard disks, floppy disks, tape, magneto-optical disks, PROMs (EPROM, EEPROM, flash EPROM), DRAM, SRAM, SD RAM, or any other magnetic medium, compact discs (e.g., CD-ROM), or any other optical medium, punch cards, paper tape, or other physical medium with patterns of holes, or any other medium from which a computer can read. - Stored on any one or on a combination of non-transitory computer readable storage media, embodiments presented herein include software for controlling the
computer system 901, for driving a device or devices for implementing the process, and for enabling thecomputer system 901 to interact with a human user. Such software may include, but is not limited to, device drivers, operating systems, development tools, and applications software. Such computer readable storage media further includes a computer program product for performing all or a portion (if processing is distributed) of the processing presented herein. - The computer code devices may be any interpretable or executable code mechanism, including but not limited to scripts, interpretable programs, dynamic link libraries (DLLs), Java classes, and complete executable programs. Moreover, parts of the processing may be distributed for better performance, reliability, and/or cost.
- The
computer system 901 also includes acommunication interface 913 coupled to thebus 902. Thecommunication interface 913 provides a two-way data communication coupling to anetwork link 914 that is connected to, for example, a local area network (LAN) 915, or to anothercommunications network 916 such as the Internet. For example, thecommunication interface 913 may be a wired or wireless network interface card to attach to any packet switched (wired or wireless) LAN. As another example, thecommunication interface 913 may be an asymmetrical digital subscriber line (ADSL) card, an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of communications line. Wireless links may also be implemented. In any such implementation, thecommunication interface 913 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information. - The
network link 914 typically provides data communication through one or more networks to other data devices. For example, thenetwork link 914 may provide a connection to another computer through a local area network 915 (e.g., a LAN) or through equipment operated by a service provider, which provides communication services through acommunications network 916. Thelocal network 914 and thecommunications network 916 use, for example, electrical, electromagnetic, or optical signals that carry digital data streams, and the associated physical layer (e.g., CAT 5 cable, coaxial cable, optical fiber, etc.). The signals through the various networks and the signals on thenetwork link 914 and through thecommunication interface 913, which carry the digital data to and from thecomputer system 901 maybe implemented in baseband signals, or carrier wave based signals. The baseband signals convey the digital data as unmodulated electrical pulses that are descriptive of a stream of digital data bits, where the term “bits” is to be construed broadly to mean symbol, where each symbol conveys at least one or more information bits. The digital data may also be used to modulate a carrier wave, such as with amplitude, phase and/or frequency shift keyed signals that are propagated over a conductive media, or transmitted as electromagnetic waves through a propagation medium. Thus, the digital data may be sent as unmodulated baseband data through a “wired” communication channel and/or sent within a predetermined frequency band, different than baseband, by modulating a carrier wave. Thecomputer system 901 can transmit and receive data, including program code, through the network(s) 915 and 916, thenetwork link 914 and thecommunication interface 913. Moreover, thenetwork link 914 may provide a connection through aLAN 915 to amobile device 917 such as a personal digital assistant (PDA) laptop computer, or cellular telephone. - In summary, presented herein are a method, apparatus, and computer readable storage media encoded with instructions configured to perform a process for weight initialization of Random Neural Networks with Reinforcement Learning that guarantees that the initial excitatory weights are directly proportional to the neuron's initial reward, whereas the initial inhibitory weights are inversely proportional to the initial reward, while satisfying the constraints of convergence of the system of non-linear equations governing the potentials of the neurons in the neural network. These techniques provide for path selection with improved accuracy, show a decrease in incorrect change predictions, and an increase in correct change predictions.
- Accordingly, in one form, the techniques described herein are provided as a method comprising: determining a plurality of paths through a network for transmitting a packet from a source network connected device to a destination network connected device; modelling the plurality of paths as a plurality of nodes in a Random Neural Network, wherein each of the plurality of nodes corresponds to one of the plurality of paths and a reward is calculated for each of the nodes of the plurality of nodes; determining an excitatory weight and an inhibitory weight for each of the plurality of nodes in the Random Neural Network, wherein determining the excitatory weight comprises setting an excitatory weight directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and wherein determining the inhibitory weight comprises setting the inhibitory weight inversely proportional to the reward corresponding to the node of the plurality of nodes for which the inhibitory weight is being determined; determining a potential for each of the plurality of nodes based upon the excitatory weights and the inhibitory weights for the plurality of nodes; selecting a path of the plurality of paths corresponding to the node with a highest potential; and transmitting the packet from the source network connected device to the destination network connected device over the path of the plurality of paths corresponding to the node with the highest potential.
- In another form, an apparatus is provided comprising: a network interface configured to communicate over a network; and one or more processors, wherein the one or more processors are configured to: determine a plurality of paths through the network for transmitting a packet from a source network connected device to a destination network connected device; model the plurality of paths as a plurality of nodes in a Random Neural Network, wherein each of the plurality of nodes corresponds to one of the plurality of paths and a reward is calculated for each of the nodes of the plurality of nodes; determine an excitatory weight and an inhibitory weight for each of the plurality of nodes in the Random Neural Network, wherein determining the excitatory weight comprises setting an excitatory weight directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and wherein determining the inhibitory weight comprises setting the inhibitory weight inversely proportional to the reward corresponding to the node of the plurality of nodes for which the inhibitory weight is being determined; determine a potential for each of the plurality of nodes based upon the excitatory weights and the inhibitory weights for the plurality of nodes; selecting a path of the plurality of paths corresponding to the node with a highest potential; and transmit, via the network interface, the packet from the source network connected device to the destination network connected device over the path of the plurality of paths corresponding to the node with the highest potential.
- In still another form, a tangible, non-transitory computer readable storage medium encoded with instructions is provided. The instructions, when executed, are operable or cause one or more processors to: determine a plurality of paths through a network for transmitting a packet from a source network connected device to a destination network connected device; model the plurality of paths as a plurality of nodes in a Random Neural Network, wherein each of the plurality of nodes corresponds to one of the plurality of paths and a reward is calculated for each of the nodes of the plurality of nodes; determine an excitatory weight and an inhibitory weight for each of the plurality of nodes in the Random Neural Network, wherein determining the excitatory weight comprises setting an excitatory weight directly proportional to the reward corresponding to the node of the plurality of nodes for which the excitatory weight is being determined, and wherein determining the inhibitory weight comprises setting the inhibitory weight inversely proportional to the reward corresponding to the node of the plurality of nodes for which the inhibitory weight is being determined; determine a potential for each of the plurality of nodes based upon the excitatory weights and the inhibitory weights for the plurality of nodes; select a path of the plurality of paths corresponding to the node with a highest potential; and transmit the packet from the source network connected device to the destination network connected device over the path of the plurality of paths corresponding to the node with the highest potential.
- The above description is intended by way of example only. Although the techniques are illustrated and described herein as embodied in one or more specific examples, it is nevertheless not intended to be limited to the details shown, since various modifications and structural changes may be made within the scope and range of equivalents of the claims.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/718,901 US10257072B1 (en) | 2017-09-28 | 2017-09-28 | Weight initialization for random neural network reinforcement learning |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/718,901 US10257072B1 (en) | 2017-09-28 | 2017-09-28 | Weight initialization for random neural network reinforcement learning |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20190097912A1 true US20190097912A1 (en) | 2019-03-28 |
| US10257072B1 US10257072B1 (en) | 2019-04-09 |
Family
ID=65809378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/718,901 Active US10257072B1 (en) | 2017-09-28 | 2017-09-28 | Weight initialization for random neural network reinforcement learning |
Country Status (1)
| Country | Link |
|---|---|
| US (1) | US10257072B1 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102152615B1 (en) * | 2019-12-26 | 2020-09-08 | 주식회사 마크애니 | Weight initialization method and apparatus for stable learning of deep learning model using activation function |
| US20210297928A1 (en) * | 2020-03-23 | 2021-09-23 | Nokia Solutions And Networks Oy | Apparatus, method and computer program for routing data in a dual or multi-connectivity configuration |
| US11570271B2 (en) * | 2019-04-10 | 2023-01-31 | Cisco Technology, Inc. | Differentiated smart sidecars in a service mesh |
| US20230091734A1 (en) * | 2021-09-23 | 2023-03-23 | Palo Alto Networks, Inc. | Latency based network path scoring |
| CN115883442A (en) * | 2022-11-29 | 2023-03-31 | 中国工商银行股份有限公司 | Method and device for determining data transmission path and electronic equipment |
| WO2024172876A1 (en) * | 2023-02-13 | 2024-08-22 | Hourglass Software LLC | Modifying network routing and bandwidth balancing for lower latency and high quality fair traffic |
| US12218807B1 (en) * | 2024-06-21 | 2025-02-04 | Live Nation Entertainment, Inc. | Dynamic determination of threshold routing value using machine-learning models |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11212223B2 (en) | 2019-04-27 | 2021-12-28 | Hewlett Packard Enterprise Development Lp | Uplink selection in a SD-WAN |
| US11315585B2 (en) | 2019-05-22 | 2022-04-26 | Spotify Ab | Determining musical style using a variational autoencoder |
| US11355137B2 (en) | 2019-10-08 | 2022-06-07 | Spotify Ab | Systems and methods for jointly estimating sound sources and frequencies from audio |
| US11443235B2 (en) | 2019-11-14 | 2022-09-13 | International Business Machines Corporation | Identifying optimal weights to improve prediction accuracy in machine learning techniques |
| US11366851B2 (en) | 2019-12-18 | 2022-06-21 | Spotify Ab | Karaoke query processing system |
| US12373702B2 (en) | 2021-01-29 | 2025-07-29 | World Wide Technology Holding Co., LLC | Training a digital twin in artificial intelligence-defined networking |
| US12175364B2 (en) | 2021-01-29 | 2024-12-24 | World Wide Technology Holding Co., LLC | Reinforcement-learning modeling interfaces |
| US11606265B2 (en) | 2021-01-29 | 2023-03-14 | World Wide Technology Holding Co., LLC | Network control in artificial intelligence-defined networking |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0310366A (en) | 1989-05-19 | 1991-01-17 | Philips Gloeilampenfab:Nv | Artificial neural network |
| US6804201B1 (en) * | 2000-10-05 | 2004-10-12 | S. Erol Gelenbe | Cognitive packet network |
| US7457788B2 (en) | 2004-06-10 | 2008-11-25 | Oracle International Corporation | Reducing number of computations in a neural network modeling several data sets |
| EP2359542B1 (en) * | 2008-12-19 | 2014-03-26 | Telefonaktiebolaget L M Ericsson (PUBL) | A method and apparatus for routing data |
| GB201402736D0 (en) | 2013-07-26 | 2014-04-02 | Isis Innovation | Method of training a neural network |
| US10389585B2 (en) * | 2014-11-25 | 2019-08-20 | Huawei Technologies Co., Ltd. | System and method for data flow optimization |
| US9929933B1 (en) * | 2015-09-01 | 2018-03-27 | Netronome Systems, Inc. | Loading a flow table with neural network determined information |
| CN112152921B (en) * | 2015-12-30 | 2023-07-28 | 华为技术有限公司 | Method for establishing routing table, electronic equipment and network |
-
2017
- 2017-09-28 US US15/718,901 patent/US10257072B1/en active Active
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11570271B2 (en) * | 2019-04-10 | 2023-01-31 | Cisco Technology, Inc. | Differentiated smart sidecars in a service mesh |
| KR102152615B1 (en) * | 2019-12-26 | 2020-09-08 | 주식회사 마크애니 | Weight initialization method and apparatus for stable learning of deep learning model using activation function |
| US11580406B2 (en) * | 2019-12-26 | 2023-02-14 | Markany Inc. | Weight initialization method and apparatus for stable learning of deep learning model using activation function |
| US20210297928A1 (en) * | 2020-03-23 | 2021-09-23 | Nokia Solutions And Networks Oy | Apparatus, method and computer program for routing data in a dual or multi-connectivity configuration |
| CN113438707A (en) * | 2020-03-23 | 2021-09-24 | 诺基亚通信公司 | Apparatus, method and computer program for routing data in a dual-connection or multi-connection configuration |
| US11818648B2 (en) * | 2020-03-23 | 2023-11-14 | Nokia Solutions And Networks Oy | Apparatus, method and computer program for routing data in a dual or multi-connectivity configuration |
| US20230091734A1 (en) * | 2021-09-23 | 2023-03-23 | Palo Alto Networks, Inc. | Latency based network path scoring |
| US12494978B2 (en) * | 2021-09-23 | 2025-12-09 | Palo Alto Networks, Inc. | Latency based network path scoring |
| CN115883442A (en) * | 2022-11-29 | 2023-03-31 | 中国工商银行股份有限公司 | Method and device for determining data transmission path and electronic equipment |
| WO2024172876A1 (en) * | 2023-02-13 | 2024-08-22 | Hourglass Software LLC | Modifying network routing and bandwidth balancing for lower latency and high quality fair traffic |
| US12335152B2 (en) | 2023-02-13 | 2025-06-17 | Hourglass Software LLC | Modifying network routing and bandwidth balancing for lower latency and high quality fair traffic |
| US12218807B1 (en) * | 2024-06-21 | 2025-02-04 | Live Nation Entertainment, Inc. | Dynamic determination of threshold routing value using machine-learning models |
Also Published As
| Publication number | Publication date |
|---|---|
| US10257072B1 (en) | 2019-04-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10257072B1 (en) | Weight initialization for random neural network reinforcement learning | |
| US12223336B2 (en) | Edge network computing system with deep reinforcement learning based task scheduling | |
| US11290375B2 (en) | Dynamic deployment of network applications having performance and reliability guarantees in large computing networks | |
| US10855550B2 (en) | Network traffic prediction using long short term memory neural networks | |
| US12143832B2 (en) | Neural network circuit remote electrical tilt antenna infrastructure management based on probability of actions | |
| Alcaraz et al. | Model-based reinforcement learning with kernels for resource allocation in RAN slices | |
| CN111586502B (en) | Resource allocation method and system in elastic optical network | |
| US11431609B2 (en) | Dynamic network service data routing based on measured network performance data | |
| Arouche Nunes et al. | A machine learning framework for TCP round-trip time estimation | |
| US20200073834A1 (en) | A communication system, a communication controller and a node agent for connection control based on performance monitoring | |
| EP3557418B1 (en) | Resource management of resource-controlled system | |
| US20200084142A1 (en) | Predictive routing in multi-network scenarios | |
| CN112579194A (en) | Block chain consensus task unloading method and device based on time delay and transaction throughput | |
| Edalat et al. | Smart experts for network state estimation | |
| CN109889391B (en) | Network short-time flow prediction method based on combined model | |
| KR20220107690A (en) | Bayesian federated learning driving method over wireless networks and the system thereof | |
| CN109039505B (en) | A Channel State Transition Probability Prediction Method in Cognitive Radio Networks | |
| CN119299083A (en) | A routing method and related device for quantum key distribution network | |
| Kulkarni et al. | Slice-Based 6G Network with Enhanced Manta Ray Deep Reinforcement Learning-Driven Proactive and Robust Resource Management. | |
| Fan et al. | Dynamic regret of randomized online service caching in edge computing | |
| US9537740B2 (en) | Monitoring device usage | |
| US9998347B2 (en) | Monitoring device usage | |
| CN119728107A (en) | Cryptographic resource allocation method and system based on attention mechanism and residual network | |
| US20250094769A1 (en) | Hybrid agent for parameter optimization using prediction and reinforcement learning | |
| Yeom et al. | Graph convolutional network based link state prediction |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: CISCO TECHNOLOGY, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:SALAM, SAMER;REEL/FRAME:043729/0210 Effective date: 20170922 |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |