Chapter 14
Cognitive Radio, AI and Intelligent Network Operations
Bachelors Program in Electronics and Communication
Wireless Networks
•
Bachelor
Cognitive Radio, AI and Intelligent Network Operations
Introduction
Wireless networks are increasingly expected to operate in environments that are variable, congested, heterogeneous and difficult to predict. Traffic demand changes by time and location; radio interference is often intermittent; applications have different latency and reliability requirements; and networks include devices, protocols and access technologies from multiple generations. Traditional network management, based largely on fixed spectrum assignments and manually configured rules, cannot respond efficiently to all these conditions.
Cognitive radio and artificial intelligence (AI) provide complementary responses. Cognitive radio enables a wireless device or network to observe its radio environment, identify opportunities, make decisions and adapt transmission parameters. Dynamic spectrum access (DSA) allows spectrum use to change according to regulatory policy and observed occupancy. Machine learning (ML) can support channel estimation, traffic prediction, anomaly detection, resource allocation and autonomous fault management. However, intelligent operation is not equivalent to simply installing a neural network. Models may be biased, poorly calibrated, vulnerable to adversarial inputs, computationally expensive or unsafe when deployed outside their training conditions.
This chapter develops the principles needed to design and evaluate intelligent wireless networks. It connects radio sensing and optimization with data engineering, model validation, operational governance and human oversight.
Learning Objectives
After completing this chapter, a student should be able to:
Explain cognitive radio architecture, spectrum sensing and dynamic spectrum access.
Distinguish primary and secondary users and describe interference constraints.
Apply basic signal-detection and channel-estimation models.
Explain how supervised, unsupervised, reinforcement and federated learning can support network operations.
Formulate traffic prediction, anomaly detection and resource-allocation problems.
Evaluate intelligent network decisions using technical, operational and ethical criteria.
Identify risks associated with biased data, distribution shift, adversarial behavior, privacy and unsafe automation.
Design a monitoring and governance approach for an AI-enabled wireless network.
1. From Fixed Spectrum to Cognitive Radio
1.1 Spectrum utilization and the motivation for cognition
In a conventional allocation system, a frequency band is assigned to a service or licensee for a defined geographical area and time. This arrangement provides protection and predictability, but a licensed band may be lightly used at some times and locations while another band is congested. The important distinction is between licensed ownership and instantaneous occupancy.
A cognitive radio is a radio system that can sense relevant aspects of its operating environment and adapt its transmission or reception behavior according to objectives, policies and constraints. Adaptation may involve carrier frequency, bandwidth, modulation, coding rate, transmit power, antenna configuration, access technology or scheduling.
A cognitive cycle commonly contains:
Observation: measure energy, pilot signals, interference, traffic and channel quality.
Interpretation: estimate occupancy, channel state and confidence.
Decision: select a channel, power level, waveform or schedule.
Action: configure the radio and transmit or receive.
Learning: compare outcomes with predictions and update the policy or model.
The cycle is constrained by regulation, coexistence rules, safety requirements and service-level objectives. A high-performing but noncompliant decision is not an acceptable network decision.
1.2 Primary and secondary users
A primary user (PU) has authorized priority to a spectrum band. A secondary user (SU) may access the band under specified conditions, normally provided that harmful interference to the PU is avoided. A spectrum opportunity, or white space, is therefore not simply an empty frequency; it is a frequency-time-location resource that can be used under applicable rules.
DSA may be organized through:
Underlay: an SU transmits at sufficiently low power that interference remains below a threshold.
Overlay: an SU uses knowledge of the PU signal or coding structure to transmit while controlling interference.
Interweave: an SU transmits when sensing indicates that the PU is absent.
Database-assisted access: a geolocation database provides permitted channels and power levels, often supplemented by sensing.
These categories are conceptual rather than mutually exclusive in every deployment. A practical system may combine database authorization, sensing and conservative power control.
1.3 Cognitive radio architecture
A cognitive network includes radio-frequency front ends, sensing functions, a policy and regulatory engine, learning and decision modules, a radio resource manager and an execution interface. It may also use a central controller or distributed agents.
Cognitive radio intelligent operation cycle
Figure: Cognitive radio intelligent operation cycle
Figure: A cognitive radio cycle linking observation, interpretation, decision, action and learning.
2. Spectrum Sensing and Channel Estimation
2.1 Energy detection
Energy detection is attractive because it does not require detailed knowledge of the PU waveform. For N received complex baseband samples, the test statistic is
T = (1/N) ∑n=1N |r[n]|²
where r[n] is the nth received sample and T has units of received power when samples are expressed in suitable normalized units. The detector compares T with a threshold γ:
T > γ ⇒ decide H₁ (signal present), T ≤ γ ⇒ decide H₀ (signal absent).
Under H₀, noise alone is observed; under H₁, signal plus noise is observed. The threshold must reflect noise uncertainty, sampling duration and the required probabilities of detection and false alarm. Energy detection performs poorly at low signal-to-noise ratio (SNR), particularly when the noise floor is uncertain or the signal is intermittent.
The SNR in decibels is
SNRdB = 10 log₁₀(Ps/Pn)
where P_s and P_n are signal and noise powers in identical units. The factor is 10 because power, rather than voltage amplitude, is being compared.
2.2 Matched filtering and feature-based sensing
If the PU waveform, synchronization sequence or pilot is known, a matched filter can provide better detection performance for a specified observation interval. It correlates the received samples with a known reference. The cost is dependence on waveform knowledge and synchronization.
Feature-based sensing can use cyclostationary characteristics, periodicities or higher-order statistics. These methods may distinguish modulated signals from noise more reliably than energy detection, but they require greater computation and may be affected by model mismatch.
Cooperative sensing combines reports from several radios. Fusion can improve coverage and reduce the effect of shadowing, but malicious or faulty reports create a security problem. A fusion center may use hard decisions, such as majority voting, or soft decisions containing energy or likelihood information.
2.3 Channel estimation
Channel estimation determines how a transmitted signal has been altered by propagation. In a pilot-based linear model,
y = Xh + n
where y is the received pilot vector, X is a known pilot matrix, h is the channel vector and n is additive noise. If X has full column rank and noise is zero-mean with equal variance, the least-squares estimate is
ĥLS = (XᴴX)⁻¹Xᴴy
where Xᴴ is the conjugate transpose. The inverse requires XᴴX to be nonsingular. Good pilot design improves conditioning and reduces estimation error.
If the channel is modeled as a random vector with covariance R_h and noise covariance σ_n²I, the linear minimum mean-square error estimate is
ĥLMMSE = Rh Xᴴ (X Rh Xᴴ + σn²I)⁻¹ y.
This expression assumes the stated second-order statistics are available or adequately estimated. LMMSE can outperform LS when the statistical model is useful, but a badly mismatched covariance model can remove the expected advantage.
ML methods can estimate h from raw samples, pilots, received constellation points or compressed features. A neural estimator may learn nonlinear hardware and propagation effects, whereas a model-based estimator usually has clearer behavior under changing conditions. Hybrid estimators combine physical equations with learned corrections.
Worked Example 1: Pilot-based LS estimation
Suppose a flat-fading scalar channel is observed using a unit pilot x = 1. The received pilot is y = 0.8 + j0.6 and noise is ignored for this illustrative estimate. From y = xh + n,
ĥLS = y/x = 0.8 + j0.6.
The estimated channel magnitude is
|ĥLS| = √(0.8² + 0.6²) = √1 = 1.
The phase is approximately 36.9°. This example demonstrates estimation, not prediction accuracy: with noise, the estimate would vary from one pilot observation to another.
3. AI and Machine Learning for Network Operations
3.1 Learning paradigms
Supervised learning maps labeled inputs to outputs. Examples include predicting channel quality from pilot measurements or classifying a cell as normal or faulty. Its quality depends on representative labels and a deployment-relevant test set.
Unsupervised learning identifies structure without target labels. Clustering can group traffic patterns or radio signatures; dimensionality reduction can expose anomalous behavior. Clusters do not automatically correspond to meaningful operational classes and require expert interpretation.
Semi-supervised and self-supervised learning exploit abundant unlabeled measurements and smaller labeled datasets. They are useful when labeling radio traces is expensive.
Reinforcement learning (RL) learns actions through interaction with an environment. At time t, an agent observes state s_t, selects action a_t, receives reward r_t and transitions to s_{t+1}. A common objective is the discounted return
Gt = ∑k=0∞ αk rt+k+1, 0 ≤ α < 1
where α is the discount factor. RL is suitable for sequential channel selection or scheduling, but unsafe exploration must be controlled. Simulators may not reproduce real interference, mobility or regulatory events.
Federated learning trains a shared model while keeping raw data at local devices or sites. A basic weighted aggregation is
wnew = ∑k=1K (nk/∑j=1K nj) wk
where w_k is the model update from client k and n_k is its number of training examples. This can improve data governance, but model updates may leak information and non-identical client data can make the global model unrepresentative.
3.2 Traffic prediction
Traffic prediction estimates future demand from historical measurements, context and exogenous variables such as events or weather. A simple autoregressive model is
xt = c + ∑i=1p φi xt-i + εt
where x_t is traffic at time t, c is an intercept, φ_i are coefficients, p is model order and ε_t is an error term. The model assumes that the selected lag structure is informative and that the process is sufficiently stable for the forecast horizon.
Neural temporal models may capture nonlinear spatial and temporal relationships, but a baseline such as seasonal persistence should always be included. A model that is more complex but not more accurate or operationally useful is not an improvement.
Forecast quality can be measured using mean absolute error:
MAE = (1/m) ∑i=1m |yi − ŷi|
where y_i is observed traffic, ŷ_i is predicted traffic and m is the number of test cases. MAE has the same units as traffic. Mean squared error penalizes large errors more heavily, while percentage errors become problematic when actual traffic is near zero.
3.3 Anomaly detection
An anomaly is an observation or sequence inconsistent with an expected operating pattern. Examples include sudden uplink interference, repeated authentication failures, abnormal handover rates, sensor malfunction and a denial-of-service attack.
A statistical detector may compute a standardized residual:
zt = (xt − μt)/σt
where μ_t and σ_t are the expected mean and standard deviation under normal operation. A threshold |z_t| > 3 is sometimes used as a screening rule under approximately normal, stable conditions, but it is not a universal law. Correlation, seasonality and non-Gaussian noise can invalidate that interpretation.
Isolation forests, one-class support vector machines, autoencoders and density models provide alternatives. Evaluation must account for class imbalance. Accuracy can be misleading when anomalies are rare; precision, recall, false-alarm rate, detection delay and operational impact are more informative.
3.4 Resource optimization
A network may optimize throughput, energy, latency, reliability and fairness simultaneously. A simplified weighted objective is
J = w₁T − w₂D − w₃E + w₄F
where T is throughput, D is delay, E is energy expenditure, F is a fairness measure and w_i are policy-selected weights. The signs assume throughput and fairness are benefits while delay and energy are costs. The objective is meaningful only when terms are normalized or converted to comparable units; otherwise one term may dominate merely because of its numerical scale.
Constraints can include transmit power limits, minimum quality of service, interference temperature, spectrum masks and battery limits. In practice, constrained optimization is preferable to unconstrained reward maximization when violation has safety, legal or service consequences.
4. Intelligent Network Operations
AI supports operations at several time scales:
Milliseconds to seconds: link adaptation, beam selection and interference response.
Minutes to hours: traffic forecasting, energy saving and load balancing.
Days to months: capacity planning, maintenance scheduling and model retraining.
A dependable operational architecture separates prediction from authorization. A model may recommend a channel, but a policy engine should verify frequency, power, geographic and coexistence constraints before execution. The system should record inputs, model version, decision, confidence, constraint checks and outcome.
Closed-loop automation commonly includes telemetry collection, feature processing, model inference, policy validation, actuation and feedback. Safe deployment uses staged rollout, shadow mode, canary cells, rollback and an independent rule-based fallback. Human operators remain important when consequences are high, evidence is conflicting or the situation lies outside the training distribution.
Performance measures
Network intelligence should be evaluated at three levels:
Model level: prediction error, calibration, precision, recall and robustness.
Network level: throughput, outage probability, spectral efficiency, latency, energy and fairness.
Operational level: change-failure rate, mean time to detect, mean time to recover, policy violations and operator workload.
Spectral efficiency is often expressed as
η = R/B
where R is data rate in bit/s and B is occupied bandwidth in Hz; η therefore has units of bit/s/Hz. Improvements in η are not automatically beneficial if they increase harmful interference or reduce reliability.
Consider an illustrative, fictional case involving a metropolitan public-safety and broadband network sharing selected mid-band channels with incumbent services. Several small cells serve transport stations and adjacent residential areas. Demand varies sharply during commuting periods, while intermittent interference affects two sites.
Problem
Static channel assignment causes congestion at peak times and leaves other channels underused. Operators receive many alarms, but the alarms do not distinguish between equipment faults, unusual crowds and external interference. The network must improve capacity without violating incumbent protection rules.
Analysis
The operator first collects channel-energy measurements, pilot-based channel estimates, traffic counters, handover records and equipment alarms. Data are time-synchronized and tagged by site, channel and measurement quality. A database-assisted policy identifies channels that may be considered; sensing is used only as an additional observation, not as permission to override the database.
A seasonal baseline predicts traffic one hour ahead. A gradient-boosted model is then compared with the baseline using a time-ordered test split. An anomaly detector uses residuals and multivariate operational features. The team finds that the initial model generates false alarms during daily train arrivals because the training data underrepresent those events.
Approach and solution
The final design uses four safeguards:
A conservative spectrum policy engine rejects any action outside the permitted channel and power set.
A model recommends channel and power changes, but a deterministic interference check must approve them.
Anomaly alerts are ranked by confidence and potential harm; low-confidence alerts enter a review queue.
Changes are first tested in shadow mode, then deployed to one canary site with automatic rollback.
Federated training is used between sites so raw user-level traffic records remain local. Differential privacy and access controls are applied to exported statistics, recognizing that privacy protection can reduce model accuracy and must therefore be measured.
Outcome
In the illustrative evaluation, peak load is distributed more evenly and false alarms decline after event-aware features are introduced. The most important outcome is not a single percentage improvement but a safer decision process: every automated action is policy-checked, observable and reversible. The system also detects when its confidence is low and transfers control to an operator.
Learning points
The case demonstrates that intelligent networking is a systems-engineering problem. Better algorithms cannot compensate for poor telemetry, weak labels, missing governance or unsafe actuation. Baselines, time-aware testing, constraint enforcement and rollback are as important as model architecture.
6. Risks, Ethics and Governance
Distribution shift and uncertainty
Radio environments change because of new buildings, mobility, weather, hardware replacement, software updates and new transmitters. A model trained in one environment may fail in another. Monitoring should compare current feature distributions and error rates with training conditions. Prediction intervals, confidence scores and abstention mechanisms are preferable to presenting uncertain outputs as facts.
Bias and unequal service
Optimization can disadvantage users at cell edges, rural locations or low-traffic areas if the objective rewards aggregate throughput alone. Fairness constraints may require minimum service levels or group-specific performance monitoring. Fairness is context-dependent and must be defined with stakeholders rather than assumed to be a single mathematical quantity.
Security
Attackers may inject false sensing reports, manipulate telemetry, poison training data or craft perturbations that cause misclassification. Controls include authenticated measurements, secure boot, access control, provenance tracking, robust aggregation, rate limits and adversarial testing. Security must cover both the radio interface and the ML lifecycle.
Privacy and data governance
Location, device identifiers and traffic patterns can reveal sensitive behavior. Data minimization, retention limits, pseudonymization, encryption and purpose limitation should be designed before collection. Federated learning reduces raw-data movement but does not guarantee privacy by itself.
Explainability and accountability
Operators need to know why a channel was rejected, why an alarm was raised and which constraint limited a decision. Explanations should be operationally meaningful, such as “predicted incumbent risk exceeded threshold,” rather than merely displaying a neural activation map. Responsibility must remain assigned to organizations and authorized operators; it cannot be transferred to an opaque model.
Regulation and standards
Cognitive access is governed by national spectrum regulations, licensing conditions and applicable standards. Engineers must verify local rules for power, bandwidth, geolocation, sensing, incumbent protection and device certification. A research prototype must not be treated as a compliant commercial transmitter without regulatory assessment.
7. Best Practices and Contemporary Directions
A robust intelligent-network program should:
define the operational objective and constraints before choosing a model;
establish simple baselines and collect representative data;
separate training, validation and time-ordered deployment testing;
measure uncertainty, calibration and subgroup performance;
use simulation carefully and validate with field data;
keep policy enforcement independent from learned recommendations;
version data, features, models and configuration;
deploy progressively with rollback and human escalation;
audit privacy, security, fairness and regulatory compliance;
retrain only when monitored evidence justifies it.
Current research directions include joint communication-and-sensing systems, semantic and goal-oriented communications, AI-native radio resource management, digital twins for safe policy testing, edge inference, distributed learning and explainable control. These directions are promising but do not remove the need for physical-layer validation and governance. A digital twin can be wrong; an edge model can be compromised; and a learned controller can optimize the wrong objective.
Chapter Summary
Cognitive radio enables wireless systems to observe and adapt to changing radio conditions. Dynamic spectrum access organizes such adaptation around authorization, coexistence and interference protection. Energy detection, matched filtering, cooperative sensing and database assistance provide complementary ways to identify spectrum opportunities. Pilot-based LS and LMMSE methods offer principled channel estimation, while ML can learn complex propagation and hardware effects when supported by representative data.
Supervised, unsupervised, reinforcement and federated learning support traffic prediction, anomaly detection, resource optimization and distributed operation. Their value must be judged not only by model metrics but also by network performance, safety, fairness, privacy, security and regulatory compliance. Intelligent network management should therefore use constrained decision-making, uncertainty monitoring, staged deployment, independent policy checks and human oversight. The central engineering principle is that AI should extend reliable network control, not replace verification and responsibility.
Key Terms
Cognitive radio: A radio system that senses its environment and adapts operation according to objectives and constraints.
Dynamic spectrum access: Use of spectrum that changes across frequency, time or location under defined authorization rules.
Primary user: An authorized incumbent with priority protection in a spectrum band.
Secondary user: A permitted user that accesses spectrum subject to interference and regulatory constraints.
Spectrum opportunity: A frequency-time-location resource available for permitted use.
Energy detection: Sensing based on measured received signal energy.
Matched filter: A detector that correlates a received signal with a known reference waveform.
Cooperative sensing: Combination of observations from multiple sensing devices.
Channel estimation: Estimation of propagation effects affecting a transmitted signal.
Least-squares estimation: Parameter estimation that minimizes squared residual error.
LMMSE: Linear minimum mean-square error estimation using signal and noise statistics.
Supervised learning: Learning from examples paired with target labels.
Reinforcement learning: Sequential decision learning based on states, actions and rewards.
Federated learning: Collaborative model training in which data remain at participating clients.
Traffic prediction: Estimation of future network demand from historical and contextual data.
Anomaly detection: Identification of observations inconsistent with expected behavior.
Distribution shift: Change between training conditions and deployment conditions.
Model calibration: Agreement between predicted confidence and observed correctness.
Policy engine: A rule-based component that verifies whether an action is permitted.
Digital twin: A computational representation used to model or test a physical network.
Review Questions
Short Answer Questions
What is the difference between a primary user and a secondary user?
State the main steps in a cognitive radio cycle.
Why can energy detection perform poorly at low SNR?
What is the purpose of a pilot signal in channel estimation?
Why is accuracy often unsuitable as the only metric for rare anomaly detection?
Long Answer Questions
Explain underlay, overlay, interweave and database-assisted dynamic spectrum access, including an advantage and limitation of each.
Compare LS and LMMSE channel estimation, including their assumptions and the effect of model mismatch.
Discuss how supervised learning, reinforcement learning and federated learning can support intelligent wireless operations.
Design a closed-loop architecture for AI-assisted radio resource management and identify its safety controls.
Explain the ethical, privacy, security and regulatory risks of autonomous spectrum management.
Analytical / Application Questions
A sensing system measures a received signal power of 2 mW and noise power of 0.02 mW. Calculate the SNR in decibels and explain what additional information is needed before selecting a detection threshold.
A network predicts traffic values of 80, 100 and 120 units, while actual values are 90, 95 and 130 units. Calculate the MAE and explain whether the result alone proves that the model is operationally suitable.
Design an evaluation plan for an AI channel-selection agent deployed first in a metropolitan pilot. Specify data splits, baseline methods, safety constraints, performance metrics, monitoring and rollback criteria.
Multiple Choice Questions with Answers
Question 1
Which statement best describes a spectrum opportunity?
A. Any frequency that has never been licensed
B. A frequency-time-location resource available for permitted use
C. A channel that always has zero noise
D. A band reserved exclusively for secondary users
Correct Answer: B. A frequency-time-location resource available for permitted use
Question 2
In energy detection, the statistic T is compared primarily with which quantity?
A. A modulation index
B. A channel coding rate
C. A detection threshold γ
D. A handover timer
Correct Answer: C. A detection threshold γ
Question 3
The LS channel estimate in the model y = Xh + n requires which condition for the displayed inverse form?
A. XᴴX is nonsingular
B. Noise power is infinite
C. The channel must be frequency-free
D. No pilot symbols are transmitted
Correct Answer: A. XᴴX is nonsingular
Question 4
What is a major advantage of LMMSE over LS when its assumptions are valid?
A. It requires no received samples
B. It uses channel and noise statistics
C. It always eliminates interference
D. It operates without a channel model
Correct Answer: B. It uses channel and noise statistics
Question 5
Which learning paradigm is most directly associated with actions, rewards and sequential states?
A. Reinforcement learning
B. Unsupervised clustering
C. Ordinary least squares
D. Database lookup
Correct Answer: A. Reinforcement learning
Question 6
Why can accuracy be misleading for anomaly detection?
A. Anomalies are always continuous-valued
B. Rare anomalies can be hidden by many correct normal classifications
C. Accuracy cannot be computed from labels
D. Accuracy measures bandwidth rather than classification
Correct Answer: B. Rare anomalies can be hidden by many correct normal classifications
Question 7
What is the main function of a policy engine in an intelligent radio network?
A. To replace all telemetry
B. To generate random training labels
C. To verify that proposed actions comply with constraints
D. To increase antenna height automatically
Correct Answer: C. To verify that proposed actions comply with constraints
Question 8
If a system has data rate R = 100 Mbit/s and bandwidth B = 20 MHz, its spectral efficiency is:
A. 0.2 bit/s/Hz
B. 2 bit/s/Hz
C. 5 bit/s/Hz
D. 2000 bit/s/Hz
Correct Answer: C. 5 bit/s/Hz
Question 9
Which practice best addresses unsafe deployment of a newly trained network-control model?
A. Immediate network-wide activation
B. Removing all rule-based controls
C. Shadow testing, canary deployment and rollback
D. Evaluating only training accuracy
Correct Answer: C. Shadow testing, canary deployment and rollback
Question 10
What does distribution shift mean in an AI-enabled wireless network?
A. A change between training conditions and deployment conditions
B. A fixed allocation of all spectrum to one user
C. A conversion from analog to digital modulation
D. A reduction in the number of antennas
Correct Answer: A. A change between training conditions and deployment conditions